king
2021-10-27 bbcb3f45ad0ef4c808bf5a68ec10c0464c094e2f
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 = {
@@ -74,13 +74,11 @@
        origin: true,
        uuid: Utils.getuuid(),
        label: 'add',
        intertype: 'inner',
        method: 'POST',
        intertype: 'system',
        Ot: 'notRequired',
        position: 'toolbar',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'pop',
        icon: 'plus',
        class: 'green',
@@ -89,13 +87,11 @@
        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,
        OpenType: 'pop',
        icon: 'form',
        class: 'purple',
@@ -104,13 +100,11 @@
        origin: true,
        uuid: Utils.getuuid(),
        label: 'delete',
        intertype: 'inner',
        method: 'POST',
        intertype: 'system',
        Ot: 'required',
        position: 'toolbar',
        execSuccess: 'grid',
        execError: 'never',
        errorTime: 15,
        OpenType: 'prompt',
        icon: 'delete',
        class: 'red',
@@ -227,6 +221,12 @@
      type: 'search',
      label: CommonDict['model.form.link'],
      subType: 'link',
      url: ''
    },
    {
      type: 'search',
      label: '选项卡',
      subType: 'checkcard',
      url: ''
    },
    {
@@ -354,6 +354,12 @@
      label: CommonDict['model.form.colspan'],
      subType: 'colspan',
      url: ''
    },
    {
      type: 'columns',
      label: '序号',
      subType: 'index',
      url: ''
    }
  ]