eoss-ui 0.5.81-beta9 → 0.5.82

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 (124) hide show
  1. package/lib/button-group.js +82 -55
  2. package/lib/button.js +57 -48
  3. package/lib/checkbox-group.js +55 -47
  4. package/lib/clients.js +4 -3
  5. package/lib/config/api.js +3 -1
  6. package/lib/data-table-form.js +55 -47
  7. package/lib/data-table.js +473 -275
  8. package/lib/date-picker.js +69 -59
  9. package/lib/dialog.js +77 -72
  10. package/lib/eoss-ui.common.js +3985 -3049
  11. package/lib/flow-group.js +102 -65
  12. package/lib/flow-list.js +56 -48
  13. package/lib/flow.js +158 -85
  14. package/lib/form.js +88 -59
  15. package/lib/handle-user.js +66 -51
  16. package/lib/handler.js +69 -50
  17. package/lib/icon.js +55 -47
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +55 -47
  20. package/lib/input.js +55 -47
  21. package/lib/login.js +104 -85
  22. package/lib/main.js +1375 -925
  23. package/lib/menu.js +1 -1
  24. package/lib/nav.js +55 -47
  25. package/lib/notify.js +54 -50
  26. package/lib/page.js +55 -47
  27. package/lib/pagination.js +3723 -3
  28. package/lib/player.js +60 -52
  29. package/lib/qr-code.js +55 -47
  30. package/lib/radio-group.js +55 -47
  31. package/lib/retrial-auth.js +56 -48
  32. package/lib/select-ganged.js +55 -47
  33. package/lib/select.js +55 -47
  34. package/lib/selector-panel.js +69 -60
  35. package/lib/selector.js +495 -424
  36. package/lib/sizer.js +55 -47
  37. package/lib/steps.js +55 -47
  38. package/lib/switch.js +55 -47
  39. package/lib/table-form.js +55 -47
  40. package/lib/tabs.js +1532 -1480
  41. package/lib/theme-chalk/base.css +1 -1
  42. package/lib/theme-chalk/button-group.css +1 -1
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/form.css +1 -1
  45. package/lib/theme-chalk/index.css +1 -1
  46. package/lib/theme-chalk/main.css +1 -1
  47. package/lib/theme-chalk/menu.css +1 -1
  48. package/lib/theme-chalk/pagination.css +1 -1
  49. package/lib/theme-chalk/simplicity.css +1 -1
  50. package/lib/theme-chalk/sizer.css +1 -1
  51. package/lib/theme-chalk/tabs.css +1 -1
  52. package/lib/theme-chalk/toolbar.css +1 -1
  53. package/lib/theme-chalk/tree-group.css +1 -1
  54. package/lib/theme-chalk/tree.css +1 -1
  55. package/lib/theme-chalk/upload.css +1 -1
  56. package/lib/tips.js +55 -47
  57. package/lib/tree-group.js +79 -50
  58. package/lib/tree.js +55 -47
  59. package/lib/upload.js +59 -51
  60. package/lib/utils/util.js +6 -2
  61. package/lib/wujie.js +55 -47
  62. package/lib/wxlogin.js +55 -47
  63. package/package.json +3 -3
  64. package/packages/button/src/main.vue +2 -1
  65. package/packages/button-group/src/main.vue +8 -6
  66. package/packages/clients/src/main.vue +2 -1
  67. package/packages/data-table/src/column.vue +137 -54
  68. package/packages/data-table/src/main.vue +77 -67
  69. package/packages/data-table/src/sizer.vue +2 -0
  70. package/packages/date-picker/src/main.vue +22 -14
  71. package/packages/dialog/src/main.vue +17 -23
  72. package/packages/flow/src/main.vue +32 -17
  73. package/packages/flow-group/src/main.vue +18 -11
  74. package/packages/form/src/main.vue +21 -10
  75. package/packages/handle-user/src/main.vue +5 -1
  76. package/packages/handler/src/main.vue +7 -3
  77. package/packages/login/src/main.vue +22 -15
  78. package/packages/main/src/default/index.vue +111 -179
  79. package/packages/main/src/main.vue +233 -4
  80. package/packages/main/src/public/online.vue +89 -0
  81. package/packages/main/src/simplicity/apps.vue +3 -3
  82. package/packages/main/src/simplicity/handler.vue +6 -2
  83. package/packages/main/src/simplicity/index.vue +283 -238
  84. package/packages/main/src/simplicity/menu-list.vue +3 -2
  85. package/packages/main/src/simplicity/router-page.vue +5 -14
  86. package/packages/main/src/simplicity/sub-menu.vue +31 -9
  87. package/packages/menu/src/main.vue +4 -3
  88. package/packages/pagination/src/main.vue +20 -1
  89. package/packages/selector/src/main.vue +147 -135
  90. package/packages/selector-panel/src/main.vue +3 -2
  91. package/packages/selector-panel/src/selection.vue +2 -2
  92. package/packages/tabs/src/main.vue +25 -15
  93. package/packages/theme-chalk/lib/base.css +1 -1
  94. package/packages/theme-chalk/lib/button-group.css +1 -1
  95. package/packages/theme-chalk/lib/data-table.css +1 -1
  96. package/packages/theme-chalk/lib/form.css +1 -1
  97. package/packages/theme-chalk/lib/index.css +1 -1
  98. package/packages/theme-chalk/lib/main.css +1 -1
  99. package/packages/theme-chalk/lib/menu.css +1 -1
  100. package/packages/theme-chalk/lib/pagination.css +1 -1
  101. package/packages/theme-chalk/lib/simplicity.css +1 -1
  102. package/packages/theme-chalk/lib/sizer.css +1 -1
  103. package/packages/theme-chalk/lib/tabs.css +1 -1
  104. package/packages/theme-chalk/lib/toolbar.css +1 -1
  105. package/packages/theme-chalk/lib/tree-group.css +1 -1
  106. package/packages/theme-chalk/lib/tree.css +1 -1
  107. package/packages/theme-chalk/lib/upload.css +1 -1
  108. package/packages/theme-chalk/src/base.scss +39 -0
  109. package/packages/theme-chalk/src/button-group.scss +16 -2
  110. package/packages/theme-chalk/src/common/var.scss +7 -2
  111. package/packages/theme-chalk/src/data-table.scss +60 -23
  112. package/packages/theme-chalk/src/form.scss +42 -40
  113. package/packages/theme-chalk/src/main.scss +11 -0
  114. package/packages/theme-chalk/src/pagination.scss +7 -0
  115. package/packages/theme-chalk/src/simplicity.scss +45 -4
  116. package/packages/theme-chalk/src/tabs.scss +24 -28
  117. package/packages/theme-chalk/src/toolbar.scss +16 -4
  118. package/packages/theme-chalk/src/tree-group.scss +8 -0
  119. package/packages/theme-chalk/src/tree.scss +19 -6
  120. package/packages/tree-group/src/main.vue +16 -7
  121. package/src/config/api.js +3 -1
  122. package/src/index.js +157 -157
  123. package/src/utils/util.js +6 -1
  124. package/CHANGELOG.md +0 -929
