From c8e680b315ce010905f6b0409d3156218abfe056 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 11 三月 2021 19:03:31 +0800 Subject: [PATCH] 2021-03-11 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 120 +++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 66 insertions(+), 54 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 2552a71..0e1c9f3 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -150,60 +150,6 @@ ] }, { - type: 'radio', - key: 'link', - label: '閾炬帴', - initVal: card.link || '', - tooltip: '鍔ㄦ�佸湴鍧�涓虹粦瀹氬瓧娈靛�笺��', - required: false, - forbid: isApp, - options: [ - { value: '', text: '鏃�' }, - { value: 'dynamic', text: '鍔ㄦ��' }, - { value: 'static', text: '闈欐��' } - ] - }, - { - type: 'select', - key: 'link', - label: '閾炬帴', - initVal: card.link || '', - required: false, - forbid: !isApp, - options: [ - { value: '', text: '鏃�' }, - { value: 'page', text: '鑿滃崟' }, - { value: 'linkpage', text: '鍏宠仈鑿滃崟' }, - { value: 'custom', text: '閾炬帴' } - ] - }, - { - type: 'select', - key: 'linkmenu', - label: '鍏宠仈鑿滃崟', - initVal: card.linkmenu || '', - required: true, - forbid: !isApp, - options: appMenus - }, - { - type: 'select', - key: 'copyMenuId', - label: '澶嶅埗鑿滃崟', - initVal: card.copyMenuId || '', - required: false, - forbid: !isApp, - options: appMenus - }, - { - type: 'select', - key: 'linkurl', - label: '閾炬帴鍦板潃', - initVal: card.linkurl || '', - required: true, - options: [] - }, - { type: 'select', key: 'format', label: '鏍煎紡鍖�', @@ -364,6 +310,64 @@ }, { type: 'radio', + key: 'link', + label: '閾炬帴', + initVal: card.link || '', + tooltip: '鍔ㄦ�佸湴鍧�涓虹粦瀹氬瓧娈靛�笺��', + required: false, + forbid: isApp, + options: [ + { value: '', text: '鏃�' }, + { value: 'dynamic', text: '鍔ㄦ��' }, + { value: 'static', text: '闈欐��' } + ] + }, + { + type: 'select', + key: 'link', + label: '閾炬帴', + initVal: card.link || '', + required: false, + forbid: !isApp, + options: [ + { value: '', text: '鏃�' }, + { value: 'page', text: '鑿滃崟' }, + { value: 'linkpage', text: '鍏宠仈鑿滃崟' }, + { value: 'custom', text: '閾炬帴' } + ] + }, + { + type: 'select', + key: 'linkmenu', + label: '鍏宠仈鑿滃崟', + initVal: card.linkmenu || '', + required: true, + forbid: !isApp, + options: appMenus + }, + { + type: 'radio', + key: 'open', + label: '鎵撳紑鏂瑰紡', + initVal: card.open || 'blank', + required: false, + forbid: !isApp, + options: [ + { value: 'blank', text: '鏂伴〉闈�' }, + { value: 'self', text: '褰撳墠椤甸潰' } + ] + }, + { + type: 'select', + key: 'copyMenuId', + label: '澶嶅埗鑿滃崟', + initVal: card.copyMenuId || '', + required: false, + forbid: !isApp, + options: appMenus + }, + { + type: 'radio', key: 'joint', label: Formdict['model.form.paramJoint'], initVal: card.joint || 'true', @@ -376,6 +380,14 @@ text: Formdict['model.false'] }] }, + { + type: 'select', + key: 'linkurl', + label: '閾炬帴鍦板潃', + initVal: card.linkurl || '', + required: true, + options: [] + }, ] return forms -- Gitblit v1.8.0