This commit is contained in:
曹辉 2023-04-12 10:23:40 +08:00
parent cf20c952aa
commit c85d8901d7
2 changed files with 17 additions and 10 deletions

View File

@ -6,7 +6,6 @@
<button @click="revoke">撤回</button>
<button @click="saveTempFilePath">保存</button>
</view>
</view>
</template>

View File

@ -107,6 +107,7 @@
"taskReturnReason": this.taskReturnReason,
}
orderFallback(obj).then(res => {
if (res.code == 200) {
this.$refs.uToast.show({
title: '任务退回成功',
type: 'success',
@ -117,6 +118,13 @@
delta: 1
})
}, 1500);
} else {
this.$refs.uToast.show({
title: res.msg,
type: 'error',
duration: '1500'
})
}
})
},
},