From 3e359e4550d018035406a97c190b98f83839ba7f Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 13 十二月 2024 10:41:05 +0800 Subject: [PATCH] 1、工作流重做更新 2、@import修改为@use以应对sass升级弃用@import 3、进入系统后自动redirect到home页 --- src/views/bpm/category/CategoryForm.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/bpm/category/CategoryForm.vue b/src/views/bpm/category/CategoryForm.vue index 5b77153..9c24b3e 100644 --- a/src/views/bpm/category/CategoryForm.vue +++ b/src/views/bpm/category/CategoryForm.vue @@ -18,7 +18,7 @@ <el-radio v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)" :key="dict.value" - :label="dict.value" + :value="dict.value" > {{ dict.label }} </el-radio> @@ -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 @@ id: undefined, name: undefined, code: undefined, - status: undefined, + status: CommonStatusEnum.ENABLE, sort: undefined }) const formRules = reactive({ @@ -116,7 +117,7 @@ id: undefined, name: undefined, code: undefined, - status: undefined, + status: CommonStatusEnum.ENABLE, sort: undefined } formRef.value?.resetFields() -- Gitblit v1.9.3