eoss-ui 0.8.23 → 0.8.25

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 (299) hide show
  1. package/lib/button-group.js +228 -231
  2. package/lib/button.js +166 -153
  3. package/lib/calendar.js +2 -2
  4. package/lib/calogin.js +393 -379
  5. package/lib/card.js +2 -2
  6. package/lib/cascader.js +2 -2
  7. package/lib/checkbox-group.js +162 -148
  8. package/lib/clients.js +2 -2
  9. package/lib/config/api.js +5 -0
  10. package/lib/data-table-form.js +162 -148
  11. package/lib/data-table.js +165 -151
  12. package/lib/date-picker.js +159 -146
  13. package/lib/dialog.js +166 -153
  14. package/lib/enable-drag.js +2 -2
  15. package/lib/enterprise.js +2 -2
  16. package/lib/eoss-ui.common.js +1362 -891
  17. package/lib/error-page.js +2 -2
  18. package/lib/flow-group.js +159 -146
  19. package/lib/flow-list.js +174 -161
  20. package/lib/flow.js +501 -487
  21. package/lib/form.js +161 -148
  22. package/lib/handle-user.js +160 -147
  23. package/lib/handler.js +160 -147
  24. package/lib/icon.js +160 -147
  25. package/lib/icons.js +2 -2
  26. package/lib/index.js +1 -1
  27. package/lib/input-number.js +159 -146
  28. package/lib/input.js +159 -146
  29. package/lib/label.js +2 -2
  30. package/lib/layout.js +2 -2
  31. package/lib/login.js +174 -160
  32. package/lib/main.js +523 -509
  33. package/lib/menu.js +2 -2
  34. package/lib/nav.js +159 -146
  35. package/lib/notify.js +157 -148
  36. package/lib/page.js +159 -146
  37. package/lib/pagination.js +159 -146
  38. package/lib/player.js +164 -151
  39. package/lib/qr-code.js +174 -161
  40. package/lib/radio-group.js +161 -148
  41. package/lib/retrial-auth.js +163 -150
  42. package/lib/select-ganged.js +161 -148
  43. package/lib/select.js +161 -148
  44. package/lib/selector-panel.js +178 -164
  45. package/lib/selector.js +161 -148
  46. package/lib/sizer.js +168 -155
  47. package/lib/steps.js +159 -146
  48. package/lib/switch.js +159 -146
  49. package/lib/table-form.js +159 -146
  50. package/lib/tabs-panel.js +2 -2
  51. package/lib/tabs.js +159 -146
  52. package/lib/theme-chalk/index.css +1 -1
  53. package/lib/theme-chalk/login.css +1 -1
  54. package/lib/theme-chalk/tree.css +1 -1
  55. package/lib/tips.js +160 -147
  56. package/lib/toolbar.js +2 -2
  57. package/lib/tree-group.js +159 -146
  58. package/lib/tree.js +160 -147
  59. package/lib/upload.js +698 -223
  60. package/lib/utils/util.js +5 -1
  61. package/lib/wujie.js +159 -146
  62. package/lib/wxlogin.js +159 -146
  63. package/package.json +2 -1
  64. package/packages/button/index.js +5 -5
  65. package/packages/button/src/main.vue +418 -418
  66. package/packages/button-group/index.js +5 -5
  67. package/packages/calendar/index.js +5 -5
  68. package/packages/calogin/index.js +5 -5
  69. package/packages/calogin/src/plugin.js +915 -915
  70. package/packages/card/index.js +5 -5
  71. package/packages/card/src/main.vue +156 -156
  72. package/packages/cascader/index.js +5 -5
  73. package/packages/cascader/src/main.vue +168 -168
  74. package/packages/checkbox-group/index.js +5 -5
  75. package/packages/checkbox-group/src/main.vue +333 -333
  76. package/packages/clients/index.js +5 -5
  77. package/packages/data-table/index.js +5 -5
  78. package/packages/data-table/src/children.vue +46 -46
  79. package/packages/data-table/src/main.vue +1876 -1876
  80. package/packages/data-table/src/sizer.vue +195 -195
  81. package/packages/data-table-form/index.js +5 -5
  82. package/packages/data-table-form/src/checkbox.vue +101 -101
  83. package/packages/data-table-form/src/colgroup.vue +17 -17
  84. package/packages/data-table-form/src/main.vue +181 -181
  85. package/packages/data-table-form/src/radio.vue +65 -65
  86. package/packages/data-table-form/src/table.vue +233 -233
  87. package/packages/data-table-form/src/tbody.vue +336 -336
  88. package/packages/data-table-form/src/thead.vue +68 -68
  89. package/packages/date-picker/index.js +5 -5
  90. package/packages/date-picker/src/main.vue +236 -236
  91. package/packages/dialog/index.js +5 -5
  92. package/packages/enable-drag/index.js +5 -5
  93. package/packages/enterprise/index.js +5 -5
  94. package/packages/enterprise/src/main.vue +66 -66
  95. package/packages/error-page/index.js +5 -5
  96. package/packages/error-page/src/main.vue +44 -44
  97. package/packages/flow/index.js +5 -5
  98. package/packages/flow/src/component/Circulate.vue +420 -420
  99. package/packages/flow/src/component/CustomPreset.vue +324 -324
  100. package/packages/flow/src/component/FreeCirculation.vue +245 -245
  101. package/packages/flow/src/component/Preset.vue +257 -257
  102. package/packages/flow/src/component/TimeLimit.vue +190 -190
  103. package/packages/flow/src/component/taskUnionExamine.vue +763 -763
  104. package/packages/flow/src/freeStartFlow.vue +2898 -2898
  105. package/packages/flow/src/main.vue +4248 -4248
  106. package/packages/flow/src/processForm.vue +1806 -1806
  107. package/packages/flow/src/processReject.vue +311 -311
  108. package/packages/flow/src/reset.vue +952 -952
  109. package/packages/flow/src/startTaskRead.vue +698 -698
  110. package/packages/flow/src/supervise.vue +162 -162
  111. package/packages/flow-group/index.js +5 -5
  112. package/packages/flow-group/src/main.vue +750 -750
  113. package/packages/flow-list/index.js +5 -5
  114. package/packages/form/index.js +5 -5
  115. package/packages/handle-user/index.js +5 -5
  116. package/packages/handle-user/src/main.vue +137 -137
  117. package/packages/handler/index.js +5 -5
  118. package/packages/handler/src/main.vue +499 -499
  119. package/packages/icon/index.js +5 -5
  120. package/packages/icons/index.js +5 -5
  121. package/packages/icons/src/main.vue +81 -81
  122. package/packages/input/index.js +5 -5
  123. package/packages/input/src/main.vue +356 -356
  124. package/packages/input-number/index.js +5 -5
  125. package/packages/input-number/src/main.vue +106 -106
  126. package/packages/label/index.js +5 -5
  127. package/packages/label/src/main.vue +457 -457
  128. package/packages/layout/index.js +5 -5
  129. package/packages/layout/src/item.vue +152 -152
  130. package/packages/layout/src/main.vue +31 -31
  131. package/packages/login/index.js +5 -5
  132. package/packages/login/src/main.vue +2088 -2088
  133. package/packages/main/index.js +5 -5
  134. package/packages/main/src/default/message.vue +249 -249
  135. package/packages/main/src/default/notice.vue +157 -157
  136. package/packages/main/src/default/userinfo.vue +513 -513
  137. package/packages/main/src/simplicity/index.vue +2403 -2403
  138. package/packages/main/src/simplicity/lists.vue +84 -84
  139. package/packages/main/src/simplicity/router-page.vue +45 -45
  140. package/packages/main/src/simplicity/userinfo.vue +408 -408
  141. package/packages/main/src/simplicityTop/index.vue +2688 -2688
  142. package/packages/main/src/simplicityTop/userinfo.vue +408 -408
  143. package/packages/menu/index.js +5 -5
  144. package/packages/menu/src/main.vue +597 -597
  145. package/packages/nav/index.js +5 -5
  146. package/packages/notify/index.js +5 -5
  147. package/packages/notify/src/main.vue +538 -538
  148. package/packages/page/index.js +5 -5
  149. package/packages/page/src/main.vue +167 -167
  150. package/packages/pagination/index.js +5 -5
  151. package/packages/pagination/src/main.vue +96 -96
  152. package/packages/player/index.js +5 -5
  153. package/packages/player/src/main.vue +194 -194
  154. package/packages/qr-code/index.js +5 -5
  155. package/packages/qr-code/src/main.vue +170 -170
  156. package/packages/radio-group/index.js +6 -6
  157. package/packages/radio-group/src/main.vue +319 -319
  158. package/packages/retrial-auth/index.js +5 -5
  159. package/packages/retrial-auth/src/main.vue +299 -299
  160. package/packages/select/index.js +5 -5
  161. package/packages/select-ganged/index.js +5 -5
  162. package/packages/select-ganged/src/main.vue +724 -724
  163. package/packages/selector/index.js +5 -5
  164. package/packages/selector-panel/index.js +5 -5
  165. package/packages/selector-panel/src/tree.vue +129 -129
  166. package/packages/sizer/index.js +5 -5
  167. package/packages/sizer/src/main.vue +257 -257
  168. package/packages/steps/index.js +5 -5
  169. package/packages/steps/src/main.vue +181 -181
  170. package/packages/switch/index.js +5 -5
  171. package/packages/table-form/index.js +5 -5
  172. package/packages/tabs/index.js +5 -5
  173. package/packages/tabs/src/main.vue +788 -788
  174. package/packages/tabs-panel/index.js +5 -5
  175. package/packages/tabs-panel/src/main.vue +29 -29
  176. package/packages/theme-chalk/gulpfile.js +25 -0
  177. package/packages/theme-chalk/src/base.scss +261 -261
  178. package/packages/theme-chalk/src/button-group.scss +176 -176
  179. package/packages/theme-chalk/src/button.scss +24 -24
  180. package/packages/theme-chalk/src/calendar.scss +113 -113
  181. package/packages/theme-chalk/src/card.scss +99 -99
  182. package/packages/theme-chalk/src/checkbox-group.scss +8 -8
  183. package/packages/theme-chalk/src/clients.scss +87 -87
  184. package/packages/theme-chalk/src/data-table-form.scss +67 -67
  185. package/packages/theme-chalk/src/date-picker.scss +7 -7
  186. package/packages/theme-chalk/src/dialog.scss +77 -77
  187. package/packages/theme-chalk/src/enable-drag.scss +181 -181
  188. package/packages/theme-chalk/src/enterprise.scss +5 -5
  189. package/packages/theme-chalk/src/error-page.scss +18 -18
  190. package/packages/theme-chalk/src/flow-group.scss +110 -110
  191. package/packages/theme-chalk/src/flow.scss +376 -376
  192. package/packages/theme-chalk/src/handle-user.scss +40 -40
  193. package/packages/theme-chalk/src/icons.scss +99 -99
  194. package/packages/theme-chalk/src/input.scss +9 -9
  195. package/packages/theme-chalk/src/label.scss +24 -24
  196. package/packages/theme-chalk/src/layout.scss +46 -46
  197. package/packages/theme-chalk/src/mixins/color.scss +117 -117
  198. package/packages/theme-chalk/src/nav.scss +111 -111
  199. package/packages/theme-chalk/src/page.scss +3 -3
  200. package/packages/theme-chalk/src/pagination.scss +29 -29
  201. package/packages/theme-chalk/src/player.scss +9 -9
  202. package/packages/theme-chalk/src/qr-code.scss +17 -17
  203. package/packages/theme-chalk/src/radio-group.scss +9 -9
  204. package/packages/theme-chalk/src/retrial-auth.scss +38 -38
  205. package/packages/theme-chalk/src/select-ganged.scss +8 -8
  206. package/packages/theme-chalk/src/select.scss +8 -8
  207. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  208. package/packages/theme-chalk/src/sizer.scss +36 -36
  209. package/packages/theme-chalk/src/steps.scss +88 -88
  210. package/packages/theme-chalk/src/switch.scss +3 -3
  211. package/packages/theme-chalk/src/table-form.scss +1 -1
  212. package/packages/theme-chalk/src/tabs.scss +87 -87
  213. package/packages/theme-chalk/src/tips.scss +7 -7
  214. package/packages/theme-chalk/src/toolbar.scss +179 -179
  215. package/packages/theme-chalk/src/tree-group.scss +72 -72
  216. package/packages/theme-chalk/src/tree.scss +7 -5
  217. package/packages/theme-chalk/src/wxlogin.scss +3 -3
  218. package/packages/tips/index.js +5 -5
  219. package/packages/toolbar/index.js +5 -5
  220. package/packages/toolbar/src/main.vue +430 -430
  221. package/packages/tree/index.js +5 -5
  222. package/packages/tree-group/index.js +5 -5
  223. package/packages/upload/index.js +5 -5
  224. package/packages/upload/src/main.vue +1813 -1345
  225. package/packages/upload/src/picture.js +15 -15
  226. package/packages/wujie/index.js +5 -5
  227. package/packages/wxlogin/index.js +5 -5
  228. package/packages/wxlogin/src/main.vue +128 -128
  229. package/src/config/api.js +356 -351
  230. package/src/config/image.js +2 -2
  231. package/src/index.js +1 -1
  232. package/src/utils/bus.js +3 -3
  233. package/src/utils/date-util.js +312 -312
  234. package/src/utils/http.js +50 -50
  235. package/src/utils/store.js +21 -21
  236. package/src/utils/util.js +6 -1
  237. package/src/utils/webSocket.js +107 -107
  238. package/packages/theme-chalk/lib/base.css +0 -1
  239. package/packages/theme-chalk/lib/button-group.css +0 -1
  240. package/packages/theme-chalk/lib/button.css +0 -1
  241. package/packages/theme-chalk/lib/calendar.css +0 -1
  242. package/packages/theme-chalk/lib/calogin.css +0 -0
  243. package/packages/theme-chalk/lib/card.css +0 -1
  244. package/packages/theme-chalk/lib/cascader.css +0 -0
  245. package/packages/theme-chalk/lib/checkbox-group.css +0 -1
  246. package/packages/theme-chalk/lib/clients.css +0 -1
  247. package/packages/theme-chalk/lib/data-table-form.css +0 -1
  248. package/packages/theme-chalk/lib/data-table.css +0 -1
  249. package/packages/theme-chalk/lib/date-picker.css +0 -1
  250. package/packages/theme-chalk/lib/dialog.css +0 -1
  251. package/packages/theme-chalk/lib/enable-drag.css +0 -1
  252. package/packages/theme-chalk/lib/enterprise.css +0 -1
  253. package/packages/theme-chalk/lib/error-page.css +0 -1
  254. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  255. package/packages/theme-chalk/lib/flow-group.css +0 -1
  256. package/packages/theme-chalk/lib/flow-list.css +0 -1
  257. package/packages/theme-chalk/lib/flow.css +0 -1
  258. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  259. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  260. package/packages/theme-chalk/lib/form.css +0 -1
  261. package/packages/theme-chalk/lib/handle-user.css +0 -1
  262. package/packages/theme-chalk/lib/handler.css +0 -1
  263. package/packages/theme-chalk/lib/icon.css +0 -1
  264. package/packages/theme-chalk/lib/icons.css +0 -1
  265. package/packages/theme-chalk/lib/index.css +0 -1
  266. package/packages/theme-chalk/lib/input-number.css +0 -0
  267. package/packages/theme-chalk/lib/input.css +0 -1
  268. package/packages/theme-chalk/lib/label.css +0 -1
  269. package/packages/theme-chalk/lib/layout.css +0 -1
  270. package/packages/theme-chalk/lib/login.css +0 -1
  271. package/packages/theme-chalk/lib/main.css +0 -1
  272. package/packages/theme-chalk/lib/menu.css +0 -1
  273. package/packages/theme-chalk/lib/nav.css +0 -1
  274. package/packages/theme-chalk/lib/notify.css +0 -0
  275. package/packages/theme-chalk/lib/page.css +0 -1
  276. package/packages/theme-chalk/lib/pagination.css +0 -1
  277. package/packages/theme-chalk/lib/player.css +0 -1
  278. package/packages/theme-chalk/lib/qr-code.css +0 -1
  279. package/packages/theme-chalk/lib/radio-group.css +0 -1
  280. package/packages/theme-chalk/lib/retrial-auth.css +0 -1
  281. package/packages/theme-chalk/lib/select-ganged.css +0 -1
  282. package/packages/theme-chalk/lib/select.css +0 -1
  283. package/packages/theme-chalk/lib/selector-panel.css +0 -1
  284. package/packages/theme-chalk/lib/selector.css +0 -1
  285. package/packages/theme-chalk/lib/simplicity-top.css +0 -1
  286. package/packages/theme-chalk/lib/simplicity.css +0 -1
  287. package/packages/theme-chalk/lib/sizer.css +0 -1
  288. package/packages/theme-chalk/lib/steps.css +0 -1
  289. package/packages/theme-chalk/lib/switch.css +0 -1
  290. package/packages/theme-chalk/lib/table-form.css +0 -0
  291. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  292. package/packages/theme-chalk/lib/tabs.css +0 -1
  293. package/packages/theme-chalk/lib/tips.css +0 -1
  294. package/packages/theme-chalk/lib/toolbar.css +0 -1
  295. package/packages/theme-chalk/lib/tree-group.css +0 -1
  296. package/packages/theme-chalk/lib/tree.css +0 -1
  297. package/packages/theme-chalk/lib/upload.css +0 -1
  298. package/packages/theme-chalk/lib/wujie.css +0 -0
  299. package/packages/theme-chalk/lib/wxlogin.css +0 -1
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 19);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 20);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -132,7 +132,7 @@ module.exports = require("video.js");
132
132
  /***/ (function(module, exports, __webpack_require__) {
133
133
 
134
134
 
135
- var content = __webpack_require__(23);
135
+ var content = __webpack_require__(24);
136
136
 
137
137
  if(typeof content === 'string') content = [[module.i, content, '']];
138
138
 
@@ -146,7 +146,7 @@ var options = {"hmr":true}
146
146
  options.transform = transform
147
147
  options.insertInto = undefined;
148
148
 
149
- var update = __webpack_require__(25)(content, options);
149
+ var update = __webpack_require__(26)(content, options);
150
150
 
151
151
  if(content.locals) module.exports = content.locals;
152
152
 
@@ -220,25 +220,31 @@ module.exports = require("js-base64");
220
220
 
221
221
  /***/ }),
222
222
  /* 19 */
223
+ /***/ (function(module, exports) {
224
+
225
+ module.exports = require("spark-md5");
226
+
227
+ /***/ }),
228
+ /* 20 */
223
229
  /***/ (function(module, exports, __webpack_require__) {
224
230
 
225
- module.exports = __webpack_require__(29);
231
+ module.exports = __webpack_require__(30);
226
232
 
227
233
 
228
234
  /***/ }),
229
- /* 20 */
235
+ /* 21 */
230
236
  /***/ (function(module, exports) {
231
237
 
232
238
  module.exports = require("sm-crypto");
233
239
 
234
240
  /***/ }),
235
- /* 21 */
241
+ /* 22 */
236
242
  /***/ (function(module, exports) {
237
243
 
238
244
  module.exports = require("lodash");
239
245
 
240
246
  /***/ }),
241
- /* 22 */
247
+ /* 23 */
242
248
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
243
249
 
244
250
  "use strict";
@@ -248,17 +254,17 @@ module.exports = require("lodash");
248
254
 
249
255
 
250
256
  /***/ }),
251
- /* 23 */
257
+ /* 24 */
252
258
  /***/ (function(module, exports, __webpack_require__) {
253
259
 
254
- exports = module.exports = __webpack_require__(24)(false);
260
+ exports = module.exports = __webpack_require__(25)(false);
255
261
  // Module
256
262
  exports.push([module.i, "\n.es-setting-top-nav-side[data-v-1b15d77c]::before {\r\n content: '';\r\n display: block;\r\n position: absolute;\r\n left: 0;\r\n width: 8px;\r\n top: 10px;\r\n bottom: 0;\r\n z-index: 2;\r\n background-color: rgb(0, 80, 179);\n}\r\n", ""]);
257
263
 
258
264
 
259
265
 
260
266
  /***/ }),
261
- /* 24 */
267
+ /* 25 */
262
268
  /***/ (function(module, exports, __webpack_require__) {
263
269
 
264
270
  "use strict";
@@ -349,7 +355,7 @@ function toComment(sourceMap) {
349
355
  }
350
356
 
351
357
  /***/ }),
352
- /* 25 */
358
+ /* 26 */
353
359
  /***/ (function(module, exports, __webpack_require__) {
354
360
 
355
361
  /*
@@ -418,7 +424,7 @@ var singleton = null;
418
424
  var singletonCounter = 0;
419
425
  var stylesInsertedAtTop = [];
420
426
 
421
- var fixUrls = __webpack_require__(26);
427
+ var fixUrls = __webpack_require__(27);
422
428
 
423
429
  module.exports = function(list, options) {
424
430
  if (typeof DEBUG !== "undefined" && DEBUG) {
@@ -753,7 +759,7 @@ function updateLink (link, options, obj) {
753
759
 
754
760
 
755
761
  /***/ }),
