eoss-ui 0.7.14 → 0.7.15

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.
@@ -45475,8 +45475,8 @@ var Circulate_component = normalizeComponent(
45475
45475
  )
45476
45476
 
45477
45477
  /* harmony default export */ var Circulate = (Circulate_component.exports);
45478
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=521e2326&
45479
- var FreeCirculationvue_type_template_id_521e2326_render = function () {
45478
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
45479
+ var FreeCirculationvue_type_template_id_4ffe80dd_render = function () {
45480
45480
  var _vm = this
45481
45481
  var _h = _vm.$createElement
45482
45482
  var _c = _vm._self._c || _h
@@ -45569,11 +45569,11 @@ var FreeCirculationvue_type_template_id_521e2326_render = function () {
45569
45569
  1
45570
45570
  )
45571
45571
  }
45572
- var FreeCirculationvue_type_template_id_521e2326_staticRenderFns = []
45573
- FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45572
+ var FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns = []
45573
+ FreeCirculationvue_type_template_id_4ffe80dd_render._withStripped = true
45574
45574
 
45575
45575
 
45576
- // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=521e2326&
45576
+ // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
45577
45577
 
45578
45578
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=script&lang=js&
45579
45579
  //
@@ -45663,6 +45663,7 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45663
45663
  methods: {
45664
45664
  quit: function quit() {
45665
45665
  this.$emit('cancel');
45666
+ this.$parent.$emit('cancel');
45666
45667
  },
45667
45668
  subMit: function subMit() {
45668
45669
  var _this = this;
@@ -45679,8 +45680,9 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45679
45680
  };
45680
45681
  this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
45681
45682
  utils_util["a" /* default */].ajax(param).then(function (res) {
45683
+ _this.loading.close();
45682
45684
  if (res.rCode == 0 || res.status == 'success') {
45683
- _this.loading.close();
45685
+
45684
45686
  if (!_this.simpleTips) {
45685
45687
  _this.$alert('提交成功', '', {
45686
45688
  confirmButtonText: '确定',
@@ -45692,6 +45694,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45692
45694
  } else {
45693
45695
  _this.$parent.$emit('success');
45694
45696
  }
45697
+ } else {
45698
+ _this.$message.error(res.message || res.msg || '系统错误,请联系管理员!');
45695
45699
  }
45696
45700
  });
45697
45701
  },
@@ -45788,8 +45792,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
45788
45792
 
45789
45793
  var FreeCirculation_component = normalizeComponent(
45790
45794
  component_FreeCirculationvue_type_script_lang_js_,
45791
- FreeCirculationvue_type_template_id_521e2326_render,
45792
- FreeCirculationvue_type_template_id_521e2326_staticRenderFns,
45795
+ FreeCirculationvue_type_template_id_4ffe80dd_render,
45796
+ FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns,
45793
45797
  false,
45794
45798
  null,
45795
45799
  null,
@@ -92970,7 +92974,7 @@ if (typeof window !== 'undefined' && window.Vue) {
92970
92974
  }
92971
92975
 
92972
92976
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
92973
- version: '0.7.14',
92977
+ version: '0.7.15',
92974
92978
  install: install,
92975
92979
  Button: packages_button,
92976
92980
  ButtonGroup: button_group,
package/lib/flow.js CHANGED
@@ -22630,8 +22630,8 @@ var Circulate_component = Object(componentNormalizer["a" /* default */])(
22630
22630
  )
22631
22631
 
22632
22632
  /* harmony default export */ var Circulate = (Circulate_component.exports);
22633
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=521e2326&
22634
- var FreeCirculationvue_type_template_id_521e2326_render = function () {
22633
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
22634
+ var FreeCirculationvue_type_template_id_4ffe80dd_render = function () {
22635
22635
  var _vm = this
22636
22636
  var _h = _vm.$createElement
22637
22637
  var _c = _vm._self._c || _h
@@ -22724,11 +22724,11 @@ var FreeCirculationvue_type_template_id_521e2326_render = function () {
22724
22724
  1
22725
22725
  )
22726
22726
  }
22727
- var FreeCirculationvue_type_template_id_521e2326_staticRenderFns = []
22728
- FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
22727
+ var FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns = []
22728
+ FreeCirculationvue_type_template_id_4ffe80dd_render._withStripped = true
22729
22729
 
22730
22730
 
22731
- // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=521e2326&
22731
+ // CONCATENATED MODULE: ./packages/flow/src/component/FreeCirculation.vue?vue&type=template&id=4ffe80dd&
22732
22732
 
22733
22733
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FreeCirculation.vue?vue&type=script&lang=js&
22734
22734
  //
@@ -22818,6 +22818,7 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
22818
22818
  methods: {
22819
22819
  quit: function quit() {
22820
22820
  this.$emit('cancel');
22821
+ this.$parent.$emit('cancel');
22821
22822
  },
22822
22823
  subMit: function subMit() {
22823
22824
  var _this = this;
@@ -22834,8 +22835,9 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
22834
22835
  };
22835
22836
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
22836
22837
  util["a" /* default */].ajax(param).then(function (res) {
22838
+ _this.loading.close();
22837
22839
  if (res.rCode == 0 || res.status == 'success') {
22838
- _this.loading.close();
22840
+
22839
22841
  if (!_this.simpleTips) {
22840
22842
  _this.$alert('提交成功', '', {
22841
22843
  confirmButtonText: '确定',
@@ -22847,6 +22849,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
22847
22849
  } else {
22848
22850
  _this.$parent.$emit('success');
22849
22851
  }
22852
+ } else {
22853
+ _this.$message.error(res.message || res.msg || '系统错误,请联系管理员!');
22850
22854
  }
22851
22855
  });
22852
22856
  },
@@ -22943,8 +22947,8 @@ FreeCirculationvue_type_template_id_521e2326_render._withStripped = true
22943
22947
 
22944
22948
  var FreeCirculation_component = Object(componentNormalizer["a" /* default */])(
22945
22949
  component_FreeCirculationvue_type_script_lang_js_,
22946
- FreeCirculationvue_type_template_id_521e2326_render,
22947
- FreeCirculationvue_type_template_id_521e2326_staticRenderFns,
22950
+ FreeCirculationvue_type_template_id_4ffe80dd_render,
22951
+ FreeCirculationvue_type_template_id_4ffe80dd_staticRenderFns,
22948
22952
  false,
22949
22953
  null,
22950
22954
  null,