修改流程状态

This commit is contained in:
GGJ
2024-06-19 11:28:18 +08:00
parent 71ce755919
commit c496a13617
15 changed files with 247 additions and 209 deletions

View File

@@ -206,6 +206,7 @@ const cancelLeave = async (row: any) => {
const { value } = await ElMessageBox.prompt('请输入取消原因', '取消流程', {
confirmButtonText: '确定',
cancelButtonText: '取消',
inputType: 'textarea',
inputPattern: /^[\s\S]*.*\S[\s\S]*$/, // 判断非空,且非空格
inputErrorMessage: '取消原因不能为空'
})