756
- /* 26 */
762
+ /* 27 */
757
763
  /***/ (function(module, exports) {
758
764
 
759
765
 
@@ -848,19 +854,19 @@ module.exports = function (css) {
848
854
 
849
855
 
850
856
  /***/ }),
851
- /* 27 */
857
+ /* 28 */
852
858
  /***/ (function(module, exports) {
853
859
 
854
860
  module.exports = require("video.js/dist/video-js.css");
855
861
 
856
862
  /***/ }),
857
- /* 28 */
863
+ /* 29 */
858
864
  /***/ (function(module, exports) {
859
865
 
860
866
  module.exports = require("qrcode");
861
867
 
862
868
  /***/ }),
863
- /* 29 */
869
+ /* 30 */
864
870
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
865
871
 
866
872
  "use strict";
@@ -936,6 +942,11 @@ var api_previewAdjunct = '/main2/mecpfileManagement/previewAdjunct'; // 预览
936
942
  var previewAdjunct2 = '/main2/mecpfileManagement/previewAdjunct2/'; // 预览附件(带文件名)
937
943
  var previewAdjunctOffice = '/document/webDocument/documentIndex.dhtml'; // 预览附件word excel ppt
938
944
  var delAdjunct = '/main2/mecpfileManagement/delAdjunct'; // 删除附件
945
+ // 分片上传(dochub v2),优先使用 dochubConfig 下发的同名 url,这里仅作兜底
946
+ var chunkCheckFile = '/dochub/v2/chunk/checkFile'; // 秒传检测/断点续传查询
947
+ var chunkUploadChunk = '/dochub/v2/chunk/uploadChunk'; // 上传单个分片
948
+ var chunkMergeChunk = '/dochub/v2/chunk/mergeChunk'; // 合并分片并写入文档库
949
+ var getDochubBucket = '/dochub/v2/getBucket'; // 根据桶编码获取文档中台桶配置(含分片上传开关/参数)
939
950
  var upload_updateClassify = '/main2/mecpfileManagement/updateClassify'; // 根据附件id保存该附件的分类信息
940
951
  var getDeleteAdjunctFileInfos = '/main2/mecpfileManagement/getDeleteAdjunctFileInfos'; // 根据业务id和附件code获取相关已删除附件的元数据列表
941
952
  var getPictureBase64 = '/main2/mecpfileManagement/getPictureBase64'; // 获取图片的base64编码
@@ -1346,8 +1357,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
1346
1357
  **/
1347
1358
 
1348
1359
  /* eslint-disable indent */
1349
- var sm2 = __webpack_require__(20).sm2;
1350
- var lodash = __webpack_require__(21);
1360
+ var sm2 = __webpack_require__(21).sm2;
1361
+ var lodash = __webpack_require__(22);
1351
1362
 
1352
1363
 
1353
1364
 
@@ -1610,7 +1621,11 @@ var util_ajax = function ajax(_ref) {
1610
1621
  }
1611
1622
  }
1612
1623
  }
1613
- if (method === 'post' && format) {
1624
+ var isFormData = typeof FormData !== 'undefined' && data instanceof FormData;
1625
+ if (isFormData) {
1626
+ // FormData(如分片上传):不做序列化,也不强制 content-type,
1627
+ // 交给浏览器/axios 自动设置 multipart/form-data 及 boundary
1628
+ } else if (method === 'post' && format) {
1614
1629
  data = external_qs_default.a.stringify(data, formatConfig);
1615
1630
  if (!header['content-type'] && !header['Content-Type']) {
1616
1631
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
@@ -6913,8 +6928,8 @@ function plugin_asyncToGenerator(fn) { return function () { var gen = fn.apply(t
6913
6928
 
6914
6929
  function plugin_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6915
6930
 
6916
- /**
6917
- * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6931
+ /**
6932
+ * JIT_GW_ExtInterface 模块,提供与客户端交互的功能
6918
6933
  */
6919
6934
  var plugin_CA_ExtInterface = function () {
6920
6935
  function CA_ExtInterface() {
@@ -6927,11 +6942,11 @@ var plugin_CA_ExtInterface = function () {
6927
6942
  this.init();
6928
6943
  }
6929
6944
 
6930
- /**
6931
- * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6932
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6933
- * @param {Object} target - 目标对象
6934
- * @param {Object} options - 新的选项对象
6945
+ /**
6946
+ * 简单的 Object.assign 兼容 IE <= 11 的 polyfill
6947
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
6948
+ * @param {Object} target - 目标对象
6949
+ * @param {Object} options - 新的选项对象
6935
6950
  */
6936
6951
 
6937
6952
 
@@ -6946,8 +6961,8 @@ var plugin_CA_ExtInterface = function () {
6946
6961
  }
6947
6962
  };
6948
6963
 
6949
- /**
6950
- * 检查当前会话的 WebSocket URL
6964
+ /**
6965
+ * 检查当前会话的 WebSocket URL
6951
6966
  */
6952
6967
 
6953
6968
 
@@ -6961,8 +6976,8 @@ var plugin_CA_ExtInterface = function () {
6961
6976
  }
6962
6977
  };
6963
6978
 
6964
- /**
6965
- * 检查是否使用 ActiveX
6979
+ /**
6980
+ * 检查是否使用 ActiveX
6966
6981
  */
6967
6982
 
6968
6983
 
@@ -6974,11 +6989,11 @@ var plugin_CA_ExtInterface = function () {
6974
6989
  }
6975
6990
  };
6976
6991
 
6977
- /**
6978
- * 扩展发送消息并等待响应
6979
- * @param {string} operatorCmd - 操作命令
6980
- * @param {string} sendMsg - 发送的消息
6981
- * @returns {string} 响应消息
6992
+ /**
6993
+ * 扩展发送消息并等待响应
6994
+ * @param {string} operatorCmd - 操作命令
6995
+ * @param {string} sendMsg - 发送的消息
6996
+ * @returns {string} 响应消息
6982
6997
  */
6983
6998
 
6984
6999
 
@@ -7011,11 +7026,11 @@ var plugin_CA_ExtInterface = function () {
7011
7026
  return sendAndWaitMessageEx;
7012
7027
  }();
7013
7028
 
7014
- /**
7015
- * 发送消息并等待响应
7016
- * @param {string} wsurl - WebSocket URL
7017
- * @param {string} sendMsg - 发送的消息
7018
- * @returns {string} 响应消息
7029
+ /**
7030
+ * 发送消息并等待响应
7031
+ * @param {string} wsurl - WebSocket URL
7032
+ * @param {string} sendMsg - 发送的消息
7033
+ * @returns {string} 响应消息
7019
7034
  */
7020
7035
 
7021
7036
 
@@ -7039,9 +7054,9 @@ var plugin_CA_ExtInterface = function () {
7039
7054
  }
7040
7055
  };
7041
7056
 
7042
- /**
7043
- * 配置选项
7044
- * @param {Object} extendOption - 扩展选项
7057
+ /**
7058
+ * 配置选项
7059
+ * @param {Object} extendOption - 扩展选项
7045
7060
  */
7046
7061
 
7047
7062
 
@@ -7051,8 +7066,8 @@ var plugin_CA_ExtInterface = function () {
7051
7066
  }
7052
7067
  };
7053
7068
 
7054
- /**
7055
- * 初始化
7069
+ /**
7070
+ * 初始化
7056
7071
  */
7057
7072
 
7058
7073
 
@@ -7060,9 +7075,9 @@ var plugin_CA_ExtInterface = function () {
7060
7075
  this.isUseActioveX();
7061
7076
  };
7062
7077
 
7063
- /**
7064
- * 返回客户端的版本
7065
- * @returns {string} 客户端版本
7078
+ /**
7079
+ * 返回客户端的版本
7080
+ * @returns {string} 客户端版本
7066
7081
  */
7067
7082
 
7068
7083
 
@@ -7075,13 +7090,13 @@ var plugin_CA_ExtInterface = function () {
7075
7090
  }
7076
7091
  };
7077
7092
 
7078
- /**
7079
- * 下载客户端程序并安装
7080
- * @param {string} bstrURL - 下载地址
7081
- * @param {string} bstrHashValue - 哈希值
7082
- * @param {boolean} bSync - 是否同步安装
7083
- * @param {boolean} bOnlySSO - 是否仅安装 SSO
7084
- * @returns {number} 安装结果
7093
+ /**
7094
+ * 下载客户端程序并安装
7095
+ * @param {string} bstrURL - 下载地址
7096
+ * @param {string} bstrHashValue - 哈希值
7097
+ * @param {boolean} bSync - 是否同步安装
7098
+ * @param {boolean} bOnlySSO - 是否仅安装 SSO
7099
+ * @returns {number} 安装结果
7085
7100
  */
7086
7101
 
7087
7102
 
@@ -7095,11 +7110,11 @@ var plugin_CA_ExtInterface = function () {
7095
7110
  }
7096
7111
  };
7097
7112
 
7098
- /**
7099
- * 获取硬件指纹信息
7100
- * @param {number} dwSign - 签名
7101
- * @param {string} strGateWayIP - 网关 IP
7102
- * @returns {string} 硬件指纹信息
7113
+ /**
7114
+ * 获取硬件指纹信息
7115
+ * @param {number} dwSign - 签名
7116
+ * @param {string} strGateWayIP - 网关 IP
7117
+ * @returns {string} 硬件指纹信息
7103
7118
  */
7104
7119
 
7105
7120
 
@@ -7113,12 +7128,12 @@ var plugin_CA_ExtInterface = function () {
7113
7128
  }
7114
7129
  };
7115
7130
 
7116
- /**
7117
- * 设置转发策略和代填策略
7118
- * @param {string} strProxyPolicy - 转发策略
7119
- * @param {string} strSSOPolicy - 代填策略
7120
- * @param {string} strGatewayAddress - 网关地址
7121
- * @returns {number} 设置结果
7131
+ /**
7132
+ * 设置转发策略和代填策略
7133
+ * @param {string} strProxyPolicy - 转发策略
7134
+ * @param {string} strSSOPolicy - 代填策略
7135
+ * @param {string} strGatewayAddress - 网关地址
7136
+ * @returns {number} 设置结果
7122
7137
  */
7123
7138
 
7124
7139
 
@@ -7132,11 +7147,11 @@ var plugin_CA_ExtInterface = function () {
7132
7147
  }
7133
7148
  };
7134
7149
 
7135
- /**
7136
- * 启动认证信息模块
7137
- * @param {string} strFileName - 文件名
7138
- * @param {string} strXmlData - XML 数据
7139
- * @returns {string} 认证信息
7150
+ /**
7151
+ * 启动认证信息模块
7152
+ * @param {string} strFileName - 文件名
7153
+ * @param {string} strXmlData - XML 数据
7154
+ * @returns {string} 认证信息
7140
7155
  */
7141
7156
 
7142
7157
 
@@ -7150,10 +7165,10 @@ var plugin_CA_ExtInterface = function () {
7150
7165
  }
7151
7166
  };
7152
7167
 
7153
- /**
7154
- * 打开 BS 应用
7155
- * @param {string} strUrl - 应用 URL
7156
- * @returns {number} 打开结果
7168
+ /**
7169
+ * 打开 BS 应用
7170
+ * @param {string} strUrl - 应用 URL
7171
+ * @returns {number} 打开结果
7157
7172
  */
7158
7173
 
7159
7174
 
@@ -7167,12 +7182,12 @@ var plugin_CA_ExtInterface = function () {
7167
7182
  }
7168
7183
  };
7169
7184
 
7170
- /**
7171
- * 打开 CS 应用
7172
- * @param {string} strGatewayAddress - 网关地址
7173
- * @param {string} strAppFlag - 应用标识
7174
- * @param {string} strAppPath - 应用路径
7175
- * @returns {number} 打开结果
7185
+ /**
7186
+ * 打开 CS 应用
7187
+ * @param {string} strGatewayAddress - 网关地址
7188
+ * @param {string} strAppFlag - 应用标识
7189
+ * @param {string} strAppPath - 应用路径
7190
+ * @returns {number} 打开结果
7176
7191
  */
7177
7192
 
7178
7193
 
@@ -7186,13 +7201,13 @@ var plugin_CA_ExtInterface = function () {
7186
7201
  }
7187
7202
  };
7188
7203
 
7189
- /**
7190
- * 设置自动更新策略
7191
- * @param {string} strGatewayAddress - 网关地址
7192
- * @param {number} nGatewayPort - 网关端口
7193
- * @param {string} strUserToken - 用户令牌
7194
- * @param {number} updatedelay - 更新延迟
7195
- * @returns {number} 设置结果
7204
+ /**
7205
+ * 设置自动更新策略
7206
+ * @param {string} strGatewayAddress - 网关地址
7207
+ * @param {number} nGatewayPort - 网关端口
7208
+ * @param {string} strUserToken - 用户令牌
7209
+ * @param {number} updatedelay - 更新延迟
7210
+ * @returns {number} 设置结果
7196
7211
  */
7197
7212
 
7198
7213
 
@@ -7206,10 +7221,10 @@ var plugin_CA_ExtInterface = function () {
7206
7221
  }
7207
7222
  };
7208
7223
 
7209
- /**
7210
- * 获取客户端 IP
7211
- * @param {string} strGatewayIP - 网关 IP
7212
- * @returns {string} 客户端 IP
7224
+ /**
7225
+ * 获取客户端 IP
7226
+ * @param {string} strGatewayIP - 网关 IP
7227
+ * @returns {string} 客户端 IP
7213
7228
  */
7214
7229
 
7215
7230
 
@@ -7223,10 +7238,10 @@ var plugin_CA_ExtInterface = function () {
7223
7238
  }
7224
7239
  };
7225
7240
 
7226
- /**
7227
- * 登出网关
7228
- * @param {string} strServerIP - 服务器 IP
7229
- * @returns {number} 登出结果
7241
+ /**
7242
+ * 登出网关
7243
+ * @param {string} strServerIP - 服务器 IP
7244
+ * @returns {number} 登出结果
7230
7245
  */
7231
7246
 
7232
7247
 
@@ -7240,11 +7255,11 @@ var plugin_CA_ExtInterface = function () {
7240
7255
  }
7241
7256
  };
7242
7257
 
7243
- /**
7244
- * 运行安装包
7245
- * @param {number} lRunType - 运行类型
7246
- * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
7247
- * @returns {number} 运行结果
7258
+ /**
7259
+ * 运行安装包
7260
+ * @param {number} lRunType - 运行类型
7261
+ * @param {boolean} bIsOnlySSO - 是否仅安装 SSO
7262
+ * @returns {number} 运行结果
7248
7263
  */
7249
7264
 
7250
7265
 
@@ -7258,9 +7273,9 @@ var plugin_CA_ExtInterface = function () {
7258
7273
  }
7259
7274
  };
7260
7275
 
7261
- /**
7262
- * 获取下载进度
7263
- * @returns {number} 下载进度
7276
+ /**
7277
+ * 获取下载进度
7278
+ * @returns {number} 下载进度
7264
7279
  */
7265
7280
 
7266
7281
 
@@ -7274,9 +7289,9 @@ var plugin_CA_ExtInterface = function () {
7274
7289
  }
7275
7290
  };
7276
7291
 
7277
- /**
7278
- * 是否安装完成
7279
- * @returns {boolean} 安装完成状态
7292
+ /**
7293
+ * 是否安装完成
7294
+ * @returns {boolean} 安装完成状态
7280
7295
  */
7281
7296
 
7282
7297
 
@@ -7290,11 +7305,11 @@ var plugin_CA_ExtInterface = function () {
7290
7305
  }
7291
7306
  };
7292
7307
 
7293
- /**
7294
- * 初始化签包对象
7295
- * @param {string} strAlgType - 算法类型
7296
- * @param {string} strAuxParam - 辅助参数
7297
- * @returns {number} 初始化结果
7308
+ /**
7309
+ * 初始化签包对象
7310
+ * @param {string} strAlgType - 算法类型
7311
+ * @param {string} strAuxParam - 辅助参数
7312
+ * @returns {number} 初始化结果
7298
7313
  */
7299
7314
 
7300
7315
 
@@ -7308,10 +7323,10 @@ var plugin_CA_ExtInterface = function () {
7308
7323
  }
7309
7324
  };
7310
7325
 
7311
- /**
7312
- * 设置摘要算法
7313
- * @param {string} strDigestAlg - 摘要算法
7314
- * @returns {number} 设置结果
7326
+ /**
7327
+ * 设置摘要算法
7328
+ * @param {string} strDigestAlg - 摘要算法
7329
+ * @returns {number} 设置结果
7315
7330
  */
7316
7331
 
7317
7332
 
@@ -7325,10 +7340,10 @@ var plugin_CA_ExtInterface = function () {
7325
7340
  }
7326
7341
  };
7327
7342
 
7328
- /**
7329
- * 设置单证书是否弹出对话框
7330
- * @param {number} isChoose - 是否弹出对话框
7331
- * @returns {number} 设置结果
7343
+ /**
7344
+ * 设置单证书是否弹出对话框
7345
+ * @param {number} isChoose - 是否弹出对话框
7346
+ * @returns {number} 设置结果
7332
7347
  */
7333
7348
 
7334
7349
 
@@ -7342,11 +7357,11 @@ var plugin_CA_ExtInterface = function () {
7342
7357
  }
7343
7358
  };
7344
7359
 
7345
- /**
7346
- * 添加证书过滤条件
7347
- * @param {number} ulType - 过滤类型
7348
- * @param {string} strValue - 过滤值
7349
- * @returns {number} 添加结果
7360
+ /**
7361
+ * 添加证书过滤条件
7362
+ * @param {number} ulType - 过滤类型
7363
+ * @param {string} strValue - 过滤值
7364
+ * @returns {number} 添加结果
7350
7365
  */
7351
7366
 
7352
7367
 
@@ -7360,9 +7375,9 @@ var plugin_CA_ExtInterface = function () {
7360
7375
  }
7361
7376
  };
7362
7377
 
7363
- /**
7364
- * 清除所有过滤条件
7365
- * @returns {number} 清除结果
7378
+ /**
7379
+ * 清除所有过滤条件
7380
+ * @returns {number} 清除结果
7366
7381
  */
7367
7382
 
7368
7383
 
@@ -7376,10 +7391,10 @@ var plugin_CA_ExtInterface = function () {
7376
7391
  }
7377
7392
  };
7378
7393
 
7379
- /**
7380
- * P1 签名
7381
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
7382
- * @returns {string} 签名结果
7394
+ /**
7395
+ * P1 签名
7396
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
7397
+ * @returns {string} 签名结果
7383
7398
  */
7384
7399
 
7385
7400
 
@@ -7393,10 +7408,10 @@ var plugin_CA_ExtInterface = function () {
7393
7408
  }
7394
7409
  };
7395
7410
 
7396
- /**
7397
- * P1 签名字符串
7398
- * @param {string} strValue - 待签名的字符串
7399
- * @returns {string} 签名结果
7411
+ /**
7412
+ * P1 签名字符串
7413
+ * @param {string} strValue - 待签名的字符串
7414
+ * @returns {string} 签名结果
7400
7415
  */
7401
7416
 
7402
7417
 
@@ -7410,12 +7425,12 @@ var plugin_CA_ExtInterface = function () {
7410
7425
  }
7411
7426
  };
7412
7427
 
7413
- /**
7414
- * P7 签名
7415
- * @param {string} strValueBase64 - 待签名的 Base64 字符串
7416
- * @param {boolean} isDetach - 是否分离签名
7417
- * @param {boolean} isIncludeCert - 是否包含证书
7418
- * @returns {string} 签名结果
7428
+ /**
7429
+ * P7 签名
7430
+ * @param {string} strValueBase64 - 待签名的 Base64 字符串
7431
+ * @param {boolean} isDetach - 是否分离签名
7432
+ * @param {boolean} isIncludeCert - 是否包含证书
7433
+ * @returns {string} 签名结果
7419
7434
  */
7420
7435
 
7421
7436
 
@@ -7429,12 +7444,12 @@ var plugin_CA_ExtInterface = function () {
7429
7444
  }
7430
7445
  };
7431
7446
 
7432
- /**
7433
- * P7 签名字符串
7434
- * @param {string} strValue - 待签名的字符串
7435
- * @param {boolean} isDetach - 是否分离签名
7436
- * @param {boolean} isIncludeCert - 是否包含证书
7437
- * @returns {string} 签名结果
7447
+ /**
7448
+ * P7 签名字符串
7449
+ * @param {string} strValue - 待签名的字符串
7450
+ * @param {boolean} isDetach - 是否分离签名
7451
+ * @param {boolean} isIncludeCert - 是否包含证书
7452
+ * @returns {string} 签名结果
7438
7453
  */
7439
7454
 
7440
7455
 
@@ -7448,9 +7463,9 @@ var plugin_CA_ExtInterface = function () {
7448
7463
  }
7449
7464
  };
7450
7465
 
7451
- /**
7452
- * 释放签名对象
7453
- * @returns {number} 释放结果
7466
+ /**
7467
+ * 释放签名对象
7468
+ * @returns {number} 释放结果
7454
7469
  */
7455
7470
 
7456
7471
 
@@ -7464,9 +7479,9 @@ var plugin_CA_ExtInterface = function () {
7464
7479
  }
7465
7480
  };
7466
7481
 
7467
- /**
7468
- * 获取签名版本
7469
- * @returns {string} 签名版本
7482
+ /**
7483
+ * 获取签名版本
7484
+ * @returns {string} 签名版本
7470
7485
  */
