From 55071f5a06673369ceba07e36cd7f85e584c3eac Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 23 十二月 2019 10:55:49 +0800 Subject: [PATCH] 2019-12-23 --- src/templates/subtableconfig/source.jsx | 71 ++++------------------------------- 1 files changed, 8 insertions(+), 63 deletions(-) diff --git a/src/templates/subtableconfig/source.jsx b/src/templates/subtableconfig/source.jsx index e502372..bb5e1cb 100644 --- a/src/templates/subtableconfig/source.jsx +++ b/src/templates/subtableconfig/source.jsx @@ -4,13 +4,16 @@ const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS -class CommonTableBaseData { +class SubTableBaseData { baseConfig = { type: 'system', + Template: 'SubTable', enabled: false, + tabName: '', + tabNo: '', + Remark: '', + uuid: Utils.getuuid(), setting: { - actionfixed: false, - columnfixed: false, tableName: '', tableType: 'checkbox', primaryKey: '', @@ -97,8 +100,6 @@ execSuccess: 'grid', execError: 'never', OpenType: 'pop', - pageTemplate: '', - url: '', icon: 'plus', class: 'green' }, { @@ -118,8 +119,6 @@ execSuccess: 'grid', execError: 'never', OpenType: 'pop', - pageTemplate: '', - url: '', icon: 'form', class: 'purple' }, { @@ -139,8 +138,6 @@ execSuccess: 'grid', execError: 'never', OpenType: 'prompt', - pageTemplate: '', - url: '', icon: 'delete', class: 'red' } @@ -198,27 +195,7 @@ style: 'button', show: 'horizontal', Width: 120 - }, - tabs: [ - { - origin: true, - uuid: Utils.getuuid(), - label: 'tab1', - icon: '', - type: 'SubTable', - linkTab: '', - supMenu: '' - }, - { - origin: true, - uuid: Utils.getuuid(), - label: 'tab2', - icon: '', - type: 'SubTable', - linkTab: '', - supMenu: '' - } - ] + } } searchItems = [ @@ -287,12 +264,6 @@ }, { type: 'action', - label: CommonDict['header.form.tab'], - subType: 'tab', - url: '' - }, - { - type: 'action', label: CommonDict['header.form.excelIn'], subType: 'excelIn', url: '' @@ -301,24 +272,6 @@ type: 'action', label: CommonDict['header.form.excelOut'], subType: 'excelOut', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.blank'], - subType: 'blank', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.newpage.inner'], - subType: 'innerpage', - url: '' - }, - { - type: 'action', - label: CommonDict['header.form.newpage.outer'], - subType: 'outerpage', url: '' } ] @@ -349,14 +302,6 @@ url: '' } ] - - tabItems = [ - { - type: 'tabs', - label: CommonDict['header.menu.tab.subtable'], - subType: 'SubTable', - } - ] } -export default new CommonTableBaseData() +export default new SubTableBaseData() -- Gitblit v1.8.0