king
2020-06-16 6c16e43cd6521460c804391c042348dbb14086fc
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -279,6 +279,10 @@
          }
        }
        if (this.props.menuType === 'HS' && param.timestamp) { // 云端验证
          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
        }
        Api.genericInterface(param).then((res) => {
          if (res.status) {
            this.execSuccess(res)
@@ -381,6 +385,10 @@
              param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
              param.secretkey = Utils.encrypt(param.LText, param.timestamp)
            }
          }
          if (this.props.menuType === 'HS' && param.timestamp) { // 云端验证
            param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
          }
          return param
@@ -673,6 +681,7 @@
   */
  execError = (res) => {
    const { btn } = this.props
    const { btnconfig } = this.state
    if (res.ErrCode === 'E') {
      Modal.error({
@@ -694,9 +703,9 @@
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)
    }
    let _unclose = false
    if (btn.OpenType === 'pop') {
    if (btn.OpenType === 'pop' && btnconfig && btnconfig.setting.display !== 'prompt') {
      _unclose = true
    } else {
      this.setState({
@@ -973,8 +982,9 @@
        destroyOnClose
      >
        <MutilForm
          dict={this.state.dict}
          BID={BID}
          dict={this.state.dict}
          menuType={this.props.menuType}
          action={btnconfig}
          inputSubmit={this.handleOk}
          data={this.state.tabledata[0]}