From 41c55c1f103658b997f7a828a7067bdb228f1df0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 十月 2022 23:35:10 +0800 Subject: [PATCH] 2022-10-04 --- src/templates/calendarconfig/source.jsx | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/templates/calendarconfig/source.jsx b/src/templates/calendarconfig/source.jsx index a166193..e009ac0 100644 --- a/src/templates/calendarconfig/source.jsx +++ b/src/templates/calendarconfig/source.jsx @@ -2,7 +2,7 @@ import zhCN from '@/locales/zh-CN/model.js' import enUS from '@/locales/en-US/model.js' -const CommonDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS class CalendarBaseData { baseConfig = { @@ -18,7 +18,7 @@ tableName: '', primaryKey: '', dataresource: '', - interType: 'inner', + interType: 'system', innerFunc: '', interface: '', outerFunc: '' @@ -44,11 +44,9 @@ initval: '', type: 'text', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'like', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -57,11 +55,9 @@ initval: '', type: 'select', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'equal', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -70,11 +66,9 @@ initval: '', type: 'date', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'greater', - display: 'dropdown' } ] } @@ -106,13 +100,19 @@ }, { type: 'search', - label: CommonDict['model.form.dateday'], + label: '閫夐」鍗�', + subType: 'checkcard', + url: '' + }, + { + type: 'search', + label: '鏃ユ湡锛堝ぉ锛�', subType: 'date', url: '' }, { type: 'search', - label: CommonDict['model.form.dateweek'], + label: '鏃ユ湡锛堝懆锛�', subType: 'dateweek', url: '' }, -- Gitblit v1.8.0