From 26d0fa42ea8c63a87e8ef93d0915f75f46fb1f9c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 24 三月 2022 11:09:53 +0800 Subject: [PATCH] 2022-03-24 --- src/templates/comtableconfig/source.jsx | 39 ++++++++++++++++++++------------------- 1 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx index ec96326..781963e 100644 --- a/src/templates/comtableconfig/source.jsx +++ b/src/templates/comtableconfig/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 CommonTableBaseData { baseConfig = { @@ -10,6 +10,7 @@ type: 'system', Template: 'CommonTable', enabled: false, + easyCode: '', setting: { actionfixed: false, columnfixed: false, @@ -18,7 +19,7 @@ primaryKey: '', order: '', dataresource: '', - interType: 'inner', + interType: 'system', sysInterface: 'false', innerFunc: '', interface: '', @@ -35,11 +36,9 @@ initval: '', type: 'text', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'like', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -48,11 +47,9 @@ initval: '', type: 'select', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'equal', - display: 'dropdown' }, { origin: true, uuid: Utils.getuuid(), @@ -61,11 +58,9 @@ initval: '', type: 'date', resourceType: '0', - setAll: 'false', options: [], orderType: 'asc', match: 'greater', - display: 'dropdown' } ], action: [ @@ -73,13 +68,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 +81,11 @@ origin: true, uuid: Utils.getuuid(), label: 'update', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'requiredSgl', - position: 'grid', + position: 'toolbar', execSuccess: 'grid', execError: 'never', - errorTime: 15, OpenType: 'pop', icon: 'form', class: 'purple', @@ -103,13 +94,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', @@ -164,7 +153,7 @@ Align: 'center', IsSort: 'false', uuid: Utils.getuuid(), - label: CommonDict['model.form.column.action'], + label: CommonDict['model.operation'], type: 'action', style: 'button', show: 'horizontal', @@ -226,6 +215,12 @@ type: 'search', label: CommonDict['model.form.link'], subType: 'link', + url: '' + }, + { + type: 'search', + label: '閫夐」鍗�', + subType: 'checkcard', url: '' }, { @@ -353,6 +348,12 @@ label: CommonDict['model.form.colspan'], subType: 'colspan', url: '' + }, + { + type: 'columns', + label: '搴忓彿', + subType: 'index', + url: '' } ] -- Gitblit v1.8.0