luyisha 3 years ago
parent
commit
8109c1f3aa
  1. 6
      pages/list/agent.vue
  2. 2
      pages/list/team.vue
  3. 5
      pages/list/user.vue

6
pages/list/agent.vue

@ -184,6 +184,7 @@
}) })
this.account = ''; this.account = '';
this.search(); this.search();
this.showEdit = false;
}) })
}else if(this.editType=='edit'){ }else if(this.editType=='edit'){
API.request('/adminAgentTeam/editAgent', { API.request('/adminAgentTeam/editAgent', {
@ -195,11 +196,10 @@
}) })
this.account = ''; this.account = '';
this.search(); this.search();
this.showEdit = false;
}) })
} }
this.showEdit = false;
}, },
add(){ add(){
this.title = "新增代理"; this.title = "新增代理";
@ -237,8 +237,10 @@
uni.showToast({ uni.showToast({
title: res.msg title: res.msg
}) })
this.limit = '';
this.account = ''; this.account = '';
this.search(); this.search();
this.showScore = false;
}) })
}, },
search(){ search(){

2
pages/list/team.vue

@ -122,8 +122,10 @@
uni.showToast({ uni.showToast({
title: res.msg title: res.msg
}) })
this.limit = '';
this.account = ''; this.account = '';
this.search(); this.search();
this.showScore = false;
}) })
}, },
search(){ search(){

5
pages/list/user.vue

@ -185,6 +185,7 @@
}) })
this.account = ''; this.account = '';
this.search(); this.search();
this.showEdit = false;
}) })
}else if(this.editType=='edit'){ }else if(this.editType=='edit'){
API.request('/adminUserTeam/editUser', { API.request('/adminUserTeam/editUser', {
@ -197,9 +198,9 @@
}) })
this.account = ''; this.account = '';
this.search(); this.search();
this.showEdit = false;
}) })
} }
this.showEdit = false;
}, },
add(){ add(){
@ -238,8 +239,10 @@
uni.showToast({ uni.showToast({
title: res.msg title: res.msg
}) })
this.limit = '';
this.account = ''; this.account = '';
this.search(); this.search();
this.showScore = false;
}) })
}, },
search(){ search(){

Loading…
Cancel
Save