审单接口顺序

feature-JimuReport-1106-yjl
lijingjia 3 weeks ago
parent fbfe6d1cd4
commit ba38f06b99

@ -1001,10 +1001,22 @@
init()
})
}
//
//
const approveAndCreateTast = (type) => {
createTask(type)
seaExportTaskAudit(null, false)
const postData = {
result: 1,
ids: [id.value],
businessType: '1',
taskTypeName: route.query.status
}
loading.value = true
SeaExportTaskAudit(postData).then(res => {
loading.value = false
createMessage.success(res.message)
createTask(type)
}).catch(() => {
loading.value = false
})
}
//
const createTask = async (type) => {

Loading…
Cancel
Save