From b5364600d98c8749caba625ec813d4fe670d0a19 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 十二月 2021 17:29:55 +0800 Subject: [PATCH] 2021-12-16 --- src/menu/components/share/actioncomponent/formconfig.jsx | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index f910a4e..b9efb5c 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -82,7 +82,7 @@ const isApp = ['pc', 'mob'].includes(appType) let funTypes = [ - { value: 'changeuser', text: Formdict['header.form.func.changeuser'] }, + { value: 'changeuser', text: '鍒囨崲鐢ㄦ埛' }, { value: 'print', text: '鏍囩鎵撳嵃' }, { value: 'closetab', text: '鏍囩鍏抽棴' }, ] @@ -122,7 +122,7 @@ { value: 'custom', text: '閾炬帴' } ] funTypes = [ - { value: 'changeuser', text: Formdict['header.form.func.changeuser'] }, + { value: 'changeuser', text: '鍒囨崲鐢ㄦ埛' }, ] opentypes = opentypes.filter(item => item.value !== 'tab') } @@ -136,7 +136,11 @@ if (viewType === 'popview') { // 寮圭獥鏍囩 opentypes = opentypes.filter(item => item.value !== 'popview' && item.value !== 'funcbutton') refresh.push({ - value: 'popclose', + value: 'closepoptab', // 鍏抽棴寮圭獥鏍囩 + text: '鍏抽棴寮圭獥' + }) + refresh.push({ + value: 'popclose', // 鎵ц寮圭獥鍏抽棴鏃剁殑鍒锋柊 text: '鍒锋柊婧愮粍浠�' }) } @@ -157,7 +161,7 @@ { type: 'select', key: 'funcType', - label: Formdict['header.form.funcType'], + label: '鍔熻兘绫诲瀷', initVal: card.funcType || '', required: true, options: funTypes @@ -394,7 +398,7 @@ text: '鍒锋柊涓婄骇缁勪欢 - 琛�' }, { value: !appType ? 'closetab' : 'goback', - text: !appType ? '鍏抽棴寮圭獥' : '杩斿洖锛堜笂涓�涓〉闈級' + text: !appType ? '鍏抽棴鏍囩' : '杩斿洖锛堜笂涓�涓〉闈級' }, ...refresh] }, @@ -539,7 +543,7 @@ { type: 'radio', key: 'pagination', - label: Formdict['header.form.pagination'], + label: '鍒嗛〉', initVal: card.pagination || 'false', required: false, options: [{ @@ -684,6 +688,20 @@ }, { type: 'radio', + key: 'clickouter', + label: '鐐瑰嚮钂欏眰', + initVal: card.clickouter || 'unclose', + required: false, + options: [{ + value: 'unclose', + text: '涓嶅叧闂�' + }, { + value: 'close', + text: '鍏抽棴' + }] + }, + { + type: 'radio', key: 'reload', label: '杩斿洖鍚�', initVal: card.reload || 'false', -- Gitblit v1.8.0