From 686cbd604c04240213bda5fc8d14b1ca72e7adc1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 19 十一月 2024 14:34:34 +0800 Subject: [PATCH] 2024-11-19 --- src/menu/components/share/actioncomponent/formconfig.jsx | 72 +++++++++++++++++++++++++++++++---- 1 files changed, 63 insertions(+), 9 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 684488f..b2c5d4b 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 鑾峰彇鎸夐挳琛ㄥ崟閰嶇疆淇℃伅 @@ -187,6 +187,9 @@ } else { appMenus = [] } + // if (appType === 'mob') { + // appMenus.push({value: 'sign', text: '绛惧悕锛堢郴缁熼〉锛�'}) + // } appMenus.push({value: 'goback', text: '杩斿洖锛堜笂涓�椤碉級'}) } else { menulist = sessionStorage.getItem('fstMenuList') @@ -1464,6 +1467,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 +1484,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 +2769,14 @@ }, { type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false + }, + { + type: 'text', key: 'extLabel', label: '鎵╁睍鍚嶇О', initVal: card.extLabel || '', @@ -2746,14 +2784,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