联调 技术监督 草稿功能

This commit is contained in:
GGJ
2024-06-20 16:54:19 +08:00
parent ac1335985f
commit 3a49fbf6a8
15 changed files with 256 additions and 98 deletions

View File

@@ -102,17 +102,19 @@ const tableStore = new TableStore({
// title: '请确认发起告警单!'
// },
click: async row => {
const { value } = await ElMessageBox.prompt('请输入取消原因', '取消流程', {
const { value } = await ElMessageBox.prompt('', '整改意见', {
confirmButtonText: '确定',
cancelButtonText: '取消',
inputType: 'textarea',
inputPattern: /^[\s\S]*.*\S[\s\S]*$/, // 判断非空,且非空格
inputErrorMessage: '取消原因不能为空'
inputErrorMessage: '请输入整改意见'
})
// sureInitiateWarningLeaflet({ id: row.id })
// ElMessage.success('发起告警单成功!')
// tableStore.index()
sureInitiateWarningLeaflet({ id: row.id, reformAdvice: value }).then(res=>{
ElMessage.success('发起告警单成功!')
tableStore.index()
})
}
},
{