eoss-ui 0.5.94 → 0.5.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/login.js CHANGED
@@ -4008,7 +4008,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
4008
4008
  // ESM COMPAT FLAG
4009
4009
  __webpack_require__.r(__webpack_exports__);
4010
4010
 
4011
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=e5f09a0a&
4011
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=1151d028&
4012
4012
  var render = function () {
4013
4013
  var _vm = this
4014
4014
  var _h = _vm.$createElement
@@ -5000,7 +5000,7 @@ var staticRenderFns = []
5000
5000
  render._withStripped = true
5001
5001
 
5002
5002
 
5003
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=e5f09a0a&
5003
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=1151d028&
5004
5004
 
5005
5005
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5006
5006
  var regenerator_ = __webpack_require__(13);
@@ -6420,20 +6420,16 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6420
6420
  showLaunch: false,
6421
6421
  launchImages: this.launchImage,
6422
6422
  launchKey: 'day',
6423
- launchTime: {
6424
- type: Number,
6425
- default: 3000
6426
- }
6423
+ launchTime: 3000
6427
6424
  };
6428
6425
  },
6429
6426
  beforeCreate: function beforeCreate() {
6430
6427
  this.setScale = Object(external_throttle_debounce_["debounce"])(300, function () {
6431
6428
  util["a" /* default */].setScale();
6432
6429
  });
6433
- util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes', 'showLaunch']);
6430
+ util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
6434
6431
  },
6435
6432
  created: function created() {
6436
- sessionStorage.setItem('launchImage', JSON.stringify(this.launchImages));
6437
6433
  this.launchKey = 5 < new Date().getHours() < 18 ? 'day' : 'night';
6438
6434
  if (ceshi == 'true' || ceshi == true) {
6439
6435
  this.loginModel = '0';
@@ -6640,7 +6636,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6640
6636
  config = util["a" /* default */].getStorage('initLogin');
6641
6637
 
6642
6638
  if (config) {
6643
- _this4.setConfig(config);
6639
+ _this4.setConfig(JSON.parse(config));
6644
6640
  }
6645
6641
  _context.next = 4;
6646
6642
  return util["a" /* default */].ajax({ url: _this4.initLogin }).then(function (res) {
@@ -6675,8 +6671,6 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6675
6671
  }))();
6676
6672
  },
6677
6673
  setConfig: function setConfig(res) {
6678
- var _this5 = this;
6679
-
6680
6674
  var isLogined = localStorage.getItem('isLogined');
6681
6675
  this.identifyingId = res.identifyingId || '';
6682
6676
  this.getImgCode();
@@ -6700,7 +6694,6 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6700
6694
  downloads['linux'] = res.linuxDownloadUrl;
6701
6695
  }
6702
6696
  this.sysName = res.subsystemName;
6703
- sessionStorage.setItem('sysName', this.sysName);
6704
6697
  this.secret = res.secret;
6705
6698
  this.setup = res.setup;
6706
6699
  this.downloadSetup = res.downloadSetup;
@@ -6773,19 +6766,15 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6773
6766
  this.warningText = res.subsystemExtend.warningText;
6774
6767
  }
6775
6768
  if (res.subsystemExtend.launchTime) {
6776
- sessionStorage.setItem('launchTime', res.subsystemExtend.launchTime);
6769
+ this.launchTime = parseInt(res.subsystemExtend.launchTime, 10);
6777
6770
  }
6778
6771
  if (res.subsystemExtend.launchImage) {
6779
6772
  if (!this.launchShow) {
6780
6773
  this.launchShow = true;
6781
- setTimeout(function () {
6782
- _this5.launchShow = false;
6783
- }, res.subsystemExtend.launchTime ? parseInt(res.subsystemExtend.launchTime) : this.launchTime);
6784
6774
  }
6785
6775
  if (res.subsystemExtend.launchImage != 'true' && res.subsystemExtend.launchImage != true) {
6786
6776
  this.launchImages = res.subsystemExtend.launchImage.indexOf('{') > -1 && res.subsystemExtend.launchImage.indexOf('}') > -1 ? JSON.parse(res.subsystemExtend.launchImage) : res.subsystemExtend.launchImage;
6787
6777
  }
6788
- sessionStorage.setItem('launchImage', JSON.stringify(this.launchImages));
6789
6778
  }
