diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 8e6ba37..a088609 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -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(); }); }