Commit 4423c5f8 by YunaiV

【功能完善】工作流:分类新建时,默认选中开启

parent 4b0d3ec2
......@@ -42,6 +42,7 @@
<script setup lang="ts">
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'
import { CategoryApi, CategoryVO } from '@/api/bpm/category'
import { CommonStatusEnum } from '@/utils/constants'
/** BPM 流程分类 表单 */
defineOptions({ name: 'CategoryForm' })
......@@ -57,7 +58,7 @@ const formData = ref({
id: undefined,
name: undefined,
code: undefined,
status: undefined,
status: CommonStatusEnum.ENABLE,
sort: undefined
})
const formRules = reactive({
......@@ -116,7 +117,7 @@ const resetForm = () => {
id: undefined,
name: undefined,
code: undefined,
status: undefined,
status: CommonStatusEnum.ENABLE,
sort: undefined
}
formRef.value?.resetFields()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment