From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 20:47:04 +0800 Subject: [PATCH] 2021-11-18 --- src/mob/searchconfig/source.jsx | 99 +++++++------------------------------------------ 1 files changed, 14 insertions(+), 85 deletions(-) diff --git a/src/mob/searchconfig/source.jsx b/src/mob/searchconfig/source.jsx index 3fed414..449b76f 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', - 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: '' - } + // { + // type: 'search', + // label: '鏃ユ湡锛堝尯闂达級', + // subType: 'daterange', + // url: '' + // }, ] -- Gitblit v1.8.0