From fe837c3f5cc3aec41031d0f338a424b8b7949137 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 20 十一月 2024 16:07:14 +0800 Subject: [PATCH] 2024-11-20 --- src/menu/components/share/actioncomponent/formconfig.jsx | 73 ++++++++++++++++++++++++++++++++---- 1 files changed, 64 insertions(+), 9 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 684488f..c9f2c24 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') @@ -217,6 +220,7 @@ { value: 'expPdf', text: '瀵煎嚭PDF' }, { value: 'shareLink', text: '鍒嗕韩閾炬帴' }, { value: 'openLocation', text: '鎵撳紑鍦板浘'}, + { value: 'wxPublicAuth', text: '寰俊鍏紬鍙锋巿鏉�'}, { value: 'logout', text: '閫�鍑�' }, { value: 'goBack', text: '杩斿洖' }, ] @@ -1464,6 +1468,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 +1485,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 +2770,14 @@ }, { type: 'text', + key: 'extValue', + label: '鎵╁睍鍊�', + initVal: card.extValue || '', + required: true, + readonly: false + }, + { + type: 'text', key: 'extLabel', label: '鎵╁睍鍚嶇О', initVal: card.extLabel || '', @@ -2746,14 +2785,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