Commit f11b01b5 by zhangxw

fixed

1 parent cc76876e
...@@ -192,6 +192,7 @@ Page({ ...@@ -192,6 +192,7 @@ Page({
}, },
async checkDailyRecport() { async checkDailyRecport() {
let { tabIndex } = this.data; let { tabIndex } = this.data;
let userInfo = wx.$util.getUserInfo()
const isStaff = app.globalData.isStaff; const isStaff = app.globalData.isStaff;
let eventRequest = []; let eventRequest = [];
isStaff && isStaff &&
......
...@@ -1062,6 +1062,7 @@ Page({ ...@@ -1062,6 +1062,7 @@ Page({
}, },
async checkDailyRecport() { async checkDailyRecport() {
// let { tabIndex } = this.data // let { tabIndex } = this.data
let userInfo = wx.$util.getUserInfo()
const isStaff = app.globalData.isStaff; const isStaff = app.globalData.isStaff;
let eventRequest = [this.checkStaffOrderStatus()] let eventRequest = [this.checkStaffOrderStatus()]
if (!userInfo?.isSuper && userInfo?.loginRole != 3) eventRequest.push(this.checkAgreeClient(wx.$util.getUserInfo())) if (!userInfo?.isSuper && userInfo?.loginRole != 3) eventRequest.push(this.checkAgreeClient(wx.$util.getUserInfo()))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!