From 1a11f7115e61c548f9ffc77d0a9e504307ca71b2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 24 八月 2021 18:37:20 +0800
Subject: [PATCH] 2021-08-24

---
 src/menu/components/card/data-card/options.jsx |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/card/data-card/options.jsx b/src/menu/components/card/data-card/options.jsx
index 84ef971..c02de20 100644
--- a/src/menu/components/card/data-card/options.jsx
+++ b/src/menu/components/card/data-card/options.jsx
@@ -1,7 +1,7 @@
 /**
  * @description Wrap琛ㄥ崟閰嶇疆淇℃伅
  */
-export default function (wrap, subtype) {
+export default function (wrap, subtype, columns) {
   let appType = sessionStorage.getItem('appType')
   let MenuType = ''
 
@@ -144,12 +144,23 @@
       forbid: subtype !== 'propcard' || MenuType !== 'billPrint'
     },
     {
+      type: 'select',
+      field: 'broadcast',
+      label: '璇煶鎾姤',
+      initval: wrap.broadcast || '',
+      tooltip: '璇煶鎾姤鍦ㄧЩ鍔ㄧapp涓湁鏁堛�傛敞锛氫娇鐢ㄨ闊虫挱鎶ユ椂锛屾暟鎹簮涓嶈浣跨敤鍚屾鏌ヨ锛屾坊鍔犲畾鏃跺櫒鏃讹紝鍙惊鐜挱鎶�',
+      required: false,
+      options: columns,
+      forbid: !columns || appType !== 'mob'
+    },
+    {
       type: 'multiselect',
       field: 'blacklist',
       label: '榛戝悕鍗�',
       initval: wrap.blacklist || [],
       required: false,
-      options: roleList
+      options: roleList,
+      forbid: !!appType
     },
   ]
 

--
Gitblit v1.8.0