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/mob/modalconfig/source.jsx | 37 ++++++++++++++++++------------------- 1 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/mob/modalconfig/source.jsx b/src/mob/modalconfig/source.jsx index 42363a7..04ed6a4 100644 --- a/src/mob/modalconfig/source.jsx +++ b/src/mob/modalconfig/source.jsx @@ -1,18 +1,13 @@ -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: '' }, @@ -24,7 +19,7 @@ }, { type: 'form', - label: CommonDict['model.form.link'], + label: '鑱斿姩鑿滃崟', subType: 'link', url: '' }, @@ -54,33 +49,32 @@ }, { 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: '鏃ユ湡锛堝垎/绉掞級', - // subType: 'datetime', - // url: '' - // }, { type: 'form', - label: CommonDict['model.form.textarea'], + label: '澶氳鏂囨湰', subType: 'textarea', url: '' + }, + { + type: 'form', + label: '绾ц仈鑿滃崟', + subType: 'cascader', }, { type: 'form', @@ -90,7 +84,7 @@ }, { type: 'form', - label: CommonDict['header.form.funcvar'], + label: '鍑芥暟鍙橀噺', subType: 'funcvar', url: '' }, @@ -110,6 +104,11 @@ type: 'form', label: '鍏宠仈涓昏〃', subType: 'linkMain', + }, + { + type: 'form', + label: '鍏紡', + subType: 'formula', } ] -- Gitblit v1.8.0