From 9338a1102c0bbcaf0721c8396de9426800e75770 Mon Sep 17 00:00:00 2001 From: Caps <452713115@qq.com> Date: Thu, 23 Apr 2020 15:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E6=88=B7=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/user/AccountManager.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/user/AccountManager.vue b/src/pages/user/AccountManager.vue index 24eea31..d30b39e 100644 --- a/src/pages/user/AccountManager.vue +++ b/src/pages/user/AccountManager.vue @@ -248,6 +248,10 @@ return; } if (data.code === '0000') { + that.shopList.push({ + id:'-1', + name:"全部" + }); data = data.results; for (let i = 0; i < data.length; i++) { let row = data[i]; @@ -264,12 +268,16 @@ if(that.changeRoleId === 0){ roleId = null; } + let shopId = that.changeShopId; + if(that.changeShopId === "-1"){ + shopId = null; + } let request = { searchContent: that.searchContent, pageNum: that.pageNum, pageSize: that.pageSize, roleId: roleId, - shopId: that.changeShopId + shopId: shopId }; accountManagement.listAccountInfoApi(request, function (data) { data = data.data;