package/lib/tree.js CHANGED
@@ -152,6 +152,7 @@ var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ store
152
152
  * @param {String} [publicKey] - sm2加密公钥
153
153
  * @param {Array} [secret] - 要加密的字段属性名称,默认所有
154
154
  * @param {Array} [encodes] - 需要对参数值进行encodeURIComponent编码的参数值名称
155
+ * @param {Array} [oldmode] - 老接口转新数据结构
155
156
  **/
156
157
  // 请求
157
158
  // const pendingRequest = new Map();
@@ -184,8 +185,8 @@ var ajax = function ajax(_ref) {
184
185
  loading = _ref.loading,
185
186
  publicKey = _ref.publicKey,
186
187
  secret = _ref.secret,
187
- _ref$encodes = _ref.encodes,
188
- encodes = _ref$encodes === undefined ? ['cd'] : _ref$encodes;
188
+ encodes = _ref.encodes,
189
+ oldmode = _ref.oldmode;
189
190
 
190
191
  var header = headers || {};
191
192
  if (!method) {
@@ -486,6 +487,9 @@ var ajax = function ajax(_ref) {
486
487
  header['content-type'] = 'application/json;charset=UTF-8';
487
488
  }
488
489
  }
490
+ if (oldmode && !header['api-response-mode']) {
491
+ header['api-response-mode'] = true;
492
+ }
489
493
  return http({
490
494
  method: method,
491
495
  url: url,
@@ -3251,7 +3255,7 @@ var watermark = function watermark(option) {
3251
3255
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3252
3256
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
3253
3257
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initLogin; });
3254
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return switchUserTo; });
3258
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return switchUserTo; });
3255
3259
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3256
3260
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
3257
3261
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
@@ -3266,12 +3270,15 @@ var watermark = function watermark(option) {
3266
3270
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
3267
3271
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initRetrialAuth; });
3268
3272
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getRetrialAuthCode; });
3269
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return scanCodeRetrialAuth; });
3273
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return scanCodeRetrialAuth; });
3270
3274
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3271
3275
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3276
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return userOnline; });
3277
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3278
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return recordUserApp; });
3272
3279
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
3273
3280
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initUserSet; });
3274
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserInfo; });
3281
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserInfo; });
3275
3282
  /* unused harmony export getUserImgUrl */
