|
@@ -2,18 +2,7 @@
|
|
|
<view class="warp">
|
|
|
<view class="topInfo">
|
|
|
<view class="topInfo-item">
|
|
|
- <view class="flex info" v-if='list.billingMethod==2'>
|
|
|
- <view class="logo">
|
|
|
- <image src="../../../static/img/reject.png" mode="" v-if="list.priceStatusCar == '已驳回'"
|
|
|
- style="height: 40rpx;"></image><!-- 驳回 -->
|
|
|
- <image src="../../../static/img/tongguo.png" mode="" v-if="list.priceStatusCar == '已通过'"
|
|
|
- style="height: 40rpx;"></image><!-- 通过 -->
|
|
|
- <image src="../../../static/img/daishenhe.png" mode="" v-if="list.priceStatusCar == '审核中'"
|
|
|
- style="height: 40rpx;"></image><!-- 待审核 -->
|
|
|
- </view>
|
|
|
- <view class="infoText">{{list.priceStatusCar}}</view>
|
|
|
- </view>
|
|
|
- <view class="flex info" v-else>
|
|
|
+ <view class="flex info">
|
|
|
<view class="logo">
|
|
|
<image src="../../../static/img/reject.png" mode="" v-if="list.priceStatus == '已驳回'"
|
|
|
style="height: 40rpx;"></image><!-- 驳回 -->
|
|
@@ -144,15 +133,23 @@
|
|
|
that.$api.doRequest('post', url, tranProcessInfo)
|
|
|
.then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
- that.$api.msg('审核通过成功!')
|
|
|
- setTimeout(function() {
|
|
|
- if (that.everyCheck) {
|
|
|
- helper.setAudit(that.list)
|
|
|
- } else {
|
|
|
- uni.navigateBack()
|
|
|
- }
|
|
|
- uni.hideLoading()
|
|
|
- }, 1000);
|
|
|
+ that.$api.doRequest('post', '/newWorkflow/api/handle', {
|
|
|
+ taskId: that.list.taskId,
|
|
|
+ approved: true,
|
|
|
+ auditMind: '',
|
|
|
+ needReapply: true,
|
|
|
+ }).then(res => {
|
|
|
+ that.$api.msg('通过成功')
|
|
|
+ that.show = false
|
|
|
+ setTimeout(function() {
|
|
|
+ if (that.everyCheck) {
|
|
|
+ helper.setAudit(that.list)
|
|
|
+ } else {
|
|
|
+ uni.navigateBack()
|
|
|
+ }
|
|
|
+ uni.hideLoading()
|
|
|
+ }, 1000);
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
|