eoss-ui 0.7.89 → 0.7.91

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 (162) hide show
  1. package/lib/button-group.js +16 -0
  2. package/lib/button.js +18 -2
  3. package/lib/calogin.js +16 -0
  4. package/lib/checkbox-group.js +16 -0
  5. package/lib/data-table-form.js +16 -0
  6. package/lib/data-table.js +32 -19
  7. package/lib/date-picker.js +16 -0
  8. package/lib/dialog.js +27 -6
  9. package/lib/eoss-ui.common.js +769 -757
  10. package/lib/flow-group.js +30 -15
  11. package/lib/flow-list.js +112 -96
  12. package/lib/flow.js +178 -162
  13. package/lib/form.js +16 -0
  14. package/lib/handle-user.js +19 -3
  15. package/lib/handler.js +26 -10
  16. package/lib/icon.js +16 -0
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +16 -0
  19. package/lib/input.js +16 -0
  20. package/lib/login.js +16 -0
  21. package/lib/main.js +397 -386
  22. package/lib/nav.js +16 -0
  23. package/lib/page.js +16 -0
  24. package/lib/pagination.js +19 -3
  25. package/lib/player.js +16 -0
  26. package/lib/qr-code.js +16 -0
  27. package/lib/radio-group.js +16 -0
  28. package/lib/retrial-auth.js +22 -6
  29. package/lib/select-ganged.js +16 -0
  30. package/lib/select.js +18 -2
  31. package/lib/selector-panel.js +16 -0
  32. package/lib/selector.js +16 -0
  33. package/lib/sizer.js +16 -0
  34. package/lib/steps.js +16 -0
  35. package/lib/switch.js +16 -0
  36. package/lib/table-form.js +16 -0
  37. package/lib/tabs.js +16 -0
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/login.css +1 -1
  40. package/lib/tips.js +16 -0
  41. package/lib/tree-group.js +19 -3
  42. package/lib/tree.js +16 -0
  43. package/lib/upload.js +16 -0
  44. package/lib/utils/util.js +16 -0
  45. package/lib/wujie.js +16 -0
  46. package/lib/wxlogin.js +16 -0
  47. package/package.json +1 -1
  48. package/packages/.DS_Store +0 -0
  49. package/packages/button/src/main.vue +2 -2
  50. package/packages/button-group/src/main.vue +346 -346
  51. package/packages/calogin/.DS_Store +0 -0
  52. package/packages/calogin/src/main.vue +412 -412
  53. package/packages/clients/src/main.vue +151 -151
  54. package/packages/data-table/src/column.vue +2 -5
  55. package/packages/data-table/src/main.vue +4 -3
  56. package/packages/date-picker/.DS_Store +0 -0
  57. package/packages/date-picker/src/.DS_Store +0 -0
  58. package/packages/dialog/.DS_Store +0 -0
  59. package/packages/dialog/src/main.vue +11 -4
  60. package/packages/flow/.DS_Store +0 -0
  61. package/packages/flow/src/.DS_Store +0 -0
  62. package/packages/flow/src/component/Circulate.vue +417 -417
  63. package/packages/flow/src/component/CommonOpinions.vue +376 -376
  64. package/packages/flow/src/component/CustomPreset.vue +324 -324
  65. package/packages/flow/src/component/FileList.vue +97 -97
  66. package/packages/flow/src/component/FreeCirculation.vue +244 -244
  67. package/packages/flow/src/component/Preset.vue +257 -257
  68. package/packages/flow/src/component/SendMsg.vue +242 -242
  69. package/packages/flow/src/component/SortFlow.vue +110 -110
  70. package/packages/flow/src/component/taskUnionExamine.vue +761 -761
  71. package/packages/flow/src/form.vue +123 -123
  72. package/packages/flow/src/freeStartFlow.vue +2855 -2855
  73. package/packages/flow/src/processForm.vue +1680 -1680
  74. package/packages/flow/src/processReject.vue +309 -309
  75. package/packages/flow/src/reset.vue +946 -946
  76. package/packages/flow/src/startTaskRead.vue +695 -695
  77. package/packages/flow/src/supervise.vue +159 -159
  78. package/packages/flow/src/table.vue +58 -58
  79. package/packages/flow-group/src/main.vue +728 -727
  80. package/packages/flow-list/.DS_Store +0 -0
  81. package/packages/flow-list/src/main.vue +2337 -2337
  82. package/packages/form/.DS_Store +0 -0
  83. package/packages/form/src/main.vue +3901 -3901
  84. package/packages/form/src/table.vue +1512 -1512
  85. package/packages/handle-user/src/main.vue +137 -137
  86. package/packages/handler/src/main.vue +10 -8
  87. package/packages/icon/.DS_Store +0 -0
  88. package/packages/icon/src/main.vue +104 -104
  89. package/packages/login/.DS_Store +0 -0
  90. package/packages/login/src/main.vue +2087 -2087
  91. package/packages/login/src/resetPassword.vue +557 -557
  92. package/packages/main/.DS_Store +0 -0
  93. package/packages/main/src/.DS_Store +0 -0
  94. package/packages/main/src/default/userinfo.vue +505 -503
  95. package/packages/main/src/main.vue +10 -15
  96. package/packages/main/src/public/online.vue +89 -89
  97. package/packages/main/src/public/search.vue +464 -464
  98. package/packages/main/src/public/settings.vue +273 -273
  99. package/packages/main/src/simplicity/apps.vue +388 -388
  100. package/packages/main/src/simplicity/avatar.vue +82 -82
  101. package/packages/main/src/simplicity/handler.vue +158 -158
  102. package/packages/main/src/simplicity/index.vue +2330 -2328
  103. package/packages/main/src/simplicity/menu-list.vue +135 -135
  104. package/packages/main/src/simplicity/message.vue +293 -293
  105. package/packages/main/src/simplicity/notice.vue +222 -222
  106. package/packages/main/src/simplicity/sub-menu.vue +276 -276
  107. package/packages/main/src/simplicity/user.vue +259 -259
  108. package/packages/main/src/simplicity/userinfo.vue +403 -401
  109. package/packages/main/src/simplicityTop/apps.vue +388 -388
  110. package/packages/main/src/simplicityTop/avatar.vue +82 -82
  111. package/packages/main/src/simplicityTop/handler.vue +215 -215
  112. package/packages/main/src/simplicityTop/index.vue +2620 -2618
  113. package/packages/main/src/simplicityTop/lists.vue +84 -84
  114. package/packages/main/src/simplicityTop/menu-list.vue +135 -135
  115. package/packages/main/src/simplicityTop/message.vue +293 -293
  116. package/packages/main/src/simplicityTop/notice.vue +222 -222
  117. package/packages/main/src/simplicityTop/router-page.vue +45 -45
  118. package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
  119. package/packages/main/src/simplicityTop/user.vue +259 -259
  120. package/packages/main/src/simplicityTop/userinfo.vue +403 -401
  121. package/packages/menu/.DS_Store +0 -0
  122. package/packages/menu/src/main.vue +595 -595
  123. package/packages/nav/src/main.vue +351 -351
  124. package/packages/pagination/src/main.vue +1 -1
  125. package/packages/retrial-auth/src/main.vue +4 -4
  126. package/packages/select/.DS_Store +0 -0
  127. package/packages/select/src/main.vue +2 -2
  128. package/packages/selector/.DS_Store +0 -0
  129. package/packages/selector/src/main.vue +761 -761
  130. package/packages/selector-panel/.DS_Store +0 -0
  131. package/packages/selector-panel/src/main.vue +1036 -1036
  132. package/packages/selector-panel/src/selection.vue +174 -174
  133. package/packages/switch/src/main.vue +170 -170
  134. package/packages/theme-chalk/lib/index.css +1 -1
  135. package/packages/theme-chalk/lib/login.css +1 -1
  136. package/packages/theme-chalk/src/.DS_Store +0 -0
  137. package/packages/theme-chalk/src/data-table.scss +297 -297
  138. package/packages/theme-chalk/src/flow-list.scss +55 -55
  139. package/packages/theme-chalk/src/flow.scss +373 -373
  140. package/packages/theme-chalk/src/form.scss +501 -501
  141. package/packages/theme-chalk/src/handler.scss +148 -148
  142. package/packages/theme-chalk/src/icon.scss +3452 -3452
  143. package/packages/theme-chalk/src/login.scss +1006 -1006
  144. package/packages/theme-chalk/src/main.scss +664 -664
  145. package/packages/theme-chalk/src/menu.scss +224 -224
  146. package/packages/theme-chalk/src/selector.scss +114 -114
  147. package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
  148. package/packages/theme-chalk/src/simplicity.scss +1403 -1403
  149. package/packages/theme-chalk/src/tree.scss +165 -165
  150. package/packages/theme-chalk/src/upload.scss +172 -172
  151. package/packages/tips/src/main.vue +141 -141
  152. package/packages/toolbar/src/main.vue +430 -430
  153. package/packages/tree-group/src/main.vue +2 -1
  154. package/packages/upload/.DS_Store +0 -0
  155. package/packages/upload/src/main.vue +1344 -1344
  156. package/packages/wujie/src/main.vue +146 -146
  157. package/src/.DS_Store +0 -0
  158. package/src/config/api.js +348 -348
  159. package/src/index.js +163 -163
  160. package/src/utils/.DS_Store +0 -0
  161. package/src/utils/rules.js +18 -18
  162. package/src/utils/util.js +16 -0
