eoss-ui 0.6.83 → 0.6.85

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 (82) hide show
  1. package/lib/button-group.js +105 -93
  2. package/lib/button.js +105 -93
  3. package/lib/calogin.js +105 -93
  4. package/lib/checkbox-group.js +105 -93
  5. package/lib/data-table-form.js +105 -93
  6. package/lib/data-table.js +105 -93
  7. package/lib/date-picker.js +105 -93
  8. package/lib/dialog.js +105 -93
  9. package/lib/eoss-ui.common.js +540 -460
  10. package/lib/flow-group.js +112 -95
  11. package/lib/flow-list.js +105 -93
  12. package/lib/flow.js +309 -151
  13. package/lib/form.js +216 -264
  14. package/lib/handle-user.js +105 -93
  15. package/lib/handler.js +105 -93
  16. package/lib/icon.js +105 -93
  17. package/lib/icons.js +1 -1
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +105 -93
  20. package/lib/input.js +105 -93
  21. package/lib/login.js +112 -97
  22. package/lib/main.js +105 -93
  23. package/lib/nav.js +105 -93
  24. package/lib/page.js +105 -93
  25. package/lib/pagination.js +105 -93
  26. package/lib/player.js +105 -93
  27. package/lib/qr-code.js +105 -93
  28. package/lib/radio-group.js +105 -93
  29. package/lib/retrial-auth.js +105 -93
  30. package/lib/select-ganged.js +105 -93
  31. package/lib/select.js +105 -93
  32. package/lib/selector-panel.js +105 -93
  33. package/lib/selector.js +123 -99
  34. package/lib/sizer.js +105 -93
  35. package/lib/steps.js +105 -93
  36. package/lib/switch.js +105 -93
  37. package/lib/table-form.js +164 -190
  38. package/lib/tabs.js +105 -93
  39. package/lib/theme-chalk/base.css +1 -1
  40. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  41. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  42. package/lib/theme-chalk/icon.css +1 -1
  43. package/lib/theme-chalk/index.css +1 -1
  44. package/lib/theme-chalk/main.css +1 -1
  45. package/lib/theme-chalk/menu.css +1 -1
  46. package/lib/theme-chalk/simplicity.css +1 -1
  47. package/lib/theme-chalk/sizer.css +1 -1
  48. package/lib/theme-chalk/upload.css +1 -1
  49. package/lib/tips.js +105 -93
  50. package/lib/tree-group.js +105 -93
  51. package/lib/tree.js +105 -93
  52. package/lib/upload.js +105 -93
  53. package/lib/utils/util.js +105 -93
  54. package/lib/wujie.js +105 -93
  55. package/lib/wxlogin.js +105 -93
  56. package/package.json +1 -1
  57. package/packages/flow/src/component/taskUnionExamine.vue +18 -6
  58. package/packages/flow/src/main.vue +79 -24
  59. package/packages/flow/src/selectUser.vue +22 -8
  60. package/packages/flow/src/startTaskRead.vue +7 -0
  61. package/packages/flow/src/supervise.vue +5 -2
  62. package/packages/flow-group/src/main.vue +4 -0
  63. package/packages/form/src/main.vue +84 -72
  64. package/packages/form/src/table.vue +42 -36
  65. package/packages/icons/src/icon.json +1 -1
  66. package/packages/login/src/main.vue +5 -8
  67. package/packages/selector/src/main.vue +20 -4
  68. package/packages/theme-chalk/lib/base.css +1 -1
  69. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  70. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  71. package/packages/theme-chalk/lib/icon.css +1 -1
  72. package/packages/theme-chalk/lib/index.css +1 -1
  73. package/packages/theme-chalk/lib/main.css +1 -1
  74. package/packages/theme-chalk/lib/menu.css +1 -1
  75. package/packages/theme-chalk/lib/simplicity.css +1 -1
  76. package/packages/theme-chalk/lib/sizer.css +1 -1
  77. package/packages/theme-chalk/lib/upload.css +1 -1
  78. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  79. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  80. package/packages/theme-chalk/src/icon.scss +12 -0
  81. package/src/index.js +1 -1
  82. package/src/utils/util.js +141 -129