7471
7486
 
7472
7487
 
@@ -7480,9 +7495,9 @@ var plugin_CA_ExtInterface = function () {
7480
7495
  }
7481
7496
  };
7482
7497
 
7483
- /**
7484
- * 获取签名证书
7485
- * @returns {string} 签名证书
7498
+ /**
7499
+ * 获取签名证书
7500
+ * @returns {string} 签名证书
7486
7501
  */
7487
7502
 
7488
7503
 
@@ -7496,9 +7511,9 @@ var plugin_CA_ExtInterface = function () {
7496
7511
  }
7497
7512
  };
7498
7513
 
7499
- /**
7500
- * 获取错误码
7501
- * @returns {number} 错误码
7514
+ /**
7515
+ * 获取错误码
7516
+ * @returns {number} 错误码
7502
7517
  */
7503
7518
 
7504
7519
 
@@ -7512,9 +7527,9 @@ var plugin_CA_ExtInterface = function () {
7512
7527
  }
7513
7528
  };
7514
7529
 
7515
- /**
7516
- * 获取错误信息
7517
- * @returns {string} 错误信息
7530
+ /**
7531
+ * 获取错误信息
7532
+ * @returns {string} 错误信息
7518
7533
  */
7519
7534
 
7520
7535
 
@@ -7528,9 +7543,9 @@ var plugin_CA_ExtInterface = function () {
7528
7543
  }
7529
7544
  };
7530
7545
 
7531
- /**
7532
- * 销毁认证对象
7533
- * @returns {number} 销毁结果
7546
+ /**
7547
+ * 销毁认证对象
7548
+ * @returns {number} 销毁结果
7534
7549
  */
7535
7550
 
7536
7551
 
@@ -7544,9 +7559,9 @@ var plugin_CA_ExtInterface = function () {
7544
7559
  }
7545
7560
  };
7546
7561
 
7547
- /**
7548
- * 获取证书类型
7549
- * @returns {string} 证书类型
7562
+ /**
7563
+ * 获取证书类型
7564
+ * @returns {string} 证书类型
7550
7565
  */
7551
7566
 
7552
7567
 
@@ -7560,9 +7575,9 @@ var plugin_CA_ExtInterface = function () {
7560
7575
  }
7561
7576
  };
7562
7577
 
7563
- /**
7564
- * 获取签名摘要算法
7565
- * @returns {string} 签名摘要算法
7578
+ /**
7579
+ * 获取签名摘要算法
7580
+ * @returns {string} 签名摘要算法
7566
7581
  */
7567
7582
 
7568
7583
 
@@ -7576,11 +7591,11 @@ var plugin_CA_ExtInterface = function () {
7576
7591
  }
7577
7592
  };
7578
7593
 
7579
- /**
7580
- * 使能调用序列
7581
- * @param {boolean} bCallQueueEnable - 是否使能调用序列
7582
- * @param {boolean} bHeadInfoEnable - 是否使能头部信息
7583
- * @returns {number} 使能结果
7594
+ /**
7595
+ * 使能调用序列
7596
+ * @param {boolean} bCallQueueEnable - 是否使能调用序列
7597
+ * @param {boolean} bHeadInfoEnable - 是否使能头部信息
7598
+ * @returns {number} 使能结果
7584
7599
  */
7585
7600
 
7586
7601
 
@@ -7594,9 +7609,9 @@ var plugin_CA_ExtInterface = function () {
7594
7609
  }
7595
7610
  };
7596
7611
 
7597
- /**
7598
- * 清空调用序列结果
7599
- * @returns {number} 清空调用序列结果
7612
+ /**
7613
+ * 清空调用序列结果
7614
+ * @returns {number} 清空调用序列结果
7600
7615
  */
7601
7616
 
7602
7617
 
@@ -7610,9 +7625,9 @@ var plugin_CA_ExtInterface = function () {
7610
7625
  }
7611
7626
  };
7612
7627
 
7613
- /**
7614
- * 获取调用序列结果
7615
- * @returns {string} 调用序列结果
7628
+ /**
7629
+ * 获取调用序列结果
7630
+ * @returns {string} 调用序列结果
7616
7631
  */
7617
7632
 
7618
7633
 
@@ -7626,12 +7641,12 @@ var plugin_CA_ExtInterface = function () {
7626
7641
  }
7627
7642
  };
7628
7643
 
7629
- /**
7630
- * 客户端安全策略检查
7631
- * @param {string} strGatewayAddress - 网关地址
7632
- * @param {number} usGatewayPort - 网关端口
7633
- * @param {string} strSecurityPolicys - 安全策略
7634
- * @returns {boolean} 检查结果
7644
+ /**
7645
+ * 客户端安全策略检查
7646
+ * @param {string} strGatewayAddress - 网关地址
7647
+ * @param {number} usGatewayPort - 网关端口
7648
+ * @param {string} strSecurityPolicys - 安全策略
7649
+ * @returns {boolean} 检查结果
7635
7650
  */
7636
7651
 
7637
7652
 
@@ -7645,9 +7660,9 @@ var plugin_CA_ExtInterface = function () {
7645
7660
  }
7646
7661
  };
7647
7662
 
7648
- /**
7649
- * 获取通讯协议版本
7650
- * @returns {string} 通讯协议版本
7663
+ /**
7664
+ * 获取通讯协议版本
7665
+ * @returns {string} 通讯协议版本
7651
7666
  */
7652
7667
 
7653
7668
 
@@ -7661,13 +7676,13 @@ var plugin_CA_ExtInterface = function () {
7661
7676
  }
7662
7677
  };
7663
7678
 
7664
- /**
7665
- * 修改 Key 的 Pin 码
7666
- * @param {string} strCertSn - 证书序列号
7667
- * @param {number} lPinCodeType - Pin 码类型
7668
- * @param {string} strCurPinCode - 当前 Pin 码
7669
- * @param {string} strNewPinCode - 新 Pin 码
7670
- * @returns {number} 修改结果
7679
+ /**
7680
+ * 修改 Key 的 Pin 码
7681
+ * @param {string} strCertSn - 证书序列号
7682
+ * @param {number} lPinCodeType - Pin 码类型
7683
+ * @param {string} strCurPinCode - 当前 Pin 码
7684
+ * @param {string} strNewPinCode - 新 Pin 码
7685
+ * @returns {number} 修改结果
7671
7686
  */
7672
7687
 
7673
7688
 
@@ -7681,10 +7696,10 @@ var plugin_CA_ExtInterface = function () {
7681
7696
  }
7682
7697
  };
7683
7698
 
7684
- /**
7685
- * 等待策略设置完毕
7686
- * @param {string} strGatewayAddress - 网关地址
7687
- * @returns {number} 等待结果
7699
+ /**
7700
+ * 等待策略设置完毕
7701
+ * @param {string} strGatewayAddress - 网关地址
7702
+ * @returns {number} 等待结果
7688
7703
  */
7689
7704
 
7690
7705
 
@@ -7698,10 +7713,10 @@ var plugin_CA_ExtInterface = function () {
7698
7713
  }
7699
7714
  };
7700
7715
 
7701
- /**
7702
- * 获取会话 Token
7703
- * @param {string} strGatewayAddress - 网关地址
7704
- * @returns {string} 会话 Token
7716
+ /**
7717
+ * 获取会话 Token
7718
+ * @param {string} strGatewayAddress - 网关地址
7719
+ * @returns {string} 会话 Token
7705
7720
  */
7706
7721
 
7707
7722
 
@@ -7715,9 +7730,9 @@ var plugin_CA_ExtInterface = function () {
7715
7730
  }
7716
7731
  };
7717
7732
 
7718
- /**
7719
- * 获取控件版本
7720
- * @returns {string} 控件版本
7733
+ /**
7734
+ * 获取控件版本
7735
+ * @returns {string} 控件版本
7721
7736
  */
7722
7737
 
7723
7738
 
@@ -7731,10 +7746,10 @@ var plugin_CA_ExtInterface = function () {
7731
7746
  }
7732
7747
  };
7733
7748
 
7734
- /**
7735
- * 设置语言资源
7736
- * @param {string} strLanguage - 语言资源
7737
- * @returns {number} 设置结果
7749
+ /**
7750
+ * 设置语言资源
7751
+ * @param {string} strLanguage - 语言资源
7752
+ * @returns {number} 设置结果
7738
7753
  */
7739
7754
 
7740
7755
 
@@ -7748,12 +7763,12 @@ var plugin_CA_ExtInterface = function () {
7748
7763
  }
7749
7764
  };
7750
7765
 
7751
- /**
7752
- * 获取用户属性
7753
- * @param {string} strGatewayAddress - 网关地址
7754
- * @param {string} strAppFlag - 应用标识
7755
- * @param {string} strAttributeName - 属性名称
7756
- * @returns {string} 用户属性值
7766
+ /**
7767
+ * 获取用户属性
7768
+ * @param {string} strGatewayAddress - 网关地址
7769
+ * @param {string} strAppFlag - 应用标识
7770
+ * @param {string} strAttributeName - 属性名称
7771
+ * @returns {string} 用户属性值
7757
7772
  */
7758
7773
 
7759
7774
 
@@ -7767,9 +7782,9 @@ var plugin_CA_ExtInterface = function () {
7767
7782
  }
7768
7783
  };
7769
7784
 
7770
- /**
7771
- * 获取签名加密 PIN 码
7772
- * @returns {string} 签名加密 PIN 码
7785
+ /**
7786
+ * 获取签名加密 PIN 码
7787
+ * @returns {string} 签名加密 PIN 码
7773
7788
  */
7774
7789
 
7775
7790
 
@@ -7782,20 +7797,20 @@ var plugin_CA_ExtInterface = function () {
7782
7797
  return result.value;
7783
7798
  }
7784
7799
  };
7785
- /*
7786
- *曙光四川CA
7787
- *'SOF_GetUserList' 证书列表
7788
- *'SOF_ExportUserCert' 导出证书
7789
- *'SOF_GetCertInfo': 获取证书信息
7790
- *'SOF_GenRandom': 生成随机数
7791
- *'SOF_SignData': 获取证书签名
7792
- *'SOF_Login': 登录证书
7793
- *'SOF_GetPinRetryCount': 剩余次数
7800
+ /*
7801
+ *曙光四川CA
7802
+ *'SOF_GetUserList' 证书列表
7803
+ *'SOF_ExportUserCert' 导出证书
7804
+ *'SOF_GetCertInfo': 获取证书信息
7805
+ *'SOF_GenRandom': 生成随机数
7806
+ *'SOF_SignData': 获取证书签名
7807
+ *'SOF_Login': 登录证书
7808
+ *'SOF_GetPinRetryCount': 剩余次数
7794
7809
  */
7795
- /**
7796
- *
7797
- * 获取webSocket消息
7798
- * @returns {string}
7810
+ /**
7811
+ *
7812
+ * 获取webSocket消息
7813
+ * @returns {string}
7799
7814
  */
7800
7815
 
7801
7816
 
@@ -7831,10 +7846,10 @@ var plugin_CA_ExtInterface = function () {
7831
7846
  };
7832
7847
  });
7833
7848
  };
7834
- /**
7835
- *
7836
- * base64解码
7837
- * @returns {string} base64解码后的字符串
7849
+ /**
7850
+ *
7851
+ * base64解码
7852
+ * @returns {string} base64解码后的字符串
7838
7853
  */
7839
7854
 
7840
7855
 
@@ -7869,10 +7884,10 @@ var plugin_CA_ExtInterface = function () {
7869
7884
  val = this.utf8_decode(val);
7870
7885
  return val;
7871
7886
  };
7872
- /**
7873
- *
7874
- * base64编码
7875
- * @returns {string} base64编码后的字符串
7887
+ /**
7888
+ *
7889
+ * base64编码
7890
+ * @returns {string} base64编码后的字符串
7876
7891
  */
7877
7892
 
7878
7893
 
@@ -7905,10 +7920,10 @@ var plugin_CA_ExtInterface = function () {
7905
7920
  }
7906
7921
  return val;
7907
7922
  };
7908
- /**
7909
- *
7910
- * utf8解码
7911
- * @returns {string} utf8解码后的字符串
7923
+ /**
7924
+ *
7925
+ * utf8解码
7926
+ * @returns {string} utf8解码后的字符串
7912
7927
  */
7913
7928
 
7914
7929
 
@@ -7937,10 +7952,10 @@ var plugin_CA_ExtInterface = function () {
7937
7952
  }
7938
7953
  return string;
7939
7954
  };
7940
- /**
7941
- *
7942
- * utf8编码
7943
- * @returns {string} utf8编码后的字符串
7955
+ /**
7956
+ *
7957
+ * utf8编码
7958
+ * @returns {string} utf8编码后的字符串
7944
7959
  */
7945
7960
 
7946
7961
 
@@ -28418,8 +28433,8 @@ form_src_main.install = function (Vue) {
28418
28433
  };
28419
28434
 
28420
28435
  /* harmony default export */ var packages_form = (form_src_main);
28421
- // 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=59cacbe1&
28422
- var mainvue_type_template_id_59cacbe1_render = function () {
28436
+ // 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=accd59de&
28437
+ var mainvue_type_template_id_accd59de_render = function () {
28423
28438
  var _vm = this
28424
28439
  var _h = _vm.$createElement
28425
28440
  var _c = _vm._self._c || _h
@@ -31498,11 +31513,11 @@ var mainvue_type_template_id_59cacbe1_render = function () {
31498
31513
  )
31499
31514
  : _vm._e()
31500
31515
  }
31501
- var mainvue_type_template_id_59cacbe1_staticRenderFns = []
31502
- mainvue_type_template_id_59cacbe1_render._withStripped = true
31516
+ var mainvue_type_template_id_accd59de_staticRenderFns = []
31517
+ mainvue_type_template_id_accd59de_render._withStripped = true
31503
31518
 
31504
31519
 
31505
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=59cacbe1&
31520
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=accd59de&
31506
31521
 
31507
31522
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=7b4f1542&
31508
31523
  var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
@@ -36368,11 +36383,11 @@ var processFormvue_type_script_lang_js_components;
36368
36383
  });
36369
36384
  },
36370
36385
 
36371
- /**
36372
- * isMultiple
36373
- * @desc:是否多选
36374
- * @author liufan
36375
- * @date 2022年9月13日
36386
+ /**
36387
+ * isMultiple
36388
+ * @desc:是否多选
36389
+ * @author liufan
36390
+ * @date 2022年9月13日
36376
36391
  **/
36377
36392
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
36378
36393
  var multiple = false;
@@ -40622,11 +40637,11 @@ var resetvue_type_script_lang_js_components;
40622
40637
  });
40623
40638
  },
40624
40639
 
40625
- /**
40626
- * isMultiple
40627
- * @desc:是否多选
40628
- * @author liufan
40629
- * @date 2022年9月13日
40640
+ /**
40641
+ * isMultiple
40642
+ * @desc:是否多选
40643
+ * @author liufan
40644
+ * @date 2022年9月13日
40630
40645
  **/
40631
40646
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
40632
40647
  var multiple = false;
@@ -45274,11 +45289,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45274
45289
  });
45275
45290
  },
45276
45291
 
45277
- /**
45278
- * saveInfo
45279
- * @desc:暂存
45280
- * @author liufan
45281
- * @date 2022年9月9日
45292
+ /**
45293
+ * saveInfo
45294
+ * @desc:暂存
45295
+ * @author liufan
45296
+ * @date 2022年9月9日
45282
45297
  **/
45283
45298
  saveInfo: function saveInfo(type, btn) {
45284
45299
  var _this6 = this;
@@ -45340,11 +45355,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45340
45355
  });
45341
45356
  },
45342
45357
 
45343
- /**
45344
- * rejectBtn
45345
- * @desc:点击驳回
45346
- * @author liufan
45347
- * @date 2022年5月25日
45358
+ /**
45359
+ * rejectBtn
45360
+ * @desc:点击驳回
45361
+ * @author liufan
45362
+ * @date 2022年5月25日
45348
45363
  **/
45349
45364
  rejectBtn: function rejectBtn() {
45350
45365
  var _this8 = this;
@@ -45362,11 +45377,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45362
45377
  }
45363
45378
  },
45364
45379
 
45365
- /**
45366
- * taskReadBtn
45367
- * @desc:点击分阅
45368
- * @author liufan
45369
- * @date 2022年5月25日
45380
+ /**
45381
+ * taskReadBtn
45382
+ * @desc:点击分阅
45383
+ * @author liufan
45384
+ * @date 2022年5月25日
45370
45385
  **/
45371
45386
  taskReadBtn: function taskReadBtn() {
45372
45387
  var _this9 = this;
@@ -45385,11 +45400,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45385
45400
  }
45386
45401
  },
45387
45402
 
45388
- /**
45389
- * getFind
45390
- * @desc:获取通知方式
45391
- * @author liufan
45392
- * @date 2022年5月25日
45403
+ /**
45404
+ * getFind
45405
+ * @desc:获取通知方式
45406
+ * @author liufan
45407
+ * @date 2022年5月25日
45393
45408
  **/
45394
45409
  getFind: function getFind() {
45395
45410
  var _this10 = this;
@@ -45445,12 +45460,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45445
45460
  });
45446
45461
  },
45447
45462
 
45448
- /**
45449
- * endFlows
45450
- * @desc:直接办结
45451
- * @author liufan
45452
- * @param {Object} res 直接办结数据
45453
- * @date 2022年5月25日
45463
+ /**
45464
+ * endFlows
45465
+ * @desc:直接办结
45466
+ * @author liufan
45467
+ * @param {Object} res 直接办结数据
45468
+ * @date 2022年5月25日
45454
45469
  **/
45455
45470
  endFlows: function endFlows(res) {
45456
45471
  var _this12 = this;
@@ -45504,12 +45519,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45504
45519
  }).catch(function (e) {});
45505
45520
  },
45506
45521
 
45507
- /**
45508
- * goView
45509
- * @desc:更多流程按钮操作
45510
- * @author liufan
45511
- * @param {Object} res 当前点击操作按钮数据
45512
- * @date 2022年5月25日
45522
+ /**
45523
+ * goView
45524
+ * @desc:更多流程按钮操作
45525
+ * @author liufan
45526
+ * @param {Object} res 当前点击操作按钮数据
45527
+ * @date 2022年5月25日
45513
45528
  **/
45514
45529
  goView: function goView(res) {
45515
45530
  // 驳回并办结:rejectAndEndHtml
@@ -45594,11 +45609,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45594
45609
  // isCanStartSubFlow
45595
45610
  },
45596
45611
 
45597
- /**
45598
- * toTakeAdvice
45599
- * @desc:征求意见
45600
- * @author liufan
45601
- * @date 2022年9月29日
45612
+ /**
45613
+ * toTakeAdvice
45614
+ * @desc:征求意见
45615
+ * @author liufan
45616
+ * @date 2022年9月29日
45602
45617
  **/
45603
45618
  toTakeAdvice: function toTakeAdvice(res) {
45604
45619
  var _this14 = this;
@@ -45642,11 +45657,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45642
45657
  });
45643
45658
  },
45644
45659
 
45645
- /**
45646
- * toStartDraf
45647
- * @desc: 稿件递送、联合审核、复核
45648
- * @author liufan
45649
- * @date 2022年9月29日
45660
+ /**
45661
+ * toStartDraf
45662
+ * @desc: 稿件递送、联合审核、复核
45663
+ * @author liufan
45664
+ * @date 2022年9月29日
45650
45665
  **/
45651
45666
  toStartDraf: function toStartDraf(res) {
45652
45667
  var _this16 = this;
@@ -45660,11 +45675,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45660
45675
  }
45661
45676
  },
45662
45677
 
45663
- /**
45664
- * toSendMsg
45665
- * @desc:核稿通知
45666
- * @author liufan
45667
- * @date 2022年9月29日
45678
+ /**
45679
+ * toSendMsg
45680
+ * @desc:核稿通知
45681
+ * @author liufan
45682
+ * @date 2022年9月29日
45668
45683
  **/
45669
45684
  toSendMsg: function toSendMsg(res) {
45670
45685
  var _this17 = this;
@@ -45678,11 +45693,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45678
45693
  }
45679
45694
  },
45680
45695
 
45681
- /**
45682
- * toTaskReadAndEnd
45683
- * @desc:分阅并办结
45684
- * @author liufan
45685
- * @date 2022年9月29日
45696
+ /**
45697
+ * toTaskReadAndEnd
45698
+ * @desc:分阅并办结
45699
+ * @author liufan
45700
+ * @date 2022年9月29日
45686
45701
  **/
45687
45702
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
45688
45703
  var _this18 = this;
@@ -45700,11 +45715,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45700
45715
  }
45701
45716
  },
45702
45717
 
45703
- /**
45704
- * rejectAndEnd
45705
- * @desc:驳回并办结
45706
- * @author liufan
45707
- * @date 2022年9月29日
45718
+ /**
45719
+ * rejectAndEnd
45720
+ * @desc:驳回并办结
45721
+ * @author liufan
45722
+ * @date 2022年9月29日
45708
45723
  **/
45709
45724
  rejectAndEnd: function rejectAndEnd(res) {
45710
45725
  var _this19 = this;
@@ -45759,11 +45774,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45759
45774
  });
45760
45775
  },
45761
45776
 
