king
2020-06-16 6c16e43cd6521460c804391c042348dbb14086fc
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -106,7 +106,6 @@
      this.setState({
        primaryId: primaryId
      }, () => {
        this.updateStatus('start')
        this.refs.excelIn.exceltrigger()
      })
    } else {
@@ -260,6 +259,10 @@
    if (btn.intertype === 'inner' && !btn.innerFunc) { // 系统存储过程
      param.func = 'sPC_TableData_InUpDe'
      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) {
@@ -380,7 +383,7 @@
          onClick={() => {this.actionTrigger()}}
          loading={loading}
        >{btn.label}</Button>
        <ExcelIn MenuID={this.props.MenuID} btn={btn} returndata={this.getexceldata} ref="excelIn" />
        <ExcelIn MenuID={this.props.MenuID} btn={btn} triggerExcelIn={() => this.updateStatus('start')} returndata={this.getexceldata} ref="excelIn" />
      </div>
    )
  }