6790
6779
  }
6791
6780
  this.passModifyModel = res.passModifyModel;
@@ -6806,7 +6795,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6806
6795
  return this.imageCode;
6807
6796
  },
6808
6797
  getCode: function getCode() {
6809
- var _this6 = this;
6798
+ var _this5 = this;
6810
6799
 
6811
6800
  if (this.countdown) {
6812
6801
  return false;
@@ -6848,14 +6837,14 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6848
6837
  }
6849
6838
  this.countdown = 60;
6850
6839
  this.timer = setInterval(function () {
6851
- if (_this6.countdown > 0) {
6852
- _this6.countdown--;
6853
- _this6.disabled = true;
6854
- _this6.btnText = '重新获取' + _this6.countdown + 's';
6840
+ if (_this5.countdown > 0) {
6841
+ _this5.countdown--;
6842
+ _this5.disabled = true;
6843
+ _this5.btnText = '重新获取' + _this5.countdown + 's';
6855
6844
  } else {
6856
- _this6.btnText = '重新获取';
6857
- _this6.disabled = false;
6858
- _this6.submit = false;
6845
+ _this5.btnText = '重新获取';
6846
+ _this5.disabled = false;
6847
+ _this5.submit = false;
6859
6848
  }
6860
6849
  }, 1000);
6861
6850
  util["a" /* default */].ajax({
@@ -6863,26 +6852,26 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6863
6852
  url: this.active == 12 ? this.getTwoFactorLoginCode : this.getLoginCode,
6864
6853
  data: data
6865
6854
  }).then(function (res) {
6866
- _this6.$message({
6855
+ _this5.$message({
6867
6856
  message: res.msg,
6868
6857
  duration: 2000,
6869
6858
  type: res.rCode == 0 ? 'success' : 'error'
6870
6859
  });
6871
6860
 
6872
6861
  if (res.rCode === 2) {
6873
- _this6.btnText = '获取验证码';
6874
- _this6.disabled = false;
6875
- _this6.countdown = 0;
6876
- clearInterval(_this6.timer);
6862
+ _this5.btnText = '获取验证码';
6863
+ _this5.disabled = false;
6864
+ _this5.countdown = 0;
6865
+ clearInterval(_this5.timer);
6877
6866
  }
6878
6867
  }).catch(function (err) {
6879
6868
  if (err.message && err.message !== 'canceled') {
6880
- _this6.$message.error(err.message);
6869
+ _this5.$message.error(err.message);
6881
6870
  }
6882
6871
  });
6883
6872
  },
6884
6873
  handleLogin: function handleLogin() {
6885
- var _this7 = this;
6874
+ var _this6 = this;
6886
6875
 
6887
6876
  if (this.submit) {
6888
6877
  return false;
@@ -6890,40 +6879,40 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6890
6879
  var ref = 'login' + this.active;
6891
6880
  this.$refs[ref].validate(function (valid) {
6892
6881
  if (valid) {
6893
- _this7.submit = true;
6882
+ _this6.submit = true;
6894
6883
  var param = util["a" /* default */].getParams() || {};
6895
- var data = _this7.active == '0' ? {
6896
- username: _this7.formData.username,
6897
- password: _this7.secret && _this7.isEncrypt ? util["a" /* default */].esmEncrypt({
6898
- data: _this7.formData.password,
6899
- key: _this7.secret
6900
- }) : _this7.formData.password,
6901
- identifyingCode: _this7.formData.identifyingCode,
6902
- identifyingId: _this7.identifyingId
6903
- } : _this7.active == '12' ? {
6904
- username: _this7.formData.username,
6905
- password: _this7.secret && _this7.isEncrypt ? util["a" /* default */].esmEncrypt({
6906
- data: _this7.formData.password,
6907
- key: _this7.secret
6908
- }) : _this7.formData.password,
6909
- targetType: _this7.passModifyModel.indexOf('11') > -1 ? 'EMAIL' : 'SMS',
6910
- verificationCode: _this7.formData.identifyingCode
6884
+ var data = _this6.active == '0' ? {
6885
+ username: _this6.formData.username,
6886
+ password: _this6.secret && _this6.isEncrypt ? util["a" /* default */].esmEncrypt({
6887
+ data: _this6.formData.password,
6888
+ key: _this6.secret
6889
+ }) : _this6.formData.password,
6890
+ identifyingCode: _this6.formData.identifyingCode,
6891
+ identifyingId: _this6.identifyingId
6892
+ } : _this6.active == '12' ? {
6893
+ username: _this6.formData.username,
6894
+ password: _this6.secret && _this6.isEncrypt ? util["a" /* default */].esmEncrypt({
6895
+ data: _this6.formData.password,
6896
+ key: _this6.secret
6897
+ }) : _this6.formData.password,
6898
+ targetType: _this6.passModifyModel.indexOf('11') > -1 ? 'EMAIL' : 'SMS',
6899
+ verificationCode: _this6.formData.identifyingCode
6911
6900
  } : {
6912
- target: _this7.formData.target,
6913
- verificationCode: _this7.formData.verificationCode,
6914
- targetType: _this7.active == '6' ? 'SMS' : 'EMAIL'
6901
+ target: _this6.formData.target,
6902
+ verificationCode: _this6.formData.verificationCode,
6903
+ targetType: _this6.active == '6' ? 'SMS' : 'EMAIL'
6915
6904
  };
6916
- if (_this7.onLogin) {
6917
- if (_this7.active == '0') {
6918
- _this7.onLogin(mainvue_type_script_lang_js_extends({}, param, data), _this7.getImgCode, _this7.handleRemember);
6905
+ if (_this6.onLogin) {
6906
+ if (_this6.active == '0') {
6907
+ _this6.onLogin(mainvue_type_script_lang_js_extends({}, param, data), _this6.getImgCode, _this6.handleRemember);
6919
6908
  } else {
6920
- _this7.onLogin(mainvue_type_script_lang_js_extends({}, param, data));
6909
+ _this6.onLogin(mainvue_type_script_lang_js_extends({}, param, data));
6921
6910
  }
6922
6911
  } else {
6923
- _this7.handleUserLogin(mainvue_type_script_lang_js_extends({}, param, _this7.param, data));
6912
+ _this6.handleUserLogin(mainvue_type_script_lang_js_extends({}, param, _this6.param, data));
6924
6913
  }
6925
6914
  } else {
6926
- _this7.submit = false;
6915
+ _this6.submit = false;
6927
6916
  return false;
6928
6917
  }
6929
6918
  });
@@ -6939,7 +6928,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6939
6928
  }
6940
6929
  },
6941
6930
  handleUserLogin: function handleUserLogin(data) {
6942
- var _this8 = this;
6931
+ var _this7 = this;
6943
6932
 
6944
6933
  var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
6945
6934
  util["a" /* default */].ajax({
@@ -6947,68 +6936,68 @@ var ceshi = util["a" /* default */].getParams('ceshi');
6947
6936
  url: this.active == '0' ? this.actionUrl : this.active == '12' ? this.doTwoFactorLogin : this.doCodeLogin,
6948
6937
  data: extUserBindHandleId ? mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
6949
6938
  }).then(function (res) {
6950
- _this8.submit = false;
6939
+ _this7.submit = false;
6951
6940
  if (res.rCode == 0) {
6952
6941
  util["a" /* default */].removeStorage('extUserBindHandleId');
6953
- _this8.handleRemember();
6942
+ _this7.handleRemember();
6954
6943
  var results = res.results;
6955
- _this8.handleResults(results);
6956
- if (_this8.onSuccess) {
6957
- _this8.onSuccess(res);
6944
+ _this7.handleResults(results);
6945
+ if (_this7.onSuccess) {
6946
+ _this7.onSuccess(res);
6958
6947
  }
6959
6948
  } else {
6960
6949
  var msg = res.results && res.results.msg ? res.results.msg : res.msg;
6961
- _this8.$message({
6950
+ _this7.$message({
6962
6951
  message: msg || '系统错误,请联系管理员!',
6963
6952
  type: 'error',
6964
6953
  duration: 1500,
6965
6954
  onClose: function onClose() {
6966
- _this8.btnText = '获取验证码';
6967
- _this8.disabled = false;
6968
- _this8.countdown = 0;
6969
- clearInterval(_this8.timer);
6970
- _this8.getImgCode();
6955
+ _this7.btnText = '获取验证码';
6956
+ _this7.disabled = false;
6957
+ _this7.countdown = 0;
6958
+ clearInterval(_this7.timer);
6959
+ _this7.getImgCode();
6971
6960
  }
6972
6961
  });
6973
- _this8.onError(res);
6962
+ _this7.onError(res);
6974
6963
  }
6975
6964
  }).catch(function (err) {
6976
- _this8.submit = false;
6965
+ _this7.submit = false;
6977
6966
  if (err.message && err.message !== 'canceled') {
6978
- _this8.$message.error(err.message);
6967
+ _this7.$message.error(err.message);
6979
6968
  }
6980
6969
  });
6981
6970
  },
6982
6971
  caLogin: function caLogin(signedData) {
6983
- var _this9 = this;
6972
+ var _this8 = this;
6984
6973
 
6985
6974
  util["a" /* default */].ajax({
6986
6975
  method: 'post',
6987
6976
  url: this.caAction,
6988
6977
  data: { identifyingId: this.identifyingId, signedData: signedData }
6989
6978
  }).then(function (res) {
6990
- _this9.submit = false;
6979
+ _this8.submit = false;
6991
6980
  if (res.rCode == 0) {
6992
6981
  var results = res.results;
6993
- _this9.handleResults(results);
6994
- if (_this9.onSuccess) {
6995
- _this9.onSuccess(res);
6982
+ _this8.handleResults(results);
6983
+ if (_this8.onSuccess) {
6984
+ _this8.onSuccess(res);
6996
6985
  }
6997
6986
  } else {
6998
6987
  var msg = res.results && res.results.msg ? res.results.msg : res.msg;
6999
- _this9.$message({
6988
+ _this8.$message({
7000
6989
  message: msg || '系统错误,请联系管理员!',
7001
6990
  type: 'error',
7002
6991
  duration: 1500,
7003
6992
  onClose: function onClose() {
7004
- _this9.getImgCode();
6993
+ _this8.getImgCode();
7005
6994
  }
7006
6995
  });
7007
- _this9.onError(res);
6996
+ _this8.onError(res);
7008
6997
  }
7009
6998
  }).catch(function (err) {
7010
6999
  if (err.message && err.message !== 'canceled') {
7011
- _this9.$message.error(err.message);
7000
+ _this8.$message.error(err.message);
7012
7001
  }
7013
7002
  });
7014
7003
  },
@@ -7025,17 +7014,17 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7025
7014
 
7026
7015
  //获取app登录信息
7027
7016
  loginInfo: function loginInfo(res) {
7028
- var _this10 = this;
7017
+ var _this9 = this;
7029
7018
 
7030
7019
  clearTimeout(this.interval);
7031
7020
  if (res) {
7032
7021
  this.interval = setTimeout(function () {
7033
- _this10.initRequestLoginInfo();
7022
+ _this9.initRequestLoginInfo();
7034
7023
  }, this.scanIntervalTime);
7035
7024
  }
7036
7025
  },
7037
7026
  initRequestLoginInfo: function initRequestLoginInfo() {
7038
- var _this11 = this;
7027
+ var _this10 = this;
7039
7028
 
7040
7029
  if (this.identifyingId == '') {
7041
7030
  return false;
@@ -7050,21 +7039,21 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7050
7039
  if (res.rCode === 0) {
7051
7040
  var results = res.results;
7052
7041
  if (results.statusCode === 0) {
7053
- clearTimeout(_this11.interval);
7054
- _this11.handleResults(results, 3);
7042
+ clearTimeout(_this10.interval);
7043
+ _this10.handleResults(results, 3);
7055
7044
  } else {
7056
- _this11.loginInfo(true);
7045
+ _this10.loginInfo(true);
7057
7046
  }
7058
7047
  }
7059
7048
  }).catch(function (err) {
7060
- clearTimeout(_this11.interval);
7049
+ clearTimeout(_this10.interval);
7061
7050
  if (err.message && err.message !== 'canceled') {
7062
- _this11.$message.error(err.message);
7051
+ _this10.$message.error(err.message);
7063
7052
  }
7064
7053
  });
7065
7054
  },
7066
7055
  handleResults: function handleResults(results, type) {
7067
- var _this12 = this;
7056
+ var _this11 = this;
7068
7057
 
7069
7058
  switch (results.statusCode) {
7070
7059
  case 0:
@@ -7081,7 +7070,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7081
7070
  useCaseCodes: results.resourceCodes
7082
7071
  }
7083
7072
  });
7084
- if (this.launchShow && !this.toUrl && !results.doorIndex && !this.doorIndex) {
7073
+ if (this.launchShow) {
7085
7074
  this.$message({
7086
7075
  message: '登录成功!',
7087
7076
  type: 'success',
@@ -7089,26 +7078,32 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7089
7078
  });
7090
7079
  this.showLaunch = true;
7091
7080
  setTimeout(function () {
7092
- sessionStorage.setItem('showLaunch', 1);
7093
- if (window.location.href.indexOf('login.html') > -1) {
7094
- window.location.href = './main.html';
7081
+ if (_this11.toUrl) {
7082
+ window.location.href = _this11.toUrl;
7083
+ } else if (results.doorIndex && _this11.doorIndex) {
7084
+ sessionStorage.setItem('doorIndex', results.doorIndex);
7085
+ localStorage.setItem('isLogined', true);
7086
+ window.location.href = results.doorIndex;
7095
7087
  } else {
7096
- _this12.$router.push({ name: 'main' });
7088
+ if (window.location.href.indexOf('login.html') > -1) {
7089
+ window.location.href = './main.html';
7090
+ } else {
7091
+ _this11.$router.push({ name: 'main' });
7092
+ _this11.$nextTick(function () {
7093
+ _this11.showLaunch = false;
7094
+ });
7095
+ }
7097
7096
  }
7098
- _this12.showLaunch = false;
7099
- }, 3000);
7097
+ }, this.launchTime);
7100
7098
  } else {
7101
- if (this.launchShow) {
7102
- sessionStorage.setItem('launch', this.launchShow);
7103
- }
7104
7099
  this.$message({
7105
7100
  message: '登录成功!',
7106
7101
  type: 'success',
7107
7102
  duration: 1500,
7108
7103
  onClose: function onClose() {
7109
- if (_this12.toUrl) {
7110
- window.location.href = _this12.toUrl;
7111
- } else if (results.doorIndex && _this12.doorIndex) {
7104
+ if (_this11.toUrl) {
7105
+ window.location.href = _this11.toUrl;
7106
+ } else if (results.doorIndex && _this11.doorIndex) {
7112
7107
  sessionStorage.setItem('doorIndex', results.doorIndex);
7113
7108
  localStorage.setItem('isLogined', true);
7114
7109
  window.location.href = results.doorIndex;
@@ -7116,7 +7111,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7116
7111
  if (window.location.href.indexOf('login.html') > -1) {
7117
7112
  window.location.href = './main.html';
7118
7113
  } else {
7119
- _this12.$router.push({ name: 'main' });
7114
+ _this11.$router.push({ name: 'main' });
7120
7115
  }
7121
7116
  }
7122
7117
  }
@@ -7129,11 +7124,11 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7129
7124
  //cancelButtonText: '取消',
7130
7125
  type: 'warning'
7131
7126
  }).then(function () {
7132
- _this12.operationCheckCode = results.checkCode;
7133
- if (typeof _this12.forget === 'string') {
7134
- util["a" /* default */].win.open(_this12.forgetUrl);
7127
+ _this11.operationCheckCode = results.checkCode;
7128
+ if (typeof _this11.forget === 'string') {
7129
+ util["a" /* default */].win.open(_this11.forgetUrl);
7135
7130
  } else {
7136
- _this12.showResetPassword = true;
7131
+ _this11.showResetPassword = true;
7137
7132
  }
7138
7133
  }).catch(function (e) {});
7139
7134
  break;
@@ -7174,13 +7169,13 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7174
7169
  type: 'error',
7175
7170
  duration: 1500,
7176
7171
  onClose: function onClose() {
7177
- if (_this12.code) {
7172
+ if (_this11.code) {
7178
7173
  window.location.href = util["a" /* default */].delUrlParam({ key: 'code' });
7179
7174
  if (window.location.hash) {
7180
7175
  location.reload();
7181
7176
  }
7182
7177
  } else {
7183
- _this12.getImgCode();
7178
+ _this11.getImgCode();
7184
7179
  }
7185
7180
  }
7186
7181
  });
@@ -7190,15 +7185,15 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7190
7185
  }
7191
7186
  },
7192
7187
  handleAssistance: function handleAssistance(data) {
7193
- var _this13 = this;
7188
+ var _this12 = this;
7194
7189
 
7195
7190
  clearTimeout(this.doAssistance);
7196
7191
  this.doAssistance = setTimeout(function () {
7197
- _this13.doAssistanceLogin(data);
7192
+ _this12.doAssistanceLogin(data);
7198
7193
  }, this.scanIntervalTime);
7199
7194
  },
7200
7195
  doAssistanceLogin: function doAssistanceLogin(data) {
7201
- var _this14 = this;
7196
+ var _this13 = this;
7202
7197
 
7203
7198
  util["a" /* default */].ajax({
7204
7199
  method: 'post',
@@ -7208,19 +7203,19 @@ var ceshi = util["a" /* default */].getParams('ceshi');
7208
7203
  if (res.rCode === 0) {
7209
7204
  var results = res.results;
7210
7205
  if (results.statusCode === 0) {
7211
- clearTimeout(_this14.doAssistance);
7212
- _this14.handleResults(results, 3);
7206
+ clearTimeout(_this13.doAssistance);
7207
+ _this13.handleResults(results, 3);
7213
7208
  } else {
7214
- _this14.handleAssistance(data);
7209
+ _this13.handleAssistance(data);
7215
7210
  }
7216
7211
  } else {
7217
- clearTimeout(_this14.doAssistance);
7218
- _this14.$message.error(res.msg);
7212
+ clearTimeout(_this13.doAssistance);
7213
+ _this13.$message.error(res.msg);
7219
7214
  }
7220
7215
  }).catch(function (err) {
7221
- clearTimeout(_this14.doAssistance);
7216
+ clearTimeout(_this13.doAssistance);
7222
7217
  if (err.message && err.message !== 'canceled') {
7223
- _this14.$message.error(err.message);
7218
+ _this13.$message.error(err.message);
7224
7219
  }
7225
7220
  });
7226
7221
  },