File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 42
42
<script setup lang="ts">
43
43
import { getIntDictOptions , DICT_TYPE } from ' @/utils/dict'
44
44
import { CategoryApi , CategoryVO } from ' @/api/bpm/category'
45
+ import { CommonStatusEnum } from ' @/utils/constants'
45
46
46
47
/** BPM 流程分类 表单 */
47
48
defineOptions ({ name: ' CategoryForm' })
@@ -57,7 +58,7 @@ const formData = ref({
57
58
id: undefined ,
58
59
name: undefined ,
59
60
code: undefined ,
60
- status: undefined ,
61
+ status: CommonStatusEnum . ENABLE ,
61
62
sort: undefined
62
63
})
63
64
const formRules = reactive ({
@@ -116,7 +117,7 @@ const resetForm = () => {
116
117
id: undefined ,
117
118
name: undefined ,
118
119
code: undefined ,
119
- status: undefined ,
120
+ status: CommonStatusEnum . ENABLE ,
120
121
sort: undefined
121
122
}
122
123
formRef .value ?.resetFields ()
You can’t perform that action at this time.
0 commit comments