From a5f41b5d98f23d618dc7519c605ce943b114dfd5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 13 十一月 2023 18:07:51 +0800 Subject: [PATCH] 2023-11-13 --- src/mob/modalconfig/source.jsx | 55 +++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 35 insertions(+), 20 deletions(-) diff --git a/src/mob/modalconfig/source.jsx b/src/mob/modalconfig/source.jsx index 3fed414..c7a4046 100644 --- a/src/mob/modalconfig/source.jsx +++ b/src/mob/modalconfig/source.jsx @@ -1,30 +1,25 @@ -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 - export const SearchItems = [ { type: 'form', - label: CommonDict['model.form.text'], + label: '鏂囨湰', subType: 'text', url: '' }, { type: 'form', - label: CommonDict['model.form.number'], + label: '鏁板瓧', subType: 'number', url: '' }, { type: 'form', - label: CommonDict['model.form.select'], + label: '閫夋嫨鍣�', subType: 'select', url: '' }, { type: 'form', - label: CommonDict['model.form.link'], + label: '鑱斿姩鑿滃崟', subType: 'link', url: '' }, @@ -54,37 +49,42 @@ }, { type: 'form', - label: CommonDict['header.form.fileupload'], + label: '鏂囦欢涓婁紶', subType: 'fileupload', url: '' }, { type: 'form', - label: CommonDict['model.form.dateday'], + label: '鏃ユ湡锛堝ぉ锛�', subType: 'date', url: '' }, { type: 'form', - label: CommonDict['model.form.datemonth'], + label: '鏃ユ湡锛堟湀锛�', subType: 'datemonth', url: '' }, { type: 'form', - label: CommonDict['model.form.datetime'], - subType: 'datetime', - url: '' - }, - { - type: 'form', - label: CommonDict['model.form.textarea'], + label: '澶氳鏂囨湰', subType: 'textarea', url: '' }, { type: 'form', - label: CommonDict['header.form.funcvar'], + label: '绾ц仈鑿滃崟', + subType: 'cascader', + }, + { + type: 'form', + label: '璇勫垎', + subType: 'rate', + url: '' + }, + { + type: 'form', + label: '鍑芥暟鍙橀噺', subType: 'funcvar', url: '' }, @@ -99,6 +99,21 @@ label: '鍒嗗壊绾�', subType: 'split', url: '' + }, + { + type: 'form', + label: '鍏宠仈涓昏〃', + subType: 'linkMain', + }, + { + type: 'form', + label: '鍏紡', + subType: 'formula', + }, + { + type: 'form', + label: '楠岃瘉鐮�', + subType: 'vercode', } ] -- Gitblit v1.8.0