From 97b2e606968fbe7a55df1173f52edc7e11ccfd12 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 24 八月 2026 10:32:09 +0800
Subject: [PATCH] fix 修改页面
---
src/views/mes/process-design/process/data.ts | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/src/views/mes/process-design/process/data.ts b/src/views/mes/process-design/process/data.ts
index d6ce88a..146b7a2 100644
--- a/src/views/mes/process-design/process/data.ts
+++ b/src/views/mes/process-design/process/data.ts
@@ -9,8 +9,8 @@
CommonStatusEnum,
DICT_TYPE,
MesAutoCodeRuleCode,
-} from '../../../../packages/constants/src';
-import { getDictOptions } from '../../../../packages/effects/hooks/src';
+} from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
import { Button } from 'ant-design-vue';
@@ -64,6 +64,16 @@
placeholder: '璇疯緭鍏ュ伐搴忓悕绉�',
},
rules: z.string().min(1, '宸ュ簭鍚嶇О涓嶈兘涓虹┖').max(100),
+ },
+ {
+ fieldName: 'type',
+ label: '鐢靛姏宸ヨ壓鍒嗙被',
+ component: 'Select',
+ componentProps: {
+ allowClear: true,
+ options: getDictOptions(DICT_TYPE.MES_PRO_PROCESS_TYPE, 'number'),
+ placeholder: '璇烽�夋嫨鐢靛姏宸ヨ壓鍒嗙被',
+ },
},
{
fieldName: 'status',
@@ -148,6 +158,15 @@
},
{ field: 'name', title: '宸ュ簭鍚嶇О', minWidth: 180 },
{
+ field: 'type',
+ title: '鐢靛姏宸ヨ壓鍒嗙被',
+ width: 120,
+ cellRender: {
+ name: 'CellDict',
+ props: { type: DICT_TYPE.MES_PRO_PROCESS_TYPE },
+ },
+ },
+ {
field: 'status',
title: '鐘舵��',
width: 100,
--
Gitblit v1.9.3