package/lib/flow.js CHANGED
@@ -2128,6 +2128,21 @@ var getWeekday = function getWeekday(date) {
2128
2128
  // Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
2129
2129
  return adjustedDay === 0 ? 7 : adjustedDay;
2130
2130
  };
2131
+ /**
2132
+ * getWinTop
2133
+ * @desc 获取同域的top窗口
2134
+ * @param {object} [wind] - window对象
2135
+ * @return {Window} 同域的top窗口
2136
+ **/
2137
+ var getWinTop = function getWinTop(wind) {
2138
+ wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
2139
+ try {
2140
+ wind.parent.document;
2141
+ return getWinTop(wind.parent);
2142
+ } catch (error) {
2143
+ return wind;
2144
+ }
2145
+ };
2131
2146
 
2132
2147
  /**
2133
2148
  * getZoom
@@ -3873,6 +3888,7 @@ var winTopOpen = function winTopOpen(config) {
3873
3888
  getTypeName: getTypeName,
3874
3889
  getValues: getValues,
3875
3890
  getWeekday: getWeekday,
3891
+ getWinTop: getWinTop,
3876
3892
  handlerUrl: handlerUrl,
3877
3893
  hasChars: hasChars,
3878
3894
  hasClass: hasClass,
@@ -8656,21 +8672,21 @@ var _components;
8656
8672
  return validSate;
8657
8673
  },
8658
8674
 
8659
- /**
8660
- * changeOpinion
8661
- * @desc:监听意见变化
8662
- * @author liufan
8663
- * @date 2022年10月28日
8675
+ /**
8676
+ * changeOpinion
8677
+ * @desc:监听意见变化
8678
+ * @author liufan
8679
+ * @date 2022年10月28日
8664
8680
  **/
