From ce6251207093501661add0b00b56c4e4909e494e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 17 十一月 2024 00:39:34 +0800 Subject: [PATCH] 2024-11-17 --- src/menu/components/share/actioncomponent/formconfig.jsx | 69 ++++++++++++++++++++++++++++++---- 1 files changed, 60 insertions(+), 9 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 684488f..28a24bd 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -1,5 +1,5 @@ import React from 'react' -import { btnClasses } from '@/utils/option.js' +import { btnClasses, modalClasses } from '@/utils/option.js' /** * @description 鑾峰彇鎸夐挳琛ㄥ崟閰嶇疆淇℃伅 @@ -1464,6 +1464,15 @@ }, { type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false, + forbid: appType === 'mob' + }, + { + type: 'text', key: 'extLabel', label: '鎵╁睍鍚嶇О', initVal: card.extLabel || '', @@ -1472,12 +1481,30 @@ forbid: appType === 'mob' }, { + type: 'select', + key: 'extStyle', + label: '鎵╁睍鏍峰紡', + initVal: card.extStyle || '', + required: false, + options: modalClasses, + forbid: appType === 'mob' + }, + { type: 'text', - key: 'extValue', - label: '鎵╁睍鍊�', - initVal: card.extValue || '', - required: true, + key: 'confLabel', + label: '纭畾鍚嶇О', + initVal: card.confLabel || '', + required: false, readonly: false, + forbid: appType === 'mob' + }, + { + type: 'select', + key: 'confStyle', + label: '纭畾鏍峰紡', + initVal: card.confStyle || '', + required: false, + options: modalClasses, forbid: appType === 'mob' }, { @@ -2739,6 +2766,14 @@ }, { type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false + }, + { + type: 'text', key: 'extLabel', label: '鎵╁睍鍚嶇О', initVal: card.extLabel || '', @@ -2746,14 +2781,30 @@ readonly: false }, { + type: 'select', + key: 'extStyle', + label: '鎵╁睍鏍峰紡', + initVal: card.extStyle || '', + required: false, + options: modalClasses + }, + { type: 'text', - key: 'extValue', - label: '鎵╁睍鍊�', - initVal: card.extValue || '', - required: true, + key: 'confLabel', + label: '纭畾鍚嶇О', + initVal: card.confLabel || '', + required: false, readonly: false }, { + type: 'select', + key: 'confStyle', + label: '纭畾鏍峰紡', + initVal: card.confStyle || '', + required: false, + options: modalClasses + }, + { type: 'radio', key: 'execType', label: '璇锋眰鏂瑰紡', -- Gitblit v1.8.0