king
2020-04-17 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb
src/tabviews/managetable/secretKeyTable/actionList/index.jsx
@@ -50,7 +50,7 @@
      notification.warning({
        top: 92,
        message: '需要上级主键值!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -63,7 +63,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectline'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot === 'requiredSgl' && data.length !== 1) {
@@ -71,7 +71,7 @@
      notification.warning({
        top: 92,
        message: this.props.dict['main.action.confirm.selectSingleLine'],
        duration: 10
        duration: 5
      })
      return
    } else if (item.Ot !== 'notRequired' && !setting.primaryKey) {
@@ -79,7 +79,7 @@
      notification.warning({
        top: 92,
        message: '未设置主键!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -90,7 +90,7 @@
        notification.warning({
          top: 92,
          message: '系统密钥不可删除!',
          duration: 10
          duration: 5
        })
        return
      }
@@ -100,7 +100,7 @@
      notification.warning({
        top: 92,
        message: '数据丢失或错误,请恢复默认设置!',
        duration: 10
        duration: 5
      })
      return
    }
@@ -243,14 +243,14 @@
      notification.error({
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 15
        duration: btn.verify && btn.verify.ntime ? btn.verify.ntime : 10
      })
    } else if (res.ErrCode === 'F') {
      notification.error({
        className: 'notification-custom-error',
        top: 92,
        message: res.message || res.ErrMesg,
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 15
        duration: btn.verify && btn.verify.ftime ? btn.verify.ftime : 10
      })
    } else if (res.ErrCode === 'NM') {
      message.error(res.message || res.ErrMesg)