8665
8681
  changeOpinion: function changeOpinion() {
8666
8682
  this.$emit('change', this.form.value);
8667
8683
  },
8668
8684
 
8669
- /**
8670
- * getCommonOpion
8671
- * @desc:获取意见
8672
- * @author liufan
8673
- * @date 2022年5月25日
8685
+ /**
8686
+ * getCommonOpion
8687
+ * @desc:获取意见
8688
+ * @author liufan
8689
+ * @date 2022年5月25日
8674
8690
  **/
8675
8691
  getCommonOpion: function getCommonOpion() {
8676
8692
  var _this = this;
@@ -8699,24 +8715,24 @@ var _components;
8699
8715
  });
8700
8716
  },
8701
8717
 
8702
- /**
8703
- * upDate
8704
- * @desc:修改常用语
8705
- * @author liufan
8706
- * @param {Object} val 修改值
8707
- * @date 2022年5月25日
8718
+ /**
8719
+ * upDate
8720
+ * @desc:修改常用语
8721
+ * @author liufan
8722
+ * @param {Object} val 修改值
8723
+ * @date 2022年5月25日
8708
8724
  **/
8709
8725
  upDate: function upDate(val) {
8710
8726
  this.FormData.id = val.id;
8711
8727
  this.addVisible = true;
8712
8728
  },
