king
2023-05-09 7b0dbecd1d6155d26ec67be0a47a16264c738c85
src/templates/comtableconfig/source.jsx
@@ -24,125 +24,125 @@
    },
    tables: [],
    search: [
      {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'label',
        field: '',
        initval: '',
        type: 'text',
        resourceType: '0',
        options: [],
        orderType: 'asc',
        match: 'like',
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'label',
        field: '',
        initval: '',
        type: 'select',
        resourceType: '0',
        options: [],
        orderType: 'asc',
        match: '=',
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'label',
        field: '',
        initval: '',
        type: 'date',
        resourceType: '0',
        options: [],
        orderType: 'asc',
        match: 'greater',
      }
      // {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'label',
      //   field: '',
      //   initval: '',
      //   type: 'text',
      //   resourceType: '0',
      //   options: [],
      //   orderType: 'asc',
      //   match: 'like',
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'label',
      //   field: '',
      //   initval: '',
      //   type: 'select',
      //   resourceType: '0',
      //   options: [],
      //   orderType: 'asc',
      //   match: '=',
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'label',
      //   field: '',
      //   initval: '',
      //   type: 'date',
      //   resourceType: '0',
      //   options: [],
      //   orderType: 'asc',
      //   match: 'greater',
      // }
    ],
    action: [
      {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'add',
        intertype: 'system',
        Ot: 'notRequired',
        position: 'toolbar',
        execSuccess: 'grid',
        execError: 'never',
        OpenType: 'pop',
        icon: 'plus',
        class: 'green',
        verify: null
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'update',
        intertype: 'system',
        Ot: 'requiredSgl',
        position: 'toolbar',
        execSuccess: 'grid',
        execError: 'never',
        OpenType: 'pop',
        icon: 'form',
        class: 'purple',
        verify: null
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        label: 'delete',
        intertype: 'system',
        Ot: 'required',
        position: 'toolbar',
        execSuccess: 'grid',
        execError: 'never',
        OpenType: 'prompt',
        icon: 'delete',
        class: 'red',
        verify: null
      }
      // {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'add',
      //   intertype: 'system',
      //   Ot: 'notRequired',
      //   position: 'toolbar',
      //   execSuccess: 'grid',
      //   execError: 'never',
      //   OpenType: 'pop',
      //   icon: 'plus',
      //   class: 'green',
      //   verify: null
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'update',
      //   intertype: 'system',
      //   Ot: 'requiredSgl',
      //   position: 'toolbar',
      //   execSuccess: 'grid',
      //   execError: 'never',
      //   OpenType: 'pop',
      //   icon: 'form',
      //   class: 'purple',
      //   verify: null
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   label: 'delete',
      //   intertype: 'system',
      //   Ot: 'required',
      //   position: 'toolbar',
      //   execSuccess: 'grid',
      //   execError: 'never',
      //   OpenType: 'prompt',
      //   icon: 'delete',
      //   class: 'red',
      //   verify: null
      // }
    ],
    columns: [
      {
        origin: true,
        uuid: Utils.getuuid(),
        Align: 'left',
        label: 'label',
        field: '',
        Hide: 'false',
        IsSort: 'true',
        type: 'text',
        Width: 120
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        Align: 'left',
        label: 'label',
        field: '',
        Hide: 'false',
        IsSort: 'true',
        type: 'text',
        Width: 120
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        Align: 'left',
        label: 'label',
        field: '',
        Hide: 'false',
        IsSort: 'true',
        type: 'text',
        Width: 120
      }, {
        origin: true,
        uuid: Utils.getuuid(),
        Align: 'left',
        label: 'label',
        field: '',
        Hide: 'false',
        IsSort: 'true',
        type: 'text',
        Width: 120
      }
      // {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   Align: 'left',
      //   label: 'label',
      //   field: '',
      //   Hide: 'false',
      //   IsSort: 'true',
      //   type: 'text',
      //   Width: 120
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   Align: 'left',
      //   label: 'label',
      //   field: '',
      //   Hide: 'false',
      //   IsSort: 'true',
      //   type: 'text',
      //   Width: 120
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   Align: 'left',
      //   label: 'label',
      //   field: '',
      //   Hide: 'false',
      //   IsSort: 'true',
      //   type: 'text',
      //   Width: 120
      // }, {
      //   origin: true,
      //   uuid: Utils.getuuid(),
      //   Align: 'left',
      //   label: 'label',
      //   field: '',
      //   Hide: 'false',
      //   IsSort: 'true',
      //   type: 'text',
      //   Width: 120
      // }
    ],
    gridBtn: {
      display: false,