eoss-mobiles 0.1.65 → 0.1.66

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.
@@ -14148,8 +14148,8 @@ var Handle_component = normalizeComponent(
14148
14148
  )
14149
14149
 
14150
14150
  /* harmony default export */ var Handle = (Handle_component.exports);
14151
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=182379f7&
14152
- var TaskReadvue_type_template_id_182379f7_render = function () {
14151
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=e051f7ca&
14152
+ var TaskReadvue_type_template_id_e051f7ca_render = function () {
14153
14153
  var _vm = this
14154
14154
  var _h = _vm.$createElement
14155
14155
  var _c = _vm._self._c || _h
@@ -14316,11 +14316,11 @@ var TaskReadvue_type_template_id_182379f7_render = function () {
14316
14316
  ]),
14317
14317
  ])
14318
14318
  }
14319
- var TaskReadvue_type_template_id_182379f7_staticRenderFns = []
14320
- TaskReadvue_type_template_id_182379f7_render._withStripped = true
14319
+ var TaskReadvue_type_template_id_e051f7ca_staticRenderFns = []
14320
+ TaskReadvue_type_template_id_e051f7ca_render._withStripped = true
14321
14321
 
14322
14322
 
14323
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=182379f7&
14323
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=e051f7ca&
14324
14324
 
14325
14325
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js&
14326
14326
  var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -14483,6 +14483,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14483
