eoss-ui 0.4.56 → 0.4.58

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.
Files changed (60) hide show
  1. package/lib/button-group.js +5 -2
  2. package/lib/button.js +5 -2
  3. package/lib/checkbox-group.js +5 -2
  4. package/lib/data-table-form.js +5 -2
  5. package/lib/data-table.js +11 -7
  6. package/lib/date-picker.js +5 -2
  7. package/lib/dialog.js +5 -2
  8. package/lib/eoss-ui.common.js +383 -118
  9. package/lib/flow-group.js +5 -2
  10. package/lib/flow-list.js +5 -2
  11. package/lib/flow.js +275 -28
  12. package/lib/form.js +22 -20
  13. package/lib/handle-user.js +5 -2
  14. package/lib/handler.js +5 -2
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +5 -2
  17. package/lib/input.js +5 -2
  18. package/lib/login.js +8 -4
  19. package/lib/main.js +15 -10
  20. package/lib/mainComp.js +5 -2
  21. package/lib/nav.js +5 -2
  22. package/lib/page.js +5 -2
  23. package/lib/player.js +5 -2
  24. package/lib/qr-code.js +5 -2
  25. package/lib/radio-group.js +5 -2
  26. package/lib/retrial-auth.js +10 -6
  27. package/lib/select-ganged.js +5 -2
  28. package/lib/select.js +5 -2
  29. package/lib/selector-panel.js +5 -2
  30. package/lib/selector.js +5 -2
  31. package/lib/sizer.js +5 -2
  32. package/lib/steps.js +5 -2
  33. package/lib/switch.js +5 -2
  34. package/lib/table-form.js +5 -2
  35. package/lib/tabs.js +5 -2
  36. package/lib/theme-chalk/index.css +1 -1
  37. package/lib/theme-chalk/upload.css +1 -1
  38. package/lib/tips.js +5 -2
  39. package/lib/toolbar.js +12 -8
  40. package/lib/tree-group.js +5 -2
  41. package/lib/tree.js +5 -2
  42. package/lib/upload.js +30 -17
  43. package/lib/utils/util.js +5 -2
  44. package/lib/wujie.js +5 -2
  45. package/lib/wxlogin.js +5 -2
  46. package/package.json +2 -2
  47. package/packages/data-table/src/main.vue +1 -0
  48. package/packages/flow/src/main.vue +148 -11
  49. package/packages/flow/src/startTaskRead.vue +12 -9
  50. package/packages/form/src/main.vue +13 -7
  51. package/packages/login/src/main.vue +1 -0
  52. package/packages/main/src/main.vue +8 -6
  53. package/packages/retrial-auth/src/main.vue +3 -2
  54. package/packages/theme-chalk/lib/index.css +1 -1
  55. package/packages/theme-chalk/lib/upload.css +1 -1
  56. package/packages/theme-chalk/src/upload.scss +50 -26
  57. package/packages/toolbar/src/main.vue +6 -1
  58. package/packages/upload/src/main.vue +13 -10
  59. package/src/index.js +1 -1
  60. package/src/utils/util.js +5 -2
package/lib/flow-group.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/flow-list.js CHANGED
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
251
  clearTimeout(loginMsg);
252
- loginMsg = setTimeout(function () {
252
+ var remind = sessionStorage.getItem('remind');
253
+ !remind && (loginMsg = setTimeout(function () {
254
+ sessionStorage.setItem('remind', 1);
253
255
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
254
256
  confirmButtonText: '确定',
255
257
  closeOnClickModal: false,
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
276
278
  }
277
279
  }
278
280
  }).catch(function (e) {});
279
- }, 1000);
281
+ }, 1000));
280
282
  }
