eoss-mobiles 0.2.19 → 0.2.21

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/flow.js CHANGED
@@ -1740,8 +1740,8 @@ var axios_ajax = function ajax(url) {
1740
1740
  withCredentials: false
1741
1741
  });
1742
1742
  http.interceptors.request.use(function (config) {
1743
- if (type === 'post' && format) {
1744
- config.data = external_qs_default.a.stringify(params);
1743
+ if (type === 'post' && !format) {
1744
+ config.params = external_qs_default.a.stringify(params.params || params);
1745
1745
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1746
1746
  config.headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1747
1747
  }
@@ -1749,7 +1749,7 @@ var axios_ajax = function ajax(url) {
1749
1749
  if (!config.headers['content-type'] && !headers['Content-Type']) {
1750
1750
  config.headers['content-type'] = 'application/json;charset=UTF-8';
1751
1751
  }
1752
- config.data = params;
1752
+ config.params = params.params || params;
1753
1753
  }
1754
1754
 
1755
1755
  if (util["a" /* default */].getStorage('token')) {
@@ -1896,6 +1896,7 @@ var base = {
1896
1896
  }, headers, format);
1897
1897
  },
1898
1898
  post: function post(url, params, headers, format) {
1899
+ console.log(params, 'params');
1899
1900
  if (params.params) {
1900
1901
  params.params.userId = params.params.userId || util["a" /* default */].getStorage('userId');
1901
1902
  } else {
@@ -1908,6 +1909,7 @@ var base = {
1908
1909
  // CONCATENATED MODULE: ./src/utils/http.js
1909
1910
 
1910
1911
  var http_request = function request(options) {
1912
+ console.log(options, 'options');
1911
1913
  var fn = void 0;
1912
1914
  switch (options.type) {
1913
1915
  case 'post':
@@ -2108,8 +2110,8 @@ render._withStripped = true
2108
2110
 
2109
2111
  // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7b5917b8&
2110
2112
 
2111
- // 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=33d35d88&
2112
- var StartFlowvue_type_template_id_33d35d88_render = function () {
2113
+ // 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=0e00af04&
2114
+ var StartFlowvue_type_template_id_0e00af04_render = function () {
2113
2115
  var _vm = this
2114
2116
  var _h = _vm.$createElement
2115
2117
  var _c = _vm._self._c || _h
@@ -2294,11 +2296,11 @@ var StartFlowvue_type_template_id_33d35d88_render = function () {
2294
2296
  ]),
2295
2297
  ])
2296
2298
  }
2297
- var StartFlowvue_type_template_id_33d35d88_staticRenderFns = []
2298
- StartFlowvue_type_template_id_33d35d88_render._withStripped = true
2299
+ var StartFlowvue_type_template_id_0e00af04_staticRenderFns = []
2300
+ StartFlowvue_type_template_id_0e00af04_render._withStripped = true
2299
2301
 
2300
2302
 
2301
- // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=33d35d88&
2303
+ // CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=0e00af04&
2302
2304
 
2303
2305
  // EXTERNAL MODULE: ./src/config/api.js
2304
2306
  var api = __webpack_require__(2);
@@ -3333,7 +3335,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3333
3335
  Object(http["a" /* default */])({
3334
3336
  url: _that.apiBaseUrl ? _that.apiBaseUrl + api["m" /* registerNew */] : api["m" /* registerNew */],
3335
3337
  type: 'post',
3336
- params: formData
3338
+ params: formData,
3339
+ format: false
3337
3340
  }).then(function (res) {
3338
3341
  _this2.$toast.clear();
3339
3342
  if (res.rCode == 0) {
@@ -3540,8 +3543,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3540
3543
 
3541
3544
  var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3542
3545
  components_StartFlowvue_type_script_lang_js_,
3543
- StartFlowvue_type_template_id_33d35d88_render,
3544
- StartFlowvue_type_template_id_33d35d88_staticRenderFns,
3546
+ StartFlowvue_type_template_id_0e00af04_render,
3547
+ StartFlowvue_type_template_id_0e00af04_staticRenderFns,
3545
3548
  false,
3546
3549
  null,
3547
3550
  null,
@@ -3550,8 +3553,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3550
3553
  )
3551
3554
 
3552
3555
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
3553
- // 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=0d62a0b2&
3554
- var Handlevue_type_template_id_0d62a0b2_render = function () {
3556
+ // 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=19ae59c4&
3557
+ var Handlevue_type_template_id_19ae59c4_render = function () {
3555
3558
  var _vm = this
3556
3559
  var _h = _vm.$createElement
3557
3560
  var _c = _vm._self._c || _h
@@ -4088,7 +4091,7 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
4088
4091
  1
4089
4092
  )
4090
4093
  : _vm._e(),
4091
- _vm.isMainSubProcess
4094
+ _vm.isMainSubProcess && _vm.isNodeShowProcess
4092
4095
  ? _c(
4093
4096
  "div",
4094
4097
  { staticClass: "item" },
@@ -4541,14 +4544,14 @@ var Handlevue_type_template_id_0d62a0b2_render = function () {
4541
4544
  1
4542
4545
  )
4543
4546
  }
4544
- var Handlevue_type_template_id_0d62a0b2_staticRenderFns = []
4545
- Handlevue_type_template_id_0d62a0b2_render._withStripped = true
4547
+ var Handlevue_type_template_id_19ae59c4_staticRenderFns = []
4548
+ Handlevue_type_template_id_19ae59c4_render._withStripped = true
4546
4549
 
4547
4550
 
4548
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=0d62a0b2&
4551
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=19ae59c4&
4549
4552
 
4550
- // 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=d478fb96&
4551
- var Rejectvue_type_template_id_d478fb96_render = function () {
4553
+ // 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=ec9e71dc&
4554
+ var Rejectvue_type_template_id_ec9e71dc_render = function () {
4552
4555
  var _vm = this
4553
4556
  var _h = _vm.$createElement
4554
4557
  var _c = _vm._self._c || _h
@@ -4644,11 +4647,11 @@ var Rejectvue_type_template_id_d478fb96_render = function () {
4644
4647
  ]),
4645
4648
  ])
4646
4649
  }
4647
- var Rejectvue_type_template_id_d478fb96_staticRenderFns = []
4648
- Rejectvue_type_template_id_d478fb96_render._withStripped = true
4650
+ var Rejectvue_type_template_id_ec9e71dc_staticRenderFns = []
4651
+ Rejectvue_type_template_id_ec9e71dc_render._withStripped = true
4649
4652
 
4650
4653
 
4651
- // CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=d478fb96&
4654
+ // CONCATENATED MODULE: ./packages/flow/src/components/Reject.vue?vue&type=template&id=ec9e71dc&
4652
4655
 
4653
4656
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=script&lang=js&
4654
4657
  var Rejectvue_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; };
@@ -4813,7 +4816,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
4813
4816
  Object(http["a" /* default */])({
4814
4817
  url: _that.baseUrl ? _that.baseUrl + api["r" /* taskRejectHtml */] : api["r" /* taskRejectHtml */],
4815
4818
  type: 'post',
4816
- params: formData
4819
+ params: formData,
4820
+ format: false
4817
4821
  }).then(function (res) {
4818
4822
  if (res.status == 'success') {
4819
4823
  _this.$toast('操作成功');
@@ -4908,8 +4912,8 @@ var Rejectvue_type_script_lang_js_extends = Object.assign || function (target) {
4908
4912
 
4909
4913
  var Reject_component = Object(componentNormalizer["a" /* default */])(
4910
4914
  components_Rejectvue_type_script_lang_js_,
4911
- Rejectvue_type_template_id_d478fb96_render,
4912
- Rejectvue_type_template_id_d478fb96_staticRenderFns,
4915
+ Rejectvue_type_template_id_ec9e71dc_render,
4916
+ Rejectvue_type_template_id_ec9e71dc_staticRenderFns,
4913
4917
  false,
4914
4918
  null,
4915
4919
  null,
@@ -5668,6 +5672,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5668
5672
  isOtherUnit: true, //是否是外单位
5669
5673
  isShowNode: false,
5670
5674
  subProcessInfo: '',
5675
+ isNodeShowProcess: false, //是否展示主办
5671
5676
  isHiddenOftenOpinion: undefined, //是否隐藏常用意见
5672
5677
  isAddSignList: [{ name: '是', value: '1' }, { name: '否', value: '2' }],
5673
5678
  form: {
@@ -5748,7 +5753,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5748
5753
 
5749
5754
  computed: {
5750
5755
  subProcessColumns: function subProcessColumns() {
5751
- if (!this.isMainSubProcess) return [];
5756
+ if (!this.isMainSubProcess || !this.isNodeShowProcess) return [];
5752
5757
  var data = [];
5753
5758
  var obj = { name: '[部门员工]-' };
5754
5759
  this.nextCurrentOrgObjSelect.map(function (x) {
@@ -5842,7 +5847,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5842
5847
  Accept: 'application/json,text/plain'
5843
5848
  },
5844
5849
  type: 'post',
5845
- params: formData
5850
+ params: formData,
5851
+ format: false
5846
5852
  }).then(function (res) {
5847
5853
  var status = res.status,
5848
5854
  message = res.message;
@@ -5977,7 +5983,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5977
5983
  Object(http["a" /* default */])({
5978
5984
  url: _that.baseUrl ? _that.baseUrl + (_that.form.isImageOpinion == 1 ? api["p" /* taskHandleHtmlImg */] : api["o" /* taskHandleHtml */]) : _that.form.isImageOpinion == 1 ? api["p" /* taskHandleHtmlImg */] : api["o" /* taskHandleHtml */],
5979
5985
  type: 'post',
5980
- params: formData
5986
+ params: formData,
5987
+ format: false
5988
+
5981
5989
  }).then(function (res) {
5982
5990
  _this4.$toast.clear();
5983
5991
  if (res.status == 'success') {
@@ -6033,6 +6041,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6033
6041
  this.isNextUser = false;
6034
6042
  this.isShowNode = false;
6035
6043
  this.isMainSubProcess = false;
6044
+ this.isNodeShowProcess = false;
6036
6045
  this.form.nextNodeId = '';
6037
6046
  this.form.isReturnSubmitter = 0;
6038
6047
  this.form.isUndertakeReply = 0;
@@ -6441,6 +6450,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6441
6450
  _this6.countersignaturetypeText = res.data.countersignaturetypeText;
6442
6451
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
6443
6452
  if (_this6.nodeType === 1 || _this6.nodeType === 2) {
6453
+ _this6.isMainSubProcess === true ? _this6.isNodeShowProcess = true : _this6.isNodeShowProcess = false;
6444
6454
  _this6.isMainSubProcess === true ? _this6.isMainSubProcess = true : _this6.isMainSubProcess = false;
6445
6455
  _this6.isNextUser = false;
6446
6456
  _this6.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
@@ -6449,6 +6459,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6449
6459
  _this6.isHideCurrentOrg = false;
6450
6460
  _this6.isHideOtherOrg = false;
6451
6461
  _this6.isMainSubProcess = false;
6462
+ _this6.isNodeShowProcess = false;
6452
6463
  _this6.isNextUser = true;
6453
6464
  // this.isMainSubProcess === true
6454
6465
  // ? (this.isMainSubProcess = true)
@@ -6546,8 +6557,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
6546
6557
 
6547
6558
  var Handle_component = Object(componentNormalizer["a" /* default */])(
6548
6559
  components_Handlevue_type_script_lang_js_,
6549
- Handlevue_type_template_id_0d62a0b2_render,
6550
- Handlevue_type_template_id_0d62a0b2_staticRenderFns,
6560
+ Handlevue_type_template_id_19ae59c4_render,
6561
+ Handlevue_type_template_id_19ae59c4_staticRenderFns,
6551
6562
  false,
6552
6563
  null,
6553
6564
  null,
@@ -7209,8 +7220,8 @@ var TaskRead_component = Object(componentNormalizer["a" /* default */])(
7209
7220
  )
7210
7221
 
7211
7222
  /* harmony default export */ var TaskRead = (TaskRead_component.exports);
7212
- // 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/taskUnionExamine.vue?vue&type=template&id=32f743e5&
7213
- var taskUnionExaminevue_type_template_id_32f743e5_render = function () {
7223
+ // 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/taskUnionExamine.vue?vue&type=template&id=7904d4e3&
7224
+ var taskUnionExaminevue_type_template_id_7904d4e3_render = function () {
7214
7225
  var _vm = this
7215
7226
  var _h = _vm.$createElement
7216
7227
  var _c = _vm._self._c || _h
@@ -7351,11 +7362,11 @@ var taskUnionExaminevue_type_template_id_32f743e5_render = function () {
7351
7362
  ]),
7352
7363
  ])
7353
7364
  }
7354
- var taskUnionExaminevue_type_template_id_32f743e5_staticRenderFns = []
7355
- taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
7365
+ var taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns = []
7366
+ taskUnionExaminevue_type_template_id_7904d4e3_render._withStripped = true
7356
7367
 
7357
7368
 
7358
- // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=32f743e5&
7369
+ // CONCATENATED MODULE: ./packages/flow/src/components/taskUnionExamine.vue?vue&type=template&id=7904d4e3&
7359
7370
 
7360
7371
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/taskUnionExamine.vue?vue&type=script&lang=js&
7361
7372
  //
@@ -7812,7 +7823,9 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
7812
7823
  url: this.type === 'startDraf' ? api["s" /* taskStartDraft */] : this.type == 'unionSeal' ? api["v" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? twoOfficesDispatch : this.type == 'takeAdvice' ? api["t" /* taskTakeAdvice */] : api["u" /* taskUnionExamine */],
7813
7824
  params: formData,
7814
7825
  headers: { Accept: 'application/json,text/plain' },
7815
- type: 'post'
7826
+ type: 'post',
7827
+ format: false
7828
+
7816
7829
  };
7817
7830
  this.$toast.loading({
7818
7831
  message: '加载中...',
@@ -7916,8 +7929,8 @@ taskUnionExaminevue_type_template_id_32f743e5_render._withStripped = true
7916
7929
 
7917
7930
  var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
7918
7931
  components_taskUnionExaminevue_type_script_lang_js_,
7919
- taskUnionExaminevue_type_template_id_32f743e5_render,
7920
- taskUnionExaminevue_type_template_id_32f743e5_staticRenderFns,
7932
+ taskUnionExaminevue_type_template_id_7904d4e3_render,
7933
+ taskUnionExaminevue_type_template_id_7904d4e3_staticRenderFns,
7921
7934
  false,
7922
7935
  null,
7923
7936
  null,