From fee83fc57f553595cc3a4891b8a692fa66cd77fe Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 25 二月 2025 10:43:52 +0800 Subject: [PATCH] 一些更新 --- src/views/tigerprojects/system/lowcode/setting/setting.data.ts | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 110 insertions(+), 3 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/setting/setting.data.ts b/src/views/tigerprojects/system/lowcode/setting/setting.data.ts index 86734e0..8abbbc5 100644 --- a/src/views/tigerprojects/system/lowcode/setting/setting.data.ts +++ b/src/views/tigerprojects/system/lowcode/setting/setting.data.ts @@ -1,3 +1,11 @@ +/* + * @Description: file content + * @Author: Ben Lin + * @version: + * @Date: 2024-06-18 15:09:48 + * @LastEditors: Ben Lin + * @LastEditTime: 2024-07-17 11:12:34 + */ import { BasicColumn, FormSchema } from '/@/components/Table'; //鍒楄〃鏄剧ず @@ -10,6 +18,10 @@ }, ]; +/** + * @description: 鏌ヨ瀛楁缁撴瀯 + * @return {*} + */ export const newFormSchema: FormSchema[] = [ { field: 'ASSEMBLY_NAME', @@ -32,11 +44,39 @@ label: '1', colSlot: 'condAdd', colProps: { - span: 10, + span: 4, + }, + }, + { + field: 'IsSearch', + label: '鏄惁鏌ヨ', + component: 'Select', + defaultValue: 'Y', + colProps: { span: 8 }, + componentProps: ({ schema, tableAction, formActionType, formModel }) => { + return { + options: [ + { + label: '鏄�', + value: 'Y', + }, + { + label: '鍚�', + value: 'N', + }, + ], + onChange: (e) => { + + }, + }; }, }, ]; +/** + * @description: 澧炲垹鏀瑰瓧娈电粨鏋� + * @return {*} + */ export const crudSchemas: FormSchema[] = [ { field: 'crudAssemblyName', @@ -64,12 +104,22 @@ }, ]; +/** + * @description: 琛ㄦ牸瀛楁缁撴瀯 + * @return {*} + */ export const mainSchemas: FormSchema[] = [ + { + field: 'CODE_NAME', + label: '浠g爜鍚嶇О', + component: 'Input', + colProps: { span: 12 }, + }, { field: 'MainAssemblyName', label: '瀹炰綋绫诲悕', component: 'Input', - colProps: { span: 8 }, + colProps: { span: 10 }, }, { field: '00', @@ -81,12 +131,69 @@ }, }, { + field: 'BY_ORG', + label: '鏄惁鎸夌粍缁囨煡璇�', + component: 'Select', + defaultValue: 'N', + colProps: { span: 7 }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + }, + { + label: '鍚�', + value: 'N', + }, + ], + }, + }, + { + field: 'BY_PROD', + label: '鏄惁鎸夊伐鍘傛煡璇�', + component: 'Select', + defaultValue: 'N', + colProps: { span: 7 }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + }, + { + label: '鍚�', + value: 'N', + }, + ], + }, + }, + { + field: 'BY_WH', + label: '鏄惁鎸変粨搴撴煡璇�', + component: 'Select', + defaultValue: 'N', + colProps: { span: 7 }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + }, + { + label: '鍚�', + value: 'N', + }, + ], + }, + }, + { field: '0', component: 'Input', label: '1', colSlot: 'mainCondAdd', colProps: { - span: 10, + span: 3, }, }, ]; -- Gitblit v1.9.3