king
2023-08-04 465be8b618c1fb139d56ed779ff6f4dbc8d89b89
src/templates/subtableconfig/index.jsx
@@ -185,7 +185,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) {
        let _tabviews = []
        res.UserTemp.forEach(temp => {
@@ -273,7 +273,7 @@
        func: 'sPC_MainMenu_Del',
        MenuID: item
      }
      Api.getSystemConfig(_param)
      Api.getCloudConfig(_param)
    })
    this.props.handleView(param)
@@ -438,7 +438,7 @@
          }
          return new Promise(resolve => {
            Api.getSystemConfig(_param).then(response => {
            Api.getCloudConfig(_param).then(response => {
              resolve(response)
            })
          })
@@ -493,7 +493,7 @@
    }).then(resp => {
      if (resp === false) return
      Api.getSystemConfig(param).then(response => {
      Api.getCloudConfig(param).then(response => {
        if (response.status) {
          this.setState({
            openEdition: response.open_edition || '',
@@ -551,7 +551,7 @@
    if (oriActions.length === 0) return
    oriActions.forEach(action => {
      Api.getSystemConfig({
      Api.getCloudConfig({
        func: 'sPC_Get_LongParam',
        MenuID: action.prebtn ? action.prebtn.uuid : ''
      }).then(result => {
@@ -578,7 +578,7 @@
              PageParam: JSON.stringify({Template: _LongParam.type}),
              LongParam: result.LongParam
            }
            Api.getSystemConfig(param).then(() => {})
            Api.getCloudConfig(param).then(() => {})
          }
        }
      })
@@ -675,7 +675,7 @@
          loading: true
        })
        Api.getSystemConfig({
        Api.getCloudConfig({
          func: 'sPC_Get_LongParam',
          MenuID: btn.OpenType === 'popview' ? btn.linkTab : btn.uuid
        }).then(res => {
@@ -863,7 +863,7 @@
      MenuID: config.uuid
    }
    Api.getSystemConfig(param).then(res => {
    Api.getCloudConfig(param).then(res => {
      if (res.status) {
        let _config = ''
        if (res.LongParam) {