|
@ -113,6 +113,18 @@ function submitCMForm () { |
|
|
param.value.remark = JSON.stringify(list.value) |
|
|
param.value.remark = JSON.stringify(list.value) |
|
|
workSchedulingListApi.callBasicItemForm(param.value).then((res) => { |
|
|
workSchedulingListApi.callBasicItemForm(param.value).then((res) => { |
|
|
console.log(res) |
|
|
console.log(res) |
|
|
|
|
|
if (res.data) { |
|
|
|
|
|
proxy.$modal.showToast('成功') |
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
proxy.$tab.navigateBack() |
|
|
|
|
|
loading.value = false |
|
|
|
|
|
proxy.$modal.closeLoading() |
|
|
|
|
|
}, 1000) |
|
|
|
|
|
}else{ |
|
|
|
|
|
proxy.$modal.showToast('失败') |
|
|
|
|
|
loading.value = false |
|
|
|
|
|
proxy.$modal.closeLoading() |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|