3276
3283
  /* unused harmony export getDoorIndex */
3277
3284
  /* unused harmony export refreshOnlineUsers */
@@ -3279,19 +3286,18 @@ var watermark = function watermark(option) {
3279
3286
  /* unused harmony export getApplicationIdArray */
3280
3287
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3281
3288
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
3282
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3283
3289
  /* unused harmony export getUserCustomInfo */
3284
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateUserCustomInfo; });
3285
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sysMsgPage; });
3290
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserCustomInfo; });
3291
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sysMsgPage; });
3286
3292
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
3287
3293
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
3288
3294
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
3289
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploads; });
3290
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadOnlyOne; });
3295
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploads; });
3296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadOnlyOne; });
3291
3297
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
3292
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadSort; });
3298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadSort; });
3293
3299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
3294
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadDownloads; });
3300
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadDownloads; });
3295
3301
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
3296
3302
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
3297
3303
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
@@ -3309,13 +3315,13 @@ var watermark = function watermark(option) {
3309
3315
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
3310
3316
  /* unused harmony export getCurrentuser */
3311
3317
  /* unused harmony export mainDetail */
3312
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartFlow; });
3313
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return tempSave; });
3318
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartFlow; });
3319
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return tempSave; });
3314
3320
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3315
3321
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3316
3322
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
3317
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return saveCommonOpinion; });
3318
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateCommonOpinion; });
3323
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return saveCommonOpinion; });
3324
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateCommonOpinion; });
3319
3325
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3320
3326
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
3321
3327
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
@@ -3324,52 +3330,52 @@ var watermark = function watermark(option) {
3324
3330
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3325
3331
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
3326
3332
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getHandleInfoHtml; });
3327
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskHandleHtml; });
3333
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskHandleHtml; });
3328
3334
  /* unused harmony export getView */
