From 010fdcf8abd58bde5c1106db8ed8448effc75b4b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 25 二月 2025 16:37:46 +0800
Subject: [PATCH] 2025-02-25

---
 src/menu/components/group/normal-group/options.jsx |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/group/normal-group/options.jsx b/src/menu/components/group/normal-group/options.jsx
index 8b4c290..abad0cf 100644
--- a/src/menu/components/group/normal-group/options.jsx
+++ b/src/menu/components/group/normal-group/options.jsx
@@ -1,7 +1,7 @@
 /**
  * @description Wrap琛ㄥ崟閰嶇疆淇℃伅
  */
-export default function (setting) {
+export default function (setting, list) {
   let roleList = sessionStorage.getItem('sysRoles')
   let appType = sessionStorage.getItem('appType')
 
@@ -41,6 +41,16 @@
       max: 24,
       precision: 0,
       required: true
+    },
+    {
+      type: 'select',
+      field: 'bindPropId',
+      label: '鏄剧ず鐘舵�佺粦瀹�',
+      initval: setting.bindPropId || '',
+      tooltip: '鍒嗙粍鍙粦瀹氳鏈夌┖鍊奸殣钘忕殑灞炴�у崱锛屽綋灞炴�у崱闅愯棌鏃跺垎缁勪竴鍚岄殣钘忋��',
+      required: false,
+      options: list,
+      forbid: appType === 'mob'
     },
     // {
     //   type: 'radio',
@@ -122,6 +132,34 @@
       ]
     },
     {
+      type: 'radio',
+      field: 'mergeAble',
+      label: '灞曞紑/鏀惰捣',
+      initval: setting.mergeAble || 'false',
+      tooltip: '鍚敤鏃讹紝缁勪欢鍙充笂瑙掑皢鍑虹幇灞曞紑/鏀惰捣鐨勫浘鏍囷紝鍙皢褰撳墠缁勪欢灞曞紑鎴栨敹璧枫��',
+      required: false,
+      options: [
+        {value: 'true', label: '鍚敤'},
+        {value: 'false', label: '绂佺敤'},
+      ],
+      controlFields: [
+        {field: 'ctrlNumber', values: ['true']},
+      ],
+      forbid: appType === 'mob'
+    },
+    {
+      type: 'number',
+      field: 'ctrlNumber',
+      label: '鎺у埗鏁�',
+      initval: setting.ctrlNumber || 1,
+      tooltip: '褰撶粍浠舵敹璧锋椂锛屽叾鍚庨渶瑕佸睍寮�鐨勭粍浠舵暟銆�',
+      min: 1,
+      max: 5,
+      precision: 0,
+      required: true,
+      forbid: appType === 'mob'
+    },
+    {
       type: 'multiselect',
       field: 'blacklist',
       label: '榛戝悕鍗�',

--
Gitblit v1.8.0