8713
8729
 
8714
- /**
8715
- * selectChange
8716
- * @desc:常用语选择
8717
- * @author liufan
8718
- * @param {String} val 选中值
8719
- * @date 2022年5月25日
8730
+ /**
8731
+ * selectChange
8732
+ * @desc:常用语选择
8733
+ * @author liufan
8734
+ * @param {String} val 选中值
8735
+ * @date 2022年5月25日
8720
8736
  **/
8721
8737
  selectChange: function selectChange(val) {
8722
8738
  var _this2 = this;
@@ -8735,12 +8751,12 @@ var _components;
8735
8751
  });
8736
8752
  },
8737
8753
 
8738
- /**
8739
- * del
8740
- * @desc:删除常用语
8741
- * @author liufan
8742
- * @param {Object} val 删除的数据
8743
- * @date 2022年5月25日
8754
+ /**
8755
+ * del
8756
+ * @desc:删除常用语
8757
+ * @author liufan
8758
+ * @param {Object} val 删除的数据
8759
+ * @date 2022年5月25日
8744
8760
  **/
8745
8761
  del: function del(val) {
8746
8762
  var _this3 = this;
@@ -8782,12 +8798,12 @@ var _components;
8782
8798
  }).catch(function (e) {});
8783
8799
  },
8784
8800
 
8785
- /**
8786
- * submit
8787
- * @desc:新增/编辑意见保存
8788
- * @author liufan
8789
- * @param {Object} val 保存数据
8790
- * @date 2022年5月25日
8801
+ /**
8802
+ * submit
8803
+ * @desc:新增/编辑意见保存
8804
+ * @author liufan
8805
+ * @param {Object} val 保存数据
8806
+ * @date 2022年5月25日
8791
8807
  **/
8792
8808
  submit: function submit(val) {
8793
8809
  var _this4 = this;
@@ -12603,11 +12619,11 @@ var processFormvue_type_script_lang_js_components;
12603
12619
  });
12604
12620
  },
12605
12621
 
12606
- /**
12607
- * isMultiple
12608
- * @desc:是否多选
12609
- * @author liufan
12610
- * @date 2022年9月13日
12622
+ /**
12623
+ * isMultiple
12624
+ * @desc:是否多选
12625
+ * @author liufan
12626
+ * @date 2022年9月13日
12611
12627
  **/
12612
12628
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
12613
12629
  var multiple = false;
@@ -16665,11 +16681,11 @@ var resetvue_type_script_lang_js_components;
16665
16681
  });
16666
16682
  },
16667
16683
 
16668
- /**
16669
- * isMultiple
16670
- * @desc:是否多选
16671
- * @author liufan
16672
- * @date 2022年9月13日
16684
+ /**
16685
+ * isMultiple
16686
+ * @desc:是否多选
16687
+ * @author liufan
16688
+ * @date 2022年9月13日
16673
16689
  **/
16674
16690
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
16675
16691
  var multiple = false;
@@ -21258,11 +21274,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21258
21274
  });
21259
21275
  },
21260
21276
 
21261
- /**
21262
- * saveInfo
21263
- * @desc:暂存
21264
- * @author liufan
21265
- * @date 2022年9月9日
21277
+ /**
21278
+ * saveInfo
21279
+ * @desc:暂存
21280
+ * @author liufan
21281
+ * @date 2022年9月9日
21266
21282
  **/
21267
21283
  saveInfo: function saveInfo(type, btn) {
21268
21284
  var _this6 = this;
@@ -21324,11 +21340,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21324
21340
  });
21325
21341
  },
21326
21342
 
