From 4546530b83c119280a3631be82b5f070c8713c03 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 16 七月 2023 12:19:38 +0800 Subject: [PATCH] 2023-07-16 --- src/menu/components/share/actioncomponent/formconfig.jsx | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx index 550b969..2c40947 100644 --- a/src/menu/components/share/actioncomponent/formconfig.jsx +++ b/src/menu/components/share/actioncomponent/formconfig.jsx @@ -165,6 +165,10 @@ } } + if (card.$fixed) { + opentypes = opentypes.filter(item => item.value === card.OpenType) + } + if (card.funcType === 'changeuser') { // 鍘熺被鍨嬫敮鎸� funTypes.unshift({ value: 'changeuser', text: '鍒囨崲鐢ㄦ埛' }) } @@ -573,6 +577,14 @@ }] }, { + type: 'text', + key: 'ContentType', + label: 'Content-Type', + initVal: card.ContentType || '', + tooltip: '榛樿鍊硷細application/x-www-form-urlencoded;charset=UTF-8', + required: false + }, + { type: 'select', key: 'Ot', label: '琛岃缃�', @@ -954,6 +966,22 @@ value: 'close', text: '鍏抽棴' }] + }, + { + type: 'radio', + key: 'popshow', + label: '寮圭獥灞曠ず', + initVal: card.popshow || 'default', + tooltip: '灏忕獥鍙e睍绀哄皢闅愯棌鏍囬鍙婂簳閮ㄦ寜閽��', + required: false, + options: [{ + value: 'default', + text: '榛樿' + }, { + value: 'miniview', + text: '灏忕獥鍙�' + }], + forbid: appType === 'mob' }, { type: 'radio', @@ -1638,6 +1666,14 @@ }] }, { + type: 'text', + key: 'ContentType', + label: 'Content-Type', + initVal: card.ContentType || '', + tooltip: '榛樿鍊硷細application/x-www-form-urlencoded;charset=UTF-8', + required: false + }, + { type: 'select', key: 'Ot', label: '琛岃缃�', @@ -1935,6 +1971,21 @@ }] }, { + type: 'radio', + key: 'popshow', + label: '寮圭獥灞曠ず', + initVal: card.popshow || 'default', + tooltip: '灏忕獥鍙e睍绀哄皢闅愯棌鏍囬鍙婂簳閮ㄦ寜閽��', + required: false, + options: [{ + value: 'default', + text: '榛樿' + }, { + value: 'miniview', + text: '灏忕獥鍙�' + }] + }, + { type: 'text', key: 'preFunc', label: '鍓嶇疆鍑芥暟', -- Gitblit v1.8.0