This commit is contained in:
曹辉 2023-01-11 13:45:12 +08:00
parent d7fa51feac
commit 40c440bc2c

View File

@ -286,7 +286,9 @@ export default {
remoteSigns: null,
},
//
form: {},
form: {
remoteSigns: '0',
},
//
rules: {
areaCode: [
@ -468,9 +470,7 @@ export default {
/** 查询区域列表 */
getList() {
this.loading = true;
console.log(this.queryParams);
listArea(this.queryParams).then((response) => {
console.log(1);
response.rows.forEach((e) => {
if (e.remoteSigns == 1) {
e.remoteSigns = true;
@ -504,7 +504,7 @@ export default {
updateTime: null,
areaType: null,
parentCode: null,
remoteSigns: null,
remoteSigns: '0',
};
this.resetForm("form");
},
@ -539,7 +539,7 @@ export default {
this.form.parentId = row.id;
this.form.parentCode = row.areaCode;
this.form.parentName = row.areaName;
this.form.areaLevel = row.areaLevel
this.form.areaLevel = row.areaLevel;
this.title = "添加区域";
this.open = true;
},
@ -570,7 +570,6 @@ export default {
this.open = false;
this.queryParams.parentCode = this.form.parentCode;
this.queryParams.areaLevel = null;
console.log(this.queryParams);
this.getList();
});
}