| | |
| | | <el-radio |
| | | v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | :value="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-radio> |
| | |
| | | <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' }) |
| | |
| | | id: undefined, |
| | | name: undefined, |
| | | code: undefined, |
| | | status: undefined, |
| | | status: CommonStatusEnum.ENABLE, |
| | | sort: undefined |
| | | }) |
| | | const formRules = reactive({ |
| | |
| | | id: undefined, |
| | | name: undefined, |
| | | code: undefined, |
| | | status: undefined, |
| | | status: CommonStatusEnum.ENABLE, |
| | | sort: undefined |
| | | } |
| | | formRef.value?.resetFields() |