直转审核加loading
This commit is contained in:
parent
0fa146d047
commit
f0ae70fb91
|
|
@ -61,8 +61,8 @@
|
|||
'rejected': item.isAccept !== 0 && item.isAccept !== 1
|
||||
}">{{ item.isAccept == 0 ? '待审批' : item.isAccept == 1 ? '已通过' : '已驳回' }}</text><br/>
|
||||
审批人:<text class="black-text">{{ item.auditBy ? item.auditBy : '' }}</text><br/>
|
||||
审批时间:<text class="black-text">{{ item.createTime ? item.createTime : '' }}</text><br/>
|
||||
审批意见:<text class="black-text">{{ item.remark ? item.remark : '' }}</text>
|
||||
审批时间:<text class="black-text">{{ item.createTime ? item.createTime : '' }}</text>
|
||||
<text v-if="item.remark"><br/>审批意见:<text class="black-text">{{ item.remark }}</text></text>
|
||||
</text>
|
||||
</div>
|
||||
</view>
|
||||
|
|
@ -405,6 +405,7 @@ const handleReview = (action) => {
|
|||
auditingParams.value.nextNodeId =auditingList.value[currentIndex + 1].id
|
||||
}
|
||||
console.log("yyyyyyyyyyyyyyy",auditingParams.value)
|
||||
uni.showLoading({ title: '提交中...', mask: true })
|
||||
const submitRes = await submitAuditingApi(auditingParams.value)
|
||||
console.log("zrrrrrrrrrrrrrrrrrr",submitRes)
|
||||
if (submitRes.code === 200) {
|
||||
|
|
@ -412,11 +413,13 @@ const handleReview = (action) => {
|
|||
title: '审核成功',
|
||||
icon: 'none',
|
||||
})
|
||||
uni.hideLoading()
|
||||
initPageData();
|
||||
// uni.navigateBack(); // 调接口成功后返回上一层页面
|
||||
}
|
||||
} else if (res.cancel) {
|
||||
console.log('用户取消操作');
|
||||
uni.hideLoading()
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue