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 | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/templates/subtableconfig/source.jsx b/src/templates/subtableconfig/source.jsx index e71cdb6..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: [ @@ -73,13 +67,11 @@ origin: true, uuid: Utils.getuuid(), label: 'add', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'notRequired', position: 'toolbar', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'pop', icon: 'plus', class: 'green', @@ -88,13 +80,11 @@ origin: true, uuid: Utils.getuuid(), label: 'update', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'requiredSgl', position: 'grid', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'pop', icon: 'form', class: 'purple', @@ -103,13 +93,11 @@ origin: true, uuid: Utils.getuuid(), label: 'delete', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'required', position: 'toolbar', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'prompt', icon: 'delete', class: 'red', @@ -205,6 +193,12 @@ type: 'search', label: CommonDict['model.form.link'], subType: 'link', + url: '' + }, + { + type: 'search', + label: '閫夐」鍗�', + subType: 'checkcard', url: '' }, { @@ -332,6 +326,12 @@ label: CommonDict['model.form.colspan'], subType: 'colspan', url: '' + }, + { + type: 'columns', + label: '搴忓彿', + subType: 'index', + url: '' } ] } -- Gitblit v1.8.0