From af02b8f3c3ec9e5684be1084904d673429421d2b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 03 九月 2020 16:40:47 +0800 Subject: [PATCH] 2020-09-03 --- src/menu/actioncomponent/formconfig.jsx | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/menu/actioncomponent/formconfig.jsx b/src/menu/actioncomponent/formconfig.jsx index 93891c4..9359dc4 100644 --- a/src/menu/actioncomponent/formconfig.jsx +++ b/src/menu/actioncomponent/formconfig.jsx @@ -43,6 +43,10 @@ } ] + if (card.intertype === 'inner' && !card.innerFunc) { + card.intertype = 'system' + } + if (type === 'chart') { if (card.focus) { // 瀵煎叆鍜屽鍑篹xcel锛屾寜閽悕绉扮洿鎺ヤ负瀵煎叆銆佸鍑� @@ -80,12 +84,9 @@ type: 'select', key: 'funcType', label: Formdict['header.form.funcType'], - initVal: card.funcType || '', + initVal: card.funcType || 'print', required: true, options: [{ - value: 'changeuser', - text: Formdict['header.form.func.changeuser'] - }, { value: 'print', text: Formdict['header.form.func.print'] }] @@ -111,9 +112,12 @@ type: 'radio', key: 'intertype', label: Formdict['header.form.intertype'], - initVal: card.intertype || 'inner', + initVal: card.intertype || 'system', required: true, options: [{ + value: 'system', + text: '绯荤粺' + }, { value: 'inner', text: Formdict['header.form.interface.inner'] }, { -- Gitblit v1.8.0