From 17eb4fad781f9fe2df5b0e5cb3485137f9835cd6 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 26 Dec 2022 11:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=94=E8=A5=BF=E5=8D=97=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppResidentsType/AppResidentsType.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/project/qianxinan/AppResidentsType/AppResidentsType.vue b/src/project/qianxinan/AppResidentsType/AppResidentsType.vue index 2a550883..1c6fc0eb 100644 --- a/src/project/qianxinan/AppResidentsType/AppResidentsType.vue +++ b/src/project/qianxinan/AppResidentsType/AppResidentsType.vue @@ -29,9 +29,14 @@
-
{{deptName || '部门'}}
+ + + {{deptList[0].name}} + 部门 + +
@@ -88,8 +93,7 @@ keyword: '', areaId: '', areaName: '', - deptId: '', - deptName: '' + deptList: [] } }, @@ -122,6 +126,10 @@ // }) // this.getTotal() }, + clearDept() { + this.deptList = [] + this.getListInit() + } }, }