From e543372cc70a19ff2630c79d8421c2c593e54e5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 02 六月 2021 17:15:21 +0800 Subject: [PATCH] 2021-06-02 --- src/templates/subtableconfig/source.jsx | 57 ++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 36 insertions(+), 21 deletions(-) diff --git a/src/templates/subtableconfig/source.jsx b/src/templates/subtableconfig/source.jsx index d625409..963efc1 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 = { @@ -20,7 +20,7 @@ primaryKey: '', order: '', dataresource: '', - interType: 'inner', + interType: 'system', innerFunc: '', interface: '', outerFunc: '' @@ -73,8 +73,7 @@ origin: true, uuid: Utils.getuuid(), label: 'add', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'notRequired', position: 'toolbar', execSuccess: 'grid', @@ -88,8 +87,7 @@ origin: true, uuid: Utils.getuuid(), label: 'update', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'requiredSgl', position: 'grid', execSuccess: 'grid', @@ -103,8 +101,7 @@ origin: true, uuid: Utils.getuuid(), label: 'delete', - intertype: 'inner', - method: 'POST', + intertype: 'system', Ot: 'required', position: 'toolbar', execSuccess: 'grid', @@ -164,7 +161,7 @@ Align: 'center', IsSort: 'false', uuid: Utils.getuuid(), - label: CommonDict['model.form.column.action'], + label: CommonDict['model.operation'], type: 'action', style: 'button', show: 'horizontal', @@ -248,12 +245,6 @@ }, { type: 'action', - label: CommonDict['model.form.popview'], - subType: 'popview', - url: '' - }, - { - type: 'action', label: CommonDict['model.form.prompt'], subType: 'prompt', url: '' @@ -274,6 +265,24 @@ type: 'action', label: CommonDict['model.form.excelOut'], subType: 'excelOut', + url: '' + }, + { + type: 'action', + label: CommonDict['model.form.popview'], + subType: 'popview', + url: '' + }, + { + type: 'action', + label: CommonDict['model.form.tab'], + subType: 'tab', + url: '' + }, + { + type: 'action', + label: CommonDict['model.form.newpage'], + subType: 'innerpage', url: '' }, { @@ -305,21 +314,27 @@ }, { type: 'columns', - label: CommonDict['model.form.textarea'], - subType: 'textarea', - url: '' - }, - { - type: 'columns', label: CommonDict['model.form.href'], subType: 'link', url: '' }, { type: 'columns', + label: CommonDict['model.form.textarea'], + subType: 'textarea', + url: '' + }, + { + type: 'columns', label: CommonDict['model.form.colspan'], subType: 'colspan', url: '' + }, + { + type: 'columns', + label: '搴忓彿', + subType: 'index', + url: '' } ] } -- Gitblit v1.8.0