king
2020-02-18 29c5821ce140e89a8b35e53f41672dd86da56982
src/templates/subtableconfig/actionform/index.jsx
@@ -64,6 +64,22 @@
    }, {
      value: 'delete',
      text: this.props.dict['header.form.action.delete']
    }],
    closeOptions: [{
      value: 'never',
      text: this.props.dict['header.form.refresh.never']
    }, {
      value: 'grid',
      text: this.props.dict['header.form.refresh.grid']
    }, {
      value: 'view',
      text: this.props.dict['header.form.refresh.view']
    }, {
      value: 'maingrid',
      text: this.props.dict['header.form.refresh.maingrid']
    }, {
      value: 'equaltab',
      text: this.props.dict['header.form.refresh.equaltab']
    }]
  }
@@ -168,7 +184,14 @@
              text: this.props.dict['header.form.popview']
            }
          ]
        } else if (item.key === 'execSuccess') {
          item.options = this.state.closeOptions
        } else if (item.key === 'execError') {
          item.options = this.state.closeOptions
        } else if (item.key === 'popClose') {
          item.options = this.state.closeOptions
        }
        item.hidden = !_options.includes(item.key)
        return item
      })
@@ -253,7 +276,7 @@
          formlist: this.state.formlist.map(item => {
            if (item.key === 'Ot') {
              item.hidden = false
            } else if (item.key === 'sqlType' && ['prompt', 'exec', 'pop'].includes(value)) {
            } else if (item.key === 'sqlType' && ['prompt', 'exec', 'pop'].includes(value) && this.state.interType === 'inner') {
              item.hidden = false
            }
            return item