师傅团队成员查询添加条件过滤
This commit is contained in:
parent
bc8a301d06
commit
9cf341a11c
|
|
@ -13,8 +13,8 @@ export default {
|
|||
})
|
||||
let userInfo = _this.getCurUserInfo();
|
||||
// request 触发前拼接 url
|
||||
// args.url = 'https://www.opsoul.com' + args.url;
|
||||
args.url = 'http://127.0.0.1:80' + args.url;
|
||||
args.url = 'https://www.opsoul.com' + args.url;
|
||||
// args.url = 'http://127.0.0.1:80' + args.url;
|
||||
// args.url = 'http://192.168.2.42:80' + args.url;
|
||||
|
||||
if (!args.data) {
|
||||
|
|
|
|||
|
|
@ -133,7 +133,8 @@
|
|||
},
|
||||
async loadTeamPage(params = {}) {
|
||||
params.pageNum = this.pageNum;
|
||||
params.pageSize = this.pageSize;
|
||||
params.pageSize = this.pageSize;
|
||||
params.leaderId = this.curUserInfo.workerId;
|
||||
this.$refs.loadStatusBar.showLoading();
|
||||
try {
|
||||
let res = await this.$request.getTeamPage(params);
|
||||
|
|
|
|||
|
|
@ -337,6 +337,8 @@
|
|||
},
|
||||
methods: {
|
||||
async loadData() {
|
||||
// 获取当前登录用户信息
|
||||
this.curUserInfo = this.$request.getCurUserInfo();
|
||||
// let myTeamInfo = await this.$api.data('myTeamInfo');
|
||||
// this.myTeamMembers = myTeamInfo.members;
|
||||
this.myOrders = await this.$api.data('myOrders');
|
||||
|
|
@ -358,9 +360,7 @@
|
|||
this.loadCategoryList();
|
||||
this.loadRegionList();
|
||||
// 初始化指派成员
|
||||
this.loadTeamMembers();
|
||||
// 获取当前登录用户信息
|
||||
this.curUserInfo = this.getCurUserInfo();
|
||||
this.loadTeamMembers();
|
||||
},
|
||||
reloadMasterOrderPage(params = {}) {
|
||||
// this.pageParams = [];
|
||||
|
|
@ -452,7 +452,9 @@
|
|||
this.areaList.push(subSubRegionList);
|
||||
},
|
||||
async loadTeamMembers() {
|
||||
let res = await this.$request.getTeamPage();
|
||||
let res = await this.$request.getTeamPage({
|
||||
leaderId: this.curUserInfo.workerId
|
||||
});
|
||||
this.myTeamMembers = res.rows;
|
||||
},
|
||||
bindEvent() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue