king
2021-05-08 6afdec0062dacbded57e166230eb22cc55ced0c1
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,8 +74,7 @@
        origin: true,
        uuid: Utils.getuuid(),
        label: 'add',
        intertype: 'inner',
        method: 'POST',
        intertype: 'system',
        Ot: 'notRequired',
        position: 'toolbar',
        execSuccess: 'grid',
@@ -89,10 +88,9 @@
        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,
@@ -104,8 +102,7 @@
        origin: true,
        uuid: Utils.getuuid(),
        label: 'delete',
        intertype: 'inner',
        method: 'POST',
        intertype: 'system',
        Ot: 'required',
        position: 'toolbar',
        execSuccess: 'grid',
@@ -165,7 +162,7 @@
      Align: 'center',
      IsSort: 'false',
      uuid: Utils.getuuid(),
      label: CommonDict['model.form.column.action'],
      label: CommonDict['model.operation'],
      type: 'action',
      style: 'button',
      show: 'horizontal',
@@ -354,6 +351,12 @@
      label: CommonDict['model.form.colspan'],
      subType: 'colspan',
      url: ''
    },
    {
      type: 'columns',
      label: '序号',
      subType: 'index',
      url: ''
    }
  ]