21327
- /**
21328
- * rejectBtn
21329
- * @desc:点击驳回
21330
- * @author liufan
21331
- * @date 2022年5月25日
21343
+ /**
21344
+ * rejectBtn
21345
+ * @desc:点击驳回
21346
+ * @author liufan
21347
+ * @date 2022年5月25日
21332
21348
  **/
21333
21349
  rejectBtn: function rejectBtn() {
21334
21350
  var _this8 = this;
@@ -21346,11 +21362,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21346
21362
  }
21347
21363
  },
21348
21364
 
21349
- /**
21350
- * taskReadBtn
21351
- * @desc:点击分阅
21352
- * @author liufan
21353
- * @date 2022年5月25日
21365
+ /**
21366
+ * taskReadBtn
21367
+ * @desc:点击分阅
21368
+ * @author liufan
21369
+ * @date 2022年5月25日
21354
21370
  **/
21355
21371
  taskReadBtn: function taskReadBtn() {
21356
21372
  var _this9 = this;
@@ -21369,11 +21385,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21369
21385
  }
21370
21386
  },
21371
21387
 
21372
- /**
21373
- * getFind
21374
- * @desc:获取通知方式
21375
- * @author liufan
21376
- * @date 2022年5月25日
21388
+ /**
21389
+ * getFind
21390
+ * @desc:获取通知方式
21391
+ * @author liufan
21392
+ * @date 2022年5月25日
21377
21393
  **/
21378
21394
  getFind: function getFind() {
21379
21395
  var _this10 = this;
@@ -21428,12 +21444,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21428
21444
  });
21429
21445
  },
21430
21446
 
21431
- /**
21432
- * endFlows
21433
- * @desc:直接办结
21434
- * @author liufan
21435
- * @param {Object} res 直接办结数据
21436
- * @date 2022年5月25日
21447
+ /**
21448
+ * endFlows
21449
+ * @desc:直接办结
21450
+ * @author liufan
21451
+ * @param {Object} res 直接办结数据
21452
+ * @date 2022年5月25日
21437
21453
  **/
21438
21454
  endFlows: function endFlows(res) {
21439
21455
  var _this12 = this;
@@ -21487,12 +21503,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21487
21503
  }).catch(function (e) {});
21488
21504
  },
21489
21505
 
21490
- /**
21491
- * goView
21492
- * @desc:更多流程按钮操作
21493
- * @author liufan
21494
- * @param {Object} res 当前点击操作按钮数据
21495
- * @date 2022年5月25日
21506
+ /**
21507
+ * goView
21508
+ * @desc:更多流程按钮操作
21509
+ * @author liufan
21510
+ * @param {Object} res 当前点击操作按钮数据
21511
+ * @date 2022年5月25日
21496
21512
  **/
21497
21513
  goView: function goView(res) {
21498
21514
  // 驳回并办结:rejectAndEndHtml
@@ -21577,11 +21593,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21577
21593
  // isCanStartSubFlow
21578
21594
  },
21579
21595
 
21580
- /**
21581
- * toTakeAdvice
21582
- * @desc:征求意见
21583
- * @author liufan
21584
- * @date 2022年9月29日
21596
+ /**
21597
+ * toTakeAdvice
21598
+ * @desc:征求意见
21599
+ * @author liufan
21600
+ * @date 2022年9月29日
21585
21601
  **/
21586
21602
  toTakeAdvice: function toTakeAdvice(res) {
21587
21603
  var _this14 = this;
@@ -21625,11 +21641,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21625
21641
  });
21626
21642
  },
21627
21643
 
21628
- /**
21629
- * toStartDraf
21630
- * @desc: 稿件递送、联合审核、复核
21631
- * @author liufan
21632
- * @date 2022年9月29日
21644
+ /**
21645
+ * toStartDraf
21646
+ * @desc: 稿件递送、联合审核、复核
21647
+ * @author liufan
21648
+ * @date 2022年9月29日
21633
21649
  **/
21634
21650
  toStartDraf: function toStartDraf(res) {
21635
21651
  var _this16 = this;
@@ -21643,11 +21659,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21643
21659
  }
21644
21660
  },
21645
21661
 