3329
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return register; });
3335
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return register; });
3330
3336
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryList; });
3331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskRejectHtml; });
3332
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskRejectHtml; });
3333
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartTaskRead; });
3334
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskReadIndex; });
3335
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskReadHtml; });
3336
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return rejectAndEnd; });
3337
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toSendMsg; });
3338
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendMsg; });
3337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskRejectHtml; });
3338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskRejectHtml; });
3339
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskRead; });
3340
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskReadIndex; });
3341
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReadHtml; });
3342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return rejectAndEnd; });
3343
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toSendMsg; });
3344
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendMsg; });
3339
3345
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3340
3346
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
3341
3347
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
3342
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return wss; });
3343
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return topic; });
3348
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return wss; });
3349
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return topic; });
3344
3350
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
3345
3351
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getPresetNodeInfo; });
3346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTransferIndex; });
3347
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTransfer; });
3348
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toPresetInfoListIndex; });
3352
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTransferIndex; });
3353
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTransfer; });
3354
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toPresetInfoListIndex; });
3349
3355
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3350
3356
  /* unused harmony export historyListJson */
3351
3357
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
3352
3358
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
3353
3359
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3354
3360
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return isCanStartSubFlow; });
3355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskUnionExamine; });
3356
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskUnionExamine; });
3357
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskTakeAdvice; });
3358
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskTakeAdvice; });
3359
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskStartDraft; });
3360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskStartDraft; });
3361
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskReview; });
3362
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskReview; });
3363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionSeal; });
3364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionSeal; });
3365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTwoOfficesDispatch; });
3366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return twoOfficesDispatch; });
3367
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendList; });
3368
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendInfo; });
3361
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionExamine; });
3362
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionExamine; });
3363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTakeAdvice; });
3364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTakeAdvice; });
3365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskStartDraft; });
3366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskStartDraft; });
3367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskReview; });
3368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskReview; });
3369
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionSeal; });
3370
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionSeal; });
3371
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTwoOfficesDispatch; });
3372
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return twoOfficesDispatch; });
3373
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendList; });
3374
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendInfo; });
3369
3375
  /* unused harmony export sendSave */
3370
3376
  /* unused harmony export sendUpdate */
3371
3377
  /* unused harmony export sendDelete */
3372
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendBatch; });
3378
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendBatch; });
3373
3379
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3374
3380
  // 登录
3375
3381
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -3397,6 +3403,9 @@ var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证
3397
3403
  var doAssistanceQrLogin = '/sso2/signIn/auth/doAssistanceQrLogin'; // 二级身份验证-验证码验证
3398
3404
 
3399
3405
  // 框架
3406
+ var userOnline = 'sys/v1/mecpSys/userOnlineListJson.dhtml'; // 在线人数列表
3407
+ var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3408
+ var recordUserApp = '/sysv3/sysUucApp/recordUserApp'; // 记录应用点击率
3400
3409
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
3401
3410
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
3402
3411
  var updateUserInfo = '/main2/main/updateUserInfo'; // 更新用户信息
@@ -3407,7 +3416,6 @@ var getQuickMenuIds = '/main2/main/getQuickMenuIds'; // 获取已绑定的快捷
3407
3416
  var getApplicationIdArray = '/main2/main/getApplicationIdArray'; // 获取应用父id数组
3408
3417
  var getComplexApplications = '/main2/menu/getComplexApplications'; // 获取当前用户菜单; 含页签菜单格式的数据
3409
3418
  var getComplexApplicationsNew = '/main2/menu/getComplexApplicationsNew'; // 获取当前用户应用菜单; 含页签菜单格式的数据
3410
- var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3411
3419
  var getUserCustomInfo = '/main2/main/getUserCustomInfo'; // 获取主题样式
3412
3420
  var updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更新主题样式
3413
3421
  // 框架 - 系统消息
package/lib/upload.js CHANGED
@@ -151,6 +151,7 @@ var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ store
151
151
  * @param {String} [publicKey] - sm2加密公钥
152
152
  * @param {Array} [secret] - 要加密的字段属性名称,默认所有
153
153
  * @param {Array} [encodes] - 需要对参数值进行encodeURIComponent编码的参数值名称
154
+ * @param {Array} [oldmode] - 老接口转新数据结构
154
155
  **/
155
156
  // 请求
156
157
  // const pendingRequest = new Map();