45762
- /**
45763
- * toTransfer
45764
- * @desc:转办
45765
- * @author liufan
45766
- * @date 2022年9月29日
45777
+ /**
45778
+ * toTransfer
45779
+ * @desc:转办
45780
+ * @author liufan
45781
+ * @date 2022年9月29日
45767
45782
  **/
45768
45783
  toTransfer: function toTransfer(res) {
45769
45784
  var _this21 = this;
@@ -45779,11 +45794,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45779
45794
  }
45780
45795
  },
45781
45796
 
45782
- /**
45783
- * getNodeInfo
45784
- * @desc:获取节点信息
45785
- * @author liufan
45786
- * @date 2022年5月25日
45797
+ /**
45798
+ * getNodeInfo
45799
+ * @desc:获取节点信息
45800
+ * @author liufan
45801
+ * @date 2022年5月25日
45787
45802
  **/
45788
45803
  getNodeInfo: function getNodeInfo() {
45789
45804
  var _this22 = this;
@@ -45882,12 +45897,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45882
45897
  });
45883
45898
  },
45884
45899
 
45885
- /**
45886
- * selecNext
45887
- * @desc:下步节点变化时更新数据
45888
- * @author liufan
45889
- * @param {String} val 当前选中值
45890
- * @date 2022年5月25日
45900
+ /**
45901
+ * selecNext
45902
+ * @desc:下步节点变化时更新数据
45903
+ * @author liufan
45904
+ * @param {String} val 当前选中值
45905
+ * @date 2022年5月25日
45891
45906
  **/
45892
45907
  selecNext: function selecNext(val, type, isDef) {
45893
45908
  var _this23 = this;
@@ -45996,11 +46011,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
45996
46011
  if (isDef !== true) this.getNodeInfo();
45997
46012
  },
45998
46013
 
45999
- /**
46000
- * isMultiple
46001
- * @desc:是否多选
46002
- * @author liufan
46003
- * @date 2022年9月13日
46014
+ /**
46015
+ * isMultiple
46016
+ * @desc:是否多选
46017
+ * @author liufan
46018
+ * @date 2022年9月13日
46004
46019
  **/
46005
46020
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
46006
46021
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -46032,11 +46047,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46032
46047
  }
46033
46048
  },
46034
46049
 
46035
- /**
46036
- * getHedInfo
46037
- * @desc:获取审核页面数据
46038
- * @author liufan
46039
- * @date 2022年5月25日
46050
+ /**
46051
+ * getHedInfo
46052
+ * @desc:获取审核页面数据
46053
+ * @author liufan
46054
+ * @date 2022年5月25日
46040
46055
  **/
46041
46056
  getHedInfo: function getHedInfo() {
46042
46057
  var _this24 = this;
@@ -46272,13 +46287,13 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46272
46287
  });
46273
46288
  },
46274
46289
 
46275
- /**
46276
- * closeProcess
46277
- * @desc:关闭弹窗
46278
- * @author liufan
46279
- * @param {boolean} val 当前是否办理流程
46280
- * @param {String} type 当前点击的弹窗类型
46281
- * @date 2022年5月25日
46290
+ /**
46291
+ * closeProcess
46292
+ * @desc:关闭弹窗
46293
+ * @author liufan
46294
+ * @param {boolean} val 当前是否办理流程
46295
+ * @param {String} type 当前点击的弹窗类型
46296
+ * @date 2022年5月25日
46282
46297
  **/
46283
46298
  closeProcess: function closeProcess(val, type, closeParent) {
46284
46299
  if (closeParent) {
@@ -46295,23 +46310,23 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46295
46310
  }
46296
46311
  },
46297
46312
 
46298
- /**
46299
- * selectChange
46300
- * @desc:常用语选择
46301
- * @author liufan
46302
- * @param {String} val 选中值
46303
- * @date 2022年5月25日
46313
+ /**
46314
+ * selectChange
46315
+ * @desc:常用语选择
46316
+ * @author liufan
46317
+ * @param {String} val 选中值
46318
+ * @date 2022年5月25日
46304
46319
  **/
46305
46320
  selectChange: function selectChange(val) {
46306
46321
  this.value = val;
46307
46322
  },
46308
46323
 
46309
- /**
46310
- * upDate
46311
- * @desc:修改常用语
46312
- * @author liufan
46313
- * @param {Object} val 修改值
46314
- * @date 2022年5月25日
46324
+ /**
46325
+ * upDate
46326
+ * @desc:修改常用语
46327
+ * @author liufan
46328
+ * @param {Object} val 修改值
46329
+ * @date 2022年5月25日
46315
46330
  **/
46316
46331
  upDate: function upDate(val) {
46317
46332
  this.FormData.id = val.id;
@@ -46319,11 +46334,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46319
46334
  },
46320
46335
 
46321
46336
 
46322
- /**
46323
- * getProcess
46324
- * @desc:获取选择流程
46325
- * @author liufan
46326
- * @date 2022年5月25日
46337
+ /**
46338
+ * getProcess
46339
+ * @desc:获取选择流程
46340
+ * @author liufan
46341
+ * @date 2022年5月25日
46327
46342
  **/
46328
46343
  getProcess: function getProcess() {
46329
46344
  var _this25 = this;
@@ -46377,11 +46392,11 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46377
46392
  });
46378
46393
  },
46379
46394
 
46380
- /**
46381
- * getPendedhistoryList
46382
- * @desc:获取流程列表
46383
- * @author liufan
46384
- * @date 2022年5月25日
46395
+ /**
46396
+ * getPendedhistoryList
46397
+ * @desc:获取流程列表
46398
+ * @author liufan
46399
+ * @date 2022年5月25日
46385
46400
  **/
46386
46401
  getPendedhistoryList: function getPendedhistoryList() {
46387
46402
  var _this26 = this;
@@ -46413,12 +46428,12 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
46413
46428
  },
46414
46429
 
46415
46430
  // 提交流程
46416
- /**
46417
- * subProcess
46418
- * @desc:提交流程
46419
- * @author liufan
46420
- * @param {String} formName 当前form表单ref值
46421
- * @date 2022年5月25日
46431
+ /**
46432
+ * subProcess
46433
+ * @desc:提交流程
46434
+ * @author liufan
46435
+ * @param {String} formName 当前form表单ref值
46436
+ * @date 2022年5月25日
46422
46437
  **/
46423
46438
  subProcess: function subProcess(val) {
46424
46439
  var _this27 = this;
@@ -50394,11 +50409,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50394
50409
  });
50395
50410
  },
50396
50411
 
50397
- /**
50398
- * saveInfo
50399
- * @desc:暂存
50400
- * @author liufan
50401
- * @date 2022年9月9日
50412
+ /**
50413
+ * saveInfo
50414
+ * @desc:暂存
50415
+ * @author liufan
50416
+ * @date 2022年9月9日
50402
50417
  **/
50403
50418
  saveInfo: function saveInfo(type, btn) {
50404
50419
  var _this14 = this;
@@ -50460,11 +50475,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50460
50475
  });
50461
50476
  },
50462
50477
 
50463
- /**
50464
- * rejectBtn
50465
- * @desc:点击驳回
50466
- * @author liufan
50467
- * @date 2022年5月25日
50478
+ /**
50479
+ * rejectBtn
50480
+ * @desc:点击驳回
50481
+ * @author liufan
50482
+ * @date 2022年5月25日
50468
50483
  **/
50469
50484
  rejectBtn: function rejectBtn() {
50470
50485
  var _this16 = this;
@@ -50482,11 +50497,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50482
50497
  }
50483
50498
  },
50484
50499
 
50485
- /**
50486
- * taskReadBtn
50487
- * @desc:点击分阅
50488
- * @author liufan
50489
- * @date 2022年5月25日
50500
+ /**
50501
+ * taskReadBtn
50502
+ * @desc:点击分阅
50503
+ * @author liufan
50504
+ * @date 2022年5月25日
50490
50505
  **/
50491
50506
  taskReadBtn: function taskReadBtn() {
50492
50507
  var _this17 = this;
@@ -50505,11 +50520,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50505
50520
  }
50506
50521
  },
50507
50522
 
50508
- /**
50509
- * getFind
50510
- * @desc:获取通知方式
50511
- * @author liufan
50512
- * @date 2022年5月25日
50523
+ /**
50524
+ * getFind
50525
+ * @desc:获取通知方式
50526
+ * @author liufan
50527
+ * @date 2022年5月25日
50513
50528
  **/
50514
50529
  getFind: function getFind() {
50515
50530
  var _this18 = this;
@@ -50576,12 +50591,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50576
50591
  });
50577
50592
  },
50578
50593
 
50579
- /**
50580
- * endFlows
50581
- * @desc:直接办结
50582
- * @author liufan
50583
- * @param {Object} res 直接办结数据
50584
- * @date 2022年5月25日
50594
+ /**
50595
+ * endFlows
50596
+ * @desc:直接办结
50597
+ * @author liufan
50598
+ * @param {Object} res 直接办结数据
50599
+ * @date 2022年5月25日
50585
50600
  **/
50586
50601
  endFlows: function endFlows(res) {
50587
50602
  var _this20 = this;
@@ -50636,12 +50651,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50636
50651
  }).catch(function (e) {});
50637
50652
  },
50638
50653
 
50639
- /**
50640
- * goView
50641
- * @desc:更多流程按钮操作
50642
- * @author liufan
50643
- * @param {Object} res 当前点击操作按钮数据
50644
- * @date 2022年5月25日
50654
+ /**
50655
+ * goView
50656
+ * @desc:更多流程按钮操作
50657
+ * @author liufan
50658
+ * @param {Object} res 当前点击操作按钮数据
50659
+ * @date 2022年5月25日
50645
50660
  **/
50646
50661
  goView: function goView(res) {
50647
50662
  // 驳回并办结:rejectAndEndHtml
@@ -50728,11 +50743,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50728
50743
  // isCanStartSubFlow
50729
50744
  },
50730
50745
 
50731
- /**
50732
- * toTakeAdvice
50733
- * @desc:征求意见
50734
- * @author liufan
50735
- * @date 2022年9月29日
50746
+ /**
50747
+ * toTakeAdvice
50748
+ * @desc:征求意见
50749
+ * @author liufan
50750
+ * @date 2022年9月29日
50736
50751
  **/
50737
50752
  toTakeAdvice: function toTakeAdvice(res) {
50738
50753
  var _this22 = this;
@@ -50776,11 +50791,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50776
50791
  });
50777
50792
  },
50778
50793
 
50779
- /**
50780
- * toStartDraf
50781
- * @desc: 稿件递送、联合审核、复核
50782
- * @author liufan
50783
- * @date 2022年9月29日
50794
+ /**
50795
+ * toStartDraf
50796
+ * @desc: 稿件递送、联合审核、复核
50797
+ * @author liufan
50798
+ * @date 2022年9月29日
50784
50799
  **/
50785
50800
  toStartDraf: function toStartDraf(res) {
50786
50801
  var _this24 = this;
@@ -50794,11 +50809,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50794
50809
  }
50795
50810
  },
50796
50811
 
50797
- /**
50798
- * toSendMsg
50799
- * @desc:核稿通知
50800
- * @author liufan
50801
- * @date 2022年9月29日
50812
+ /**
50813
+ * toSendMsg
50814
+ * @desc:核稿通知
50815
+ * @author liufan
50816
+ * @date 2022年9月29日
50802
50817
  **/
50803
50818
  toSendMsg: function toSendMsg(res) {
50804
50819
  var _this25 = this;
@@ -50812,11 +50827,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50812
50827
  }
50813
50828
  },
50814
50829
 
50815
- /**
50816
- * toTaskReadAndEnd
50817
- * @desc:分阅并办结
50818
- * @author liufan
50819
- * @date 2022年9月29日
50830
+ /**
50831
+ * toTaskReadAndEnd
50832
+ * @desc:分阅并办结
50833
+ * @author liufan
50834
+ * @date 2022年9月29日
50820
50835
  **/
50821
50836
  toTaskReadAndEnd: function toTaskReadAndEnd(res) {
50822
50837
  var _this26 = this;
@@ -50834,11 +50849,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50834
50849
  }
50835
50850
  },
50836
50851
 
50837
- /**
50838
- * rejectAndEnd
50839
- * @desc:驳回并办结
50840
- * @author liufan
50841
- * @date 2022年9月29日
50852
+ /**
50853
+ * rejectAndEnd
50854
+ * @desc:驳回并办结
50855
+ * @author liufan
50856
+ * @date 2022年9月29日
50842
50857
  **/
50843
50858
  rejectAndEnd: function rejectAndEnd(res) {
50844
50859
  var _this27 = this;
@@ -50894,11 +50909,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50894
50909
  });
50895
50910
  },
50896
50911
 
50897
- /**
50898
- * toTransfer
50899
- * @desc:转办
50900
- * @author liufan
50901
- * @date 2022年9月29日
50912
+ /**
50913
+ * toTransfer
50914
+ * @desc:转办
50915
+ * @author liufan
50916
+ * @date 2022年9月29日
50902
50917
  **/
50903
50918
  toTransfer: function toTransfer(res) {
50904
50919
  var _this29 = this;
@@ -50917,11 +50932,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50917
50932
  this.nextNode.customLimitTime = val;
50918
50933
  },
50919
50934
 
50920
- /**
50921
- * getNodeInfo
50922
- * @desc:获取节点信息
50923
- * @author liufan
50924
- * @date 2022年5月25日
50935
+ /**
50936
+ * getNodeInfo
50937
+ * @desc:获取节点信息
50938
+ * @author liufan
50939
+ * @date 2022年5月25日
50925
50940
  **/
50926
50941
  getNodeInfo: function getNodeInfo() {
50927
50942
  var _this30 = this;
@@ -51052,12 +51067,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51052
51067
  });
51053
51068
  },
51054
51069
 
51055
- /**
51056
- * selecNext
51057
- * @desc:下步节点变化时更新数据
51058
- * @author liufan
51059
- * @param {String} val 当前选中值
51060
- * @date 2022年5月25日
51070
+ /**
51071
+ * selecNext
51072
+ * @desc:下步节点变化时更新数据
51073
+ * @author liufan
51074
+ * @param {String} val 当前选中值
51075
+ * @date 2022年5月25日
51061
51076
  **/
51062
51077
  selecNext: function selecNext(val, type, isDef) {
51063
51078
  var _this31 = this;
@@ -51197,11 +51212,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51197
51212
  }
51198
51213
  },
51199
51214
 
51200
- /**
51201
- * isMultiple
51202
- * @desc:是否多选
51203
- * @author liufan
51204
- * @date 2022年9月13日
51215
+ /**
51216
+ * isMultiple
51217
+ * @desc:是否多选
51218
+ * @author liufan
51219
+ * @date 2022年9月13日
51205
51220
  **/
51206
51221
  isMultiple: function isMultiple(val, choiceOrgId, choiceDeptId, pOrgId) {
51207
51222
  if (val == 2 || val == 4 || val == 6 || val == 16) {
@@ -51233,11 +51248,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51233
51248
  }
51234
51249
  },
51235
51250
 
51236
- /**
51237
- * getHedInfo
51238
- * @desc:获取审核页面数据
51239
- * @author liufan
51240
- * @date 2022年5月25日
51251
+ /**
51252
+ * getHedInfo
51253
+ * @desc:获取审核页面数据
51254
+ * @author liufan
51255
+ * @date 2022年5月25日
51241
51256
  **/
51242
51257
  getHedInfo: function getHedInfo() {
51243
51258
  var _this32 = this;
@@ -51380,7 +51395,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51380
51395
  if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
51381
51396
  if (nextNodeList && nextNodeList.length != 0) {
51382
51397
  _this32.nextNodeList = nextNodeList;
51383
- if (nextNodeList[0].nodeType === 'endEvent') {
51398
+ if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length == 1) {
51384
51399
  _this32.isNextUser = nextNodeList[0].nodeType != 'endEvent';
51385
51400
  nextNodeList[0].nodeType === 'endEvent' ? _this32.endFlow = true : '';
51386
51401
  }
@@ -51554,13 +51569,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51554
51569
  });
51555
51570
  },
51556
51571
 
51557
- /**
51558
- * closeProcess
51559
- * @desc:关闭弹窗
51560
- * @author liufan
51561
- * @param {boolean} val 当前是否办理流程
51562
- * @param {String} type 当前点击的弹窗类型
51563
- * @date 2022年5月25日
51572
+ /**
51573
+ * closeProcess
51574
+ * @desc:关闭弹窗
51575
+ * @author liufan
51576
+ * @param {boolean} val 当前是否办理流程
51577
+ * @param {String} type 当前点击的弹窗类型
51578
+ * @date 2022年5月25日
51564
51579
  **/
51565
51580
  closeProcess: function closeProcess(val, type, closeParent) {
51566
51581
  if (this.closeParent && !this.startFlowPageEmbeddedIntoStartFlowIndex) {
@@ -51580,23 +51595,23 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51580
51595
  }
51581
51596
  },
51582
51597
 
51583
- /**
51584
- * selectChange
51585
- * @desc:常用语选择
51586
- * @author liufan
51587
- * @param {String} val 选中值
51588
- * @date 2022年5月25日
51598
+ /**
51599
+ * selectChange
51600
+ * @desc:常用语选择
51601
+ * @author liufan
51602
+ * @param {String} val 选中值
51603
+ * @date 2022年5月25日
51589
51604
  **/
51590
51605
  selectChange: function selectChange(val) {
51591
51606
  this.value = val;
51592
51607
  },
51593
51608
 
51594
- /**
51595
- * upDate
51596
- * @desc:修改常用语
51597
- * @author liufan
51598
- * @param {Object} val 修改值
51599
- * @date 2022年5月25日
51609
+ /**
51610
+ * upDate
51611
+ * @desc:修改常用语
51612
+ * @author liufan
51613
+ * @param {Object} val 修改值
51614
+ * @date 2022年5月25日
51600
51615
  **/
51601
51616
  upDate: function upDate(val) {
51602
51617
  this.FormData.id = val.id;
@@ -51604,11 +51619,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51604
51619
  },
51605
51620
 
51606
51621
 
51607
- /**
51608
- * getProcess
51609
- * @desc:获取选择流程
51610
- * @author liufan
51611
- * @date 2022年5月25日
51622
+ /**
51623
+ * getProcess
51624
+ * @desc:获取选择流程
51625
+ * @author liufan
51626
+ * @date 2022年5月25日
51612
51627
  **/
51613
51628
  getProcess: function getProcess(val) {
51614
51629
  var _this33 = this;
@@ -51668,11 +51683,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51668
51683
  });
51669
51684
  },
51670
51685
 
51671
- /**
51672
- * getPendedhistoryList
51673
- * @desc:获取流程列表
51674
- * @author liufan
51675
- * @date 2022年5月25日
51686
+ /**
51687
+ * getPendedhistoryList
51688
+ * @desc:获取流程列表
51689
+ * @author liufan
51690
+ * @date 2022年5月25日
51676
51691
  **/
51677
51692
  getPendedhistoryList: function getPendedhistoryList() {
51678
51693
  var _this34 = this;
@@ -51743,12 +51758,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51743
51758
  beforeSubProcess: function beforeSubProcess() {},
51744
51759
 
51745
51760
  // 提交流程
51746
- /**
51747
- * subProcess
51748
- * @desc:提交流程
51749
- * @author liufan
51750
- * @param {String} formName 当前form表单ref值
51751
- * @date 2022年5月25日
51761
+ /**
51762
+ * subProcess
51763
+ * @desc:提交流程
51764
+ * @author liufan
51765
+ * @param {String} formName 当前form表单ref值
51766
+ * @date 2022年5月25日
51752
51767
  **/
51753
51768
  subProcess: function subProcess(val, type) {
51754
51769
  var _this36 = this;
@@ -52231,8 +52246,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
52231
52246
 
52232
52247
  var flow_src_main_component = normalizeComponent(
52233
52248
  packages_flow_src_mainvue_type_script_lang_js_,
52234
- mainvue_type_template_id_59cacbe1_render,
52235
- mainvue_type_template_id_59cacbe1_staticRenderFns,
52249
+ mainvue_type_template_id_accd59de_render,
52250
+ mainvue_type_template_id_accd59de_staticRenderFns,
52236
52251
  false,
52237
52252
  null,
52238
52253
  null,
@@ -68762,7 +68777,7 @@ settingsvue_type_template_id_1b15d77c_scoped_true_render._withStripped = true
68762
68777
  // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=script&lang=js&
68763
68778
  /* harmony default export */ var public_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
68764
68779
  // EXTERNAL MODULE: ./packages/main/src/public/settings.vue?vue&type=style&index=0&id=1b15d77c&prod&scoped=true&lang=css&
68765
- var settingsvue_type_style_index_0_id_1b15d77c_prod_scoped_true_lang_css_ = __webpack_require__(22);
68780
+ var settingsvue_type_style_index_0_id_1b15d77c_prod_scoped_true_lang_css_ = __webpack_require__(23);
68766
68781
 
68767
68782
  // CONCATENATED MODULE: ./packages/main/src/public/settings.vue
68768
68783
 
@@ -70754,10 +70769,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70754
70769
  this.$refs.user.handleSelect(res);
70755
70770
  },
70756
70771
 
70757
- /**
70758
- * @desc:匹配路由
70759
- * @author huangbo
70760
- * @date 2024年9月7日
70772
+ /**
70773
+ * @desc:匹配路由
70774
+ * @author huangbo
70775
+ * @date 2024年9月7日
70761
70776
  **/
70762
70777
  hasRouter: function hasRouter(res, url, code) {
70763
70778
  if (!url) {
@@ -70801,10 +70816,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70801
70816
  return false;
70802
70817
  },
70803
70818
 
70804
- /**
70805
- * @desc:获取初始数据
70806
- * @author huangbo
70807
- * @date 2024年9月7日
70819
+ /**
70820
+ * @desc:获取初始数据
70821
+ * @author huangbo
70822
+ * @date 2024年9月7日
70808
70823
  **/
70809
70824
  init: function init(results, first) {
70810
70825
  this.setConfig(results);
@@ -70813,10 +70828,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70813
70828
  }
70814
70829
  },
70815
70830
 
70816
- /**
70817
- * @desc:设置用户配置及信息
70818
- * @author huangbo
70819
- * @date 2024年9月7日
70831
+ /**
70832
+ * @desc:设置用户配置及信息
70833
+ * @author huangbo
70834
+ * @date 2024年9月7日
70820
70835
  **/
70821
70836
  setConfig: function setConfig(results) {
70822
70837
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -70984,10 +70999,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70984
70999
  }
70985
71000
  },
70986
71001
 
70987
- /**
70988
- * @desc:获取所有应用
70989
- * @author huangbo
70990
- * @date 2024年9月7日
71002
+ /**
71003
+ * @desc:获取所有应用
71004
+ * @author huangbo
71005
+ * @date 2024年9月7日
70991
71006
  **/
70992
71007
  getApplications: function getApplications() {
70993
71008
  var _this2 = this;
@@ -71035,10 +71050,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71035
71050
  });
