king
2023-08-04 465be8b618c1fb139d56ed779ff6f4dbc8d89b89
src/templates/comtableconfig/index.jsx
@@ -210,7 +210,7 @@
      loading: type,
      tabviews: []
    })
    Api.getSystemConfig({func: 'sPC_Get_UserTemp', TypeCharTwo: 'tab'}).then(res => {
    Api.getCloudConfig({func: 'sPC_Get_UserTemp', TypeCharTwo: 'tab'}).then(res => {
      if (res.status) {
        this.setState({
          loading: false,
@@ -498,7 +498,7 @@
            }
            return new Promise(resolve => {
              Api.getSystemConfig(_param).then(response => {
              Api.getCloudConfig(_param).then(response => {
                resolve(response)
              })
            })
@@ -552,7 +552,7 @@
        }
      }).then(resp => {
        if (resp === false) return
        Api.getSystemConfig(param).then(response => {
        Api.getCloudConfig(param).then(response => {
          if (response.status) {
            this.setState({
              config: _config,
@@ -585,7 +585,7 @@
    new Promise(resolve => {
      if (btnParam.LText) {
        Api.getSystemConfig(btnParam).then(result => {
        Api.getCloudConfig(btnParam).then(result => {
          if (result.status) {
            this.setState({ // 保存成功后清空复制列表
              copyActions: []
@@ -626,7 +626,7 @@
      oriActions.forEach(action => {
        if (!action.prebtn || !action.prebtn.uuid) return
        Api.getSystemConfig({
        Api.getCloudConfig({
          func: 'sPC_Get_LongParam',
          MenuID: action.prebtn.uuid
        }).then(result => {
@@ -654,7 +654,7 @@
              PageParam: JSON.stringify({Template: _temp}),
              LongParam: result.LongParam
            }
            Api.getSystemConfig(param).then(() => {})
            Api.getCloudConfig(param).then(() => {})
          }
        })
      })
@@ -794,7 +794,7 @@
        loading: true
      })
      Api.getSystemConfig({
      Api.getCloudConfig({
        func: 'sPC_Get_LongParam',
        MenuID: uuid
      }).then(res => {
@@ -954,7 +954,7 @@
        func: 'sPC_MainMenu_Del',
        MenuID: item
      }
      Api.getSystemConfig(_param)
      Api.getCloudConfig(_param)
    })
    this.props.handleView()
  }
@@ -1017,7 +1017,7 @@
      MenuID: menu.MenuID
    }
    Api.getSystemConfig(param).then(res => {
    Api.getCloudConfig(param).then(res => {
      if (res.status) {
        let _config = ''
        if (res.LongParam) {