diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 014904e..8e6ba37 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -211,9 +211,9 @@
-
+
否
是
@@ -468,7 +468,9 @@ 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;
@@ -537,6 +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.title = "添加区域";
this.open = true;
},
@@ -565,6 +568,9 @@ export default {
addArea(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
+ this.queryParams.parentCode = this.form.parentCode;
+ this.queryParams.areaLevel = null;
+ console.log(this.queryParams);
this.getList();
});
}