联调 技术监督 草稿功能
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user