From 151d3aee0218a3eb6b928b0b327be6cd9ac7652c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 01 七月 2021 16:02:07 +0800 Subject: [PATCH] 2021-07-01 --- src/templates/comtableconfig/source.jsx | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx index ec96326..d5297f9 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: '', @@ -73,8 +74,7 @@ origin: true, uuid: Utils.getuuid(), label: 'add', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'notRequired', position: 'toolbar', execSuccess: 'grid', @@ -88,10 +88,9 @@ 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, @@ -103,8 +102,7 @@ origin: true, uuid: Utils.getuuid(), label: 'delete', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'required', position: 'toolbar', execSuccess: 'grid', @@ -164,7 +162,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 +224,12 @@ type: 'search', label: CommonDict['model.form.link'], subType: 'link', + url: '' + }, + { + type: 'search', + label: '閫夐」鍗�', + subType: 'checkcard', url: '' }, { @@ -353,6 +357,12 @@ label: CommonDict['model.form.colspan'], subType: 'colspan', url: '' + }, + { + type: 'columns', + label: '搴忓彿', + subType: 'index', + url: '' } ] -- Gitblit v1.8.0