From 9a82bce9cf0ed4a51c1b0b0669eaa38cedbace07 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 七月 2020 16:35:58 +0800
Subject: [PATCH] 2020-07-16

---
 src/templates/zshare/formconfig.jsx |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index ad2c2c1..c0774c5 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -1579,8 +1579,9 @@
  * @param {object} card       // 鎼滅储鏉′欢瀵硅薄
  * @param {Array}  roleList   // 瑙掕壊鍒楄〃-榛戝悕鍗�
  * @param {Array}  columns    // 鏄剧ず鍒�
+ * @param {Array}  actions    // 鎸夐挳缁�
  */
-export function getChartViewForm (card, roleList = [], _columns) {
+export function getChartViewForm (card, roleList = [], _columns, actions) {
   let _charts = [{
     value: 'line',
     text: '鎶樼嚎鍥�'
@@ -1759,6 +1760,14 @@
       initVal: card.blacklist || [],
       required: false,
       options: roleList
+    },
+    {
+      type: 'multiselect',
+      key: 'actions',
+      label: '鎸夐挳缁�',
+      initVal: card.actions || [],
+      required: false,
+      options: actions
     }
   ]
 }

--
Gitblit v1.8.0