71036
71051
  },
71037
71052
 
71038
- /**
71039
- * @desc:获取菜单列表
71040
- * @author huangbo
71041
- * @date 2024年9月7日
71053
+ /**
71054
+ * @desc:获取菜单列表
71055
+ * @author huangbo
71056
+ * @date 2024年9月7日
71042
71057
  **/
71043
71058
  getMenus: function getMenus(loading) {
71044
71059
  var _this3 = this;
@@ -71071,10 +71086,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71071
71086
  });
71072
71087
  },
71073
71088
 
71074
- /**
71075
- * @desc:处理菜单列表
71076
- * @author huangbo
71077
- * @date 2024年9月7日
71089
+ /**
71090
+ * @desc:处理菜单列表
71091
+ * @author huangbo
71092
+ * @date 2024年9月7日
71078
71093
  **/
71079
71094
  renderMenus: function renderMenus(res) {
71080
71095
  this.menus = res;
@@ -71170,10 +71185,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71170
71185
  }
71171
71186
  },
71172
71187
 
71173
- /**
71174
- * @desc:设置页面加载类型
71175
- * @author huangbo
71176
- * @date 2024年9月7日
71188
+ /**
71189
+ * @desc:设置页面加载类型
71190
+ * @author huangbo
71191
+ * @date 2024年9月7日
71177
71192
  **/
71178
71193
  setIframeType: function setIframeType(res) {
71179
71194
  var url = res.url;
@@ -71229,10 +71244,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71229
71244
  return res;
71230
71245
  },
71231
71246
 
71232
- /**
71233
- * @desc:获取菜单
71234
- * @author huangbo
71235
- * @date 2024年9月7日
71247
+ /**
71248
+ * @desc:获取菜单
71249
+ * @author huangbo
71250
+ * @date 2024年9月7日
71236
71251
  **/
71237
71252
  getMenu: function getMenu(menus, res, key) {
71238
71253
  if (Array.isArray(menus)) {
@@ -71261,10 +71276,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71261
71276
  return false;
71262
71277
  },
71263
71278
 
71264
- /**
71265
- * @desc:获取菜单第一条数据
71266
- * @author huangbo
71267
- * @date 2024年9月7日
71279
+ /**
71280
+ * @desc:获取菜单第一条数据
71281
+ * @author huangbo
71282
+ * @date 2024年9月7日
71268
71283
  **/
71269
71284
  getFirst: function getFirst(obj) {
71270
71285
  if (!obj) {
@@ -71283,10 +71298,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71283
71298
  }
71284
71299
  },
71285
71300
 
71286
- /**
71287
- * @desc:遍历设置菜单气泡提醒
71288
- * @author huangbo
71289
- * @date 2024年9月7日
71301
+ /**
71302
+ * @desc:遍历设置菜单气泡提醒
71303
+ * @author huangbo
71304
+ * @date 2024年9月7日
71290
71305
  **/
71291
71306
  setTips: function setTips(obj) {
71292
71307
  var _this4 = this;
@@ -71357,10 +71372,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71357
71372
  }
71358
71373
  },
71359
71374
 
71360
- /**
71361
- * @desc:获取气泡提醒
71362
- * @author huangbo
71363
- * @date 2024年9月7日
71375
+ /**
71376
+ * @desc:获取气泡提醒
71377
+ * @author huangbo
71378
+ * @date 2024年9月7日
71364
71379
  **/
71365
71380
  getBadge: function getBadge(res) {
71366
71381
  var num = res.tips || 0;
@@ -71374,10 +71389,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71374
71389
  };
71375
71390
  },
71376
71391
 
71377
- /**
71378
- * @desc:开启weosocket
71379
- * @author huangbo
71380
- * @date 2024年9月7日
71392
+ /**
71393
+ * @desc:开启weosocket
71394
+ * @author huangbo
71395
+ * @date 2024年9月7日
71381
71396
  **/
71382
71397
  initWebSocket: function initWebSocket() {
71383
71398
  var _this6 = this;
@@ -71426,10 +71441,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71426
71441
  });
71427
71442
  },
71428
71443
 
71429
- /**
71430
- * @desc:显示用户信息
71431
- * @author huangbo
71432
- * @date 2024年9月7日
71444
+ /**
71445
+ * @desc:显示用户信息
71446
+ * @author huangbo
71447
+ * @date 2024年9月7日
71433
71448
  **/
71434
71449
  showUserInfo: function showUserInfo() {
71435
71450
  if (this.showUser === false) {
@@ -71437,19 +71452,19 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71437
71452
  }
71438
71453
  },
71439
71454
 
71440
- /**
71441
- * @desc:删除更多应用菜单点击
71442
- * @author huangbo
71443
- * @date 2024年9月7日
71455
+ /**
71456
+ * @desc:删除更多应用菜单点击
71457
+ * @author huangbo
71458
+ * @date 2024年9月7日
71444
71459
  **/
71445
71460
  handleDelete: function handleDelete(index) {
71446
71461
  this.newApps.splice(index, 1);
71447
71462
  },
71448
71463
 
71449
- /**
71450
- * @desc:储存更多应用菜单点击
71451
- * @author huangbo
71452
- * @date 2024年9月7日
71464
+ /**
71465
+ * @desc:储存更多应用菜单点击
71466
+ * @author huangbo
71467
+ * @date 2024年9月7日
71453
71468
  **/
71454
71469
  handlerClickApps: function handlerClickApps(res) {
71455
71470
  if (res.permission === false) {
@@ -71462,10 +71477,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71462
71477
  this.handlerClickApp(res);
71463
71478
  },
71464
71479
 
71465
- /**
71466
- * @desc:侧边应用菜单点击
71467
- * @author huangbo
71468
- * @date 2024年9月7日
71480
+ /**
71481
+ * @desc:侧边应用菜单点击
71482
+ * @author huangbo
71483
+ * @date 2024年9月7日
71469
71484
  **/
71470
71485
  handlerClickApp: function handlerClickApp(res) {
71471
71486
  this.showMsg = false;
@@ -71554,10 +71569,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71554
71569
  }
71555
71570
  },
71556
71571
 
71557
- /**
71558
- * @desc:显示Drawer界面
71559
- * @author huangbo
71560
- * @date 2024年9月7日
71572
+ /**
71573
+ * @desc:显示Drawer界面
71574
+ * @author huangbo
71575
+ * @date 2024年9月7日
71561
71576
  **/
71562
71577
  handlerSetDrawer: function handlerSetDrawer(res, type) {
71563
71578
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -71577,19 +71592,19 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71577
71592
  }
71578
71593
  },
71579
71594
 
71580
- /**
71581
- * @desc:关闭Drawer界面
71582
- * @author huangbo
71583
- * @date 2024年9月7日
71595
+ /**
71596
+ * @desc:关闭Drawer界面
71597
+ * @author huangbo
71598
+ * @date 2024年9月7日
71584
71599
  **/
71585
71600
  handleCloseDrawer: function handleCloseDrawer() {
71586
71601
  this.drawer = { visible: false };
71587
71602
  },
71588
71603
 
71589
- /**
71590
- * @desc:菜单点击
71591
- * @author huangbo
71592
- * @date 2024年9月7日
71604
+ /**
71605
+ * @desc:菜单点击
71606
+ * @author huangbo
71607
+ * @date 2024年9月7日
71593
71608
  **/
71594
71609
  handlerClickMenu: function handlerClickMenu(res) {
71595
71610
  utils_util.ajax({
@@ -71638,19 +71653,19 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71638
71653
  },
71639
71654
 
71640
71655
 
71641
- /**
71642
- * @desc:用户详情请求成功
71643
- * @author huangbo
71644
- * @date 2024年9月7日
71656
+ /**
71657
+ * @desc:用户详情请求成功
71658
+ * @author huangbo
71659
+ * @date 2024年9月7日
71645
71660
  **/
71646
71661
  handleSuccess: function handleSuccess(res) {
71647
71662
  this.simpleUserInfo = res.simpleUserInfo;
71648
71663
  },
71649
71664
 
71650
- /**
71651
- * @desc:修改用户配置
71652
- * @author huangbo
71653
- * @date 2024年9月7日
71665
+ /**
71666
+ * @desc:修改用户配置
71667
+ * @author huangbo
71668
+ * @date 2024年9月7日
71654
71669
  **/
71655
71670
  handleChangeConfig: function handleChangeConfig(name, res) {
71656
71671
  if (name == 'userHeadUrl') {
@@ -71666,10 +71681,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71666
71681
  }
71667
71682
  },
71668
71683
 
71669
- /**
71670
- * @desc:关闭webSocket
71671
- * @author huangbo
71672
- * @date 2024年9月7日
71684
+ /**
71685
+ * @desc:关闭webSocket
71686
+ * @author huangbo
71687
+ * @date 2024年9月7日
71673
71688
  **/
71674
71689
  handlerClose: function handlerClose() {
71675
71690
  if (this.webSocket) {
@@ -71677,10 +71692,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71677
71692
  }
71678
71693
  },
71679
71694
 
71680
- /**
71681
- * @desc:刷新选中iframe页签
71682
- * @author huangbo
71683
- * @date 2024年9月7日
71695
+ /**
71696
+ * @desc:刷新选中iframe页签
71697
+ * @author huangbo
71698
+ * @date 2024年9月7日
71684
71699
  **/
71685
71700
  handleRefresh: function handleRefresh(arg) {
71686
71701
  var _this7 = this;
@@ -71734,11 +71749,11 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71734
71749
  }
71735
71750
  },
71736
71751
 
71737
- /**
71738
- * @desc:构建 Wujie 子应用 URL(处理路由参数)
71739
- * @param {String} baseUrl - 基础 URL
71740
- * @param {Object} routeInfo - 路由信息 { path, params, query }
71741
- * @returns {String} 拼接后的完整 URL
71752
+ /**
71753
+ * @desc:构建 Wujie 子应用 URL(处理路由参数)
71754
+ * @param {String} baseUrl - 基础 URL
71755
+ * @param {Object} routeInfo - 路由信息 { path, params, query }
71756
+ * @returns {String} 拼接后的完整 URL
71742
71757
  **/
71743
71758
  buildWujieUrl: function buildWujieUrl(baseUrl, routeInfo) {
71744
71759
  var path = routeInfo.path,
@@ -71789,10 +71804,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71789
71804
  return baseUrlPrefix + fullPath;
71790
71805
  },
71791
71806
 
71792
- /**
71793
- * @desc:删除iframe
71794
- * @author huangbo
71795
- * @date 2024年9月7日
71807
+ /**
71808
+ * @desc:删除iframe
71809
+ * @author huangbo
71810
+ * @date 2024年9月7日
71796
71811
  **/
71797
71812
  handleRemove: function handleRemove(name) {
71798
71813
  var len = this.tabs.length - 1;
@@ -71809,10 +71824,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71809
71824
  }
71810
71825
  },
71811
71826
 
71812
- /**
71813
- * @desc:tabs鼠标右键事件
71814
- * @author huangbo
71815
- * @date 2024年9月7日
71827
+ /**
71828
+ * @desc:tabs鼠标右键事件
71829
+ * @author huangbo
71830
+ * @date 2024年9月7日
71816
71831
  **/
71817
71832
  handleContextmenu: function handleContextmenu(tabs, e) {
71818
71833
  var disabled = {};
@@ -71837,10 +71852,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71837
71852
  window.addEventListener('click', this.closeTabsEvents);
71838
71853
  },
71839
71854
 
71840
- /**
71841
- * @desc:tabs页签事件
71842
- * @author huangbo
71843
- * @date 2024年9月7日
71855
+ /**
71856
+ * @desc:tabs页签事件
71857
+ * @author huangbo
71858
+ * @date 2024年9月7日
71844
71859
  **/
71845
71860
  handleTabsEvents: function handleTabsEvents(num) {
71846
71861
  if (this.pane !== null) {
@@ -71851,10 +71866,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71851
71866
  },
71852
71867
 
71853
71868
 
71854
- /**
71855
- * @desc:关闭页签事件面板
71856
- * @author huangbo
71857
- * @date 2024年9月7日
71869
+ /**
71870
+ * @desc:关闭页签事件面板
71871
+ * @author huangbo
71872
+ * @date 2024年9月7日
71858
71873
  **/
71859
71874
  closeTabsEvents: function closeTabsEvents(e) {
71860
71875
  if (e.target.parentNode != this.$refs.tabsHandler.$el && e.target.parentNode.parentNode != this.$refs.tabsHandler.$el) {
@@ -71864,10 +71879,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71864
71879
  },
71865
71880
 
71866
71881
 
71867
- /**
71868
- * @desc:tabs页签点击事件
71869
- * @author huangbo
71870
- * @date 2024年9月7日
71882
+ /**
71883
+ * @desc:tabs页签点击事件
71884
+ * @author huangbo
71885
+ * @date 2024年9月7日
71871
71886
  **/
71872
71887
  handleTabClick: function handleTabClick() {
71873
71888
  this.active = '';
@@ -71875,10 +71890,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71875
71890
  this.showMenu = false;
71876
71891
  },
71877
71892
 
71878
- /**
71879
- * @desc:handler工具栏点击事件
71880
- * @author huangbo
71881
- * @date 2024年9月7日
71893
+ /**
71894
+ * @desc:handler工具栏点击事件
71895
+ * @author huangbo
71896
+ * @date 2024年9月7日
71882
71897
  **/
71883
71898
  handleClick: function handleClick(res) {
71884
71899
  var type = res.type,
@@ -71959,10 +71974,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
71959
71974
  this.$emit('handler-click', res);
71960
71975
  },
71961
71976
 
71962
- /**
71963
- * @desc:退出登录
71964
- * @author huangbo
71965
- * @date 2024年9月7日
71977
+ /**
71978
+ * @desc:退出登录
71979
+ * @author huangbo
71980
+ * @date 2024年9月7日
71966
71981
  **/
71967
71982
  handleQuit: function handleQuit() {
71968
71983
  var _this8 = this;
@@ -72043,10 +72058,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
72043
72058
  }).catch(function (e) {});
72044
72059
  },
72045
72060
 
72046
- /**
72047
- * @desc:主题、消息回调
72048
- * @author huangbo
72049
- * @date 2024年9月7日
72061
+ /**
72062
+ * @desc:主题、消息回调
72063
+ * @author huangbo
72064
+ * @date 2024年9月7日
72050
72065
  **/
72051
72066
  handleChange: function handleChange(res) {
72052
72067
  var type = res.type,
@@ -72062,10 +72077,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
72062
72077
  }
72063
72078
  },
72064
72079
 
72065
- /**
72066
- * @desc:菜单布局样式切换
72067
- * @author huangbo
72068
- * @date 2024年9月7日
72080
+ /**
72081
+ * @desc:菜单布局样式切换
72082
+ * @author huangbo
72083
+ * @date 2024年9月7日
72069
72084
  **/
72070
72085
  handleLayout: function handleLayout(res, active) {
72071
72086
  if (active) {
@@ -72075,10 +72090,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
72075
72090
  this.$emit('chang-layout', res, active);
72076
72091
  },
72077
72092
 
72078
- /**
72079
- * @desc:消息修改总数
72080
- * @author huangbo
72081
- * @date 2024年9月7日
72093
+ /**
72094
+ * @desc:消息修改总数
72095
+ * @author huangbo
72096
+ * @date 2024年9月7日
72082
72097
  **/
72083
72098
  handleMenuTips: function handleMenuTips(id, num) {
72084
72099
  if (num) {
@@ -72089,10 +72104,10 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
72089
72104
  }
72090
72105
  },
72091
72106
 
72092
- /**
72093
- * @desc:处理即时消息
72094
- * @author huangbo
72095
- * @date 2024年9月7日
72107
+ /**
72108
+ * @desc:处理即时消息
72109
+ * @author huangbo
72110
+ * @date 2024年9月7日
72096
72111
  **/
72097
72112
  handleOpened: function handleOpened(res) {
72098
72113
  var _this9 = this;
@@ -76120,8 +76135,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76120
76135
  this.currentPage = this.setIframeType(this.fourthTabs[0]);
76121
76136
  },
76122
76137
 
76123
- /**
76124
- * queryChildMenu: 查询左侧我的提醒和我的快捷菜单
76138
+ /**
76139
+ * queryChildMenu: 查询左侧我的提醒和我的快捷菜单
76125
76140
  */
76126
76141
  queryChildMenuData: function queryChildMenuData() {
76127
76142
  var _this2 = this;
@@ -76240,8 +76255,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76240
76255
  }))();
76241
76256
  },
76242
76257
 
76243
- /**
76244
- * getVoteMeetingNum: 查询会议数量
76258
+ /**
76259
+ * getVoteMeetingNum: 查询会议数量
76245
76260
  */
76246
76261
  getVoteMeetingNum: function getVoteMeetingNum() {
76247
76262
  var _this5 = this;
@@ -76266,8 +76281,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76266
76281
  });
76267
76282
  },
76268
76283
 
76269
- /**
76270
- * getShareFilesReceiveCountNew: 查询待接收文件数量
76284
+ /**
76285
+ * getShareFilesReceiveCountNew: 查询待接收文件数量
76271
76286
  */
76272
76287
  getShareFilesReceiveCountNew: function getShareFilesReceiveCountNew() {
76273
76288
  var _this6 = this;
@@ -76292,8 +76307,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76292
76307
  },
76293
76308
 
76294
76309
 
76295
- /**
76296
- * getUserTipsInstanceNum: 查询待签收/据签收任务数量 1是拒签收 0是待签收
76310
+ /**
76311
+ * getUserTipsInstanceNum: 查询待签收/据签收任务数量 1是拒签收 0是待签收
76297
76312
  */
76298
76313
  getUserTipsInstanceNum: function getUserTipsInstanceNum(type) {
76299
76314
  var _this7 = this;
@@ -76321,8 +76336,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76321
76336
  });
76322
76337
  },
76323
76338
 
76324
- /**
76325
- * getIndexCount: 查询待办任务数量
76339
+ /**
76340
+ * getIndexCount: 查询待办任务数量
76326
76341
  */
76327
76342
  getIndexCount: function getIndexCount() {
76328
76343
  var _this8 = this;
@@ -76353,10 +76368,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76353
76368
  this.$refs.user.handleSelect(res);
76354
76369
  },
76355
76370
 
76356
- /**
76357
- * @desc:匹配路由
76358
- * @author huangbo
76359
- * @date 2024年9月7日
76371
+ /**
76372
+ * @desc:匹配路由
76373
+ * @author huangbo
76374
+ * @date 2024年9月7日
76360
76375
  **/
76361
76376
  hasRouter: function hasRouter(res, url, code) {
76362
76377
  if (!url) {
@@ -76400,10 +76415,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76400
76415
  return false;
76401
76416
  },
76402
76417
 
76403
- /**
76404
- * @desc:获取初始数据
76405
- * @author huangbo
76406
- * @date 2024年9月7日
76418
+ /**
76419
+ * @desc:获取初始数据
76420
+ * @author huangbo
76421
+ * @date 2024年9月7日
76407
76422
  **/
76408
76423
  init: function init(results) {
76409
76424
  this.setConfig(results);
@@ -76414,10 +76429,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76414
76429
  // }
76415
76430
  },
76416
76431
 
76417
- /**
76418
- * @desc:设置用户配置及信息
76419
- * @author huangbo
76420
- * @date 2024年9月7日
76432
+ /**
76433
+ * @desc:设置用户配置及信息
76434
+ * @author huangbo
76435
+ * @date 2024年9月7日
76421
76436
  **/
76422
76437
  setConfig: function setConfig(results) {
76423
76438
  localStorage.setItem('mainConfig', JSON.stringify(results));
@@ -76581,8 +76596,8 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76581
76596
  }
76582
76597
  },