package/lib/wxlogin.js CHANGED
@@ -258,99 +258,7 @@ var ajax = function ajax(_ref) {
258
258
  }
259
259
  }
260
260
  if (response.status === 200) {
261
- if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
262
- removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
263
- var href = '';
264
- try {
265
- href = win.top.location.href;
266
- } catch (error) {
267
- href = win.location.href;
268
- }
269
- if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
270
- var remind = sessionStorage.getItem('remind');
271
- if (!remind) {
272
- clearTimeout(loginMsg);
273
- loginMsg = setTimeout(function () {
274
- sessionStorage.setItem('remind', 1);
275
- eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
276
- confirmButtonText: '确定',
277
- closeOnClickModal: false,
278
- type: 'warning'
279
- } : {
280
- confirmButtonText: '确定',
281
- cancelButtonText: '取消',
282
- closeOnClickModal: false,
283
- type: 'warning'
284
- }).then(function () {
285
- try {
286
- var loginPage = getStorage('login') || getStorage('loginPage');
287
- if (loginPage) {
288
- var src = void 0;
289
- if (!startWith(loginPage, ['http', '/'], true)) {
290
- var pathname = win.top.location.pathname;
291
- if (pathname !== '/') {
292
- pathname = pathname.split('/');
293
- pathname.splice(pathname.length - 1);
294
- pathname = pathname.join('/');
295
- src = pathname + '/' + loginPage.replace('./', '');
296
- } else {
297
- src = pathname + loginPage.replace('./', '');
298
- }
299
- } else {
300
- src = loginPage;
301
- }
302
- win.top.location.href = src;
303
- } else if (win.top.location.href.indexOf('main.html') > -1) {
304
- win.top.location.href = './login.html';
305
- } else {
306
- var hash = win.top.location.hash;
307
- if (hash) {
308
- var len = win.top.location.href.indexOf(hash);
309
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
310
- } else {
311
- win.top.location.href = '/login.html';
312
- }
313
- }
314
- } catch (error) {
315
- win.postMessage({ type: 1 }, '*');
316
- }
317
- }).catch(function (e) {
318
- sessionStorage.removeItem('remind');
319
- });
320
- }, 2000);
321
- }
322
- }
323
- } else if (response.data.rCode === 61) {
324
- clearTimeout(initAuth);
325
- initAuth = setTimeout(function () {
326
- Object(eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"])({
327
- title: '请进行二次鉴权',
328
- closeOnClickModal: false,
329
- closeOnPressEscape: false,
330
- showConfirmButton: false,
331
- dangerouslyUseHTMLString: true,
332
- scroll: false,
333
- customClass: 'es-retrial-auth-msg',
334
- render: function render(h, msgBox) {
335
- return h('es-retrial-auth', {
336
- ref: 'auth',
337
- props: {
338
- reload: response.data.results.reload || response.data.results.refresh,
339
- group: response.data.results.retrialAuthGroupIds,
340
- type: response.data.results.retrialAuthType,
341
- msgBox: msgBox
342
- }
343
- });
344
- },
345
- callback: function callback(res, obj) {
346
- obj.$children.forEach(function (item) {
347
- item.clearTimeouts && item.clearTimeouts();
348
- return;
349
- });
350
- }
351
- });
352
- }, 1000);
353
- }
261
+ responses(response.data);
354
262
  // eslint-disable-next-line no-undef
355
263
  return Promise.resolve(JSON.parse(JSON.stringify(response.data)));
356
264
  }
@@ -2871,6 +2779,109 @@ var replenish = function replenish(_ref15) {
2871
2779
  return data;
2872
2780
  };
2873
2781
 
