From 787a75031a2de4adbe1264672f486135f4f9c9ff Mon Sep 17 00:00:00 2001
From: lmj <3407000732@qq.com>
Date: Tue, 14 Jun 2022 11:23:00 +0800
Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/manage/AddAudiences.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/manage/AddAudiences.vue b/src/views/manage/AddAudiences.vue
index 5fa0c21c..25870f2a 100644
--- a/src/views/manage/AddAudiences.vue
+++ b/src/views/manage/AddAudiences.vue
@@ -11,7 +11,7 @@
人员信息
-
+
搜索
重置
添加
@@ -168,7 +168,7 @@
usergroupApi.detail(that.$route.query.id).then((res) => {
if (res.status == 200) {
that.form = res.result;
- that.oldUserGroupItems = JSON.parse(JSON.stringify( res.result.userGroupItems ));
+ // that.oldUserGroupItems = JSON.parse(JSON.stringify( res.result.userGroupItems ));
that.tableData = res.result.userGroupItems;
that.queryTableData();
}
@@ -275,8 +275,10 @@
this.addUserShow = false;
},
tableDataReset(){
- this.tableData = JSON.parse(JSON.stringify( this.oldUserGroupItems ));
+ this.searchValue = '';
this.queryTableData();
+ // this.tableData = JSON.parse(JSON.stringify( this.oldUserGroupItems ));
+ // this.queryTableData();
},
queryTableData(){
if(this.searchValue){