更新
This commit is contained in:
@@ -162,8 +162,10 @@
|
||||
filters: {
|
||||
typeText: function(e,details) {
|
||||
switch (Number(e)) {
|
||||
// case 0:
|
||||
// return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(details.transactionType) ? '待运营组长审核' : '等待审核'
|
||||
case 0:
|
||||
return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(details.transactionType) ? '待运营组长审核' : '等待审核'
|
||||
return '等待审核'
|
||||
case 1:
|
||||
return '审核通过'
|
||||
case -1:
|
||||
@@ -174,8 +176,8 @@
|
||||
return '付款完成'
|
||||
case 4:
|
||||
return '取消充值'
|
||||
case 5:
|
||||
return '待数据中心审核'
|
||||
// case 5:
|
||||
// return '待数据中心审核'
|
||||
default:
|
||||
return '---'
|
||||
}
|
||||
@@ -184,27 +186,27 @@
|
||||
},
|
||||
methods: {
|
||||
examineiPre() {
|
||||
let {
|
||||
auditMark,
|
||||
transactionType
|
||||
} = this.details
|
||||
let authList = uni.getStorageSync('user').authList
|
||||
if (auditMark == 0 && ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(
|
||||
transactionType) &&
|
||||
!authList.includes('finance:site:recharge:operateLeader')) {
|
||||
uni.showToast({
|
||||
title: '无运营组长审核权限!',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (this.details.auditMark == 5 && !authList.includes('finance:site:recharge:dataCenter')) {
|
||||
uni.showToast({
|
||||
title: '无数据中心审核权限!',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
// let {
|
||||
// auditMark,
|
||||
// transactionType
|
||||
// } = this.details
|
||||
// let authList = uni.getStorageSync('user').authList
|
||||
// if (auditMark == 0 && ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(
|
||||
// transactionType) &&
|
||||
// !authList.includes('finance:site:recharge:operateLeader')) {
|
||||
// uni.showToast({
|
||||
// title: '无运营组长审核权限!',
|
||||
// icon: 'none'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// if (this.details.auditMark == 5 && !authList.includes('finance:site:recharge:dataCenter')) {
|
||||
// uni.showToast({
|
||||
// title: '无数据中心审核权限!',
|
||||
// icon: 'none'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
this.iShow.examine = true
|
||||
},
|
||||
|
||||
|
||||
@@ -127,10 +127,11 @@
|
||||
{
|
||||
text: '已审核',
|
||||
index: '1'
|
||||
},{
|
||||
text: '待数据中心审核',
|
||||
index: '5'
|
||||
}
|
||||
},
|
||||
// {
|
||||
// text: '待数据中心审核',
|
||||
// index: '5'
|
||||
// }
|
||||
],
|
||||
listData: []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user