@@ -183,8 +184,8 @@ var ajax = function ajax(_ref) {
183
184
  loading = _ref.loading,
184
185
  publicKey = _ref.publicKey,
185
186
  secret = _ref.secret,
186
- _ref$encodes = _ref.encodes,
187
- encodes = _ref$encodes === undefined ? ['cd'] : _ref$encodes;
187
+ encodes = _ref.encodes,
188
+ oldmode = _ref.oldmode;
188
189
 
189
190
  var header = headers || {};
190
191
  if (!method) {
@@ -485,6 +486,9 @@ var ajax = function ajax(_ref) {
485
486
  header['content-type'] = 'application/json;charset=UTF-8';
486
487
  }
487
488
  }
489
+ if (oldmode && !header['api-response-mode']) {
490
+ header['api-response-mode'] = true;
491
+ }
488
492
  return http({
489
493
  method: method,
490
494
  url: url,
@@ -3249,7 +3253,7 @@ var watermark = function watermark(option) {
3249
3253
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3250
3254
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
3251
3255
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initLogin; });
3252
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return switchUserTo; });
3256
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return switchUserTo; });
3253
3257
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3254
3258
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
3255
3259
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
@@ -3264,12 +3268,15 @@ var watermark = function watermark(option) {
3264
3268
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
3265
3269
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initRetrialAuth; });
3266
3270
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getRetrialAuthCode; });
3267
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return scanCodeRetrialAuth; });
3271
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return scanCodeRetrialAuth; });
3268
3272
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3269
3273
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3274
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return userOnline; });
3275
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3276
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return recordUserApp; });
3270
3277
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
3271
3278
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initUserSet; });
3272
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserInfo; });
3279
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserInfo; });
3273
3280
  /* unused harmony export getUserImgUrl */
3274
3281
  /* unused harmony export getDoorIndex */
3275
3282
  /* unused harmony export refreshOnlineUsers */
@@ -3277,19 +3284,18 @@ var watermark = function watermark(option) {
3277
3284
  /* unused harmony export getApplicationIdArray */
3278
3285
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3279
3286
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
3280
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3281
3287
  /* unused harmony export getUserCustomInfo */
3282
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateUserCustomInfo; });
3283
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sysMsgPage; });
3288
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserCustomInfo; });
3289
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sysMsgPage; });
3284
3290
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
3285
3291
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
3286
3292
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
3287
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploads; });
3288
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadOnlyOne; });
3293
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploads; });
3294
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadOnlyOne; });
3289
3295
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
3290
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadSort; });
3296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadSort; });
3291
3297
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
3292
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadDownloads; });
3298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadDownloads; });
3293
3299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
3294
3300
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
3295
3301
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
@@ -3307,13 +3313,13 @@ var watermark = function watermark(option) {
3307
3313
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
3308
3314
  /* unused harmony export getCurrentuser */
3309
3315
  /* unused harmony export mainDetail */
3310
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartFlow; });
3311
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return tempSave; });
3316
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartFlow; });
3317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return tempSave; });
3312
3318
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3313
3319
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3314
3320
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
3315
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return saveCommonOpinion; });
3316
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateCommonOpinion; });
3321
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return saveCommonOpinion; });
3322
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateCommonOpinion; });
3317
3323
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3318
3324
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
3319
3325
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
@@ -3322,52 +3328,52 @@ var watermark = function watermark(option) {
3322
3328
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3323
3329
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
3324
3330
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getHandleInfoHtml; });
3325
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskHandleHtml; });
3331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskHandleHtml; });
3326
3332
  /* unused harmony export getView */
