From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 九月 2021 10:31:45 +0800 Subject: [PATCH] 2021-09-01 --- src/menu/components/share/actioncomponent/formconfig.jsx | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 36095da..04945f0 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -56,7 +56,8 @@ let funTypes = [ { value: 'changeuser', text: Formdict['header.form.func.changeuser'] }, - { value: 'print', text: '鏍囩鎵撳嵃' } + { value: 'print', text: '鏍囩鎵撳嵃' }, + { value: 'closetab', text: '鏍囩鍏抽棴' }, ] if (isApp) { @@ -74,7 +75,7 @@ if (appMenus) { try { appMenus = JSON.parse(appMenus) - } catch { + } catch (e) { appMenus = [] } } else { @@ -86,6 +87,8 @@ funTypes = [ { value: 'mkBinding', text: '寮�閫氭壂鐮佺櫥褰�' }, { value: 'mkUnBinding', text: '鐢ㄦ埛瑙g粦' }, + { value: 'scan', text: '鎵竴鎵�' }, + { value: 'reAuth', text: '閲嶆柊鎺堟潈' }, ] } else { opentypes = opentypes.filter(item => item.value !== 'tab') @@ -115,7 +118,7 @@ options: opentypes }, { - type: 'radio', + type: 'select', key: 'funcType', label: Formdict['header.form.funcType'], initVal: card.funcType || '', @@ -335,6 +338,15 @@ options: menulist }, { + type: 'cascader', + key: 'refreshTab', + label: '鍒锋柊鏍囩', + initVal: card.refreshTab || [], + required: false, + forbid: isApp, + options: menulist + }, + { type: 'select', key: 'execSuccess', label: Formdict['model.form.afterSuccess'], -- Gitblit v1.8.0