From 41239717c4446af79268b968557274f88a0afaeb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 15 八月 2020 10:16:07 +0800 Subject: [PATCH] 2020-08-15 --- src/templates/zshare/formconfig.jsx | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 0f3440f..db38fbd 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2505,7 +2505,8 @@ }, { value: 'line-chart', text: 'line-chart' - }] + }], + forbid: type === 'CalendarPage', }, { type: 'select', @@ -2513,7 +2514,8 @@ label: Formdict['header.form.supTab'], initVal: supMenu, required: false, - options: menus + options: menus, + forbid: type === 'CalendarPage', }, { type: 'mutilselect', @@ -2522,7 +2524,8 @@ tooltip: '濡傛灉瀛愭爣绛句腑鍚湁鍒锋柊鍚岀骇鏍囩鐨勬寜閽紝鍦ㄦ澶勬坊鍔犻渶瑕佸埛鏂扮殑鏍囩銆�', initVal: equalTab, required: false, - options: equalTabs + options: equalTabs, + forbid: type === 'CalendarPage', }, { type: 'text', @@ -2550,7 +2553,7 @@ initVal: card.searchPass || 'false', tooltip: '浣跨敤涓昏〃鎼滅储鏉′欢鏃讹紝涓昏〃鐨勬悳绱㈡潯浠朵細浼犲叆瀛愯〃涓��', required: false, - forbid: type !== 'CommonTable', + forbid: type !== 'CommonTable' && type !== 'CalendarPage', options: [{ value: 'true', text: '浣跨敤' -- Gitblit v1.8.0