3327
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return register; });
3333
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return register; });
3328
3334
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryList; });
3329
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskRejectHtml; });
3330
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskRejectHtml; });
3331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartTaskRead; });
3332
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskReadIndex; });
3333
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskReadHtml; });
3334
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return rejectAndEnd; });
3335
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toSendMsg; });
3336
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendMsg; });
3335
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskRejectHtml; });
3336
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskRejectHtml; });
3337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskRead; });
3338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskReadIndex; });
3339
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReadHtml; });
3340
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return rejectAndEnd; });
3341
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toSendMsg; });
3342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendMsg; });
3337
3343
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3338
3344
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
3339
3345
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
3340
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return wss; });
3341
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return topic; });
3346
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return wss; });
3347
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return topic; });
3342
3348
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
3343
3349
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getPresetNodeInfo; });
3344
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTransferIndex; });
3345
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTransfer; });
3346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toPresetInfoListIndex; });
3350
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTransferIndex; });
3351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTransfer; });
3352
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toPresetInfoListIndex; });
3347
3353
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3348
3354
  /* unused harmony export historyListJson */
3349
3355
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
3350
3356
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
3351
3357
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3352
3358
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return isCanStartSubFlow; });
3353
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskUnionExamine; });
3354
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskUnionExamine; });
3355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskTakeAdvice; });
3356
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskTakeAdvice; });
3357
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskStartDraft; });
3358
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskStartDraft; });
3359
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskReview; });
3360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskReview; });
3361
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionSeal; });
3362
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionSeal; });
3363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTwoOfficesDispatch; });
3364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return twoOfficesDispatch; });
3365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendList; });
3366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendInfo; });
3359
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionExamine; });
3360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionExamine; });
3361
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTakeAdvice; });
3362
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTakeAdvice; });
3363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskStartDraft; });
3364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskStartDraft; });
3365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskReview; });
3366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskReview; });
3367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionSeal; });
3368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionSeal; });
3369
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTwoOfficesDispatch; });
3370
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return twoOfficesDispatch; });
3371
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendList; });
3372
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendInfo; });
3367
3373
  /* unused harmony export sendSave */
3368
3374
  /* unused harmony export sendUpdate */
3369
3375
  /* unused harmony export sendDelete */
3370
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendBatch; });
3376
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendBatch; });
3371
3377
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3372
3378
  // 登录
3373
3379
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -3395,6 +3401,9 @@ var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证
3395
3401
  var doAssistanceQrLogin = '/sso2/signIn/auth/doAssistanceQrLogin'; // 二级身份验证-验证码验证
3396
3402
 
3397
3403
  // 框架
3404
+ var userOnline = 'sys/v1/mecpSys/userOnlineListJson.dhtml'; // 在线人数列表
3405
+ var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3406
+ var recordUserApp = '/sysv3/sysUucApp/recordUserApp'; // 记录应用点击率
3398
3407
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
3399
3408
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
3400
3409
  var updateUserInfo = '/main2/main/updateUserInfo'; // 更新用户信息
@@ -3405,7 +3414,6 @@ var getQuickMenuIds = '/main2/main/getQuickMenuIds'; // 获取已绑定的快捷
3405
3414
  var getApplicationIdArray = '/main2/main/getApplicationIdArray'; // 获取应用父id数组
3406
3415
  var getComplexApplications = '/main2/menu/getComplexApplications'; // 获取当前用户菜单; 含页签菜单格式的数据
3407
3416
  var getComplexApplicationsNew = '/main2/menu/getComplexApplicationsNew'; // 获取当前用户应用菜单; 含页签菜单格式的数据
3408
- var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3409
3417
  var getUserCustomInfo = '/main2/main/getUserCustomInfo'; // 获取主题样式
3410
3418
  var updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更新主题样式
3411
3419
  // 框架 - 系统消息
@@ -5027,7 +5035,7 @@ var _props;
5027
5035
  this.fileTotalSize = config.totalSize;
5028
5036
  this.dochubConfig = config.dochubConfig || {};
5029
5037
 
5030
- var url = this.portrait ? this.dochubConfig.reuploadDocument || api["Zb" /* uploadOnlyOne */] : this.dochubConfig.uploadDocument || api["bc" /* uploads */];
5038
+ var url = this.portrait ? this.dochubConfig.reuploadDocument || api["ac" /* uploadOnlyOne */] : this.dochubConfig.uploadDocument || api["cc" /* uploads */];
5031
5039
  this.url = url.indexOf(this.host) > -1 ? url : this.host + url;
