修改
This commit is contained in:
parent
d7fa51feac
commit
40c440bc2c
@ -286,7 +286,9 @@ export default {
|
|||||||
remoteSigns: null,
|
remoteSigns: null,
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {
|
||||||
|
remoteSigns: '0',
|
||||||
|
},
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
areaCode: [
|
areaCode: [
|
||||||
@ -468,9 +470,7 @@ export default {
|
|||||||
/** 查询区域列表 */
|
/** 查询区域列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
console.log(this.queryParams);
|
|
||||||
listArea(this.queryParams).then((response) => {
|
listArea(this.queryParams).then((response) => {
|
||||||
console.log(1);
|
|
||||||
response.rows.forEach((e) => {
|
response.rows.forEach((e) => {
|
||||||
if (e.remoteSigns == 1) {
|
if (e.remoteSigns == 1) {
|
||||||
e.remoteSigns = true;
|
e.remoteSigns = true;
|
||||||
@ -504,7 +504,7 @@ export default {
|
|||||||
updateTime: null,
|
updateTime: null,
|
||||||
areaType: null,
|
areaType: null,
|
||||||
parentCode: null,
|
parentCode: null,
|
||||||
remoteSigns: null,
|
remoteSigns: '0',
|
||||||
};
|
};
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
@ -539,7 +539,7 @@ export default {
|
|||||||
this.form.parentId = row.id;
|
this.form.parentId = row.id;
|
||||||
this.form.parentCode = row.areaCode;
|
this.form.parentCode = row.areaCode;
|
||||||
this.form.parentName = row.areaName;
|
this.form.parentName = row.areaName;
|
||||||
this.form.areaLevel = row.areaLevel
|
this.form.areaLevel = row.areaLevel;
|
||||||
this.title = "添加区域";
|
this.title = "添加区域";
|
||||||
this.open = true;
|
this.open = true;
|
||||||
},
|
},
|
||||||
@ -570,7 +570,6 @@ export default {
|
|||||||
this.open = false;
|
this.open = false;
|
||||||
this.queryParams.parentCode = this.form.parentCode;
|
this.queryParams.parentCode = this.form.parentCode;
|
||||||
this.queryParams.areaLevel = null;
|
this.queryParams.areaLevel = null;
|
||||||
console.log(this.queryParams);
|
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user