21646
- /**
21647
- * toSendMsg
21648
- * @desc:核稿通知
21649
- * @author liufan
21650
- * @date 2022年9月29日
21662
+ /**
21663
+ * toSendMsg
21664
+ * @desc:核稿通知
21665
+ * @author liufan
21666
+ * @date 2022年9月29日
21651
21667
  **/
21652
21668
  toSendMsg: function toSendMsg(res) {
21653
21669
  var _this17 = this;
@@ -21661,11 +21677,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21661
21677
  }
21662
21678
  },
21663
21679
 
21664
- /**
21665
- * toTaskReadAndEnd
21666
- * @desc:分阅并办结
21667
- * @author liufan
21668
- * @date 2022年9月29日
21680
+ /**
21681
+ * toTaskReadAndEnd
21682
+ * @desc:分阅并办结
21683
+ * @author liufan
21684
+ * @date 2022年9月29日
21669
21685
  **/
21670
21686
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
21671
21687
  var _this18 = this;
@@ -21683,11 +21699,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21683
21699
  }
21684
21700
  },
21685
21701
 
21686
- /**
21687
- * rejectAndEnd
21688
- * @desc:驳回并办结
21689
- * @author liufan
21690
- * @date 2022年9月29日
21702
+ /**
21703
+ * rejectAndEnd
21704
+ * @desc:驳回并办结
21705
+ * @author liufan
21706
+ * @date 2022年9月29日
21691
21707
  **/
21692
21708
  rejectAndEnd: function rejectAndEnd(res) {
21693
21709
  var _this19 = this;
@@ -21742,11 +21758,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21742
21758
  });
21743
21759
  },
21744
21760
 
21745
- /**
21746
- * toTransfer
21747
- * @desc:转办
21748
- * @author liufan
21749
- * @date 2022年9月29日
21761
+ /**
21762
+ * toTransfer
21763
+ * @desc:转办
21764
+ * @author liufan
21765
+ * @date 2022年9月29日
21750
21766
  **/
21751
21767
  toTransfer: function toTransfer(res) {
21752
21768
  var _this21 = this;
@@ -21762,11 +21778,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21762
21778
  }
21763
21779
  },
21764
21780
 
21765
- /**
21766
- * getNodeInfo
21767
- * @desc:获取节点信息
21768
- * @author liufan
21769
- * @date 2022年5月25日
21781
+ /**
21782
+ * getNodeInfo
21783
+ * @desc:获取节点信息
21784
+ * @author liufan
21785
+ * @date 2022年5月25日
21770
21786
  **/
21771
21787
  getNodeInfo: function getNodeInfo() {
21772
21788
  var _this22 = this;
@@ -21865,12 +21881,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21865
21881
  });
21866
21882
  },
21867
21883
 
21868
- /**
21869
- * selecNext
21870
- * @desc:下步节点变化时更新数据
21871
- * @author liufan
21872
- * @param {String} val 当前选中值
21873
- * @date 2022年5月25日
21884
+ /**
21885
+ * selecNext
21886
+ * @desc:下步节点变化时更新数据
21887
+ * @author liufan
21888
+ * @param {String} val 当前选中值
21889
+ * @date 2022年5月25日
21874
21890
  **/
21875
21891
  selecNext: function selecNext(val, type, isDef) {
21876
21892
  var _this23 = this;
@@ -21979,11 +21995,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
21979
21995
  if (isDef !== true) this.getNodeInfo();
21980
21996
  },
21981
21997
 
21982
- /**
21983
- * isMultiple
21984
- * @desc:是否多选
21985
- * @author liufan
21986
- * @date 2022年9月13日
21998
+ /**
21999
+ * isMultiple
22000
+ * @desc:是否多选
22001
+ * @author liufan
22002
+ * @date 2022年9月13日
21987
22003
  **/
21988
22004
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
21989
22005
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -22015,11 +22031,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22015
22031
  }
22016
22032
  },
22017
22033
 
