From 870b6e10f9428e769530b94df3034e567a516429 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 六月 2022 00:53:58 +0800 Subject: [PATCH] 2022-06-21 --- src/templates/zshare/formconfig.jsx | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 8574f2e..9eb47d7 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2387,6 +2387,9 @@ }, { value: 'linkMain', text: '鍏宠仈涓昏〃' + }, { + value: 'formula', + text: '鍏紡' }] let _fieldlength = 50 @@ -2446,6 +2449,9 @@ }, { value: 'linkMain', text: '鍏宠仈涓昏〃' + }, { + value: 'formula', + text: '鍏紡' }] } @@ -3206,6 +3212,37 @@ }] }, { + type: 'textarea', + key: 'formula', + label: '鍏紡', + initVal: card.formula || '', + tooltip: '鍔ㄦ�佹浛鎹㈢浉搴旂殑瀛楁锛屽睍绀鸿幏寰楃殑缁撴灉銆傚彲浣跨敤JS鐨勪竴浜涜娉曪紝濡傦細涓夊厓琛ㄨ揪寮� @field1@ > @field2@ ? 0 : 1锛汳ath瀵硅薄锛屽彇缁濆鍊� Math.abs(@field@)銆佸洓鑸嶄簲鍏� Math.round(@field@)绛�', + rows: 2, + required: true + }, + { + type: 'radio', + key: 'eval', + label: '瑙f瀽', + initVal: card.eval || 'true', + tooltip: '褰撳叕寮忓唴瀹规秹鍙婅绠楁椂璇烽�夋嫨鈥滄槸鈥濓紝褰撳叕寮忓唴瀹逛负瀛楁鎷兼帴鏃惰閫夋嫨鈥滃惁鈥濄��', + required: false, + options: [{ + value: 'true', + text: '鏄�' + }, { + value: 'false', + text: '鍚�' + }] + }, + { + type: 'text', + key: 'postfix', + label: '鍚庣紑', + initVal: card.postfix || '', + required: false + }, + { type: 'radio', key: 'splitline', label: '鍒嗗壊绾�', -- Gitblit v1.8.0