king
2023-03-14 da34633b25d16359cd91a656acad5e811f9972b7
src/templates/formtabconfig/source.jsx
@@ -1,8 +1,4 @@
import Utils from '@/utils/utils.js'
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
class CommonTableBaseData {
  baseConfig = {
@@ -29,7 +25,6 @@
            initval: '',
            type: 'text',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }, {
@@ -40,7 +35,6 @@
            initval: '',
            type: 'select',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }, {
@@ -51,7 +45,6 @@
            initval: '',
            type: 'date',
            resourceType: '0',
            setAll: 'false',
            options: [],
            orderType: 'asc'
          }
@@ -73,7 +66,6 @@
        Ot: 'notRequired',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'exec',
        icon: '',
        class: 'border-primary',
@@ -84,7 +76,6 @@
        label: '关闭',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'exec',
        pageTemplate: '',
        url: '',
@@ -169,13 +160,13 @@
  actionItems = [
    {
      type: 'action',
      label: CommonDict['model.form.prompt'],
      label: '提示框',
      subType: 'prompt',
      url: ''
    },
    {
      type: 'action',
      label: CommonDict['model.form.exec'],
      label: '直接执行',
      subType: 'exec',
      url: ''
    }
@@ -184,7 +175,7 @@
  tabItems = [
    {
      type: 'tabs',
      label: CommonDict['model.menu.tab.subtable'],
      label: '子表',
      subType: 'SubTable',
    }
  ]