22018
- /**
22019
- * getHedInfo
22020
- * @desc:获取审核页面数据
22021
- * @author liufan
22022
- * @date 2022年5月25日
22034
+ /**
22035
+ * getHedInfo
22036
+ * @desc:获取审核页面数据
22037
+ * @author liufan
22038
+ * @date 2022年5月25日
22023
22039
  **/
22024
22040
  getHedInfo: function getHedInfo() {
22025
22041
  var _this24 = this;
@@ -22255,13 +22271,13 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22255
22271
  });
22256
22272
  },
22257
22273
 
22258
- /**
22259
- * closeProcess
22260
- * @desc:关闭弹窗
22261
- * @author liufan
22262
- * @param {boolean} val 当前是否办理流程
22263
- * @param {String} type 当前点击的弹窗类型
22264
- * @date 2022年5月25日
22274
+ /**
22275
+ * closeProcess
22276
+ * @desc:关闭弹窗
22277
+ * @author liufan
22278
+ * @param {boolean} val 当前是否办理流程
22279
+ * @param {String} type 当前点击的弹窗类型
22280
+ * @date 2022年5月25日
22265
22281
  **/
22266
22282
  closeProcess: function closeProcess(val, type, closeParent) {
22267
22283
  if (closeParent) {
@@ -22278,23 +22294,23 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22278
22294
  }
22279
22295
  },
22280
22296
 
22281
- /**
22282
- * selectChange
22283
- * @desc:常用语选择
22284
- * @author liufan
22285
- * @param {String} val 选中值
22286
- * @date 2022年5月25日
22297
+ /**
22298
+ * selectChange
22299
+ * @desc:常用语选择
22300
+ * @author liufan
22301
+ * @param {String} val 选中值
22302
+ * @date 2022年5月25日
22287
22303
  **/
22288
22304
  selectChange: function selectChange(val) {
22289
22305
  this.value = val;
22290
22306
  },
22291
22307
 
22292
- /**
22293
- * upDate
22294
- * @desc:修改常用语
22295
- * @author liufan
22296
- * @param {Object} val 修改值
22297
- * @date 2022年5月25日
22308
+ /**
22309
+ * upDate
22310
+ * @desc:修改常用语
22311
+ * @author liufan
22312
+ * @param {Object} val 修改值
22313
+ * @date 2022年5月25日
22298
22314
  **/
22299
22315
  upDate: function upDate(val) {
22300
22316
  this.FormData.id = val.id;
@@ -22302,11 +22318,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22302
22318
  },
22303
22319
 
22304
22320
 
22305
- /**
22306
- * getProcess
22307
- * @desc:获取选择流程
22308
- * @author liufan
22309
- * @date 2022年5月25日
22321
+ /**
22322
+ * getProcess
22323
+ * @desc:获取选择流程
22324
+ * @author liufan
22325
+ * @date 2022年5月25日
22310
22326
  **/
22311
22327
  getProcess: function getProcess() {
22312
22328
  var _this25 = this;
@@ -22360,11 +22376,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22360
22376
  });
22361
22377
  },
22362
22378
 
22363
- /**
22364
- * getPendedhistoryList
22365
- * @desc:获取流程列表
22366
- * @author liufan
22367
- * @date 2022年5月25日
22379
+ /**
22380
+ * getPendedhistoryList
22381
+ * @desc:获取流程列表
22382
+ * @author liufan
22383
+ * @date 2022年5月25日
22368
22384
  **/
22369
22385
  getPendedhistoryList: function getPendedhistoryList() {
22370
22386
  var _this26 = this;
@@ -22396,12 +22412,12 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
22396
22412
  },
22397
22413
 
22398
22414
  // 提交流程
22399
- /**
22400
- * subProcess
22401
- * @desc:提交流程
22402
- * @author liufan
22403
- * @param {String} formName 当前form表单ref值
22404
- * @date 2022年5月25日
22415
+ /**
22416
+ * subProcess
22417
+ * @desc:提交流程
22418
+ * @author liufan
22419
+ * @param {String} formName 当前form表单ref值
22420
+ * @date 2022年5月25日
22405
22421
  **/
