From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 十二月 2022 15:53:32 +0800 Subject: [PATCH] 2022-12-09 --- src/templates/calendarconfig/source.jsx | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/templates/calendarconfig/source.jsx b/src/templates/calendarconfig/source.jsx index fb3bceb..8e500d9 100644 --- a/src/templates/calendarconfig/source.jsx +++ b/src/templates/calendarconfig/source.jsx @@ -1,8 +1,4 @@ import Utils from '@/utils/utils.js' -import zhCN from '@/locales/zh-CN/model.js' -import enUS from '@/locales/en-US/model.js' - -const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS class CalendarBaseData { baseConfig = { @@ -57,7 +53,7 @@ resourceType: '0', options: [], orderType: 'asc', - match: 'equal', + match: '=', }, { origin: true, uuid: Utils.getuuid(), @@ -76,25 +72,25 @@ searchItems = [ { type: 'search', - label: CommonDict['model.form.text'], + label: '鏂囨湰', subType: 'text', url: '' }, { type: 'search', - label: CommonDict['model.form.select'], + label: '涓嬫媺閫夋嫨', subType: 'select', url: '' }, { type: 'search', - label: CommonDict['model.form.multiselect'], + label: '涓嬫媺澶氶��', subType: 'multiselect', url: '' }, { type: 'search', - label: CommonDict['model.form.link'], + label: '鑱斿姩鑿滃崟', subType: 'link', url: '' }, @@ -106,31 +102,31 @@ }, { type: 'search', - label: CommonDict['model.form.dateday'], + label: '鏃ユ湡锛堝ぉ锛�', subType: 'date', url: '' }, { type: 'search', - label: CommonDict['model.form.dateweek'], + label: '鏃ユ湡锛堝懆锛�', subType: 'dateweek', url: '' }, { type: 'search', - label: CommonDict['model.form.datemonth'], + label: '鏃ユ湡锛堟湀锛�', subType: 'datemonth', url: '' }, { type: 'search', - label: CommonDict['model.form.daterange'], + label: '鏃ユ湡锛堝尯闂达級', subType: 'daterange', url: '' }, { type: 'search', - label: CommonDict['model.form.dategroup'], + label: '鏃ユ湡锛堢粍鍚堬級', subType: 'group', url: '' } -- Gitblit v1.8.0