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