king
2021-10-28 2dd05d2e9ab73feab39b9348d121f8071a366c26
src/tabviews/zshare/mutilform/index.jsx
@@ -379,11 +379,12 @@
   * @description 获取下拉表单选项信息
   */
  improveActionForm = (deForms) => {
    const { BID, menuType } = this.props
    const { BID, menuType, action } = this.props
    let deffers = []
    let mainItems = []  // 云端或单点数据
    let localItems = [] // 本地数据
    let cache = action.setting.cache !== 'false'
    deForms.forEach(item => {
      if (item.database === 'sso') {
@@ -419,7 +420,7 @@
      deffers.push(
        new Promise(resolve => {
          Api.getSystemCacheConfig(param).then(res => {
          Api.getSystemCacheConfig(param, cache).then(res => {
            if (!res.status) {
              notification.warning({
                top: 92,
@@ -461,7 +462,7 @@
      deffers.push(
        new Promise(resolve => {
          Api.getSystemCacheConfig(mainparam).then(res => {
          Api.getSystemCacheConfig(mainparam, cache).then(res => {
            if (!res.status) {
              notification.warning({
                top: 92,
@@ -491,6 +492,8 @@
   * @description 测试系统获取下拉表单选项信息
   */
  improveSimpleActionForm = (deForms) => {
    let cache = this.props.action.setting.cache !== 'false'
    let deffers = deForms.map((form, index) => {
      let param = {
        func: 'sPC_Get_SelectedList',
@@ -506,7 +509,7 @@
      return (
        new Promise(resolve => {
          setTimeout(() => {
            Api.getSystemCacheConfig(param).then(res => {
            Api.getSystemCacheConfig(param, cache).then(res => {
              if (!res.status) {
                notification.warning({
                  top: 92,