更新
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<view v-if="item.type === 'filelist'" style="padding-left: 200rpx;">
|
<view v-if="item.type === 'filelist'" style="padding-left: 205rpx;">
|
||||||
<text v-if="!item.value.length">暂无</text>
|
<text v-if="!item.value.length">暂无</text>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-for="(_item, _index) in item.value">
|
<template v-for="(_item, _index) in item.value">
|
||||||
@@ -53,6 +53,20 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="item.type === 'table'">
|
||||||
|
<uni-table v-for="_item,_index in item.value" :key="_index" border stripe emptyText="暂无更多数据">
|
||||||
|
<!-- 表头行 -->
|
||||||
|
<uni-tr>
|
||||||
|
<uni-th width="150" align="center">标题</uni-th>
|
||||||
|
<uni-th align="center">内容</uni-th>
|
||||||
|
</uni-tr>
|
||||||
|
<!-- 表格数据行 -->
|
||||||
|
<uni-tr v-for="__item,__index in _item" :key="__index">
|
||||||
|
<uni-td>{{__item.title}}</uni-td>
|
||||||
|
<uni-td>{{phoneHandle(__item.value)}}</uni-td>
|
||||||
|
</uni-tr>
|
||||||
|
</uni-table>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<uni-popup ref="popup" background-color="#fff">
|
<uni-popup ref="popup" background-color="#fff">
|
||||||
@@ -79,9 +93,7 @@
|
|||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.styles = uni.getMenuButtonBoundingClientRect()
|
this.styles = uni.getMenuButtonBoundingClientRect()
|
||||||
|
|
||||||
if (option.details) {
|
if (option.details) {
|
||||||
console.log('option', decodeURIComponent(option.details))
|
|
||||||
this.infoList = JSON.parse(decodeURIComponent(option.details))
|
this.infoList = JSON.parse(decodeURIComponent(option.details))
|
||||||
}
|
}
|
||||||
console.log(this.infoList)
|
console.log(this.infoList)
|
||||||
@@ -94,6 +106,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneHandle(value) {
|
||||||
|
if (value.includes('+86')) {
|
||||||
|
return JSON.parse(value).number
|
||||||
|
}
|
||||||
|
return value
|
||||||
|
},
|
||||||
altHandle(item) {
|
altHandle(item) {
|
||||||
let arr = item.split('/')
|
let arr = item.split('/')
|
||||||
return arr[arr.length - 1]
|
return arr[arr.length - 1]
|
||||||
@@ -138,6 +156,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
::v-deep {
|
||||||
|
.uni-table-scroll {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
page {
|
page {
|
||||||
background: #dddddd80;
|
background: #dddddd80;
|
||||||
}
|
}
|
||||||
@@ -172,7 +195,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: -80rpx;
|
top: -80rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
// padding-bottom: 30rpx;
|
|
||||||
min-height: calc(100vh - 350rpx);
|
min-height: calc(100vh - 350rpx);
|
||||||
width: 96%;
|
width: 96%;
|
||||||
padding: 20rpx 20rpx 30rpx 30rpx;
|
padding: 20rpx 20rpx 30rpx 30rpx;
|
||||||
@@ -185,8 +207,8 @@
|
|||||||
>text {
|
>text {
|
||||||
&:nth-of-type(1) {
|
&:nth-of-type(1) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 50rpx;
|
margin-right: 35rpx;
|
||||||
width: 150rpx;
|
width: 170rpx;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,13 +241,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.file-download {
|
.file-download {
|
||||||
// display: inline;
|
|
||||||
// display: flex;
|
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
||||||
|
|
||||||
>image {
|
>image {
|
||||||
width: 80rpx;
|
width: 80rpx;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
@@ -252,23 +270,6 @@
|
|||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// image {
|
|
||||||
// &:nth-of-type(1) {
|
|
||||||
// // margin-right: 15rpx;
|
|
||||||
// width: 80rpx;
|
|
||||||
// height: 80rpx;
|
|
||||||
// border-radius: 10rpx;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// &:nth-of-type(2) {
|
|
||||||
// position: relative;
|
|
||||||
// left: -5rpx;
|
|
||||||
// bottom: -5rpx;
|
|
||||||
// width: 32rpx;
|
|
||||||
// height: 32rpx;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -63,10 +63,11 @@
|
|||||||
},
|
},
|
||||||
typeText: (e, item) => {
|
typeText: (e, item) => {
|
||||||
switch (Number(e)) {
|
switch (Number(e)) {
|
||||||
|
// case 0:
|
||||||
|
// return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(item
|
||||||
|
// .transactionType) ? '待运营组长审核' : '等待审核'
|
||||||
case 0:
|
case 0:
|
||||||
return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(item
|
return '等待审核'
|
||||||
.transactionType) ? '待运营组长审核' : '等待审核'
|
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
return '审核通过'
|
return '审核通过'
|
||||||
case -1:
|
case -1:
|
||||||
@@ -77,8 +78,8 @@
|
|||||||
return '付款完成'
|
return '付款完成'
|
||||||
case 4:
|
case 4:
|
||||||
return '取消充值'
|
return '取消充值'
|
||||||
case 5:
|
// case 5:
|
||||||
return '待数据中心审核'
|
// return '待数据中心审核'
|
||||||
default:
|
default:
|
||||||
return '---'
|
return '---'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,8 +162,10 @@
|
|||||||
filters: {
|
filters: {
|
||||||
typeText: function(e,details) {
|
typeText: function(e,details) {
|
||||||
switch (Number(e)) {
|
switch (Number(e)) {
|
||||||
|
// case 0:
|
||||||
|
// return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(details.transactionType) ? '待运营组长审核' : '等待审核'
|
||||||
case 0:
|
case 0:
|
||||||
return ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(details.transactionType) ? '待运营组长审核' : '等待审核'
|
return '等待审核'
|
||||||
case 1:
|
case 1:
|
||||||
return '审核通过'
|
return '审核通过'
|
||||||
case -1:
|
case -1:
|
||||||
@@ -174,8 +176,8 @@
|
|||||||
return '付款完成'
|
return '付款完成'
|
||||||
case 4:
|
case 4:
|
||||||
return '取消充值'
|
return '取消充值'
|
||||||
case 5:
|
// case 5:
|
||||||
return '待数据中心审核'
|
// return '待数据中心审核'
|
||||||
default:
|
default:
|
||||||
return '---'
|
return '---'
|
||||||
}
|
}
|
||||||
@@ -184,27 +186,27 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
examineiPre() {
|
examineiPre() {
|
||||||
let {
|
// let {
|
||||||
auditMark,
|
// auditMark,
|
||||||
transactionType
|
// transactionType
|
||||||
} = this.details
|
// } = this.details
|
||||||
let authList = uni.getStorageSync('user').authList
|
// let authList = uni.getStorageSync('user').authList
|
||||||
if (auditMark == 0 && ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(
|
// if (auditMark == 0 && ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes(
|
||||||
transactionType) &&
|
// transactionType) &&
|
||||||
!authList.includes('finance:site:recharge:operateLeader')) {
|
// !authList.includes('finance:site:recharge:operateLeader')) {
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: '无运营组长审核权限!',
|
// title: '无运营组长审核权限!',
|
||||||
icon: 'none'
|
// icon: 'none'
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
if (this.details.auditMark == 5 && !authList.includes('finance:site:recharge:dataCenter')) {
|
// if (this.details.auditMark == 5 && !authList.includes('finance:site:recharge:dataCenter')) {
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: '无数据中心审核权限!',
|
// title: '无数据中心审核权限!',
|
||||||
icon: 'none'
|
// icon: 'none'
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
this.iShow.examine = true
|
this.iShow.examine = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -127,10 +127,11 @@
|
|||||||
{
|
{
|
||||||
text: '已审核',
|
text: '已审核',
|
||||||
index: '1'
|
index: '1'
|
||||||
},{
|
},
|
||||||
text: '待数据中心审核',
|
// {
|
||||||
index: '5'
|
// text: '待数据中心审核',
|
||||||
}
|
// index: '5'
|
||||||
|
// }
|
||||||
],
|
],
|
||||||
listData: []
|
listData: []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user