eoss-mobiles 0.3.75 → 0.3.77

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.
@@ -13054,8 +13054,8 @@ mainvue_type_template_id_48dbcefe_render._withStripped = true
13054
13054
 
13055
13055
  // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=48dbcefe
13056
13056
 
13057
- // 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/StartFlow.vue?vue&type=template&id=fa95dfc4
13058
- var StartFlowvue_type_template_id_fa95dfc4_render = function () {
13057
+ // 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/StartFlow.vue?vue&type=template&id=53e8f5f3
13058
+ var StartFlowvue_type_template_id_53e8f5f3_render = function () {
13059
13059
  var _vm = this
13060
13060
  var _h = _vm.$createElement
13061
13061
  var _c = _vm._self._c || _h
@@ -13443,11 +13443,11 @@ var StartFlowvue_type_template_id_fa95dfc4_render = function () {
13443
13443
  ]),
13444
13444
  ])
13445
13445
  }
13446
- var StartFlowvue_type_template_id_fa95dfc4_staticRenderFns = []
13447
- StartFlowvue_type_template_id_fa95dfc4_render._withStripped = true
13446
+ var StartFlowvue_type_template_id_53e8f5f3_staticRenderFns = []
13447
+ StartFlowvue_type_template_id_53e8f5f3_render._withStripped = true
13448
13448
 
13449
13449
 
13450
- // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=fa95dfc4
13450
+ // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=53e8f5f3
13451
13451
 
13452
13452
  // 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/Opinion.vue?vue&type=template&id=29ae69c0