2782
+ /**
2783
+ * responses
2784
+ * @desc:状态码响应
2785
+ * @author huangbo
2786
+ * @date 2022年5月7日
2787
+ * @param {object} [data] - 数字或字符串型数字
2788
+ **/
2789
+ var responses = function responses(data) {
2790
+ if (data.rCode === 64 || data.rCode === 65 || data.rCode === 67 || data.rCode === 69) {
2791
+ removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
2792
+ var href = '';
2793
+ try {
2794
+ href = win.top.location.href;
2795
+ } catch (error) {
2796
+ href = win.location.href;
2797
+ }
2798
+ if (href.indexOf('#/login') === -1 && href.indexOf('/login.html') === -1) {
2799
+ var remind = sessionStorage.getItem('remind');
2800
+ if (!remind) {
2801
+ clearTimeout(loginMsg);
2802
+ loginMsg = setTimeout(function () {
2803
+ sessionStorage.setItem('remind', 1);
2804
+ eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"].confirm(data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', data.rCode === 69 ? {
2805
+ confirmButtonText: '确定',
2806
+ closeOnClickModal: false,
2807
+ type: 'warning'
2808
+ } : {
2809
+ confirmButtonText: '确定',
2810
+ cancelButtonText: '取消',
2811
+ closeOnClickModal: false,
2812
+ type: 'warning'
2813
+ }).then(function () {
2814
+ try {
2815
+ var loginPage = getStorage('login') || getStorage('loginPage');
2816
+ if (loginPage) {
2817
+ var src = void 0;
2818
+ if (!startWith(loginPage, ['http', '/'], true)) {
2819
+ var pathname = win.top.location.pathname;
2820
+ if (pathname !== '/') {
2821
+ pathname = pathname.split('/');
2822
+ pathname.splice(pathname.length - 1);
2823
+ pathname = pathname.join('/');
2824
+ src = pathname + '/' + loginPage.replace('./', '');
2825
+ } else {
2826
+ src = pathname + loginPage.replace('./', '');
2827
+ }
2828
+ } else {
2829
+ src = loginPage;
2830
+ }
2831
+ win.top.location.href = src;
2832
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
2833
+ win.top.location.href = './login.html';
2834
+ } else {
2835
+ var hash = win.top.location.hash;
2836
+ if (hash) {
2837
+ var len = win.top.location.href.indexOf(hash);
2838
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
2839
+ } else {
2840
+ win.top.location.href = '/login.html';
2841
+ }
2842
+ }
2843
+ } catch (error) {
2844
+ win.postMessage({ type: 1 }, '*');
2845
+ }
2846
+ }).catch(function (e) {
2847
+ sessionStorage.removeItem('remind');
2848
+ });
2849
+ }, 2000);
2850
+ }
2851
+ }
2852
+ } else if (data.rCode === 61) {
2853
+ clearTimeout(initAuth);
2854
+ initAuth = setTimeout(function () {
2855
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_7__["MessageBox"])({
2856
+ title: '请进行二次鉴权',
2857
+ closeOnClickModal: false,
2858
+ closeOnPressEscape: false,
2859
+ showConfirmButton: false,
2860
+ dangerouslyUseHTMLString: true,
2861
+ scroll: false,
2862
+ customClass: 'es-retrial-auth-msg',
2863
+ render: function render(h, msgBox) {
2864
+ return h('es-retrial-auth', {
2865
+ ref: 'auth',
2866
+ props: {
2867
+ reload: data.results.reload || data.results.refresh,
2868
+ group: data.results.retrialAuthGroupIds,
2869
+ type: data.results.retrialAuthType,
2870
+ msgBox: msgBox
2871
+ }
2872
+ });
2873
+ },
2874
+ callback: function callback(res, obj) {
2875
+ obj.$children.forEach(function (item) {
2876
+ item.clearTimeouts && item.clearTimeouts();
2877
+ return;
2878
+ });
2879
+ }
2880
+ });
2881
+ }, 1000);
2882
+ }
2883
+ };
2884
+
2874
2885
  /**
2875
2886
  * rgbToHsv
2876
2887
  * @desc:rgb转化成hsv
@@ -3527,6 +3538,7 @@ var watermark = function watermark(option) {
3527
3538
  receiveMessage: receiveMessage,
3528
3539
  removeStorage: removeStorage,
3529
3540
  replenish: replenish,
3541
+ responses: responses,
3530
3542
  rgbToHsv: rgbToHsv,
3531
3543
  rmbToCapital: rmbToCapital,
3532
3544
  sendMessage: sendMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.6.83",
3
+ "version": "0.6.85",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -34,6 +34,8 @@
34
34
  "
35
35
  :multiple="newMultiple"
36
36
  :mix="currentMix"
37
+ :isUnionSeal="type == 'unionSeal'"
38
+ :selectUserList="unionSealData || []"
37
39
  @change="
38
40
  changeSelectUser(
39
41
  $event,
@@ -49,7 +51,7 @@
49
51
  ? ['enterprise', 'employee']
50
52
  : ['enterprise']
51
53
  "
52
- :params="type == 'startDraf'?otherParams:params"
54
+ :params="type == 'startDraf' || type == 'unionExamine'?otherParams:params"
53
55
  :tabs="currentOrgTabsParam"
54
56
  :disabled="disabled"
55
57
  :onlyName="onlyName"
@@ -180,6 +182,7 @@ export default {
180
182
  opinion: ''
181
183
  },
182
184
  onlyName: '',
185
+ unionSealData:[],
183
186
  currentOrgTabs: [],
184
187
  foreignOrgTabs: [],
185
188
  foreignOrgTabsParam: {},
@@ -335,10 +338,8 @@ export default {
335
338
  }
336
339
  }
337
340
  } = res;
338
- console.log(otherOrgDisabledObjId,'otherOrgDisabledObjId')
339
341
  if(otherOrgDisabledObjId){
340
342
  this.otherOrgDisabledObjId = otherOrgDisabledObjId.split(',')
341
- console.log( this.otherOrgDisabledObjId,otherOrgDisabledObjId.split(','))
342
343
  }
343
344
  if (res.data.customizedConfig) {
344
345
  if (res.data.customizedConfig.currentOrgSelectorCustomized) {
@@ -407,8 +408,19 @@ export default {
407
408
  }
408
409
  this.isOpinionRequired = isOpinionRequired;
409
410
  if (this.type == 'unionSeal') {
410
- this.onlyName = unionDispatchOrgName;
411
- this.infoList.nextOtherOrgObj.push(unionDispatchOrgId);
411
+ let names = unionDispatchOrgName.split(',')
412
+ let ids = unionDispatchOrgId.split(',')
413
+ names.map((x,i) => {
414
+ if(x){
415
+ this.unionSealData.push({
416
+ showname: x,
417
+ showid: ids[i]
418
+ })
419
+
420
+ }
421
+ })
422
+ // this.onlyName = unionDispatchOrgName;
423
+ // this.infoList.nextOtherOrgObj.push(unionDispatchOrgId);
412
424
  }
413
425
  if (this.type == 'twoOfficesDispatch') {
414
426
  this.onlyName = orgNames;
@@ -487,7 +499,7 @@ export default {
487
499
  data: {
488
500
  opinion,
489
501
  pendingId,
490
- nextOtherOrgObj: Array.isArray(nextOtherOrgObj)
502
+ nextOtherOrgObj:this.type == 'unionSeal'?this.unionSealData.map(x => x.showid).join(',') : Array.isArray(nextOtherOrgObj)
491
503
  ? nextOtherOrgObj.join(',')
492
504
  : nextOtherOrgObj,
493
505
  nextCurrentOrgObj: Array.isArray(nextCurrentOrgObj)
@@ -114,11 +114,13 @@
114
114
  :selectorConfig="selectorConfig"
115
115
  :resetAppId="resetAppId"
116
116
  :taskExamine="taskExamineInfo"
117
+ :subParams="subParams"
117
118
  :news-info="nextNode.notificationMsg"
118
119
  @cancel="closeProcess($event)"
119
120
  />
120
121
  <Supervise
121
122
  :businessId="businessId"
123
+ :appId="resetAppId"
122
124
  :simpleTips="simpleTips"
123
125
  @cancel="closeProcess($event)"
124
126
  v-else-if="typeCode == 'supervise'"
@@ -745,6 +747,31 @@
745
747
  </div>
746
748
  </div>
747
749
  </div>
750
+ <el-form
751
+ ref="nextNode"
752
+ :model="isFlow ? nodeInfo : nextNode"
753
+ v-if="isEndMessage"
754
+ class="demo-dynamic"
755
+ :label-width="
756
+ startFlowPageEmbeddedIntoStartFlowIndex ? '100px' : '120px'
757
+ "
758
+ style="padding:0px 8px"
759
+ :label-position="formLabelPosition"
760
+ >
761
+ <el-form-item
762
+ prop="nextItemHandleDescription"
763
+ label="办结意见"
764
+ >
765
+ <el-input
766
+ placeholder="请输入办结意见"
767
+ type="textarea"
768
+ :autosize="{ minRows: 2 }"
769
+ v-model="endMessage"
770
+ @change="handleEndMessageChange"
771
+ />
772
+ </el-form-item>
773
+ </el-form>
774
+
748
775
  <div
749
776
  class="es-flow-buttons"
750
777
  v-if="newTypeCode != 'fenyue' && !shrink"
@@ -760,7 +787,8 @@
760
787
  <el-button class="es-button-agree" @click="subProcess('不同意。')"
761
788
  >不同意</el-button
762
789
  >
763
- <el-button class="es-button-agree-save" @click="saveInfo()"
790
+ <el-button class="es-button-agree-save"
791
+ v-if="!isHideTemporarySave" @click="saveInfo()"
764
792
  >暂存</el-button
765
793
  >
766
794
  </div>
@@ -775,7 +803,7 @@
775
803
  >
776
804
  <el-button
777
805
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
778
- v-for="item of hideBtn ? btnList.slice(0, 1) : btnList"
806
+ v-for="item of hideBtn || isHideTemporarySave ? btnList.slice(0, 1) : btnList"
779
807
  :key="item.name"
780
808
  :type="item.type"
781
809
  :style="btnStyle"
@@ -987,6 +1015,7 @@
987
1015
  :type="taskReadType"
988
1016
  :selectorConfig="selectorConfig"
989
1017
  :simpleTips="simpleTips"
1018
+ :subParams="subParams"
990
1019
  :taskExamine="taskExamineInfo"
991
1020
  :news-info="nextNode.notificationMsg"
992
1021
  @cancel="closeProcess($event, 'showTaskRead')"
@@ -1183,13 +1212,17 @@ export default {
1183
1212
  rows: {
1184
1213
  type: [String, Number],
1185
1214
  default: 10
1186
- }
1215
+ },
1216
+ isEndMessage: { type: Boolean, default: false },
1187
1217
  },
1188
1218
  data() {
1189
1219
  return {
1190
1220
  styles: {},
1191
1221
  optionsKey: 0,
1192
- taskOperationShiftedNodeList:null,
1222
+ endMessage:'',
1223
+ isHideTemporarySave:false,
1224
+ oldNextOperate:'',
1225
+ taskOperationShiftedNodeList: null,
1193
1226
  currentNodeEnableItemHandleDescription: false,
1194
1227
  startFlowPageEmbeddedIntoStartFlowIndex: false,
1195
1228
  pendingItemHandleDescription: '',
@@ -1494,6 +1527,9 @@ export default {
1494
1527
  }
1495
1528
  },
1496
1529
  methods: {
1530
+ handleEndMessageChange(){
1531
+ this.$emit('endMessageChange',this.endMessage)
1532
+ },
1497
1533
  getInfo() {
1498
1534
  if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
1499
1535
  this.getNodeType();
@@ -1520,6 +1556,7 @@ export default {
1520
1556
  };
1521
1557
  util.ajax(params).then((res) => {
1522
1558
  if (res.status == 'success') {
1559
+ this.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1
1523
1560
  this.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
1524
1561
  this.directCreateCircularReadWhenFlowStarted =
1525
1562
  res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
@@ -2215,7 +2252,7 @@ export default {
2215
2252
  } else if (res.fun === 'toUnionSeal()') {
2216
2253
  // 联合用印
2217
2254
  this.flowType = 'unionSeal';
2218
- this.flowDisabled = true;
2255
+ this.flowDisabled = false;
2219
2256
  this.flowTitle = res.value;
2220
2257
  this.toStartDraf(res);
2221
2258
  } else if (res.fun == 'toTwoOfficesDispatch()') {
@@ -2586,6 +2623,12 @@ export default {
2586
2623
  } else {
2587
2624
  this.nextNode.nextUserId = '';
2588
2625
  }
2626
+ if(isNextNode){
2627
+ this.oldNextOperate = this.operationList.filter((x) => x.key == val)[0]
2628
+ .nextOperate
2629
+ }else{
2630
+ this.oldNextOperate = ''
2631
+ }
2589
2632
  this.options = [];
2590
2633
  this.selectUserList = [];
2591
2634
  this.radioList = [];
@@ -2614,11 +2657,12 @@ export default {
2614
2657
  } else {
2615
2658
  this.nodeInfos = item.taskNodeList;
2616
2659
 
2617
- if(this.taskOperationShiftedNodeList){
2618
- this.nodeInfos = item.taskNodeList.filter(
2619
- (x) =>this.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1
2620
- );
2621
- }
2660
+ if (this.taskOperationShiftedNodeList) {
2661
+ this.nodeInfos = item.taskNodeList.filter(
2662
+ (x) =>
2663
+ this.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1
2664
+ );
2665
+ }
2622
2666
  }
2623
2667
  return;
2624
2668
  }
@@ -2636,9 +2680,9 @@ export default {
2636
2680
  this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
2637
2681
  }
2638
2682
  }
2639
- if(isNextNode){
2683
+ if (isNextNode) {
2640
2684
  this.nodeInfos = [];
2641
- this.nextNode.nextNodeId = val
2685
+ this.nextNode.nextNodeId = val;
2642
2686
  }
2643
2687
  if (val === 9) {
2644
2688
  this.isReject = true;
@@ -2790,13 +2834,22 @@ export default {
2790
2834
  }
2791
2835
  this.$emit('startTaskRead', res);
2792
2836
  this.$emit('start-task-read', res);
2793
- if(taskOperationShiftedNodeList && taskOperationShiftedNodeList.length>0){
2794
- this.taskOperationShiftedNodeList = []
2795
- taskOperationShiftedNodeList.map(x =>{
2796
- this.taskOperationShiftedNodeList.push(x.nodeId)
2797
- taskOperations.push({key: x.nodeId, value: x.nodeName,isNextNode: true})
2798
- })
2837
+ if (
2838
+ taskOperationShiftedNodeList &&
2839
+ taskOperationShiftedNodeList.length > 0
2840
+ ) {
2841
+ this.taskOperationShiftedNodeList = [];
2842
+ taskOperationShiftedNodeList.map((x) => {
2843
+ this.taskOperationShiftedNodeList.push(x.nodeId);
2844
+ taskOperations.push({
2845
+ key: x.nodeId,
2846
+ value: x.nodeName,
2847
+ nextOperate:x.nextOperate,
2848
+ isNextNode: true
2849
+ });
2850
+ });
2799
2851
  }
2852
+ this.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1
2800
2853
  this.pendingItemHandleDescription = pendingItemHandleDescription;
2801
2854
  if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
2802
2855
  this.currentOrgSelectorTabs =
@@ -3056,7 +3109,7 @@ export default {
3056
3109
  closeProcess(val, type, closeParent) {
3057
3110
  if (closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
3058
3111
  this.$refs[type].handleClosed();
3059
- } else if(!this.startFlowPageEmbeddedIntoStartFlowIndex){
3112
+ } else if (!this.startFlowPageEmbeddedIntoStartFlowIndex) {
3060
3113
  this[type] = false;
3061
3114
  }
3062
3115
  if (
@@ -3069,7 +3122,8 @@ export default {
3069
3122
  if (
3070
3123
  val == 'taskReadAndEnd' ||
3071
3124
  (val == true && type != 'taskRead') ||
3072
- val == 'transfer' || this.typeCode == 'read'
3125
+ val == 'transfer' ||
3126
+ this.typeCode == 'read'
3073
3127
  ) {
3074
3128
  this.flowSuccess(true);
3075
3129
  // this.$emit('success');
@@ -3244,7 +3298,6 @@ export default {
3244
3298
  * @date 2022年5月25日
3245
3299
  **/
