king
2022-09-22 c33ac9ddcdbed91bd2267bed2a96199441806a04
src/templates/formtabconfig/source.jsx
@@ -2,16 +2,16 @@
import zhCN from '@/locales/zh-CN/model.js'
import enUS from '@/locales/en-US/model.js'
const CommonDict = (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS
const CommonDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
class CommonTableBaseData {
  baseConfig = {
    type: 'FormTab',
    Template: 'FormTab',
    enabled: false,
    setting: {
      datatype: 'query',
      cols: '2',
      width: 100
      width: 90
    },
    tables: [],
    groups: [
@@ -29,7 +29,6 @@
            initval: '',
            type: 'text',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }, {
@@ -40,7 +39,6 @@
            initval: '',
            type: 'select',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }, {
@@ -51,7 +49,6 @@
            initval: '',
            type: 'date',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }
@@ -63,7 +60,7 @@
        btnType: 'confirm',
        uuid: Utils.getuuid(),
        label: '确定',
        intertype: 'inner',
        intertype: 'system',
        innerFunc: '',
        interface: '',
        outerFunc: '',
@@ -73,7 +70,6 @@
        Ot: 'notRequired',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'exec',
        icon: '',
        class: 'border-primary',
@@ -84,7 +80,6 @@
        label: '关闭',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'exec',
        pageTemplate: '',
        url: '',
@@ -169,13 +164,13 @@
  actionItems = [
    {
      type: 'action',
      label: CommonDict['header.form.prompt'],
      label: CommonDict['model.form.prompt'],
      subType: 'prompt',
      url: ''
    },
    {
      type: 'action',
      label: CommonDict['header.form.exec'],
      label: CommonDict['model.form.exec'],
      subType: 'exec',
      url: ''
    }
@@ -184,7 +179,7 @@
  tabItems = [
    {
      type: 'tabs',
      label: CommonDict['header.menu.tab.subtable'],
      label: CommonDict['model.menu.tab.subtable'],
      subType: 'SubTable',
    }
  ]