13453
13453
  var Opinionvue_type_template_id_29ae69c0_render = function () {
@@ -15268,8 +15268,6 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
15268
15268
 
15269
15269
  // 提交流程
15270
15270
  onSubmit: function onSubmit() {
15271
- var _this2 = this;
15272
-
15273
15271
  if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
15274
15272
  this.$toast('请选择输入审批意见');
15275
15273
  return;
@@ -15356,9 +15354,14 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
15356
15354
  info.businessId = this.businessId; //this.businessId
15357
15355
  }
15358
15356
  if (this.beforeSubmit) {
15359
- this.beforeSubmit(info);
15357
+ this.beforeSubmit(info, this.sendData);
15360
15358
  return;
15361
15359
  }
15360
+ this.sendData(info);
15361
+ },
15362
+ sendData: function sendData(info) {
15363
+ var _this2 = this;
15364
+
15362
15365
  var formData = new FormData();
15363
15366
  // if (this.form.isImageOpinion == 1) {
15364
15367
  // formData.append('file', this.file);
@@ -15720,8 +15723,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
15720
15723
 
15721
15724
  var StartFlow_component = normalizeComponent(
15722
15725
  components_StartFlowvue_type_script_lang_js,
15723
- StartFlowvue_type_template_id_fa95dfc4_render,
15724
- StartFlowvue_type_template_id_fa95dfc4_staticRenderFns,
15726
+ StartFlowvue_type_template_id_53e8f5f3_render,
15727
+ StartFlowvue_type_template_id_53e8f5f3_staticRenderFns,
15725
15728
  false,
15726
15729
  null,
15727
15730
  null,
@@ -15730,8 +15733,8 @@ var StartFlow_component = normalizeComponent(
15730
15733
  )
15731
15734
 
15732
15735
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
15733
- // 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/Handle.vue?vue&type=template&id=dae0deb8
15734
- var Handlevue_type_template_id_dae0deb8_render = function () {
15736
+ // 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/Handle.vue?vue&type=template&id=dfc0a1b8
15737
+ var Handlevue_type_template_id_dfc0a1b8_render = function () {
15735
15738
  var _vm = this
15736
15739
  var _h = _vm.$createElement
15737
15740
  var _c = _vm._self._c || _h
@@ -17183,11 +17186,11 @@ var Handlevue_type_template_id_dae0deb8_render = function () {
17183
17186
  1
17184
17187
  )
17185
17188
  }
17186
- var Handlevue_type_template_id_dae0deb8_staticRenderFns = []
17187
- Handlevue_type_template_id_dae0deb8_render._withStripped = true
17189
+ var Handlevue_type_template_id_dfc0a1b8_staticRenderFns = []
17190
+ Handlevue_type_template_id_dfc0a1b8_render._withStripped = true
17188
17191
 
17189
17192
 
17190
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=dae0deb8
17193
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=dfc0a1b8
17191
17194
 
17192
17195
  // 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/Reject.vue?vue&type=template&id=7503f952
17193
17196
  var Rejectvue_type_template_id_7503f952_render = function () {
@@ -18490,6 +18493,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18490
18493
  //
18491
18494
  //
18492
18495
  //
18496
+ //
18497
+ //
18498
+ //
18499
+ //
18500
+ //
18501
+ //
18502
+ //
18503
+ //
18493
18504
 
18494
18505
 
18495
18506
 
@@ -18562,7 +18573,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
18562
18573
  showFlowBtn: false,
18563
18574
  endFlow: false,
18564
18575
  currentOrgSelectorParams: {},
18565
- currentOrgSelectorTabs: 'employee, persongroup',
18576
+ currentOrgSelectorTabs: 'employee,persongroup',
18566
18577
  foreignOrgSelectorTabs: 'enterprise,filgroupobj',
18567
18578
  foreignOrgSelectorParams: { roleid: '' },
18568
18579
  otherOrgDisabledObjId: [],
@@ -19434,23 +19445,19 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
19434
19445
  isSelected = true;
19435
19446
  isSelectIndex = index;
19436
19447
  if (that.taskOperations.length == 1) {
19437
-
19438
19448
  if (that.taskOperations[0].isNextNode) {
19439
-
19440
19449
  that.form.nextOperate = that.taskOperations[0].nextOperate;
19441
19450
  } else {
19442
19451
  that.form.nextOperate = that.taskOperations[0].key;
19443
19452
  }
19444
19453
  that.form.nextOperateName = that.taskOperations[0].value;
19445
19454
  if ((!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) && !that.taskOperations[0].isNextNode) {
19446
-
19447
19455
  that.form.nextNodeId = undefined;
19448
19456
  that.form.nextNodeName = undefined;
19449
19457
  } else if (that.taskOperations[0].isNextNode) {
19450
19458
  that.form.nextNodeId = that.taskOperations[0].key;
19451
19459
  that.form.nextNodeName = that.taskOperations[0].value;
19452
19460
  } else {
19453
-
19454
19461
  that.nodeList = that.taskOperations[0].taskNodeList;
19455
19462
  var info = [];
19456
19463
  that.nodeList.map(function (x) {
@@ -19773,8 +19780,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
19773
19780
 
19774
19781
  var Handle_component = normalizeComponent(
19775
19782
  components_Handlevue_type_script_lang_js,
19776
- Handlevue_type_template_id_dae0deb8_render,
19777
- Handlevue_type_template_id_dae0deb8_staticRenderFns,
19783
+ Handlevue_type_template_id_dfc0a1b8_render,
19784
+ Handlevue_type_template_id_dfc0a1b8_staticRenderFns,
19778
19785
  false,
19779
19786
  null,
19780
19787
  null,
@@ -29694,7 +29701,7 @@ if (typeof window !== 'undefined' && window.Vue) {
29694
29701
  }
29695
29702
 
29696
29703
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
29697
- version: '0.3.75',
29704
+ version: '0.3.77',
29698
29705
  install: install,
29699
29706
  Button: packages_button,
29700
29707
  ButtonGroup: button_group,
package/lib/flow.js CHANGED
@@ -2277,8 +2277,8 @@ render._withStripped = true
2277
2277
 
2278
2278
  // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=48dbcefe
2279
2279
 
2280
- // 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/StartFlow.vue?vue&type=template&id=fa95dfc4
2281
- var StartFlowvue_type_template_id_fa95dfc4_render = function () {
2280
+ // 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/StartFlow.vue?vue&type=template&id=53e8f5f3
2281
+ var StartFlowvue_type_template_id_53e8f5f3_render = function () {
2282
2282
  var _vm = this
2283
2283
  var _h = _vm.$createElement
2284
2284
  var _c = _vm._self._c || _h
@@ -2666,11 +2666,11 @@ var StartFlowvue_type_template_id_fa95dfc4_render = function () {
2666
2666
  ]),
2667
2667
  ])
2668
2668
  }
2669
- var StartFlowvue_type_template_id_fa95dfc4_staticRenderFns = []
2670
- StartFlowvue_type_template_id_fa95dfc4_render._withStripped = true
2669
+ var StartFlowvue_type_template_id_53e8f5f3_staticRenderFns = []
2670
+ StartFlowvue_type_template_id_53e8f5f3_render._withStripped = true
2671
2671
 
2672
2672
 
2673
- // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=fa95dfc4
2673
+ // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=53e8f5f3
2674
2674
 
2675
2675
  // EXTERNAL MODULE: ./src/config/api.js
2676
2676
  var api = __webpack_require__(2);
@@ -4506,8 +4506,6 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
4506
4506
 
4507
4507
  // 提交流程
4508
4508
  onSubmit: function onSubmit() {
4509
- var _this2 = this;
4510
-
4511
4509
  if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
4512
4510
  this.$toast('请选择输入审批意见');
4513
4511
  return;
@@ -4594,9 +4592,14 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
4594
4592
  info.businessId = this.businessId; //this.businessId
4595
4593
  }
4596
4594
  if (this.beforeSubmit) {
4597
- this.beforeSubmit(info);
4595
+ this.beforeSubmit(info, this.sendData);
4598
4596
  return;
4599
4597
  }
4598
+ this.sendData(info);
4599
+ },
4600
+ sendData: function sendData(info) {
4601
+ var _this2 = this;
4602
+
4600
4603
  var formData = new FormData();
4601
4604
  // if (this.form.isImageOpinion == 1) {
4602
4605
  // formData.append('file', this.file);
@@ -4958,8 +4961,8 @@ var StartFlowvue_type_script_lang_js_extends = Object.assign || function (target
4958
4961
 
4959
4962
  var StartFlow_component = Object(componentNormalizer["a" /* default */])(
4960
4963
  components_StartFlowvue_type_script_lang_js,
4961
- StartFlowvue_type_template_id_fa95dfc4_render,
4962
- StartFlowvue_type_template_id_fa95dfc4_staticRenderFns,
4964
+ StartFlowvue_type_template_id_53e8f5f3_render,
4965
+ StartFlowvue_type_template_id_53e8f5f3_staticRenderFns,
4963
4966
  false,
4964
4967
  null,
4965
4968
  null,
@@ -4968,8 +4971,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
4968
4971
  )
4969
4972
 
4970
4973
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
4971
- // 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/Handle.vue?vue&type=template&id=dae0deb8
4972
- var Handlevue_type_template_id_dae0deb8_render = function () {
4974
+ // 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/Handle.vue?vue&type=template&id=dfc0a1b8
4975
+ var Handlevue_type_template_id_dfc0a1b8_render = function () {
4973
4976
  var _vm = this
4974
4977
  var _h = _vm.$createElement
4975
4978
  var _c = _vm._self._c || _h
@@ -6421,11 +6424,11 @@ var Handlevue_type_template_id_dae0deb8_render = function () {
6421
6424
  1
6422
6425
  )
6423
6426
  }
6424
- var Handlevue_type_template_id_dae0deb8_staticRenderFns = []
6425
- Handlevue_type_template_id_dae0deb8_render._withStripped = true
6427
+ var Handlevue_type_template_id_dfc0a1b8_staticRenderFns = []
6428
+ Handlevue_type_template_id_dfc0a1b8_render._withStripped = true
6426
6429
 
6427
6430
 
6428
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=dae0deb8
6431
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=dfc0a1b8
6429
6432
 
6430
6433
  // 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/Reject.vue?vue&type=template&id=7503f952
6431
6434
  var Rejectvue_type_template_id_7503f952_render = function () {
@@ -7728,6 +7731,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
7728
7731
  //
7729
7732
  //
7730
7733
  //
7734
+ //
7735
+ //
7736
+ //
7737
+ //
7738
+ //
7739
+ //
7740
+ //
7741
+ //
7731
7742
 
7732
7743
 
7733
7744
 
@@ -7800,7 +7811,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
7800
7811
  showFlowBtn: false,
7801
7812
  endFlow: false,
7802
7813
  currentOrgSelectorParams: {},
7803
- currentOrgSelectorTabs: 'employee, persongroup',
7814
+ currentOrgSelectorTabs: 'employee,persongroup',
7804
7815
  foreignOrgSelectorTabs: 'enterprise,filgroupobj',
7805
7816
  foreignOrgSelectorParams: { roleid: '' },
7806
7817
  otherOrgDisabledObjId: [],
@@ -8672,23 +8683,19 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
8672
8683
  isSelected = true;
8673
8684
  isSelectIndex = index;
8674
8685
  if (that.taskOperations.length == 1) {
8675
-
8676
8686
  if (that.taskOperations[0].isNextNode) {
8677
-
8678
8687
  that.form.nextOperate = that.taskOperations[0].nextOperate;
8679
8688
  } else {
8680
8689
  that.form.nextOperate = that.taskOperations[0].key;
8681
8690
  }
8682
8691
  that.form.nextOperateName = that.taskOperations[0].value;
8683
8692
  if ((!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) && !that.taskOperations[0].isNextNode) {
8684
-
8685
8693
  that.form.nextNodeId = undefined;
8686
8694
  that.form.nextNodeName = undefined;
8687
8695
  } else if (that.taskOperations[0].isNextNode) {
8688
8696
  that.form.nextNodeId = that.taskOperations[0].key;
8689
8697
  that.form.nextNodeName = that.taskOperations[0].value;
8690
8698
  } else {
8691
-
8692
8699
  that.nodeList = that.taskOperations[0].taskNodeList;
8693
8700
  var info = [];
8694
8701
  that.nodeList.map(function (x) {
@@ -9011,8 +9018,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
9011
9018
 
9012
9019
  var Handle_component = Object(componentNormalizer["a" /* default */])(
9013
9020
  components_Handlevue_type_script_lang_js,
9014
- Handlevue_type_template_id_dae0deb8_render,
9015
- Handlevue_type_template_id_dae0deb8_staticRenderFns,
9021
+ Handlevue_type_template_id_dfc0a1b8_render,
9022
+ Handlevue_type_template_id_dfc0a1b8_staticRenderFns,
9016
9023
  false,
9017
9024
  null,
9018
9025
  null,