From b6cbfb08b51e87e6eac995be8e7751815715e6a1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 29 三月 2022 15:36:21 +0800 Subject: [PATCH] 2022-03-29 --- src/templates/subtableconfig/source.jsx | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/templates/subtableconfig/source.jsx b/src/templates/subtableconfig/source.jsx index d58938e..478a464 100644 --- a/src/templates/subtableconfig/source.jsx +++ b/src/templates/subtableconfig/source.jsx @@ -2,7 +2,7 @@ import zhCN from '@/locales/zh-CN/model.js' import enUS from '@/locales/en-US/model.js' -const CommonDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS class SubTableBaseData { baseConfig = { @@ -35,11 +35,9 @@ initval: '', type: 'text', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'like', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -48,11 +46,9 @@ initval: '', type: 'select', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'equal', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -61,11 +57,9 @@ initval: '', type: 'date', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'greater', - display: 'dropdown' } ], action: [ @@ -78,7 +72,6 @@ position: 'toolbar', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'pop', icon: 'plus', class: 'green', @@ -92,7 +85,6 @@ position: 'grid', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'pop', icon: 'form', class: 'purple', @@ -106,7 +98,6 @@ position: 'toolbar', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'prompt', icon: 'delete', class: 'red', @@ -202,6 +193,12 @@ type: 'search', label: CommonDict['model.form.link'], subType: 'link', + url: '' + }, + { + type: 'search', + label: '閫夐」鍗�', + subType: 'checkcard', url: '' }, { @@ -329,6 +326,12 @@ label: CommonDict['model.form.colspan'], subType: 'colspan', url: '' + }, + { + type: 'columns', + label: '搴忓彿', + subType: 'index', + url: '' } ] } -- Gitblit v1.8.0