修改
This commit is contained in:
parent
cf20c952aa
commit
c85d8901d7
@ -6,7 +6,6 @@
|
||||
<button @click="revoke">撤回</button>
|
||||
<button @click="saveTempFilePath">保存</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
@ -107,16 +107,24 @@
|
||||
"taskReturnReason": this.taskReturnReason,
|
||||
}
|
||||
orderFallback(obj).then(res => {
|
||||
this.$refs.uToast.show({
|
||||
title: '任务退回成功',
|
||||
type: 'success',
|
||||
duration: '1500'
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
if (res.code == 200) {
|
||||
this.$refs.uToast.show({
|
||||
title: '任务退回成功',
|
||||
type: 'success',
|
||||
duration: '1500'
|
||||
})
|
||||
}, 1500);
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
}, 1500);
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
type: 'error',
|
||||
duration: '1500'
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user