From eed5279d84fd59bc32f060a31b4006590cee4320 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 一月 2024 17:01:59 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx |   60 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
index 267a56b..b54089c 100644
--- a/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/antv-dashboard/chartcompile/formconfig.jsx
@@ -95,7 +95,7 @@
  * @param {Array}  columns    // 鏄剧ず鍒�
  */
 export function getOptionForm (card, columns) {
-  let appType = sessionStorage.getItem('appType')
+  // let appType = sessionStorage.getItem('appType')
   let yfields = columns.filter(item => /^(Int|Decimal)/ig.test(item.datatype))
 
   return [
@@ -149,20 +149,20 @@
         value: 'false',
         text: '涓嶄娇鐢�'
       }]
-    }, {
-      type: 'radio',
-      key: 'download',
-      label: '瀵煎嚭鍥剧墖',
-      initVal: card.download || 'forbid',
-      required: false,
-      forbid: appType === 'mob',
-      options: [{
-        value: 'forbid',
-        text: '绂佺敤'
-      }, {
-        value: 'enable',
-        text: '鍚敤'
-      }]
+    // }, {
+    //   type: 'radio',
+    //   key: 'download',
+    //   label: '瀵煎嚭鍥剧墖',
+    //   initVal: card.download || 'forbid',
+    //   required: false,
+    //   forbid: appType === 'mob',
+    //   options: [{
+    //     value: 'forbid',
+    //     text: '绂佺敤'
+    //   }, {
+    //     value: 'enable',
+    //     text: '鍚敤'
+    //   }]
     },
     // {
     //   type: 'radio',
@@ -199,7 +199,7 @@
  * @param {Array}  columns    // 鏄剧ず鍒�
  */
 export function getRadioOptionForm (card, columns) {
-  let appType = sessionStorage.getItem('appType')
+  // let appType = sessionStorage.getItem('appType')
   let xfields = columns.filter(item => /^Nvarchar/ig.test(item.datatype))
   let yfields = columns.filter(item => /^(Int|Decimal)/ig.test(item.datatype))
 
@@ -264,20 +264,20 @@
         value: 'false',
         text: '涓嶄娇鐢�'
       }]
-    }, {
-      type: 'radio',
-      key: 'download',
-      label: '瀵煎嚭鍥剧墖',
-      initVal: card.download || 'forbid',
-      required: false,
-      forbid: appType === 'mob',
-      options: [{
-        value: 'forbid',
-        text: '绂佺敤'
-      }, {
-        value: 'enable',
-        text: '鍚敤'
-      }]
+    // }, {
+    //   type: 'radio',
+    //   key: 'download',
+    //   label: '瀵煎嚭鍥剧墖',
+    //   initVal: card.download || 'forbid',
+    //   required: false,
+    //   forbid: appType === 'mob',
+    //   options: [{
+    //     value: 'forbid',
+    //     text: '绂佺敤'
+    //   }, {
+    //     value: 'enable',
+    //     text: '鍚敤'
+    //   }]
     },
     {
       type: 'color',

--
Gitblit v1.8.0