From 67a307d8f0fa25fbc56ee9f84c313d521280925f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 04 三月 2022 15:33:09 +0800 Subject: [PATCH] 2022-03-04 --- src/menu/components/share/actioncomponent/formconfig.jsx | 48 ++++++++++++++++++++++++++++++++++++------------ 1 files changed, 36 insertions(+), 12 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index cda6204..e40ee92 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -63,17 +63,17 @@ }) } - if (type === 'editable') { - opentypes = [ - { - value: 'excelIn', - text: Formdict['model.form.excelIn'] - }, { - value: 'excelOut', - text: Formdict['model.form.excelOut'] - } - ] - } + // if (type === 'editable') { + // opentypes = [ + // { + // value: 'excelIn', + // text: Formdict['model.form.excelIn'] + // }, { + // value: 'excelOut', + // text: Formdict['model.form.excelOut'] + // } + // ] + // } let tabs = getTabs(JSON.parse(JSON.stringify(modules))) @@ -150,7 +150,7 @@ if (type === 'card') { opentypes.push({ value: 'form', - text: '琛ㄥ崟' + text: '琛ㄥ崟锛堝紑鍏虫垨鍕鹃�夋锛�' }) } @@ -663,6 +663,14 @@ forbid: viewType === 'popview' }, { + type: 'text', + key: 'tipTitle', + label: '纭鎻愮ず', + initVal: card.tipTitle || '', + tooltip: '娉細寮圭獥锛堣〃鍗曪級鍦ㄦ樉绀轰负鏄惁妗嗘椂鏈夋晥銆�', + required: false + }, + { type: 'radio', key: 'open', label: '鎵撳紑鏂瑰紡', @@ -753,6 +761,22 @@ }, { type: 'radio', + key: 'position', + label: '鏄剧ず浣嶇疆', + initVal: card.position || 'middle', + tooltip: '娉細寮圭獥锛堣〃鍗曪級鍦ㄦ樉绀轰负鏄惁妗嗘椂鏈夋晥銆�', + required: false, + forbid: appType !== 'mob', + options: [{ + value: 'middle', + text: '涓儴' + }, { + value: 'bottom', + text: '搴曢儴' + }] + }, + { + type: 'radio', key: 'control', label: '鎸夐挳鎺у埗', initVal: card.control || (card.controlField ? 'disabled' : ''), -- Gitblit v1.8.0