king
2020-08-28 71a0e75ecb56ae643fe1e86188d45f93f48388c9
src/views/menudesign/index.jsx
@@ -81,6 +81,12 @@
  submitConfig = () => {
    const { config, openEdition, parentId } = this.state
    let _config = fromJS(config).toJS()
    delete _config.fstMenuList
    delete _config.permFuncField
    delete _config.sysRoles
    delete _config.tableFields
    let param = {
      func: 'sPC_TrdMenu_AddUpt',
      ParentID: parentId,
@@ -90,7 +96,7 @@
      Template: '',
      MenuName: '',
      PageParam: '',
      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(config))),
      LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))),
      // LText: _vals.func.map(item => `select '${menu.MenuID}' as MenuID,'${item.func}' as ProcName,'${item.label}' as MenuName`),
      // LTexttb: _tables.map(item => `select '${menu.MenuID}' as MenuID,'${item}' as tbName`),
      TypeCharOne: 'mob'
@@ -147,6 +153,7 @@
          config = {
            version: 1.0,
            uuid: this.props.match.params.MenuId,
            MenuID: this.props.match.params.MenuId,
            Template: 'CustomPage',
            easyCode: '',
            enabled: false,