From ab60d53b67f802878662aaa5a5b52580cca421b8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 26 九月 2020 08:52:46 +0800 Subject: [PATCH] 2020-09-26 --- src/menu/actioncomponent/formconfig.jsx | 26 +++++++++----------------- 1 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/menu/actioncomponent/formconfig.jsx b/src/menu/actioncomponent/formconfig.jsx index 582d73d..3b72b59 100644 --- a/src/menu/actioncomponent/formconfig.jsx +++ b/src/menu/actioncomponent/formconfig.jsx @@ -11,7 +11,7 @@ * @param {*} permFuncField 瀛樺偍杩囩▼鍙敤鐨勫紑濮嬪瓧娈� * @param {*} type 鎸夐挳绫诲瀷锛岀敤浜庡尯鍒嗗彲閫夌殑鎵撳紑鏂瑰紡 */ -export function getActionForm (card, functip, setting, permFuncField = [], type, menulist = []) { +export function getActionForm (card, functip, setting, permFuncField = [], type, menulist = [], modules = []) { let opentypes = [ { value: 'pop', @@ -43,23 +43,7 @@ } ] - if (card.intertype === 'inner' && !card.innerFunc) { - card.intertype = 'system' - } - if (type === 'chart') { - if (card.focus) { - // 瀵煎叆鍜屽鍑篹xcel锛屾寜閽悕绉扮洿鎺ヤ负瀵煎叆銆佸鍑� - card.label = '瀵煎嚭Excel' - card.OpenType = 'excelOut' - card.icon = 'download' - card.intertype = setting.interType - card.innerFunc = setting.innerFunc - card.sysInterface = setting.sysInterface - card.outerFunc = setting.outerFunc - card.interface = setting.interface - card.class = 'dgreen' - } opentypes = [ { value: 'excelIn', @@ -389,6 +373,14 @@ text: '闈炲繀濉�' }] }, + { + type: 'mcascader', + key: 'syncComponent', + label: '鍚屾鍒锋柊', + initVal: card.syncComponent || [], + required: false, + options: modules + }, // { // type: 'select', // key: 'linkcomponents', -- Gitblit v1.8.0