3246
3300
  subProcess(val, type) {
3247
-
3248
3301
  return this.$refs['nextNode'].validate((valid) => {
3249
3302
  if (valid) {
3250
3303
  if (this.isSubmitButtonShowAgreeAndDisagree == 1) {
@@ -3414,14 +3467,14 @@ export default {
3414
3467
  delete this.nextNode.nextOperate;
3415
3468
  delete this.nextNode.nextNodeId;
3416
3469
  }
3417
- if (this.nextNode.nextOperate === 9) {
3470
+ if (this.nextNode.nextOperate === 9 || this.oldNextOperate == 9) {
3418
3471
  this.nextNode.isReturnRejectNode = 1;
3419
3472
  this.nextNode.processDefinitionId =
3420
3473
  this.processObj.taskExamine.processDefinitionId;
3421
3474
  }
3422
3475
  if (
3423
- this.nextNode.nextOperate != 0 &&
3424
- this.nextNode.nextOperate != 1
3476
+ (this.nextNode.nextOperate != 0 &&
3477
+ this.nextNode.nextOperate != 1 && this.oldNextOperate === '') || (this.oldNextOperate !== '' && this.oldNextOperate != 0 && this.oldNextOperate != 1)
3425
3478
  ) {
3426
3479
  delete this.nextNode.nextNodeId;
3427
3480
  }
@@ -3437,8 +3490,10 @@ export default {
3437
3490
  if (!this.isCanPreAddSign || this.nextNode.isAddSign != '1') {
3438
3491
  delete this.nextNode.addSignMode;
3439
3492
  }
3493
+
3440
3494
  let params = {
3441
3495
  ...this.nextNode,
3496
+ nextOperate:this.oldNextOperate!==''?this.oldNextOperate : this.nextNode.nextOperate,
3442
3497
  pendingId: this.pendingId,
3443
3498
  opinion:
3444
3499
  this.isForceDisplayDefaultOptionForPrefix &&
@@ -68,18 +68,22 @@
68
68
  :title="title"
69
69
  max="5"
70
70
  :mix="mix"
71
+ :min="isUnionSeal ? 1 : 0"
71
72
  :disabled="!isCustomUser || isCurrentNodeForbiddenChangeCandidate == 1"
72
- :filterable="Boolean(isCustomUser)"
73
+ :filterable="Boolean(isCustomUser && !isUnionSeal)"
73
74
  :class="
74
- isCustomUser && isCurrentNodeForbiddenChangeCandidate == 0
75
+ isCustomUser &&
76
+ isCurrentNodeForbiddenChangeCandidate == 0 &&
77
+ !isUnionSeal
75
78
  ? ''
76
79
  : 'no-icon'
77
80
  "
81
+ :select="isUnionSeal == false"
78
82
  :where="newWhere"
79
83
  :multiple="newMultiple"
80
84
  @cancel="cancelSelectUser"
81
85
  @change="getSelectUser"
82
- :param="{...newParams,info:'no'}"
86
+ :param="{ ...newParams, info: 'no' }"
83
87
  :disableds="disableds"
84
88
  ><i class="es-icon-user"></i
85
89
  ></es-selector>
@@ -103,11 +107,15 @@ export default {
103
107
  tabs: {
104
108
  type: Object
105
109
  },
110
+ isUnionSeal: {
111
+ type: Boolean,
112
+ default: false
113
+ },
106
114
  nextUser: {
107
115
  default: () => []
108
116
  },
109
- disableds:{
110
- type:Array,
117
+ disableds: {
118
+ type: Array,
111
119
  default: () => []
112
120
  },
113
121
  radioList: {
@@ -185,9 +193,15 @@ export default {
185
193
  newRadioList: []
186
194
  };
187
195
  },
188
- computed:{
189
- newWhere(){
190
- return {mid:`${JSON.parse(util.getStorage('mainConfig')).userModel.orgId}-org-1`,filid:JSON.parse(util.getStorage('mainConfig')).userModel.orgId,...this.where}
196
+ computed: {
197
+ newWhere() {
198
+ return {
199
+ mid: `${
200
+ JSON.parse(util.getStorage('mainConfig')).userModel.orgId
201
+ }-org-1`,
202
+ filid: JSON.parse(util.getStorage('mainConfig')).userModel.orgId,
203
+ ...this.where
204
+ };
191
205
  }
192
206
  },
193
207
  watch: {
@@ -196,6 +196,10 @@ export default {
196
196
  selectorConfig: { type: [Object, undefined], default: undefined },
197
197
  param: { type: Object, default: () => {} },
198
198
  taskExamine: { type: Object, default: () => {} },
199
+ subParams:{
200
+ type: [Object, undefined],
201
+ default: undefined
202
+ },
199
203
  readParams: {
200
204
  type: [Object, undefined],
201
205
  default: undefined
@@ -601,6 +605,9 @@ export default {
601
605
  if (this.readParams) {
602
606
  params = { ...params, ...this.readParams };
603
607
  }
608
+ if(this.subParams){
609
+ params = { ...params, ...this.subParams };
610
+ }
604
611
  util
605
612
  .ajax({
606
613
  url: taskReadHtml,
@@ -65,12 +65,13 @@
65
65
  import { toTaskSupervise, toTaskSuperviseSub } from 'eoss-ui/src/config/api';
66
66
  import util from 'eoss-ui/src/utils/util';
67
67
  export default {
68
- name:'supervise',
68
+ name: 'supervise',
69
69
  props: {
70
70
  businessId: {
71
71
  type: String,
72
72
  default: ''
73
73
  },
74
+ appId: { type: String, default: '' }
74
75
  },
75
76
  data() {
76
77
  return {
@@ -102,7 +103,8 @@ export default {
102
103
  urgeUserIds: pendingUserIds,
103
104
  notificationType: noticeType.join(','),
104
105
  notificationMessage: notifyMessage,
105
- businessId: this.businessId
106
+ businessId: this.businessId,
107
+ appId: this.appId
106
108
  }
107
109
  };
108
110
  this.loading = util.loading(this.$loading, '提交中...');
@@ -124,6 +126,7 @@ export default {
124
126
  url: toTaskSupervise,
125
127
  params: {
126
128
  businessId: this.businessId,
129
+ appId: this.appId,
127
130
  userId: util.getStorage('userId')
128
131
  }
129
132
  })
@@ -437,6 +437,7 @@
437
437
  @startTaskRead="handleTaskRead"
438
438
  @success="handleSuccess"
439
439
  @save="handleSave"
440
+ @endMessageChange="handleEndMessageChange"
440
441
  :closeParent="closeParent"
441
442
  ></es-flow>
442
443
  <slot></slot>
@@ -656,6 +657,9 @@ export default {
656
657
  this.injector.handleChangeData({ appId: this.taskExamineAppId });
657
658
  }
658
659
  },
660
+ handleEndMessageChange(val){
661
+ this.$emit('endMessageChange',val)
662
+ },
659
663
  handleSuccess() {
660
664
  if (this.closeDialog && this.esDialog) {
661
665
  this.esDialog.handleClose();