5032
5040
  } else {
5033
5041
  util["a" /* default */].ajax({
@@ -5046,7 +5054,7 @@ var _props;
5046
5054
  }).join(',');
5047
5055
  }
5048
5056
  _this3.dochubConfig = res.results.dochubConfig || {};
5049
- var _url = _this3.portrait ? _this3.dochubConfig.reuploadDocument || api["Zb" /* uploadOnlyOne */] : _this3.dochubConfig.uploadDocument || api["bc" /* uploads */];
5057
+ var _url = _this3.portrait ? _this3.dochubConfig.reuploadDocument || api["ac" /* uploadOnlyOne */] : _this3.dochubConfig.uploadDocument || api["cc" /* uploads */];
5050
5058
  _this3.url = _url.indexOf(_this3.host) > -1 ? _url : _this3.host + _url;
5051
5059
  if (res.results.kkViewRootPath) {
5052
5060
  _this3.kkfileview = res.results.kkViewRootPath;
@@ -5330,7 +5338,7 @@ var _props;
5330
5338
  }
5331
5339
  },
5332
5340
  handleDownloads: function handleDownloads() {
5333
- var url = typeof this.downloads === 'string' ? this.downloads : this.dochubConfig.compressDownloadDocument || api["Yb" /* uploadDownloads */];
5341
+ var url = typeof this.downloads === 'string' ? this.downloads : this.dochubConfig.compressDownloadDocument || api["Zb" /* uploadDownloads */];
5334
5342
  util["a" /* default */].win.open(this.host + url + '?ownId=' + this.ownId + '&code=' + this.code + (this.extendCode ? '&extendCode=' + this.extendCode : ''));
5335
5343
  },
5336
5344
  handleDownload: function handleDownload(file) {
@@ -5370,7 +5378,7 @@ var _props;
5370
5378
  ids = ids.join(',');
5371
5379
  util["a" /* default */].ajax({
5372
5380
  method: this.method,
5373
- url: this.dochubConfig.sortDocumentsUrl || api["ac" /* uploadSort */],
5381
+ url: this.dochubConfig.sortDocumentsUrl || api["bc" /* uploadSort */],
5374
5382
  data: {
5375
5383
  ids: ids
5376
5384
  },
package/lib/utils/util.js CHANGED
@@ -69,6 +69,7 @@ var JSONbigToString = (0, _jsonBigint2.default)({ storeAsString: true });
69
69
  * @param {String} [publicKey] - sm2加密公钥
70
70
  * @param {Array} [secret] - 要加密的字段属性名称,默认所有
71
71
  * @param {Array} [encodes] - 需要对参数值进行encodeURIComponent编码的参数值名称
72
+ * @param {Array} [oldmode] - 老接口转新数据结构
72
73
  **/
73
74
  // 请求
74
75
  // const pendingRequest = new Map();
@@ -101,8 +102,8 @@ var ajax = function ajax(_ref) {
101
102
  loading = _ref.loading,
102
103
  publicKey = _ref.publicKey,
103
104
  secret = _ref.secret,
104
- _ref$encodes = _ref.encodes,
105
- encodes = _ref$encodes === undefined ? ['cd'] : _ref$encodes;
105
+ encodes = _ref.encodes,
106
+ oldmode = _ref.oldmode;
106
107
 
107
108
  var header = headers || {};
108
109
  if (!method) {
@@ -403,6 +404,9 @@ var ajax = function ajax(_ref) {
403
404
  header['content-type'] = 'application/json;charset=UTF-8';
404
405
  }
405
406
  }
407
+ if (oldmode && !header['api-response-mode']) {
408
+ header['api-response-mode'] = true;
409
+ }
406
410
  return http({
407
411
  method: method,
408
412
  url: url,