From 453f63fd6cd6466222304df619e62b3a5667ca68 Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期二, 05 八月 2025 13:56:47 +0800 Subject: [PATCH] 修复0730测试问题 --- eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx | 62 +++++++++++++++++++++++++----- 1 files changed, 51 insertions(+), 11 deletions(-) diff --git a/eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx b/eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx index 8c28042..8604727 100644 --- a/eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx +++ b/eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx @@ -8,10 +8,31 @@ import { renderDict } from '#/utils/render'; export const querySchema: FormSchemaGetter = () => [ + // { + // component: 'Input', + // fieldName: 'equName', + // label: '璁惧鍚嶇О' + // }, { component: 'Input', - fieldName: 'equName', - label: '璁惧鍚嶇О' + fieldName: 'params.searchValue', + componentProps: { + placeholder: '璇疯緭鍏ユ爣棰樻垨璧勪骇缂栧彿' + }, + label: '鍏抽敭瀛�' + }, + { + component: 'RangePicker', + fieldName: 'planTime', + label: '淇濆吇鏃ユ湡' + }, + { + component: 'Select', + componentProps: { + options: getDictOptions(DictEnum.MAINT_ORDER_STATUS) + }, + fieldName: 'status', + label: '鐘舵��' }, { component: 'Input', @@ -50,14 +71,6 @@ }, fieldName: 'maintRule', label: '璁$畻瑙勫垯' - }, - { - component: 'Select', - componentProps: { - options: getDictOptions(DictEnum.MAINT_ORDER_STATUS) - }, - fieldName: 'status', - label: '鐘舵��' } ]; @@ -84,11 +97,15 @@ title: '璁惧鍚嶇О', field: 'equName', minWidth: 200, - fixed: 'left' }, { title: '璧勪骇缂栧彿', field: 'assetNo', + minWidth: 160 + }, + { + title: '淇濆吇椤�', + field: 'maintName', minWidth: 160 }, { @@ -122,6 +139,11 @@ minWidth: 160 }, { + title: '宸ヤ綔鎻忚堪', + field: 'maintDesc', + minWidth: 200 + }, + { title: '楠岃瘉浜�', field: 'verifyUserName', minWidth: 160 @@ -151,6 +173,14 @@ }, { component: 'Input', + dependencies: { + show: () => false, + triggerFields: [''] + }, + fieldName: 'planId', + }, + { + component: 'Input', fieldName: 'equId', label: '璁惧id', dependencies: { @@ -162,6 +192,11 @@ component: 'Input', fieldName: 'maintCode', label: '淇濆吇鍗曞彿' + }, + { + component: 'Input', + fieldName: 'maintName', + label: '淇濆吇椤�' }, { component: 'Input', @@ -277,6 +312,11 @@ label: '缁撴潫鏃堕棿' }, { + component: 'Textarea', + fieldName: 'maintDesc', + label: '宸ヤ綔鎻忚堪' + }, + { component: 'Input', fieldName: 'verifyUser', label: '楠岃瘉浜篿d', -- Gitblit v1.9.3