From 71d4765ba3cdc4a004687cd37a529b565e9ea9fd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 06 七月 2021 16:26:29 +0800 Subject: [PATCH] 2021-07-06 --- src/mob/searchconfig/source.jsx | 93 +++++----------------------------------------- 1 files changed, 11 insertions(+), 82 deletions(-) diff --git a/src/mob/searchconfig/source.jsx b/src/mob/searchconfig/source.jsx index 3fed414..9d4684f 100644 --- a/src/mob/searchconfig/source.jsx +++ b/src/mob/searchconfig/source.jsx @@ -1,104 +1,33 @@ -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'], - subType: 'text', + type: 'search', + label: '鏁板�硷紙鍖洪棿锛�', + subType: 'range', url: '' }, { - type: 'form', - label: CommonDict['model.form.number'], - subType: 'number', - url: '' - }, - { - type: 'form', - label: CommonDict['model.form.select'], - subType: 'select', - url: '' - }, - { - type: 'form', - label: CommonDict['model.form.link'], - subType: 'link', - url: '' - }, - { - type: 'form', - label: '寮�鍏�', - subType: 'switch', - url: '' - }, - { - type: 'form', - label: '澶氶�夋', - subType: 'checkbox', - url: '' - }, - { - type: 'form', - label: '鍗曢�夋', - subType: 'radio', - url: '' - }, - { - type: 'form', + type: 'search', label: '閫夐」鍗�', subType: 'checkcard', url: '' }, { - type: 'form', - label: CommonDict['header.form.fileupload'], - subType: 'fileupload', - url: '' - }, - { - type: 'form', - label: CommonDict['model.form.dateday'], + type: 'search', + label: '鏃ユ湡锛堝ぉ锛�', subType: 'date', url: '' }, { - type: 'form', - label: CommonDict['model.form.datemonth'], + type: 'search', + label: '鏃ユ湡锛堟湀锛�', subType: 'datemonth', url: '' }, { - type: 'form', - label: CommonDict['model.form.datetime'], - subType: 'datetime', + type: 'search', + label: '鏃ユ湡锛堝尯闂达級', + subType: 'daterange', url: '' }, - { - type: 'form', - label: CommonDict['model.form.textarea'], - subType: 'textarea', - url: '' - }, - { - type: 'form', - label: CommonDict['header.form.funcvar'], - subType: 'funcvar', - url: '' - }, - { - type: 'form', - label: '鎻愮ず', - subType: 'hint', - url: '' - }, - { - type: 'form', - label: '鍒嗗壊绾�', - subType: 'split', - url: '' - } ] -- Gitblit v1.8.0