From 6f6207ef6eb81d2abb3805bc2cba889ea2abd135 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期日, 02 六月 2024 01:12:32 +0800 Subject: [PATCH] 低代码更新 --- src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts b/src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts index 5acf20a..8341abf 100644 --- a/src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts +++ b/src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts @@ -3,8 +3,8 @@ import { h, unref } from 'vue'; import { Tag, Tooltip } from 'ant-design-vue'; import { useLocale } from '/@/locales/useLocale'; -import { MesWoStatus } from '/@/api/tigerapi/mes/wo'; import { useI18n } from '/@/hooks/web/useI18n'; +import { GetEnum } from '/@/api/tigerapi/system'; const { getLocale } = useLocale(); const { t } = useI18n(); @@ -61,7 +61,7 @@ switch (status) { case 0: text = '寰呴厤缃�'; - color = '#515151'; + color = '#8a8a8a'; break; case 1: text = '宸查厤缃�'; @@ -93,7 +93,7 @@ switch (status) { case 0: text = '鍒濆鍖�'; - color = '#515151'; + color = '#8a8a8a'; break; case 1: text = '宸插鍏�'; @@ -247,7 +247,8 @@ component: 'ApiSelect', colProps: { span: 8 }, componentProps: { - api: MesWoStatus, + api: GetEnum, + params: { name: 'BIZ_MES_WO+STATUSs' }, resultField: 'Data', labelField: unref(getLocale) == 'zh_CN' ? 'Desc' : 'Name', valueField: 'Value', @@ -287,6 +288,14 @@ span: 4, }, }, + { + field: 'TABLE_NAME', + label: '琛ㄥ悕', + component: 'Input', + colProps: { span: 8 }, + defaultValue: 'BIZ_MES_WO', ////蹇呴渶鍦ㄩ〉闈㈢殑鏌ヨ閮ㄥ垎鍔犲叆'TABLE_NAME'瀛楁骞惰祴鍊艰〃鍚嶏紝杩欐牱灏卞彲浠ョ敤閫氱敤鍒嗛〉鏌ヨ + ifShow: false, + }, ]; //鏂板缁勪欢export const -- Gitblit v1.9.3