76583
76598
 
76584
- /**
76585
- * @desc:获取用户自定义菜单
76599
+ /**
76600
+ * @desc:获取用户自定义菜单
76586
76601
  **/
76587
76602
  getUseCommonMenu: function getUseCommonMenu() {
76588
76603
  var _this9 = this;
@@ -76612,10 +76627,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76612
76627
  });
76613
76628
  },
76614
76629
 
76615
- /**
76616
- * @desc:获取所有应用
76617
- * @author huangbo
76618
- * @date 2024年9月7日
76630
+ /**
76631
+ * @desc:获取所有应用
76632
+ * @author huangbo
76633
+ * @date 2024年9月7日
76619
76634
  **/
76620
76635
  getApplications: function getApplications() {
76621
76636
  var _this10 = this;
@@ -76663,10 +76678,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76663
76678
  });
76664
76679
  },
76665
76680
 
76666
- /**
76667
- * @desc:获取菜单列表
76668
- * @author huangbo
76669
- * @date 2024年9月7日
76681
+ /**
76682
+ * @desc:获取菜单列表
76683
+ * @author huangbo
76684
+ * @date 2024年9月7日
76670
76685
  **/
76671
76686
  getMenus: function getMenus(loading) {
76672
76687
  var _this11 = this;
@@ -76693,10 +76708,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76693
76708
  });
76694
76709
  },
76695
76710
 
76696
- /**
76697
- * @desc:处理菜单列表
76698
- * @author huangbo
76699
- * @date 2024年9月7日
76711
+ /**
76712
+ * @desc:处理菜单列表
76713
+ * @author huangbo
76714
+ * @date 2024年9月7日
76700
76715
  **/
76701
76716
  renderMenus: function renderMenus(res) {
76702
76717
  // // console.log(res, 'renderMenus');
@@ -76742,9 +76757,9 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76742
76757
  // console.log(this.currentPage, 'currentPage');
76743
76758
  },
76744
76759
 
76745
- /**
76746
- * 更新myRemind中各项的权限状态
76747
- * @param {Array} menus - 完整的菜单列表
76760
+ /**
76761
+ * 更新myRemind中各项的权限状态
76762
+ * @param {Array} menus - 完整的菜单列表
76748
76763
  */
76749
76764
  updateRemindPermission: function updateRemindPermission(menus) {
76750
76765
  // 创建一个Set存储所有菜单的id,方便快速查找
@@ -76772,10 +76787,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76772
76787
  });
76773
76788
  },
76774
76789
 
76775
- /**
76776
- * @desc:设置页面加载类型
76777
- * @author huangbo
76778
- * @date 2024年9月7日
76790
+ /**
76791
+ * @desc:设置页面加载类型
76792
+ * @author huangbo
76793
+ * @date 2024年9月7日
76779
76794
  **/
76780
76795
  setIframeType: function setIframeType(res) {
76781
76796
  var url = res.url;
@@ -76832,10 +76847,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76832
76847
  return res;
76833
76848
  },
76834
76849
 
76835
- /**
76836
- * @desc:获取菜单
76837
- * @author huangbo
76838
- * @date 2024年9月7日
76850
+ /**
76851
+ * @desc:获取菜单
76852
+ * @author huangbo
76853
+ * @date 2024年9月7日
76839
76854
  **/
76840
76855
  getMenu: function getMenu(menus, res, key) {
76841
76856
  if (Array.isArray(menus)) {
@@ -76864,10 +76879,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76864
76879
  return false;
76865
76880
  },
76866
76881
 
76867
- /**
76868
- * @desc:获取菜单第一条数据
76869
- * @author huangbo
76870
- * @date 2024年9月7日
76882
+ /**
76883
+ * @desc:获取菜单第一条数据
76884
+ * @author huangbo
76885
+ * @date 2024年9月7日
76871
76886
  **/
76872
76887
  getFirst: function getFirst(obj) {
76873
76888
  if (!obj) {
@@ -76886,10 +76901,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76886
76901
  }
76887
76902
  },
76888
76903
 
76889
- /**
76890
- * @desc:遍历设置菜单气泡提醒
76891
- * @author huangbo
76892
- * @date 2024年9月7日
76904
+ /**
76905
+ * @desc:遍历设置菜单气泡提醒
76906
+ * @author huangbo
76907
+ * @date 2024年9月7日
76893
76908
  **/
76894
76909
  setTips: function setTips(obj) {
76895
76910
  var _this12 = this;
@@ -76954,10 +76969,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76954
76969
  }
76955
76970
  },
76956
76971
 
76957
- /**
76958
- * @desc:获取气泡提醒
76959
- * @author huangbo
76960
- * @date 2024年9月7日
76972
+ /**
76973
+ * @desc:获取气泡提醒
76974
+ * @author huangbo
76975
+ * @date 2024年9月7日
76961
76976
  **/
76962
76977
  getBadge: function getBadge(res) {
76963
76978
  var num = res.tips || 0;
@@ -76971,10 +76986,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
76971
76986
  };
76972
76987
  },
76973
76988
 
76974
- /**
76975
- * @desc:开启weosocket
76976
- * @author huangbo
76977
- * @date 2024年9月7日
76989
+ /**
76990
+ * @desc:开启weosocket
76991
+ * @author huangbo
76992
+ * @date 2024年9月7日
76978
76993
  **/
76979
76994
  initWebSocket: function initWebSocket() {
76980
76995
  var _this14 = this;
@@ -77042,10 +77057,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77042
77057
  });
77043
77058
  },
77044
77059
 
77045
- /**
77046
- * @desc:显示用户信息
77047
- * @author huangbo
77048
- * @date 2024年9月7日
77060
+ /**
77061
+ * @desc:显示用户信息
77062
+ * @author huangbo
77063
+ * @date 2024年9月7日
77049
77064
  **/
77050
77065
  showUserInfo: function showUserInfo() {
77051
77066
  if (this.showUser === false) {
@@ -77053,19 +77068,19 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77053
77068
  }
77054
77069
  },
77055
77070
 
77056
- /**
77057
- * @desc:删除更多应用菜单点击
77058
- * @author huangbo
77059
- * @date 2024年9月7日
77071
+ /**
77072
+ * @desc:删除更多应用菜单点击
77073
+ * @author huangbo
77074
+ * @date 2024年9月7日
77060
77075
  **/
77061
77076
  handleDelete: function handleDelete(index) {
77062
77077
  this.newApps.splice(index, 1);
77063
77078
  },
77064
77079
 
77065
- /**
77066
- * @desc:显示Drawer界面
77067
- * @author huangbo
77068
- * @date 2024年9月7日
77080
+ /**
77081
+ * @desc:显示Drawer界面
77082
+ * @author huangbo
77083
+ * @date 2024年9月7日
77069
77084
  **/
77070
77085
  handlerSetDrawer: function handlerSetDrawer(res, type) {
77071
77086
  var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'ltr';
@@ -77085,28 +77100,28 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77085
77100
  }
77086
77101
  },
77087
77102
 
77088
- /**
77089
- * @desc:关闭Drawer界面
77090
- * @author huangbo
77091
- * @date 2024年9月7日
77103
+ /**
77104
+ * @desc:关闭Drawer界面
77105
+ * @author huangbo
77106
+ * @date 2024年9月7日
77092
77107
  **/
77093
77108
  handleCloseDrawer: function handleCloseDrawer() {
77094
77109
  this.drawer = { visible: false };
77095
77110
  },
77096
77111
 
77097
- /**
77098
- * @desc:用户详情请求成功
77099
- * @author huangbo
77100
- * @date 2024年9月7日
77112
+ /**
77113
+ * @desc:用户详情请求成功
77114
+ * @author huangbo
77115
+ * @date 2024年9月7日
77101
77116
  **/
77102
77117
  handleSuccess: function handleSuccess(res) {
77103
77118
  this.simpleUserInfo = res.simpleUserInfo;
77104
77119
  },
77105
77120
 
77106
- /**
77107
- * @desc:修改用户配置
77108
- * @author huangbo
77109
- * @date 2024年9月7日
77121
+ /**
77122
+ * @desc:修改用户配置
77123
+ * @author huangbo
77124
+ * @date 2024年9月7日
77110
77125
  **/
77111
77126
  handleChangeConfig: function handleChangeConfig(name, res) {
77112
77127
  if (name == 'userHeadUrl') {
@@ -77122,10 +77137,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77122
77137
  }
77123
77138
  },
77124
77139
 
77125
- /**
77126
- * @desc:关闭webSocket
77127
- * @author huangbo
77128
- * @date 2024年9月7日
77140
+ /**
77141
+ * @desc:关闭webSocket
77142
+ * @author huangbo
77143
+ * @date 2024年9月7日
77129
77144
  **/
77130
77145
  handlerClose: function handlerClose() {
77131
77146
  if (this.webSocket) {
@@ -77136,10 +77151,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77136
77151
  this.handleRefresh(1);
77137
77152
  },
77138
77153
 
77139
- /**
77140
- * @desc:刷新选中iframe页签
77141
- * @author huangbo
77142
- * @date 2024年9月7日
77154
+ /**
77155
+ * @desc:刷新选中iframe页签
77156
+ * @author huangbo
77157
+ * @date 2024年9月7日
77143
77158
  **/
77144
77159
  handleRefresh: function handleRefresh(arg) {
77145
77160
  if (arg !== 1) {
@@ -77197,11 +77212,11 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77197
77212
  }
77198
77213
  },
77199
77214
 
77200
- /**
77201
- * @desc:构建 Wujie 子应用 URL(处理路由参数)
77202
- * @param {String} baseUrl - 基础 URL
77203
- * @param {Object} routeInfo - 路由信息 { path, params, query }
77204
- * @returns {String} 拼接后的完整 URL
77215
+ /**
77216
+ * @desc:构建 Wujie 子应用 URL(处理路由参数)
77217
+ * @param {String} baseUrl - 基础 URL
77218
+ * @param {Object} routeInfo - 路由信息 { path, params, query }
77219
+ * @returns {String} 拼接后的完整 URL
77205
77220
  **/
77206
77221
  buildWujieUrl: function buildWujieUrl(baseUrl, routeInfo) {
77207
77222
  var path = routeInfo.path,
@@ -77252,10 +77267,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77252
77267
  return baseUrlPrefix + fullPath;
77253
77268
  },
77254
77269
 
77255
- /**
77256
- * @desc:删除iframe
77257
- * @author huangbo
77258
- * @date 2024年9月7日
77270
+ /**
77271
+ * @desc:删除iframe
77272
+ * @author huangbo
77273
+ * @date 2024年9月7日
77259
77274
  **/
77260
77275
  handleRemove: function handleRemove(name) {
77261
77276
  var len = this.tabs.length - 1;
@@ -77272,10 +77287,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77272
77287
  }
77273
77288
  },
77274
77289
 
77275
- /**
77276
- * @desc:tabs鼠标右键事件
77277
- * @author huangbo
77278
- * @date 2024年9月7日
77290
+ /**
77291
+ * @desc:tabs鼠标右键事件
77292
+ * @author huangbo
77293
+ * @date 2024年9月7日
77279
77294
  **/
77280
77295
  handleContextmenu: function handleContextmenu(tabs, e) {
77281
77296
  var disabled = {};
@@ -77300,10 +77315,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77300
77315
  window.addEventListener('click', this.closeTabsEvents);
77301
77316
  },
77302
77317
 
77303
- /**
77304
- * @desc:tabs页签事件
77305
- * @author huangbo
77306
- * @date 2024年9月7日
77318
+ /**
77319
+ * @desc:tabs页签事件
77320
+ * @author huangbo
77321
+ * @date 2024年9月7日
77307
77322
  **/
77308
77323
  handleTabsEvents: function handleTabsEvents(num) {
77309
77324
  if (this.pane !== null) {
@@ -77314,10 +77329,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77314
77329
  },
77315
77330
 
77316
77331
 
77317
- /**
77318
- * @desc:关闭页签事件面板
77319
- * @author huangbo
77320
- * @date 2024年9月7日
77332
+ /**
77333
+ * @desc:关闭页签事件面板
77334
+ * @author huangbo
77335
+ * @date 2024年9月7日
77321
77336
  **/
77322
77337
  closeTabsEvents: function closeTabsEvents(e) {
77323
77338
  if (e.target.parentNode != this.$refs.tabsHandler.$el && e.target.parentNode.parentNode != this.$refs.tabsHandler.$el) {
@@ -77327,10 +77342,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77327
77342
  },
77328
77343
 
77329
77344
 
77330
- /**
77331
- * @desc:tabs页签点击事件
77332
- * @author huangbo
77333
- * @date 2024年9月7日
77345
+ /**
77346
+ * @desc:tabs页签点击事件
77347
+ * @author huangbo
77348
+ * @date 2024年9月7日
77334
77349
  **/
77335
77350
  handleTabClick: function handleTabClick() {
77336
77351
  this.active = '';
@@ -77338,10 +77353,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77338
77353
  this.showMenu = false;
77339
77354
  },
77340
77355
 
77341
- /**
77342
- * @desc:handler工具栏点击事件
77343
- * @author huangbo
77344
- * @date 2024年9月7日
77356
+ /**
77357
+ * @desc:handler工具栏点击事件
77358
+ * @author huangbo
77359
+ * @date 2024年9月7日
77345
77360
  **/
77346
77361
  handleClick: function handleClick(res) {
77347
77362
  var type = res.type,
@@ -77431,10 +77446,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77431
77446
  this.$emit('handler-click', res);
77432
77447
  },
77433
77448
 
77434
- /**
77435
- * @desc:退出登录
77436
- * @author huangbo
77437
- * @date 2024年9月7日
77449
+ /**
77450
+ * @desc:退出登录
77451
+ * @author huangbo
77452
+ * @date 2024年9月7日
77438
77453
  **/
77439
77454
  handleQuit: function handleQuit() {
77440
77455
  var _this15 = this;
@@ -77509,10 +77524,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77509
77524
  }).catch(function (e) {});
77510
77525
  },
77511
77526
 
77512
- /**
77513
- * @desc:主题、消息回调
77514
- * @author huangbo
77515
- * @date 2024年9月7日
77527
+ /**
77528
+ * @desc:主题、消息回调
77529
+ * @author huangbo
77530
+ * @date 2024年9月7日
77516
77531
  **/
77517
77532
  handleChange: function handleChange(res) {
77518
77533
  var type = res.type,
@@ -77528,10 +77543,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77528
77543
  }
77529
77544
  },
77530
77545
 
77531
- /**
77532
- * @desc:菜单布局样式切换
77533
- * @author huangbo
77534
- * @date 2024年9月7日
77546
+ /**
77547
+ * @desc:菜单布局样式切换
77548
+ * @author huangbo
77549
+ * @date 2024年9月7日
77535
77550
  **/
77536
77551
  handleLayout: function handleLayout(res, active) {
77537
77552
  if (active) {
@@ -77541,10 +77556,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77541
77556
  this.$emit('chang-layout', res, active);
77542
77557
  },
77543
77558
 
77544
- /**
77545
- * @desc:消息修改总数
77546
- * @author huangbo
77547
- * @date 2024年9月7日
77559
+ /**
77560
+ * @desc:消息修改总数
77561
+ * @author huangbo
77562
+ * @date 2024年9月7日
77548
77563
  **/
77549
77564
  handleMenuTips: function handleMenuTips(id, num) {
77550
77565
  if (num) {
@@ -77555,10 +77570,10 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77555
77570
  }
77556
77571
  },
77557
77572
 
77558
- /**
77559
- * @desc:处理即时消息
77560
- * @author huangbo
77561
- * @date 2024年9月7日
77573
+ /**
77574
+ * @desc:处理即时消息
77575
+ * @author huangbo
77576
+ * @date 2024年9月7日
77562
77577
  **/
77563
77578
  handleOpened: function handleOpened(res) {
77564
77579
  var _this16 = this;
@@ -77574,14 +77589,14 @@ var simplicityTopvue_type_script_lang_js_systemMode = utils_util.getWinTopProper
77574
77589
  }
77575
77590
  },
77576
77591
 
77577
- /**
77578
- * @desc:菜单点击事件
77579
- * @author huangbo
77580
- * @date 2024年9月7日
77581
- * @param {*} res 菜单点击事件参数
77582
- * @param {*} method 菜单点击事件方法
77583
- * 1.顶部菜单点击跳转已经实现
77584
- * 2.其他地方点击跳转,需要选中跳转的一二级菜单
77592
+ /**
77593
+ * @desc:菜单点击事件
77594
+ * @author huangbo
77595
+ * @date 2024年9月7日
77596
+ * @param {*} res 菜单点击事件参数
77597
+ * @param {*} method 菜单点击事件方法
77598
+ * 1.顶部菜单点击跳转已经实现
77599
+ * 2.其他地方点击跳转,需要选中跳转的一二级菜单
77585
77600
  **/
77586
77601
  handleSelect: function handleSelect(res) {
77587
77602
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -84568,8 +84583,8 @@ page_src_main.install = function (Vue) {
84568
84583
  };
84569
84584
 
84570
84585
  /* harmony default export */ var packages_page = (page_src_main);
84571
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=template&id=29c1659e&
84572
- var mainvue_type_template_id_29c1659e_render = function () {
84586
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=template&id=751e6084&
84587
+ var mainvue_type_template_id_751e6084_render = function () {
84573
84588
  var _vm = this
84574
84589
  var _h = _vm.$createElement
84575
84590
  var _c = _vm._self._c || _h
@@ -84582,11 +84597,11 @@ var mainvue_type_template_id_29c1659e_render = function () {
84582
84597
  }),
84583
84598
  ])
84584
84599
  }
84585
- var mainvue_type_template_id_29c1659e_staticRenderFns = []
84586
- mainvue_type_template_id_29c1659e_render._withStripped = true
84600
+ var mainvue_type_template_id_751e6084_staticRenderFns = []
84601
+ mainvue_type_template_id_751e6084_render._withStripped = true
84587
84602
 
84588
84603
 
84589
- // CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=29c1659e&
84604
+ // CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=751e6084&
84590
84605
 
84591
84606
  // EXTERNAL MODULE: external "video.js"
84592
84607
  var external_video_js_ = __webpack_require__(6);
@@ -84597,7 +84612,7 @@ var zh_CN_json_ = __webpack_require__(15);
84597
84612
  var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
84598
84613
 
84599
84614
  // EXTERNAL MODULE: external "video.js/dist/video-js.css"
84600
- var video_js_css_ = __webpack_require__(27);
84615
+ var video_js_css_ = __webpack_require__(28);
84601
84616
 
84602
84617
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=script&lang=js&
84603
84618
  var player_src_mainvue_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; };
@@ -84713,7 +84728,7 @@ external_video_js_default.a.addLanguage('zh-CN', zh_CN_json_default.a);
84713
84728
  sources: [{
84714
84729
  withCredentials: false,
84715
84730
  type: this.type,
84716
- src: this.isObject ? this.source.src : source
84731
+ src: this.isObject ? this.source.src : this.source
84717
84732
  }],
84718
84733
  poster: this.isObject ? this.source.poster : ''
84719
84734
  });
@@ -84807,8 +84822,8 @@ external_video_js_default.a.addLanguage('zh-CN', zh_CN_json_default.a);
84807
84822
 
