审单接口顺序

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

@ -1001,10 +1001,22 @@
init() init()
}) })
} }
// //
const approveAndCreateTast = (type) => { const approveAndCreateTast = (type) => {
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) createTask(type)
seaExportTaskAudit(null, false) }).catch(() => {
loading.value = false
})
} }
// //
const createTask = async (type) => { const createTask = async (type) => {

Loading…
Cancel
Save