From f9b459a3fefd5fab0ee8e19268adb9d9eadab2a7 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 十二月 2024 18:16:58 +0800 Subject: [PATCH] 预测项setting的值修改最大输入长度为1000 --- 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