|
@@ -196,6 +196,7 @@
|
|
|
},
|
|
|
//驳回
|
|
|
rejectSubmit() {
|
|
|
+ uni.showLoading({title: '加载中',mask:true});
|
|
|
var that = this
|
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
taskId: that.list.taskId,
|
|
@@ -203,6 +204,7 @@
|
|
|
auditMind: this.auditMind,
|
|
|
needReapply: true,
|
|
|
}).then(res => {
|
|
|
+ uni.hideLoading()
|
|
|
that.$api.msg('驳回成功')
|
|
|
that.show=false
|
|
|
})
|
|
@@ -225,12 +227,14 @@
|
|
|
if(this.title=='驳回原因'){
|
|
|
this.rejectSubmit()
|
|
|
}else{
|
|
|
+ uni.showLoading({title: '加载中',mask:true});
|
|
|
that.$api.doRequest('post', '/workflow/api/handle', {
|
|
|
taskId: that.list.taskId,
|
|
|
approved: true,
|
|
|
auditMind: this.auditMind,
|
|
|
needReapply: true,
|
|
|
}).then(res => {
|
|
|
+ uni.hideLoading()
|
|
|
that.$api.msg('通过成功')
|
|
|
that.show=false
|
|
|
})
|
|
@@ -415,5 +419,6 @@
|
|
|
.textCss{
|
|
|
justify-content: flex-end;
|
|
|
width: 100%;
|
|
|
+ text-align: right;
|
|
|
}
|
|
|
</style>
|