84808
84823
  var player_src_main_component = normalizeComponent(
84809
84824
  packages_player_src_mainvue_type_script_lang_js_,
84810
- mainvue_type_template_id_29c1659e_render,
84811
- mainvue_type_template_id_29c1659e_staticRenderFns,
84825
+ mainvue_type_template_id_751e6084_render,
84826
+ mainvue_type_template_id_751e6084_staticRenderFns,
84812
84827
  false,
84813
84828
  null,
84814
84829
  null,
@@ -84892,7 +84907,7 @@ mainvue_type_template_id_15448f0a_render._withStripped = true
84892
84907
  //
84893
84908
 
84894
84909
 
84895
- var QRCode = __webpack_require__(28);
84910
+ var QRCode = __webpack_require__(29);
84896
84911
  /* harmony default export */ var qr_code_src_mainvue_type_script_lang_js_ = ({
84897
84912
  name: 'EsQrCode',
84898
84913
  props: {
@@ -84996,19 +85011,19 @@ var QRCode = __webpack_require__(28);
84996
85011
  //设置logo大小
84997
85012
  var logoPosition = (_this3.mwidth - 46) / 2; //logo相对于canvas居中定位
84998
85013
  //设置获取的logo将其变为圆角以及添加白色背景
84999
- /* ctx.fillStyle = "#fff";
85000
- ctx.beginPath();
85001
- let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
85002
- let w = 46; //圆角宽
85003
- let x = logoPosition - 5;
85004
- let y = logoPosition - 5;
85005
- let r = 5; //圆角半径
85006
- ctx.moveTo(x + r, y);
85007
- ctx.arcTo(x + w, y, x + w, y + h, r);
85008
- ctx.arcTo(x + w, y + h, x, y + h, r);
85009
- ctx.arcTo(x, y + h, x, y, r);
85010
- ctx.arcTo(x, y, x + w, y, r);
85011
- ctx.closePath();
85014
+ /* ctx.fillStyle = "#fff";
85015
+ ctx.beginPath();
85016
+ let h = 46; //圆角高 10为基数(logo四周白色背景为10/2)
85017
+ let w = 46; //圆角宽
85018
+ let x = logoPosition - 5;
85019
+ let y = logoPosition - 5;
85020
+ let r = 5; //圆角半径
85021
+ ctx.moveTo(x + r, y);
85022
+ ctx.arcTo(x + w, y, x + w, y + h, r);
85023
+ ctx.arcTo(x + w, y + h, x, y + h, r);
85024
+ ctx.arcTo(x, y + h, x, y, r);
85025
+ ctx.arcTo(x, y, x + w, y, r);
85026
+ ctx.closePath();
85012
85027
  ctx.fill(); */
85013
85028
  logo.onload = function () {
85014
85029
  ctx.drawImage(logo, logoPosition, logoPosition, 46, 46);
@@ -101170,8 +101185,8 @@ form_src_table.install = function (Vue) {
101170
101185
  };
101171
101186
 
101172
101187
  /* harmony default export */ var table_form = (form_src_table);
101173
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=f3cb4f04&
101174
- var mainvue_type_template_id_f3cb4f04_render = function () {
101188
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=6e200c92&
101189
+ var mainvue_type_template_id_6e200c92_render = function () {
101175
101190
  var _vm = this
101176
101191
  var _h = _vm.$createElement
101177
101192
  var _c = _vm._self._c || _h
@@ -101196,6 +101211,8 @@ var mainvue_type_template_id_f3cb4f04_render = function () {
101196
101211
  height: _vm.boxHeight,
101197
101212
  multiple: _vm.portrait ? false : _vm.multiple,
101198
101213
  action: _vm.uploadUrl,
101214
+ "http-request": _vm.chunkHttpRequest,
101215
+ handles: _vm.chunkHandles,
101199
101216
  "show-file-list": _vm.showList,
101200
101217
  "file-list": _vm.lists,
101201
101218
  "result-file": _vm.resultFile,
@@ -101340,7 +101357,7 @@ var mainvue_type_template_id_f3cb4f04_render = function () {
101340
101357
  : _vm.autoUpload
101341
101358
  ? "点击上传"
101342
101359
  : "选择文件"
101343
- )
101360
+ ) + "\n "
101344
101361
  ),
101345
101362
  ]
101346
101363
  ),
@@ -101552,11 +101569,11 @@ var mainvue_type_template_id_f3cb4f04_render = function () {
101552
101569
  )
101553
101570
  : _vm._e()
101554
101571
  }
101555
- var mainvue_type_template_id_f3cb4f04_staticRenderFns = []
101556
- mainvue_type_template_id_f3cb4f04_render._withStripped = true
101572
+ var mainvue_type_template_id_6e200c92_staticRenderFns = []
101573
+ mainvue_type_template_id_6e200c92_render._withStripped = true
101557
101574
 
101558
101575
 
101559
- // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=f3cb4f04&
101576
+ // CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=6e200c92&
101560
101577
 
101561
101578
  // CONCATENATED MODULE: ./packages/upload/src/picture.js
101562
101579
  /* harmony default export */ var picture = ({
@@ -101577,6 +101594,10 @@ mainvue_type_template_id_f3cb4f04_render._withStripped = true
101577
101594
  // EXTERNAL MODULE: external "js-base64"
101578
101595
  var external_js_base64_ = __webpack_require__(18);
101579
101596
 
101597
+ // EXTERNAL MODULE: external "spark-md5"
101598
+ var external_spark_md5_ = __webpack_require__(19);
101599
+ var external_spark_md5_default = /*#__PURE__*/__webpack_require__.n(external_spark_md5_);
101600
+
101580
101601
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=script&lang=js&
101581
101602
  var upload_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
101582
101603
 
@@ -101769,6 +101790,8 @@ var mainvue_type_script_lang_js_props;
101769
101790
 
101770
101791
 
101771
101792
 
101793
+
101794
+
101772
101795
  /* harmony default export */ var upload_src_mainvue_type_script_lang_js_ = ({
101773
101796
  name: 'EsUpload',
101774
101797
  components: {
@@ -102001,7 +102024,9 @@ var mainvue_type_script_lang_js_props;
102001
102024
  boxHeight: this.listHeight,
102002
102025
  previewAdjunct: api_previewAdjunct,
102003
102026
  kkfileview: null,
102004
- dochubConfig: {}
102027
+ dochubConfig: {},
102028
+ // 文档中台桶配置下发的分片上传配置(baseBucketConfig),null 表示未下发 → 回退组件 props
102029
+ bucketChunkConfig: null
102005
102030
  };
102006
102031
  },
102007
102032
 
@@ -102156,6 +102181,90 @@ var mainvue_type_script_lang_js_props;
102156
102181
  }
102157
102182
  }
102158
102183
  return this.photo;
102184
+ },
102185
+
102186
+ // 是否走分片上传:完全由后台桶配置(/v2/chunk/config)的开关决定,且具备桶编码(code)与业务id(ownId)
102187
+ isChunk: function isChunk() {
102188
+ var cfg = this.bucketChunkConfig;
102189
+ return !!(cfg && cfg.enableChunkUpload) && !!this.code && !!this.ownId;
102190
+ },
102191
+
102192
+ // 生效的分片大小(字节):桶配置 > 默认 5MB
102193
+ _chunkSize: function _chunkSize() {
102194
+ var cfg = this.bucketChunkConfig;
102195
+ return cfg && Number(cfg.chunkSize) > 0 && Number(cfg.chunkSize) || 5 * 1024 * 1024;
102196
+ },
102197
+
102198
+ // 生效的分片并发数:桶配置 > 默认 3
102199
+ _chunkConcurrent: function _chunkConcurrent() {
102200
+ var cfg = this.bucketChunkConfig;
102201
+ return cfg && Number(cfg.chunkConcurrent) > 0 && Number(cfg.chunkConcurrent) || 3;
102202
+ },
102203
+
102204
+ // 分片三接口地址:优先 dochubConfig 下发,否则回退 api.js 常量(与本组件 dochubConfig.x || 常量 的写法一致)
102205
+ chunkUrls: function chunkUrls() {
102206
+ var cfg = this.dochubConfig || {};
102207
+ return {
102208
+ check: cfg.chunkCheckUrl || chunkCheckFile,
102209
+ upload: cfg.chunkUploadUrl || chunkUploadChunk,
102210
+ merge: cfg.chunkMergeUrl || chunkMergeChunk
102211
+ };
102212
+ },
102213
+
102214
+ // 传给 el-upload 的自定义上传实现;非分片模式返回 undefined 以走默认上传
102215
+ chunkHttpRequest: function chunkHttpRequest() {
102216
+ return this.isChunk ? this.chunkUpload : undefined;
102217
+ },
102218
+
102219
+ // 操作列按钮:非分片模式回退用户经 $attrs 传入的 handles(或 undefined → el-upload 默认),
102220
+ // 分片模式注入"暂停/继续"并保留预览/下载/删除(emit 复用既有事件链)。仅分片模式改变渲染,不影响存量业务。
102221
+ chunkHandles: function chunkHandles() {
102222
+ var _this = this;
102223
+
102224
+ if (!this.isChunk) return this.$attrs.handles;
102225
+ var done = function done(f) {
102226
+ return f.status === 'success' || f.status == 0;
102227
+ };
102228
+ return [{
102229
+ icon: 'el-icon-video-pause',
102230
+ title: '暂停',
102231
+ rules: function rules(f) {
102232
+ return _this.isChunkUploading(f) && !f.chunkPaused;
102233
+ },
102234
+ event: function event(f) {
102235
+ return _this.pauseUpload(f);
102236
+ }
102237
+ }, {
102238
+ icon: 'el-icon-video-play',
102239
+ title: '继续',
102240
+ rules: function rules(f) {
102241
+ return _this.isChunkUploading(f) && !!f.chunkPaused;
102242
+ },
102243
+ event: function event(f) {
102244
+ return _this.resumeUpload(f);
102245
+ }
102246
+ }, {
102247
+ icon: 'el-icon-document-copy',
102248
+ title: '预览',
102249
+ rules: function rules(f) {
102250
+ return !!_this.preview && done(f);
102251
+ },
102252
+ emit: 'preview'
102253
+ }, {
102254
+ icon: 'el-icon-download',
102255
+ title: '下载',
102256
+ rules: function rules(f) {
102257
+ return _this.isDownload && done(f);
102258
+ },
102259
+ emit: 'download'
102260
+ }, {
102261
+ icon: 'el-icon-delete',
102262
+ title: '删除',
102263
+ rules: function rules(f) {
102264
+ return _this.isRemove;
102265
+ },
102266
+ emit: 'remove'
102267
+ }];
102159
102268
  }
102160
102269
  },
102161
102270
  watch: {
@@ -102209,16 +102318,18 @@ var mainvue_type_script_lang_js_props;
102209
102318
  }
102210
102319
  },
102211
102320
  beforeCreate: function beforeCreate() {
102212
- var _this = this;
102321
+ var _this2 = this;
102213
102322
 
102214
102323
  this.getFiles = Object(external_throttle_debounce_["debounce"])(500, function () {
102215
- _this.getFileLists();
102324
+ _this2.getFileLists();
102216
102325
  });
102217
102326
  this.getAdjunctPropertie = Object(external_throttle_debounce_["debounce"])(500, function () {
102218
- _this.getAdjunctProperties();
102327
+ _this2.getAdjunctProperties();
102219
102328
  });
102220
102329
  },
102221
102330
  created: function created() {
102331
+ // 分片上传的运行态(按 file.uid 索引,非响应式,仅用于流程控制)
102332
+ this._chunkState = {};
102222
102333
  var dochubConfig = sessionStorage.getItem('dochubConfig');
102223
102334
  if (dochubConfig) {
102224
102335
  this.dochubConfig = JSON.parse(dochubConfig);
@@ -102226,10 +102337,10 @@ var mainvue_type_script_lang_js_props;
102226
102337
  this.getAdjunctPropertie();
102227
102338
  },
102228
102339
  mounted: function mounted() {
102229
- var _this2 = this;
102340
+ var _this3 = this;
102230
102341
 
102231
102342
  this.$nextTick(function () {
102232
- _this2.getHeight();
102343
+ _this3.getHeight();
102233
102344
  });
102234
102345
  },
102235
102346
 
@@ -102245,7 +102356,7 @@ var mainvue_type_script_lang_js_props;
102245
102356
 
102246
102357
  //根据code获取附件参数配置
102247
102358
  getAdjunctProperties: function getAdjunctProperties() {
102248
- var _this3 = this;
102359
+ var _this4 = this;
102249
102360
 
102250
102361
  if (this.code !== undefined) {
102251
102362
  var config = utils_store.get(this.code);
@@ -102255,6 +102366,11 @@ var mainvue_type_script_lang_js_props;
102255
102366
  this.fileTotalSize = config.totalSize;
102256
102367
  if (config.dochubConfig) {
102257
102368
  this.dochubConfig = config.dochubConfig;
102369
+ if (config.bucketChunkConfig !== undefined) {
102370
+ this.bucketChunkConfig = config.bucketChunkConfig;
102371
+ } else {
102372
+ this.getBucketChunkConfig();
102373
+ }
102258
102374
  }
102259
102375
 
102260
102376
  var url = this.portrait || this.documentId ? this.dochubConfig.reuploadDocumentUrl || uploadOnlyOne : this.dochubConfig.uploadDocumentUrl || uploads;
@@ -102269,43 +102385,80 @@ var mainvue_type_script_lang_js_props;
102269
102385
  }).then(function (res) {
102270
102386
  if (res.rCode === 0) {
102271
102387
  if (res.results) {
102272
- _this3.excludeNames = res.results.excludeName;
102388
+ _this4.excludeNames = res.results.excludeName;
102273
102389
  if (res.results.fileTypeExtName) {
102274
102390
  var fileTypeExtName = res.results.fileTypeExtName.split(';');
102275
- _this3.fileAccept = fileTypeExtName.filter(function (item) {
102391
+ _this4.fileAccept = fileTypeExtName.filter(function (item) {
102276
102392
  return item;
102277
102393
  }).join(',');
102278
102394
  }
102279
102395
  if (res.results.dochubConfig) {
102280
- _this3.dochubConfig = res.results.dochubConfig;
102396
+ _this4.dochubConfig = res.results.dochubConfig;
102281
102397
  sessionStorage.setItem('dochubConfig', JSON.stringify(res.results.dochubConfig));
102398
+ // dochubConfig 有数据 → 走文档中台,再拉取该桶的桶配置(分片上传开关/参数)
102399
+ _this4.getBucketChunkConfig();
102282
102400
  }
102283
- var _url = _this3.portrait ? _this3.dochubConfig.reuploadDocumentUrl || uploadOnlyOne : _this3.dochubConfig.uploadDocumentUrl || uploads;
102284
- _this3.uploadUrl = _url.indexOf(_this3.host) > -1 ? _url : _this3.host + _url;
102401
+ var _url = _this4.portrait ? _this4.dochubConfig.reuploadDocumentUrl || uploadOnlyOne : _this4.dochubConfig.uploadDocumentUrl || uploads;
102402
+ _this4.uploadUrl = _url.indexOf(_this4.host) > -1 ? _url : _this4.host + _url;
102285
102403
  if (res.results.kkViewRootPath) {
102286
- _this3.kkfileview = res.results.kkViewRootPath;
102404
+ _this4.kkfileview = res.results.kkViewRootPath;
102287
102405
  }
102288
- _this3.fileSize = res.results.limitFileSize ? res.results.limitFileSize : 0;
102289
- _this3.fileTotalSize = res.results.limitTotalSize;
102290
- utils_store.set(_this3.code, {
102291
- accept: _this3.fileAccept,
102292
- size: _this3.fileSize,
102293
- totalSize: _this3.fileTotalSize,
102294
- dochubConfig: _this3.dochubConfig
102406
+ _this4.fileSize = res.results.limitFileSize ? res.results.limitFileSize : 0;
102407
+ _this4.fileTotalSize = res.results.limitTotalSize;
102408
+ utils_store.set(_this4.code, {
102409
+ accept: _this4.fileAccept,
102410
+ size: _this4.fileSize,
102411
+ totalSize: _this4.fileTotalSize,
102412
+ dochubConfig: _this4.dochubConfig
102295
102413
  });
102296
102414
  }
102297
- _this3.requestFiles && _this3.getFiles();
102415
+ _this4.requestFiles && _this4.getFiles();
102298
102416
  }
102299
102417
  }).catch(function (err) {
102300
102418
  if (err.message && err.message !== 'canceled') {
102301
- _this3.$message.error(err.message);
102419
+ _this4.$message.error(err.message);
102302
102420
  }
102303
102421
  });
102304
102422
  }
102305
102423
  }
102306
102424
  },
102425
+
102426
+ // 根据桶编码调中台获取桶配置接口(/v2/getBucket),取 baseBucketConfig 中的分片上传开关与参数。
102427
+ getBucketChunkConfig: function getBucketChunkConfig() {
102428
+ var _this5 = this;
102429
+
102430
+ if (!this.code) return;
102431
+ var url = getDochubBucket;
102432
+ utils_util.ajax({
102433
+ method: this.method,
102434
+ url: url,
102435
+ data: { bucketCode: this.code },
102436
+ params: { bucketCode: this.code }
102437
+ }).then(function (res) {
102438
+ if (res.rCode === 0 && res.results && res.results.baseBucketConfig) {
102439
+ var cfg = res.results.baseBucketConfig;
102440
+ _this5.bucketChunkConfig = {
102441
+ enableChunkUpload: cfg.enableChunkUpload,
102442
+ chunkSize: cfg.chunkSize,
102443
+ chunkConcurrent: cfg.chunkConcurrent
102444
+ };
102445
+ } else {
102446
+ _this5.bucketChunkConfig = null;
102447
+ }
102448
+ // 回写本地缓存,避免同 code 的其他实例重复请求
102449
+ var cached = utils_store.get(_this5.code);
102450
+ if (cached) {
102451
+ utils_store.set(_this5.code, upload_src_mainvue_type_script_lang_js_extends({}, cached, {
102452
+ bucketChunkConfig: _this5.bucketChunkConfig
102453
+ }));
102454
+ }
102455
+ }).catch(function () {
102456
+ // 桶配置获取失败不阻断上传,维持 props 行为
102457
+ _this5.bucketChunkConfig = null;
102458
+ });
102459
+ },
102307
102460
  getFileLists: function getFileLists() {
102308
- var _this4 = this;
102461
+ var _this6 = this;
102309
102462
 
102310
102463
  if (!this.show || this.fileList && Array.isArray(this.fileList) && this.fileList.length || this.requiredOwnId && !Object.prototype.hasOwnProperty.call(this.params, 'ownId')) {
102311
102464
  return false;
@@ -102319,30 +102472,30 @@ var mainvue_type_script_lang_js_props;
102319
102472
  format: false
102320
102473
  }).then(function (res) {
102321
102474
  if (res.rCode === 0) {
102322
- if (_this4.portrait === true) {
102323
- _this4.image = JSON.parse(JSON.stringify(res.results))[0];
102475
+ if (_this6.portrait === true) {
102476
+ _this6.image = JSON.parse(JSON.stringify(res.results))[0];
102324
102477
  } else {
102325
- _this4.lists = JSON.parse(JSON.stringify(res.results));
102478
+ _this6.lists = JSON.parse(JSON.stringify(res.results));
102326
102479
  var filesTotalSize = 0;
102327
- _this4.lists.forEach(function (item) {
102480
+ _this6.lists.forEach(function (item) {
102328
102481
  if (Object.prototype.hasOwnProperty.call(item, 'fileSize') && item.fileSize) {
102329
102482
  filesTotalSize += parseFloat(item.fileSize, 10);
102330
102483
  } else {
102331
102484
  filesTotalSize += item.size ? Math.round(item.size / 1024 * 10) / 10 : 0;
102332
102485
  }
102333
102486
  });
102334
- _this4.filesTotalSize = filesTotalSize;
102335
- if (_this4.lists.length) {
102336
- _this4.$emit('input', _this4.lists);
102487
+ _this6.filesTotalSize = filesTotalSize;
102488
+ if (_this6.lists.length) {
102489
+ _this6.$emit('input', _this6.lists);
102337
102490
  }
102338
102491
  }
102339
102492
  } else {
102340
102493
  var msg = res.msg || '系统错误,请联系管理员!';
102341
- _this4.$message.error(msg);
102494
+ _this6.$message.error(msg);
102342
102495
  }
102343
102496
  }).catch(function (err) {
102344
102497
  if (err.message && err.message !== 'canceled') {
102345
- _this4.$message.error(err.message);
102498
+ _this6.$message.error(err.message);
102346
102499
  }
102347
102500
  });
102348
102501
  },
@@ -102362,7 +102515,7 @@ var mainvue_type_script_lang_js_props;
102362
102515
  utils_util.win.open(this.kkfileview + '?url=' + url);
102363
102516
  },
102364
102517
  handlePreview: function handlePreview(res) {
102365
- var _this5 = this;
102518
+ var _this7 = this;
102366
102519
 
102367
102520
  if (this.preview) {
102368
102521
  if (this.onPreview) {
@@ -102379,7 +102532,7 @@ var mainvue_type_script_lang_js_props;
102379
102532
  this.title = file.originalName;
102380
102533
  this.showImg = true;
102381
102534
  this.$nextTick(function () {
102382
- _this5.loadImage();
102535
+ _this7.loadImage();
102383
102536
  });
102384
102537
  } else if (suffix.includes('mp4')) {
102385
102538
  this.source = {
@@ -102408,7 +102561,7 @@ var mainvue_type_script_lang_js_props;
102408
102561
  this.title = file.originalName;
102409
102562
  this.showImg = true;
102410
102563
  this.$nextTick(function () {
102411
- _this5.loadImage();
102564
+ _this7.loadImage();
102412
102565
  });
102413
102566
  } else if (suffix.includes('mp4')) {
102414
102567
  this.source = {
@@ -102434,24 +102587,24 @@ var mainvue_type_script_lang_js_props;
102434
102587
  this.showImg = false;
102435
102588
  },
102436
102589
  loadImage: function loadImage() {
102437
- var _this6 = this;
102590
+ var _this8 = this;
102438
102591
 
102439
102592
  this.$refs.showImg && (this.$refs.showImg.onload = function () {
102440
- _this6.imgChange = false;
102441
- var w = _this6.$refs.showImg.naturalWidth;
102442
- var h = _this6.$refs.showImg.naturalHeight;
102443
- var pw = _this6.$refs.showImg.parentNode.offsetWidth;
102444
- var ph = _this6.$refs.showImg.parentNode.offsetHeight;
102593
+ _this8.imgChange = false;
102594
+ var w = _this8.$refs.showImg.naturalWidth;
102595
+ var h = _this8.$refs.showImg.naturalHeight;
102596
+ var pw = _this8.$refs.showImg.parentNode.offsetWidth;
102597
+ var ph = _this8.$refs.showImg.parentNode.offsetHeight;
102445
102598
  if (w / h > pw / ph) {
102446
- _this6.styles = { 'max-width': '100%' };
102599
+ _this8.styles = { 'max-width': '100%' };
102447
102600
  } else {
102448
- _this6.styles = { 'max-height': '100%' };
102601
+ _this8.styles = { 'max-height': '100%' };
102449
102602
  }
102450
102603
  if (w < pw) {
102451
- _this6.styles.width = w + 'px';
102604
+ _this8.styles.width = w + 'px';
102452
102605
  }
102453
102606
  if (h < ph) {
102454
- _this6.styles.height = h + 'px';
102607
+ _this8.styles.height = h + 'px';
102455
102608
  }
102456
102609
  });
102457
102610
  },
@@ -102513,7 +102666,7 @@ var mainvue_type_script_lang_js_props;
102513
102666
  return flag;
102514
102667
  },
102515
102668
  handleBeforeRemove: function handleBeforeRemove(file, fileList) {
102516
- var _this7 = this;
102669
+ var _this9 = this;
102517
102670
 
102518
102671
  if (file && (file.status === 'success' || file.status == 0)) {
102519
102672
  return this.$confirm('确定删除文件吗?', '提示', {
@@ -102521,15 +102674,15 @@ var mainvue_type_script_lang_js_props;
102521
102674
  cancelButtonText: '取消',
102522
102675
  type: 'warning'
102523
102676
  }).then(function () {
102524
- if (_this7.beforeRemove) {
102525
- return _this7.beforeRemove(file, fileList);
102677
+ if (_this9.beforeRemove) {
102678
+ return _this9.beforeRemove(file, fileList);
102526
102679
  } else if (file.status === 'success' || file.status == 0) {
102527
102680
  var userName = file.userName || file.response && file.response.userName || utils_util.getStorage('userName');
102528
102681
  // eslint-disable-next-line no-undef
102529
102682
  return new Promise(function (resolve, reject) {
102530
- var url = typeof _this7.deleted === 'string' ? _this7.deleted : _this7.remove === 'string' ? _this7.remove : _this7.dochubConfig.deleteDocumentUrl || delAdjunct;
102683
+ var url = typeof _this9.deleted === 'string' ? _this9.deleted : _this9.remove === 'string' ? _this9.remove : _this9.dochubConfig.deleteDocumentUrl || delAdjunct;
102531
102684
  utils_util.ajax({
102532
- method: _this7.method,
102685
+ method: _this9.method,
102533
102686
  url: url,
102534
102687
  data: {
102535
102688
  userName: userName,
@@ -102543,18 +102696,18 @@ var mainvue_type_script_lang_js_props;
102543
102696
  }
102544
102697
  }).then(function (res) {
102545
102698
  if (res.rCode === 0) {
102546
- var se = _this7.filesTotalSize - Math.round(file.size / 1024 * 10) / 10;
102547
- _this7.filesTotalSize = se;
102548
- _this7.$message.success(res.msg);
102699
+ var se = _this9.filesTotalSize - Math.round(file.size / 1024 * 10) / 10;
102700
+ _this9.filesTotalSize = se;
102701
+ _this9.$message.success(res.msg);
102549
102702
  resolve();
102550
102703
  } else {
102551
102704
  var msg = res.msg || '系统错误,请联系管理员!';
102552
- _this7.$message.error(msg);
102705
+ _this9.$message.error(msg);
102553
102706
  reject();
102554
102707
  }
102555
102708
  }).catch(function (err) {
102556
102709
  if (err.message && err.message !== 'canceled') {
102557
- _this7.$message.error(err.message);
102710
+ _this9.$message.error(err.message);
102558
102711
  }
102559
102712
  });
102560
102713
  });
@@ -102592,7 +102745,7 @@ var mainvue_type_script_lang_js_props;
102592
102745
  a.dispatchEvent(event);
102593
102746
  },
102594
102747
  handleSort: function handleSort(files) {
102595
- var _this8 = this;
102748
+ var _this10 = this;
102596
102749
 
102597
102750
  if (this.isSort) {
102598
102751
  if (this.onSort) {
@@ -102626,14 +102779,14 @@ var mainvue_type_script_lang_js_props;
102626
102779
  }
102627
102780
  }).then(function (res) {
102628
102781
  if (res.rCode === 0) {
102629
- _this8.$message.success(res.msg);
102782
+ _this10.$message.success(res.msg);
102630
102783
  } else {
102631
102784
  var msg = res.msg || '系统错误,请联系管理员!';
102632
- _this8.$message.error(msg);
102785
+ _this10.$message.error(msg);
102633
102786
  }
102634
102787
  }).catch(function (err) {
102635
102788
  if (err.message && err.message !== 'canceled') {
102636
- _this8.$message.error(err.message);
102789
+ _this10.$message.error(err.message);
102637
102790
  }
102638
102791
  });
102639
102792
  }
@@ -102680,6 +102833,7 @@ var mainvue_type_script_lang_js_props;
102680
102833
  this.onChange && this.onChange(file, fileList);
102681
102834
  },
102682
102835
  handleRemove: function handleRemove(file, fileList) {
102836
+ this.cleanupChunk(file);
102683
102837
  this.$emit('input', fileList.length ? fileList : '');
102684
102838
  this.$emit('remove', file, fileList);
102685
102839
  this.$emit('change', fileList);
@@ -102701,6 +102855,323 @@ var mainvue_type_script_lang_js_props;
102701
102855
  }
102702
102856
  this.$emit('error', err, file, fileList);
102703
102857
  this.onError && this.onError(err, file, fileList);
102858
+ },
102859
+
102860
+ // el-upload 的自定义上传实现:建立可暂停的运行态并返回受控 Promise。
102861
+ // 暂停时不 resolve/reject(promise 维持 pending,文件保持"上传中"而非失败),继续时再次进入流程。
102862
+ chunkUpload: function chunkUpload(options) {
102863
+ var _this11 = this;
102864
+
102865
+ var file = options.file;
102866
+ var uid = file.uid;
102867
+ var state = {
102868
+ paused: false,
102869
+ controller: null,
102870
+ fileMd5: '',
102871
+ totalChunks: Math.max(1, Math.ceil(file.size / this._chunkSize)),
102872
+ options: options
102873
+ };
102874
+ this._chunkState[uid] = state;
102875
+ return new Promise(function (resolve, reject) {
102876
+ state.resolve = resolve;
102877
+ state.reject = reject;
102878
+ _this11.runChunkFlow(uid);
102879
+ });
102880
+ },
102881
+
102882
+ // 分片主流程(可被"继续"重新进入):MD5(缓存) → 秒传/断点续传检测 → 并发上传缺失分片 → 合并入库。
102883
+ runChunkFlow: function runChunkFlow(uid) {
102884
+ var _this12 = this;
102885
+
102886
+ var state = this._chunkState[uid];
102887
+ if (!state) return;
102888
+ var options = state.options;
102889
+ var file = options.file;
102890
+ var onProgress = options.onProgress || function () {};
102891
+ var baseParams = function baseParams() {
102892
+ return upload_src_mainvue_type_script_lang_js_extends({}, _this12.param, {
102893
+ fileMd5: state.fileMd5,
102894
+ fileName: file.name,
102895
+ fileSize: file.size,
102896
+ totalChunks: state.totalChunks,
102897
+ bucketCode: _this12.code,
102898
+ businessId: _this12.ownId
102899
+ });
102900
+ };
102901
+ var isAbort = function isAbort(e) {
102902
+ return !!e && (e.__aborted === true || e.name === 'CanceledError' || e.name === 'AbortError' || typeof e.message === 'string' && /cancel|abort/i.test(e.message));
102903
+ };
102904
+
102905
+ Promise.resolve().then(function () {
102906
+ return state.fileMd5 || _this12.computeFileMd5(file, onProgress);
102907
+ }).then(function (md5) {
102908
+ state.fileMd5 = md5;
102909
+ if (state.paused) return null;
102910
+ return utils_util.ajax({
102911
+ method: 'post',
102912
+ url: _this12.chunkUrls.check,
102913
+ data: baseParams(),
102914
+ params: baseParams(),
102915
+ headers: options.headers
102916
+ });
102917
+ }).then(function (checkRes) {
102918
+ if (!checkRes) return; // 暂停于 MD5/检测阶段,维持 pending
102919
+ if (checkRes.rCode !== 0) return Promise.reject(checkRes);
102920
+ var info = checkRes.results || {};
102921
+ // 秒传命中:该业务桶下已存在同 MD5 文件,直接视为成功
102922
+ if (info.instant) {
102923
+ onProgress({ percent: 100 });
102924
+ _this12.normalizeChunkDoc(info, file.name);
102925
+ _this12.finishChunk(uid, {
102926
+ rCode: 0,
102927
+ msg: checkRes.msg || '秒传成功',
102928
+ results: info
102929
+ });
102930
+ // 秒传文件已存在于服务端,刷新列表以展示其完整信息(含可下载/预览的 id)
102931
+ _this12.requestFiles && _this12.getFiles();
102932
+ return;
102933
+ }
102934
+ // 断点续传:跳过服务端已存在的分片
102935
+ var uploaded = new Set(info.uploadedChunks || []);
102936
+ var pending = [];
102937
+ for (var i = 0; i < state.totalChunks; i++) {
102938
+ if (!uploaded.has(i)) pending.push(i);
102939
+ }
102940
+ var finished = state.totalChunks - pending.length;
102941
+ // 上传阶段占 5~95%(MD5 校验已占 0~5%),保证进度单调不回退
102942
+ onProgress({
102943
+ percent: Math.min(95, 5 + Math.round(finished / state.totalChunks * 90))
102944
+ });
102945
+ state.controller = typeof AbortController !== 'undefined' ? new AbortController() : null;
102946
+ var signal = state.controller ? state.controller.signal : undefined;
102947
+ return _this12.runChunkQueue(pending, _this12._chunkConcurrent, function (index) {
102948
+ if (state.paused) return Promise.reject({ __aborted: true });
102949
+ return _this12.uploadOneChunk(file, index, state.totalChunks, state.fileMd5, options.headers, signal).then(function () {
102950
+ finished++;
102951
+ onProgress({
102952
+ percent: Math.min(95, 5 + Math.round(finished / state.totalChunks * 90))
102953
+ });
102954
+ });
102955
+ }).then(function () {
102956
+ if (state.paused) return; // 暂停于上传阶段,维持 pending
102957
+ return utils_util.ajax({
102958
+ method: 'post',
102959
+ url: _this12.chunkUrls.merge,
102960
+ data: baseParams(),
102961
+ params: baseParams(),
102962
+ headers: options.headers
102963
+ }).then(function (mergeRes) {
102964
+ if (mergeRes.rCode !== 0) return Promise.reject(mergeRes);
102965
+ onProgress({ percent: 100 });
102966
+ _this12.normalizeChunkDoc(mergeRes.results, file.name);
102967
+ _this12.finishChunk(uid, mergeRes);
102968
+ // 刷新列表:让刚入库的文件以与其他行一致的结构展示(时间/大小/上传人等)
102969
+ _this12.requestFiles && _this12.getFiles();
102970
+ });
102971
+ });
102972
+ }).catch(function (e) {
102973
+ // 暂停导致的中止:保持 pending 等待"继续";其余才算失败
102974
+ if (state.paused || isAbort(e)) return;
102975
+ _this12.failChunk(uid, e);
102976
+ });
102977
+ },
102978
+
102979
+ // 暂停:置暂停标记并中止在传分片;promise 维持 pending,文件保持"上传中"
102980
+ pauseUpload: function pauseUpload(file) {
102981
+ var state = file && this._chunkState[file.uid];
102982
+ if (!state) return;
102983
+ state.paused = true;
102984
+ if (state.controller) {
102985
+ try {
102986
+ state.controller.abort();
102987
+ } catch (e) {
102988
+ /* ignore */
102989
+ }
102990
+ }
102991
+ this.$set(file, 'chunkPaused', true);
102992
+ this.$emit('chunk-pause', file);
102993
+ },
102994
+
102995
+ // 继续:清暂停标记,重新进入流程(checkFile 会返回已传分片,自动续传)
102996
+ resumeUpload: function resumeUpload(file) {
102997
+ var state = file && this._chunkState[file.uid];
102998
+ if (!state || !state.paused) return; // 仅暂停态可续传,防止重复触发并发流程
102999
+ state.paused = false;
103000
+ this.$set(file, 'chunkPaused', false);
103001
+ this.$emit('chunk-resume', file);
103002
+ this.runChunkFlow(file.uid);
103003
+ },
103004
+
103005
+ // 该文件是否处于分片上传运行态(用于操作列按钮显隐)
103006
+ isChunkUploading: function isChunkUploading(file) {
103007
+ return !!(file && this._chunkState && this._chunkState[file.uid]);
103008
+ },
103009
+
103010
+ // 归一化合并响应:dochub Document 用 docTagId 标识、且无 suffix 字段,
103011
+ // 而组件下载读 adjunctId、预览读 suffix/originalName,这里统一映射补齐,避免预览取 suffix 报错。
103012
+ normalizeChunkDoc: function normalizeChunkDoc(results, fileName) {
103013
+ if (!results || (typeof results === 'undefined' ? 'undefined' : upload_src_mainvue_type_script_lang_js_typeof(results)) !== 'object') return results;
103014
+ var id = results.adjunctId || results.docTagId || results.documentId || results.id;
103015
+ if (id) {
103016
+ if (!results.adjunctId) results.adjunctId = id;
103017
+ if (!results.documentId) results.documentId = id;
103018
+ }
103019
+ // 文件名:优先用上传时的原始名,其次后端 documentFile.docName
103020
+ var name = fileName || results.documentFile && results.documentFile.docName || results.originalName || results.name || '';
103021
+ if (!results.originalName && name) results.originalName = name;
103022
+ // 后缀:预览按后缀判断类型,缺省从文件名推导;始终保证为字符串
103023
+ if (results.suffix === undefined || results.suffix === null) {
103024
+ results.suffix = name && name.lastIndexOf('.') > -1 ? name.slice(name.lastIndexOf('.') + 1) : '';
103025
+ }
103026
+ // 展示字段:dochub 的元数据在 documentFile 下且字段名不同,映射成 showInfo 默认读取的扁平字段
103027
+ var df = results.documentFile;
103028
+ if (df && (typeof df === 'undefined' ? 'undefined' : upload_src_mainvue_type_script_lang_js_typeof(df)) === 'object') {
103029
+ if (!results.uploadTime) {
103030
+ results.uploadTime = df.createTime || df.lastModifyTime || '';
103031
+ }
103032
+ if (!results.userName) {
103033
+ results.userName = df.createUserName || df.lastModifyUserName || '';
103034
+ }
103035
+ if (!results.fileSize && (df.docSize || df.docSize === 0)) {
103036
+ results.fileSize = this.formatFileSize(df.docSize);
103037
+ }
103038
+ }
103039
+ return results;
103040
+ },
103041
+
103042
+ // 字节数格式化为可读大小(与列表展示风格一致:1 位小数、无空格)
103043
+ formatFileSize: function formatFileSize(bytes) {
103044
+ var n = Number(bytes);
103045
+ if (!n || n <= 0) return '0B';
103046
+ if (n >= 1073741824) return (n / 1073741824).toFixed(1) + 'GB';
103047
+ if (n >= 1048576) return (n / 1048576).toFixed(1) + 'MB';
103048
+ if (n >= 1024) return (n / 1024).toFixed(1) + 'KB';
103049
+ return n + 'B';
103050
+ },
103051
+
103052
+ // 完成:兑现 promise 并清理运行态
103053
+ finishChunk: function finishChunk(uid, response) {
103054
+ var state = this._chunkState[uid];
103055
+ if (!state) return;
103056
+ state.resolve && state.resolve(response);
103057
+ delete this._chunkState[uid];
103058
+ },
103059
+
103060
+ // 失败:拒绝 promise 并清理运行态
103061
+ failChunk: function failChunk(uid, err) {
103062
+ var state = this._chunkState[uid];
103063
+ if (!state) return;
103064
+ state.reject && state.reject(err);
103065
+ delete this._chunkState[uid];
103066
+ },
103067
+
103068
+ // 移除文件时清理分片运行态(中止在传分片,孤立 pending promise 不再触发回调)
103069
+ cleanupChunk: function cleanupChunk(file) {
103070
+ var uid = file && file.uid;
103071
+ var state = uid && this._chunkState && this._chunkState[uid];
103072
+ if (!state) return;
103073
+ state.paused = true;
103074
+ state.resolve = null;
103075
+ state.reject = null;
103076
+ if (state.controller) {
103077
+ try {
103078
+ state.controller.abort();
103079
+ } catch (e) {
103080
+ /* ignore */
103081
+ }
103082
+ }
103083
+ delete this._chunkState[uid];
103084
+ },
103085
+
103086
+ // 上传单个分片(multipart/form-data);signal 用于暂停时中止
103087
+ uploadOneChunk: function uploadOneChunk(file, index, totalChunks, fileMd5, headers, signal) {
103088
+ var _this13 = this;
103089
+
103090
+ var start = index * this._chunkSize;
103091
+ var end = Math.min(start + this._chunkSize, file.size);
103092
+ var formData = new FormData();
103093
+ formData.append('file', file.slice(start, end), file.name);
103094
+ formData.append('fileMd5', fileMd5);
103095
+ formData.append('fileName', file.name);
103096
+ formData.append('fileSize', file.size);
103097
+ formData.append('chunkIndex', index);
103098
+ formData.append('totalChunks', totalChunks);
103099
+ formData.append('bucketCode', this.code);
103100
+ formData.append('businessId', this.ownId);
103101
+ Object.keys(this.param || {}).forEach(function (key) {
103102
+ formData.append(key, _this13.param[key]);
103103
+ });
103104
+ return utils_util.ajax({
103105
+ method: 'post',
103106
+ url: this.chunkUrls.upload,
103107
+ data: formData,
103108
+ format: false,
103109
+ headers: headers,
103110
+ signal: signal
103111
+ }).then(function (res) {
103112
+ if (res.rCode !== 0) return Promise.reject(res);
103113
+ return res;
103114
+ });
103115
+ },
103116
+
103117
+ // 分块读取文件并增量计算 MD5(避免大文件一次性读入内存)
103118
+ computeFileMd5: function computeFileMd5(file, onProgress) {
103119
+ var _this14 = this;
103120
+
103121
+ return new Promise(function (resolve, reject) {
103122
+ var size = _this14._chunkSize;
103123
+ var chunks = Math.max(1, Math.ceil(file.size / size));
103124
+ var spark = new external_spark_md5_default.a.ArrayBuffer();
103125
+ var reader = new FileReader();
103126
+ var current = 0;
103127
+ var loadNext = function loadNext() {
103128
+ var start = current * size;
103129
+ reader.readAsArrayBuffer(file.slice(start, Math.min(start + size, file.size)));
103130
+ };
103131
+ reader.onload = function (e) {
103132
+ spark.append(e.target.result);
103133
+ current++;
103134
+ // 校验阶段占进度 0~5%,剩余留给上传与合并
103135
+ onProgress && onProgress({ percent: Math.round(current / chunks * 5) });
103136
+ if (current < chunks) {
103137
+ loadNext();
103138
+ } else {
103139
+ // 取标准 32 位 MD5 的中间 16 位,与后端 hutool digestHex16(即 doc_md5)口径一致,
103140
+ // 否则秒传按 md5 比对永远不命中
103141
+ resolve(spark.end().substring(8, 24));
103142
+ }
103143
+ };
103144
+ reader.onerror = function () {
103145
+ return reject({ msg: '文件读取失败,无法计算MD5' });
103146
+ };
103147
+ loadNext();
103148
+ });
103149
+ },
103150
+
103151
+ // 限制并发的分片任务队列
103152
+ runChunkQueue: function runChunkQueue(indexes, concurrency, worker) {
103153
+ return new Promise(function (resolve, reject) {
103154
+ if (!indexes.length) return resolve();
103155
+ var cursor = 0;
103156
+ var active = 0;
103157
+ var failed = false;
103158
+ var schedule = function schedule() {
103159
+ if (failed) return;
103160
+ if (cursor >= indexes.length && active === 0) return resolve();
103161
+ while (active < concurrency && cursor < indexes.length) {
103162
+ var index = indexes[cursor++];
103163
+ active++;
103164
+ worker(index).then(function () {
103165
+ active--;
103166
+ schedule();
103167
+ }).catch(function (err) {
103168
+ failed = true;
103169
+ reject(err);
103170
+ });
103171
+ }
103172
+ };
103173
+ schedule();
103174
+ });
102704
103175
  }
102705
103176
  }
102706
103177
  });
@@ -102716,8 +103187,8 @@ var mainvue_type_script_lang_js_props;
102716
103187
 
102717
103188
  var upload_src_main_component = normalizeComponent(
102718
103189
  packages_upload_src_mainvue_type_script_lang_js_,
102719
- mainvue_type_template_id_f3cb4f04_render,
102720
- mainvue_type_template_id_f3cb4f04_staticRenderFns,
103190
+ mainvue_type_template_id_6e200c92_render,
103191
+ mainvue_type_template_id_6e200c92_staticRenderFns,
102721
103192
  false,
102722
103193
  null,
102723
103194
  null,
@@ -103219,7 +103690,7 @@ if (typeof window !== 'undefined' && window.Vue) {
103219
103690
  }
103220
103691
 
103221
103692
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
103222
- version: '0.8.23',
103693
+ version: '0.8.25',
103223
103694
  install: install,
103224
103695
  Button: packages_button,
103225
103696
  ButtonGroup: button_group,