22406
22422
  subProcess: function subProcess(val) {
22407
22423
  var _this27 = this;
package/lib/form.js CHANGED
@@ -2129,6 +2129,21 @@ var getWeekday = function getWeekday(date) {
2129
2129
  // Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
2130
2130
  return adjustedDay === 0 ? 7 : adjustedDay;
2131
2131
  };
2132
+ /**
2133
+ * getWinTop
2134
+ * @desc 获取同域的top窗口
2135
+ * @param {object} [wind] - window对象
2136
+ * @return {Window} 同域的top窗口
2137
+ **/
2138
+ var getWinTop = function getWinTop(wind) {
2139
+ wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
2140
+ try {
2141
+ wind.parent.document;
2142
+ return getWinTop(wind.parent);
2143
+ } catch (error) {
2144
+ return wind;
2145
+ }
2146
+ };
2132
2147
 
2133
2148
  /**
2134
2149
  * getZoom
@@ -3874,6 +3889,7 @@ var winTopOpen = function winTopOpen(config) {
3874
3889
  getTypeName: getTypeName,
3875
3890
  getValues: getValues,
3876
3891
  getWeekday: getWeekday,
3892
+ getWinTop: getWinTop,
3877
3893
  handlerUrl: handlerUrl,
3878
3894
  hasChars: hasChars,
3879
3895
  hasClass: hasClass,
@@ -2129,6 +2129,21 @@ var getWeekday = function getWeekday(date) {
2129
2129
  // Adjust for JavaScript's day numbering (0 is Sunday, 1 is Monday, etc.)
2130
2130
  return adjustedDay === 0 ? 7 : adjustedDay;
2131
2131
  };
2132
+ /**
2133
+ * getWinTop
2134
+ * @desc 获取同域的top窗口
2135
+ * @param {object} [wind] - window对象
2136
+ * @return {Window} 同域的top窗口
2137
+ **/
2138
+ var getWinTop = function getWinTop(wind) {
2139
+ wind = wind ? wind : window.__WUJIE_RAW_WINDOW__ ? window.__WUJIE_RAW_WINDOW__ : window;
2140
+ try {
2141
+ wind.parent.document;
2142
+ return getWinTop(wind.parent);
2143
+ } catch (error) {
2144
+ return wind;
2145
+ }
2146
+ };
2132
2147
 
2133
2148
  /**
2134
2149
  * getZoom
@@ -3874,6 +3889,7 @@ var winTopOpen = function winTopOpen(config) {
3874
3889
  getTypeName: getTypeName,
3875
3890
  getValues: getValues,
3876
3891
  getWeekday: getWeekday,
3892
+ getWinTop: getWinTop,
3877
3893
  handlerUrl: handlerUrl,
3878
3894
  hasChars: hasChars,
3879
3895
  hasClass: hasClass,
@@ -4579,7 +4595,7 @@ module.exports = require("qs");
4579
4595
  // ESM COMPAT FLAG
4580
4596
  __webpack_require__.r(__webpack_exports__);
4581
4597
 
4582
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=5ba85f48&
4598
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handle-user/src/main.vue?vue&type=template&id=471ac115&
4583
4599
  var render = function () {
4584
4600
  var _vm = this
4585
4601
  var _h = _vm.$createElement
@@ -4676,7 +4692,7 @@ var staticRenderFns = []
4676
4692
  render._withStripped = true
4677
4693
 
4678
4694
 
4679
- // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=5ba85f48&
4695
+ // CONCATENATED MODULE: ./packages/handle-user/src/main.vue?vue&type=template&id=471ac115&
4680
4696
 
4681
4697
  // EXTERNAL MODULE: ./src/config/api.js
4682
4698
  var api = __webpack_require__(1);
@@ -4799,7 +4815,7 @@ var util = __webpack_require__(0);
4799
4815
  duration: 500,
4800
4816
  onClose: function onClose() {
4801
4817
  util["a" /* default */].removeStorage(['mainConfig', 'jump']);
4802
- var win = util["a" /* default */].win.top;
4818
+ var win = util["a" /* default */].getWinTop();
4803
4819
  win.location.reload();
4804
4820
  }
4805
4821
  });