From aa15f061ba185b05f22c98a0a979c72d08bcd974 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 11 二月 2025 09:42:38 +0800 Subject: [PATCH] 2025-02-11 --- src/mob/modalconfig/source.jsx | 43 ++++++++++++++++++++++++++----------------- 1 files changed, 26 insertions(+), 17 deletions(-) diff --git a/src/mob/modalconfig/source.jsx b/src/mob/modalconfig/source.jsx index 190030d..c7a4046 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: CommonDict['model.form.datetime'], - subType: 'datetime', + label: '澶氳鏂囨湰', + subType: 'textarea', url: '' }, { type: 'form', - label: CommonDict['model.form.textarea'], - subType: 'textarea', - url: '' + label: '绾ц仈鑿滃崟', + subType: 'cascader', }, { type: 'form', @@ -90,7 +84,7 @@ }, { type: 'form', - label: CommonDict['header.form.funcvar'], + label: '鍑芥暟鍙橀噺', subType: 'funcvar', url: '' }, @@ -105,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