修改流程状态
This commit is contained in:
@@ -99,7 +99,7 @@ const tableStore = new TableStore({
|
||||
5: '新增'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
{ field: 'createTime', title: '创建时间', minWidth: '150' },
|
||||
{
|
||||
field: 'createBy',
|
||||
@@ -204,6 +204,7 @@ const cancelLeave = async (row: any) => {
|
||||
const { value } = await ElMessageBox.prompt('请输入取消原因', '取消流程', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
inputType: 'textarea',
|
||||
inputPattern: /^[\s\S]*.*\S[\s\S]*$/, // 判断非空,且非空格
|
||||
inputErrorMessage: '取消原因不能为空'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user