Commit c32e93de by 张立顺

Merge branch 'SAAS+V4.52.0-0429' into 'develop'

上线合并

See merge request !388
2 parents 0b1d5ed2 0d57e629
...@@ -171,7 +171,7 @@ Component({ ...@@ -171,7 +171,7 @@ Component({
menuText: "培训资料", menuText: "培训资料",
icon: "peixun_icon", icon: "peixun_icon",
path: "packageEquity.trainingMaterials", path: "packageEquity.trainingMaterials",
}, ], },],
loginRoleLabel: { loginRoleLabel: {
1: "超管", 1: "超管",
2: "商户管理员", 2: "商户管理员",
...@@ -460,7 +460,7 @@ Component({ ...@@ -460,7 +460,7 @@ Component({
} = e.currentTarget.dataset } = e.currentTarget.dataset
wx.$router.go('receptionDetail', { wx.$router.go('receptionDetail', {
...item, ...item,
hideScore:1 hideScore: 1
}) })
wx.$track.setTrackData(0, 'reception_detail', { wx.$track.setTrackData(0, 'reception_detail', {
batchId: item.batchId batchId: item.batchId
...@@ -515,14 +515,14 @@ Component({ ...@@ -515,14 +515,14 @@ Component({
sortVal: 11 sortVal: 11
}) })
} }
if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != '积分审批')) { // if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != '积分审批')) {
menuList.unshift({ // menuList.unshift({
menuText: "积分审批", // menuText: "积分审批",
path: "pages.pointsReview", // path: "pages.pointsReview",
icon: "points_review", // icon: "points_review",
sortVal: 12 // sortVal: 12
}) // })
} // }
// if ( // if (
// userInfo.isSuper && // userInfo.isSuper &&
// menuList.every((item) => item.menuText != "质检管理") // menuList.every((item) => item.menuText != "质检管理")
...@@ -655,7 +655,7 @@ Component({ ...@@ -655,7 +655,7 @@ Component({
storeRangeList: data, storeRangeList: data,
listData: [], listData: [],
nothing: false, nothing: false,
showReceive:true showReceive: true
}, () => { }, () => {
this.getReceptionList() this.getReceptionList()
}) })
...@@ -893,7 +893,7 @@ Component({ ...@@ -893,7 +893,7 @@ Component({
}); });
} }
}) })
.catch((err) => {}); .catch((err) => { });
}, },
getStaffTargetTask() { getStaffTargetTask() {
return new Promise(resolve => { return new Promise(resolve => {
...@@ -944,7 +944,7 @@ Component({ ...@@ -944,7 +944,7 @@ Component({
.setTaskDialog({ .setTaskDialog({
id: data[0]?.id, id: data[0]?.id,
}) })
.then(() => {}); .then(() => { });
} }
} else { } else {
wx.$util.showToast(message); wx.$util.showToast(message);
...@@ -1509,7 +1509,7 @@ Component({ ...@@ -1509,7 +1509,7 @@ Component({
}, },
// 查看更多违规记录 // 查看更多违规记录
goPage() { goPage() {
let {violationStatus} = this.data let { violationStatus } = this.data
wx.navigateTo({ wx.navigateTo({
url: `/packageEquity/pages/receptionRecords/receptionRecords?hideScore=1&tabValue=${violationStatus}`, url: `/packageEquity/pages/receptionRecords/receptionRecords?hideScore=1&tabValue=${violationStatus}`,
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!