From 8a717c6b8f54a45ff013b8e68599aad2918cc88c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 23 二月 2023 17:35:49 +0800 Subject: [PATCH] Merge branch 'develop' --- src/templates/zshare/formconfig.jsx | 35 ++++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 83db912..d11afb9 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2383,7 +2383,7 @@ /** * @description 鑾峰彇琛ㄥ崟閰嶇疆淇℃伅 * @param {*} card // 琛ㄥ崟瀵硅薄 - * @param {*} inputfields // 鍙叧鑱旇〃鍗� + * @param {*} inputfields // 鍙啓鍏ヨ〃鍗� * @param {*} tabfields // 鍙垏鎹㈣〃鍗� * @param {*} linkableFields // 鍙叧鑱旇〃鍗� * @param {*} linksupFields // 涓婄骇琛ㄥ崟 @@ -2407,6 +2407,27 @@ } else { roleList = [] } + + inputfields = inputfields.map((item, index) => { + item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦 + return item + }) + tabfields = tabfields.map((item, index) => { + item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦 + return item + }) + + tabfields.unshift({field: '', label: '鍘熻〃鍗�'}) + + linkableFields = linkableFields.map((item, index) => { + item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦 + return item + }) + + linksupFields = linksupFields.map((item, index) => { + item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦 + return item + }) let _openType = [{ value: 'text', @@ -3817,6 +3838,18 @@ // forbid: appType !== 'mob' // }, { + type: 'radio', + key: 'empty', + label: '绌哄�奸殣钘�', + initVal: card.empty || 'show', + tooltip: '褰撻�夐」涓虹┖鏃讹紝闅愯棌璇ヨ〃鍗曘��', + required: false, + options: [ + {value: 'show', text: '鍚�'}, + {value: 'hidden', text: '鏄�'}, + ] + }, + { type: 'multiselect', key: 'blacklist', label: '榛戝悕鍗�', -- Gitblit v1.8.0