14483
  getFind: function getFind() {
14484
14484
  var _this = this;
14485
14485
 
14486
+ this.$toast.loading({
14487
+ message: '加载中...',
14488
+ forbidClick: true,
14489
+ loadingType: 'spinner',
14490
+ overlay: true,
14491
+ duration: 0
14492
+ });
14486
14493
  utils_http({
14487
14494
  url: this.baseUrl ? this.baseUrl + findSysCodes : findSysCodes
14488
14495
  }).then(function (res) {
@@ -14527,7 +14534,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14527
14534
  isSinglePage: taskExamine.isSinglePage
14528
14535
  }
14529
14536
  };
14530
- util.ajax(params).then(function (res) {
14537
+ utils_http(params).then(function (res) {
14531
14538
  var status = res.status,
14532
14539
  message = res.message,
14533
14540
  _res$data = res.data,
@@ -14536,12 +14543,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14536
14543
  nodeInfoMap = _res$data.nodeInfoMap,
14537
14544
  taskExamine = _res$data.taskExamine;
14538
14545
 
14546
+ _this2.$toast.clear();
14539
14547
  if (status == 'success') {
14540
14548
  _this2.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
14541
14549
  _this2.nextNode.nodeName = taskExamine.nodeName;
14542
14550
  _this2.transferInfo = taskExamine;
14543
14551
  } else {
14544
- _this2.$message.error(message || '系统错误,请联系管理员!');
14552
+ _this2.$toast(message || '系统错误,请联系管理员!');
14545
14553
  setTimeout(function () {
14546
14554
  _this2.goBack();
14547
14555
  }, 1000);
@@ -14549,7 +14557,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14549
14557
  }).catch(function (err) {
14550
14558
  _this2.loading = false;
14551
14559
  if (err.message && err.message !== 'canceled') {
14552
- _this2.$message.error(err.message);
14560
+ _this2.$toast(err.message);
14553
14561
  }
14554
14562
  });
14555
14563
  },
@@ -14590,15 +14598,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14590
14598
  taskAction: _that.newType
14591
14599
  };
14592
14600
  if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
14601
+
14593
14602
  utils_http({
14594
14603
  url: _that.baseUrl ? _that.baseUrl + toStartTaskRead : toStartTaskRead,
14595
14604
  params: params
14596
14605
  }).then(function (res) {
14606
+ _that.$toast.clear();
14597
14607
  if (res.status == 'success') {
14598
14608
  _this3.processObj = res.data;
14599
14609
  _this3.notificationMsgType = _this3.isMultiple();
14600
14610
  } else {
14601
- _this3.$toast(res.message);
14611
+ _that.$toast(res.message);
14602
14612
  setTimeout(function () {
14603
14613
  _this3.goBack();
14604
14614
  }, 1000);
@@ -14772,8 +14782,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14772
14782
 
14773
14783
  var TaskRead_component = normalizeComponent(
14774
14784
  components_TaskReadvue_type_script_lang_js_,
14775
- TaskReadvue_type_template_id_182379f7_render,
14776
- TaskReadvue_type_template_id_182379f7_staticRenderFns,
14785
+ TaskReadvue_type_template_id_e051f7ca_render,
14786
+ TaskReadvue_type_template_id_e051f7ca_staticRenderFns,
14777
14787
  false,
14778
14788
  null,
14779
14789
  null,
@@ -17822,7 +17832,7 @@ if (typeof window !== 'undefined' && window.Vue) {
17822
17832
  }
17823
17833
 
17824
17834
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
17825
- version: '0.1.65',
17835
+ version: '0.1.66',
17826
17836
  install: install,
17827
17837
  Button: packages_button,
17828
17838
  ButtonGroup: button_group,
package/lib/flow.js CHANGED
@@ -6144,8 +6144,8 @@ var Handle_component = Object(componentNormalizer["a" /* default */])(
6144
6144
  )
6145
6145
 
6146
6146
  /* harmony default export */ var Handle = (Handle_component.exports);
6147
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=182379f7&
6148
- var TaskReadvue_type_template_id_182379f7_render = function () {
6147
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=template&id=e051f7ca&
6148
+ var TaskReadvue_type_template_id_e051f7ca_render = function () {
6149
6149
  var _vm = this
6150
6150
  var _h = _vm.$createElement
6151
6151
  var _c = _vm._self._c || _h
@@ -6312,11 +6312,11 @@ var TaskReadvue_type_template_id_182379f7_render = function () {
6312
6312
  ]),
6313
6313
  ])
6314
6314
  }
6315
- var TaskReadvue_type_template_id_182379f7_staticRenderFns = []
6316
- TaskReadvue_type_template_id_182379f7_render._withStripped = true
6315
+ var TaskReadvue_type_template_id_e051f7ca_staticRenderFns = []
6316
+ TaskReadvue_type_template_id_e051f7ca_render._withStripped = true
6317
6317
 
6318
6318
 
6319
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=182379f7&
6319
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=e051f7ca&
6320
6320
 
6321
6321
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js&
6322
6322
  var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -6479,6 +6479,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6479
6479
  getFind: function getFind() {
6480
6480
  var _this = this;
6481
6481
 
6482
+ this.$toast.loading({
6483
+ message: '加载中...',
6484
+ forbidClick: true,
6485
+ loadingType: 'spinner',
6486
+ overlay: true,
6487
+ duration: 0
6488
+ });
6482
6489
  Object(http["a" /* default */])({
6483
6490
  url: this.baseUrl ? this.baseUrl + api["c" /* findSysCodes */] : api["c" /* findSysCodes */]
6484
6491
  }).then(function (res) {
@@ -6523,7 +6530,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6523
6530
  isSinglePage: taskExamine.isSinglePage
6524
6531
  }
6525
6532
  };
6526
- util["a" /* default */].ajax(params).then(function (res) {
6533
+ Object(http["a" /* default */])(params).then(function (res) {
6527
6534
  var status = res.status,
6528
6535
  message = res.message,
6529
6536
  _res$data = res.data,
@@ -6532,12 +6539,13 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6532
6539
  nodeInfoMap = _res$data.nodeInfoMap,
6533
6540
  taskExamine = _res$data.taskExamine;
6534
6541
 
6542
+ _this2.$toast.clear();
6535
6543
  if (status == 'success') {
6536
6544
  _this2.isMultipleTransfer(nodeInfoMap.nodeExtAttr.userSelectionType, choiceOrgId, choiceDeptId);
6537
6545
  _this2.nextNode.nodeName = taskExamine.nodeName;
6538
6546
  _this2.transferInfo = taskExamine;
6539
6547
  } else {
6540
- _this2.$message.error(message || '系统错误,请联系管理员!');
6548
+ _this2.$toast(message || '系统错误,请联系管理员!');
6541
6549
  setTimeout(function () {
6542
6550
  _this2.goBack();
6543
6551
  }, 1000);
@@ -6545,7 +6553,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6545
6553
  }).catch(function (err) {
6546
6554
  _this2.loading = false;
6547
6555
  if (err.message && err.message !== 'canceled') {
6548
- _this2.$message.error(err.message);
6556
+ _this2.$toast(err.message);
6549
6557
  }
6550
6558
  });
6551
6559
  },
@@ -6586,15 +6594,17 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6586
6594
  taskAction: _that.newType
6587
6595
  };
6588
6596
  if (_that.newType != 'taskReadAndEnd') delete params.taskAction;
6597
+
6589
6598
  Object(http["a" /* default */])({
6590
6599
  url: _that.baseUrl ? _that.baseUrl + api["t" /* toStartTaskRead */] : api["t" /* toStartTaskRead */],
6591
6600
  params: params
6592
6601
  }).then(function (res) {
6602
+ _that.$toast.clear();
6593
6603
  if (res.status == 'success') {
6594
6604
  _this3.processObj = res.data;
6595
6605
  _this3.notificationMsgType = _this3.isMultiple();
6596
6606
  } else {
6597
- _this3.$toast(res.message);
6607
+ _that.$toast(res.message);
6598
6608
  setTimeout(function () {
6599
6609
  _this3.goBack();
6600
6610
  }, 1000);
@@ -6768,8 +6778,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
6768
6778
 
6769
6779
  var TaskRead_component = Object(componentNormalizer["a" /* default */])(
6770
6780
  components_TaskReadvue_type_script_lang_js_,
6771
- TaskReadvue_type_template_id_182379f7_render,
6772
- TaskReadvue_type_template_id_182379f7_staticRenderFns,
6781
+ TaskReadvue_type_template_id_e051f7ca_render,
6782
+ TaskReadvue_type_template_id_e051f7ca_staticRenderFns,
6773
6783
  false,
6774
6784
  null,
6775
6785
  null,