281
283
  } else if (response.data.rCode === 61) {
282
284
  clearTimeout(initAuth);
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
293
295
  return h('es-retrial-auth', {
294
296
  ref: 'auth',
295
297
  props: {
298
+ reload: response.data.results.reload || response.data.results.refresh,
296
299
  group: response.data.results.retrialAuthGroupIds,
297
300
  type: response.data.results.retrialAuthType,
298
301
  msgBox: msgBox
package/lib/flow.js CHANGED
@@ -248,7 +248,9 @@ var ajax = function ajax(_ref) {
248
248
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
249
249
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
250
250
  clearTimeout(loginMsg);
251
- loginMsg = setTimeout(function () {
251
+ var remind = sessionStorage.getItem('remind');
252
+ !remind && (loginMsg = setTimeout(function () {
253
+ sessionStorage.setItem('remind', 1);
252
254
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
253
255
  confirmButtonText: '确定',
254
256
  closeOnClickModal: false,
@@ -275,7 +277,7 @@ var ajax = function ajax(_ref) {
275
277
  }
276
278
  }
277
279
  }).catch(function (e) {});
278
- }, 1000);
280
+ }, 1000));
279
281
  }
280
282
  } else if (response.data.rCode === 61) {
281
283
  clearTimeout(initAuth);
@@ -292,6 +294,7 @@ var ajax = function ajax(_ref) {
292
294
  return h('es-retrial-auth', {
293
295
  ref: 'auth',
294
296
  props: {
297
+ reload: response.data.results.reload || response.data.results.refresh,
295
298
  group: response.data.results.retrialAuthGroupIds,
296
299
  type: response.data.results.retrialAuthType,
297
300
  msgBox: msgBox
@@ -3046,7 +3049,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3046
3049
  // ESM COMPAT FLAG
3047
3050
  __webpack_require__.r(__webpack_exports__);
3048
3051
 
3049
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
3052
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=fd0d2338&
3050
3053
  var render = function () {
3051
3054
  var _vm = this
3052
3055
  var _h = _vm.$createElement
@@ -3528,6 +3531,9 @@ var render = function () {
3528
3531
  {
3529
3532
  attrs: {
3530
3533
  placeholder: "请选择下步操作",
3534
+ disabled:
3535
+ _vm.operationList &&
3536
+ _vm.operationList.length == 1,
3531
3537
  },
3532
3538
  on: {
3533
3539
  change: function ($event) {
@@ -3593,6 +3599,9 @@ var render = function () {
3593
3599
  attrs: {
3594
3600
  placeholder:
3595
3601
  "请选择下步节点",
3602
+ disabled:
3603
+ _vm.nodeInfos &&
3604
+ _vm.nodeInfos.length == 1,
3596
3605
  },
3597
3606
  on: {
3598
3607
  change: function ($event) {
@@ -3715,6 +3724,127 @@ var render = function () {
3715
3724
  1
3716
3725
  )
3717
3726
  : _vm._e(),
3727
+ _vm.isHideCurrentOrg
3728
+ ? _c(
3729
+ "el-form-item",
3730
+ {
3731
+ attrs: {
3732
+ prop: "nextCurrentOrgObj",
3733
+ label: _vm.currentOrgName
3734
+ ? _vm.currentOrgName
3735
+ : "本单位",
3736
+ },
3737
+ },
3738
+ [
3739
+ _c("SelectUser", {
3740
+ attrs: {
3741
+ nextUser:
3742
+ _vm.nextCurrentOrgObjSelect,
3743
+ multiple: "",
3744
+ mix: "",
3745
+ types: [
3746
+ "department",
3747
+ "employee",
3748
+ ],
3749
+ params: {
3750
+ filid: _vm.userModel.orgId,
3751
+ },
3752
+ },
3753
+ on: {
3754
+ change: function ($event) {
3755
+ _vm.disposeAppUnit(
3756
+ $event,
3757
+ "nextCurrentOrgObjSelect"
3758
+ )
3759
+ },
3760
+ },
3761
+ }),
3762
+ ],
3763
+ 1
3764
+ )
3765
+ : _vm._e(),
3766
+ _vm.isHideOtherOrg
3767
+ ? _c(
3768
+ "el-form-item",
3769
+ {
3770
+ attrs: {
3771
+ prop: "nextOtherOrgObj",
3772
+ label: _vm.otherOrgName
3773
+ ? _vm.otherOrgName
3774
+ : "外单位",
3775
+ },
3776
+ },
3777
+ [
3778
+ _c("SelectUser", {
3779
+ attrs: {
3780
+ nextUser:
3781
+ _vm.nextOtherOrgObjSelect,
3782
+ multiple: "",
3783
+ mix: "",
3784
+ types: ["enterprise"],
3785
+ params: { filid: "all" },
3786
+ },
3787
+ on: {
3788
+ change: function ($event) {
3789
+ _vm.disposeAppUnit(
3790
+ $event,
3791
+ "nextOtherOrgObjSelect"
3792
+ )
3793
+ },
3794
+ },
3795
+ }),
3796
+ ],
3797
+ 1
3798
+ )
3799
+ : _vm._e(),
3800
+ _vm.isMainSubProcess
3801
+ ? _c(
3802
+ "el-form-item",
3803
+ {
3804
+ attrs: {
3805
+ prop: "mainSubId",
3806
+ label: "主办",
3807
+ },
3808
+ },
3809
+ [
3810
+ _c(
3811
+ "el-select",
3812
+ {
3813
+ attrs: {
3814
+ placeholder: "请选择主办",
3815
+ },
3816
+ model: {
3817
+ value:
3818
+ _vm.nextNode.mainSubId,
3819
+ callback: function ($$v) {
3820
+ _vm.$set(
3821
+ _vm.nextNode,
3822
+ "mainSubId",
3823
+ $$v
3824
+ )
3825
+ },
3826
+ expression:
3827
+ "nextNode.mainSubId",
3828
+ },
3829
+ },
3830
+ _vm._l(
3831
+ _vm.subProcessColumns,
3832
+ function (items) {
3833
+ return _c("el-option", {
3834
+ key: items.id,
3835
+ attrs: {
3836
+ label: items.name,
3837
+ value: items.value,
3838
+ },
3839
+ })
3840
+ }
3841
+ ),
3842
+ 1
3843
+ ),
3844
+ ],
3845
+ 1
3846
+ )
3847
+ : _vm._e(),
3718
3848
  _vm.nodeType !== 0 &&
3719
3849
  _vm.isLimitedTimeHandling === 1
3720
3850
  ? _c("TimeLimit", {
@@ -4423,7 +4553,7 @@ var staticRenderFns = []
4423
4553
  render._withStripped = true
4424
4554
 
4425
4555
 
4426
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
4556
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fd0d2338&
4427
4557
 
4428
4558
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4429
4559
  var regenerator_ = __webpack_require__(9);
@@ -9482,8 +9612,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
9482
9612
  )
9483
9613
 
9484
9614
  /* harmony default export */ var processReject = (processReject_component.exports);
9485
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
9486
- var startTaskReadvue_type_template_id_31232218_render = function () {
9615
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=503131e8&
9616
+ var startTaskReadvue_type_template_id_503131e8_render = function () {
9487
9617
  var _vm = this
9488
9618
  var _h = _vm.$createElement
9489
9619
  var _c = _vm._self._c || _h
@@ -9858,11 +9988,11 @@ var startTaskReadvue_type_template_id_31232218_render = function () {
9858
9988
  1
9859
9989
  )
9860
9990
  }
9861
- var startTaskReadvue_type_template_id_31232218_staticRenderFns = []
9862
- startTaskReadvue_type_template_id_31232218_render._withStripped = true
9991
+ var startTaskReadvue_type_template_id_503131e8_staticRenderFns = []
9992
+ startTaskReadvue_type_template_id_503131e8_render._withStripped = true
9863
9993
 
9864
9994
 
9865
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
9995
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=503131e8&
9866
9996
 
9867
9997
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
9868
9998
  var startTaskReadvue_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; };
@@ -10040,7 +10170,7 @@ var startTaskReadvue_type_script_lang_js_components;
10040
10170
  },
10041
10171
  mixList: [],
10042
10172
  newSelectUserList: [],
10043
- orgId: 3,
10173
+ orgId: '',
10044
10174
  noticeList: [],
10045
10175
  userOptions: [],
10046
10176
  selectCheck: [],
@@ -10059,18 +10189,18 @@ var startTaskReadvue_type_script_lang_js_components;
10059
10189
  tab = {
10060
10190
  employee: {
10061
10191
  param: {
10062
- filid: sessionStorage.getItem('orgId'),
10192
+ filid: this.orgId,
10063
10193
  name: '本单位用户'
10064
10194
  }
10065
10195
  },
10066
- department: { param: { filid: sessionStorage.getItem('orgId') } },
10196
+ department: { param: { filid: this.orgId } },
10067
10197
  enterprise: {}
10068
10198
  };
10069
10199
  } else {
10070
10200
  tab = {
10071
10201
  employee: {
10072
10202
  param: {
10073
- filid: sessionStorage.getItem('orgId')
10203
+ filid: this.orgId
10074
10204
  }
10075
10205
  }
10076
10206
  };
@@ -10080,6 +10210,9 @@ var startTaskReadvue_type_script_lang_js_components;
10080
10210
  },
10081
10211
  mounted: function mounted() {
10082
10212
  this.getFind();
10213
+ if (util["a" /* default */].getStorage('mainConfig')) {
10214
+ this.orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
10215
+ }
10083
10216
  },
10084
10217
 
10085
10218
  methods: {
@@ -10129,14 +10262,14 @@ var startTaskReadvue_type_script_lang_js_components;
10129
10262
  this.multiple = false;
10130
10263
  }
10131
10264
  if (val == 1 || val == 2 || val == 5) {
10132
- this.params.filid = util["a" /* default */].getStorage('orgId');
10265
+ this.params.filid = this.orgId;
10133
10266
  if (choiceOrgId) {
10134
10267
  this.params.filid = choiceOrgId;
10135
10268
  }
10136
10269
  }
10137
10270
  if (val == 5 || val == 6) {
10138
- this.params.filid = util["a" /* default */].getStorage('orgId');
10139
- this.params.deptid = util["a" /* default */].getStorage('orgId');
10271
+ this.params.filid = this.orgId;
10272
+ this.params.deptid = this.orgId;
10140
10273
  if (choiceDeptId) {
10141
10274
  this.params.deptid = choiceDeptId;
10142
10275
  }
@@ -10145,14 +10278,14 @@ var startTaskReadvue_type_script_lang_js_components;
10145
10278
  }
10146
10279
  }
10147
10280
  if (val == 15 || val == 16) {
10148
- this.params.filid = util["a" /* default */].getStorage('orgId');
10281
+ this.params.filid = this.orgId;
10149
10282
  if (pOrgId) {
10150
10283
  this.params.filid = pOrgId;
10151
10284
  }
10152
10285
  }
10153
10286
  },
10154
10287
  isMultiple: function isMultiple() {
10155
- var orgId = sessionStorage.getItem('orgId');
10288
+ var orgId = this.orgId;
10156
10289
  if (this.configInfo.selectPersonValue == 1) {
10157
10290
  this.multiple = false;
10158
10291
  this.params.filid = orgId;
@@ -10459,8 +10592,8 @@ var startTaskReadvue_type_script_lang_js_components;
10459
10592
 
10460
10593
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
10461
10594
  src_startTaskReadvue_type_script_lang_js_,
10462
- startTaskReadvue_type_template_id_31232218_render,
10463
- startTaskReadvue_type_template_id_31232218_staticRenderFns,
10595
+ startTaskReadvue_type_template_id_503131e8_render,
10596
+ startTaskReadvue_type_template_id_503131e8_staticRenderFns,
10464
10597
  false,
10465
10598
  null,
10466
10599
  null,
@@ -11758,6 +11891,38 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11758
11891
  //
11759
11892
  //
11760
11893
  //
11894
+ //
11895
+ //
11896
+ //
11897
+ //
11898
+ //
11899
+ //
11900
+ //
11901
+ //
11902
+ //
11903
+ //
11904
+ //
11905
+ //
11906
+ //
11907
+ //
11908
+ //
11909
+ //
11910
+ //
11911
+ //
11912
+ //
11913
+ //
11914
+ //
11915
+ //
11916
+ //
11917
+ //
11918
+ //
11919
+ //
11920
+ //
11921
+ //
11922
+ //
11923
+ //
11924
+ //
11925
+ //
11761
11926
 
11762
11927
 
11763
11928
 
@@ -11805,6 +11970,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11805
11970
 
11806
11971
  return _ref = {
11807
11972
  userModel: {},
11973
+ nextOtherOrgObjSelect: [],
11974
+ subProcessColumns: [],
11975
+ nextCurrentOrgObjSelect: [],
11808
11976
  loading: null, // 加载中
11809
11977
  newTypeCode: '',
11810
11978
  NodeName: '', // 当前节点值
@@ -11897,13 +12065,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11897
12065
  removeSignUserId: [], // 减签办理人
11898
12066
  nextUserId: [], // 下步办理人
11899
12067
  nextOrgId: [], //办理对象
12068
+ nextCurrentOrgObj: [],
11900
12069
  nextCurrentOrgObjSerialId: [], //本单位用户
12070
+ nextOtherOrgObj: [], //外单位
11901
12071
  nextReadUserId: [], //分阅用户
11902
12072
  presetReadUserId: [], //自动分阅
11903
12073
  handleExplain: '', //办理意见
11904
12074
  notificationType: [], // 通知方式
11905
- isLimitedTime: '2' // 是否限时办理
11906
- }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.nodeInfo = {
12075
+ isLimitedTime: '2', // 是否限时办理
12076
+ mainSubId: ''
12077
+ }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.nodeInfo = {
11907
12078
  nextNode: '',
11908
12079
  nextUser: '',
11909
12080
  option: []
@@ -11981,6 +12152,36 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11981
12152
  }
11982
12153
  },
11983
12154
  methods: {
12155
+ getsubProcessColumns: function getsubProcessColumns() {
12156
+ if (!this.isMainSubProcess) return [];
12157
+ var data = [];
12158
+ var obj = { name: '[部门员工]-' };
12159
+ if (this.nextCurrentOrgObjSelect.length > 0) {
12160
+ this.nextCurrentOrgObjSelect.map(function (x) {
12161
+ if (x.stype == 'employee') {
12162
+ obj.name = !obj.value ? obj.name + x.showname : obj.name + ',' + x.showname;
12163
+ obj.value = obj.value ? obj.value + ',' + x.showid : 'employee-' + x.showid;
12164
+ } else {
12165
+ data.push({
12166
+ name: '[部门]' + x.showname,
12167
+ value: 'department-' + x.showid
12168
+ });
12169
+ }
12170
+ });
12171
+ }
12172
+ obj.value && data.push(obj);
12173
+ if (this.nextOtherOrgObjSelect.length > 0) {
12174
+ this.nextOtherOrgObjSelect.map(function (x) {
12175
+ data.push({
12176
+ name: '[企业]' + x.showname,
12177
+ value: 'enterprise-' + x.showid
12178
+ });
12179
+ });
12180
+ }
12181
+ this.subProcessColumns = data;
12182
+ // return data;
12183
+ },
12184
+
11984
12185
  // 分阅是否多选
11985
12186
  isReadMultiple: function isReadMultiple(nextReadUserSelectType) {
11986
12187
  if (nextReadUserSelectType == 1) {
@@ -12713,6 +12914,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12713
12914
  if (type) {
12714
12915
  this.isNextUser = false;
12715
12916
  this.isShowNode = false;
12917
+ this.isMainSubProcess = false;
12716
12918
  this.nextNode.nextNodeId = '';
12717
12919
  this.nextNode.isReturnSubmitter = 0;
12718
12920
  this.nextNode.isUndertakeReply = 0;
@@ -12863,6 +13065,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12863
13065
  choiceOrgId = _res$data2.choiceOrgId,
12864
13066
  choiceDeptId = _res$data2.choiceDeptId,
12865
13067
  pOrgId = _res$data2.pOrgId,
13068
+ currentOrgName = _res$data2.currentOrgName,
13069
+ otherOrgName = _res$data2.otherOrgName,
12866
13070
  taskExamine = _res$data2.taskExamine,
12867
13071
  nodeInfoMap = _res$data2.nodeInfoMap,
12868
13072
  canRemoveSignUserList = _res$data2.canRemoveSignUserList,
@@ -12878,6 +13082,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12878
13082
  taskButtonList = _res$data2.taskButtonList;
12879
13083
 
12880
13084
  _this14.$emit('startTaskRead', res);
13085
+ _this14.currentOrgName = currentOrgName;
13086
+ _this14.otherOrgName = otherOrgName;
12881
13087
  _this14.endFlowInfo.choiceOrgId = choiceOrgId;
12882
13088
  _this14.endFlowInfo.choiceDeptId = choiceDeptId;
12883
13089
  _this14.endFlowInfo.pendingId = _this14.pendingId;
@@ -13029,7 +13235,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13029
13235
  }
13030
13236
  });
13031
13237
  }
13032
- _this14.isMainSubProcess = res.data.isMainSubProcess === true;
13238
+ _this14.isMainSubProcess = res.data.isMainSubProcess == 'true';
13033
13239
  _this14.isCustomPreset = isCustomPreset;
13034
13240
  _this14.isPreset = isPreset;
13035
13241
  _this14.presetTaskNodeMap = presetTaskNodeMap;
@@ -13221,7 +13427,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13221
13427
  switch (_context.prev = _context.next) {
13222
13428
  case 0:
13223
13429
  if (!valid) {
13224
- _context.next = 56;
13430
+ _context.next = 59;
13225
13431
  break;
13226
13432
  }
13227
13433
 
@@ -13311,6 +13517,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13311
13517
  return _context.abrupt('return');
13312
13518
 
13313
13519
  case 24:
13520
+ if (!(_this18.isHideCurrentOrg && !_this18.nextNode.nextCurrentOrgObjJson)) {
13521
+ _context.next = 27;
13522
+ break;
13523
+ }
13524
+
13525
+ _this18.$message.warning('\u8BF7\u9009\u62E9' + (_this18.currentOrgName || '本单位'));
13526
+ return _context.abrupt('return');
13527
+
13528
+ case 27:
13314
13529
  str = '';
13315
13530
 
13316
13531
  if (_this18.value) {
@@ -13330,10 +13545,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13330
13545
  if (_this18.nextNode.nextOperate != 0 && _this18.nextNode.nextOperate != 1) {
13331
13546
  delete _this18.nextNode.nextNodeId;
13332
13547
  }
13333
- _context.next = 32;
13548
+ _context.next = 35;
13334
13549
  return _this18.saveInfo('subMit');
13335
13550
 
13336
- case 32:
13551
+ case 35:
13337
13552
  _this18.loading = util["a" /* default */].loading(_this18.$loading, '加载中...');
13338
13553
 
13339
13554
  notificationType = '';
@@ -13395,10 +13610,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13395
13610
  }
13396
13611
  }));
13397
13612
 
13398
- case 56:
13613
+ case 59:
13399
13614
  return _context.abrupt('return', false);
13400
13615
 
13401
- case 57:
13616
+ case 60:
13402
13617
  case 'end':
13403
13618
  return _context.stop();
13404
13619
  }
@@ -13410,6 +13625,38 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13410
13625
  return _ref2.apply(this, arguments);
13411
13626
  };
13412
13627
  }());
13628
+ },
13629
+
13630
+ // 单位选择完回调
13631
+ disposeAppUnit: function disposeAppUnit(res, type) {
13632
+ var label = type.substring(0, type.lastIndexOf('Select'));
13633
+ this.nextNode[label + 'Name'] = '';
13634
+ res.options && (this[type] = res.options);
13635
+ var obj = {};
13636
+ // if (typeof res.mixList == 'array')
13637
+ res.mixList && (this.nextNode[label] = res.mixList.join('|'));
13638
+ res.options.map(function (item) {
13639
+ if (obj[item.stype]) {
13640
+ obj[item.stype].push(item.showname);
13641
+ } else {
13642
+ obj[item.stype] = [item.showname];
13643
+ }
13644
+ });
13645
+ for (var key in obj) {
13646
+ if (key === 'enterprise' && this.nextNode[label + 'Name'].indexOf('[企业]') == -1) {
13647
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[企业]-' + obj[key].join(',') : '' + '[企业]-' + obj[key].join(',');
13648
+ }
13649
+ if (key === 'department' && this.nextNode[label + 'Name'].indexOf('[部门]') == -1) {
13650
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[部门]-' + obj[key].join(',') : '' + '[部门]-' + obj[key].join(',');
13651
+ }
13652
+ if (key === 'employee' && this.nextNode[label + 'Name'].indexOf('[部门员工]') == -1) {
13653
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[部门员工]-' + obj[key].join(',') : '' + '[部门员工]-' + obj[key].join(',');
13654
+ }
13655
+ }
13656
+ // this.nextNode[label + 'Name'] = obj.enterprise?;
13657
+ this.nextNode[label + 'SerialId'] = res.nextUser.join(',');
13658
+ this.nextNode[label + 'Json'] = JSON.stringify(res.options);
13659
+ this.getsubProcessColumns();
13413
13660
  }
13414
13661
  }
13415
13662
  });