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/data-table.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
  // 框架 - 系统消息
@@ -3929,8 +3937,8 @@ module.exports = require("vue");
3929
3937
  // ESM COMPAT FLAG
3930
3938
  __webpack_require__.r(__webpack_exports__);
3931
3939
 
3932
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=5c8208a6&
3933
- var mainvue_type_template_id_5c8208a6_render = function () {
3940
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=dd74e586&
3941
+ var mainvue_type_template_id_dd74e586_render = function () {
3934
3942
  var _vm = this
3935
3943
  var _h = _vm.$createElement
3936
3944
  var _c = _vm._self._c || _h
@@ -3961,7 +3969,12 @@ var mainvue_type_template_id_5c8208a6_render = function () {
3961
3969
  "es-toolbar",
3962
3970
  _vm._g(
3963
3971
  _vm._b(
3964
- { ref: "toolbar" },
3972
+ {
3973
+ ref: "toolbar",
3974
+ class: {
3975
+ "es-table-toolbar-plus": _vm.mode == "plus",
3976
+ },
3977
+ },
3965
3978
  "es-toolbar",
3966
3979
  {
3967
3980
  contents: _vm.toolbars,
@@ -4002,7 +4015,10 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4002
4015
  {
4003
4016
  ref: "esTableContent",
4004
4017
  staticClass: "es-data-table-content",
4005
- class: _vm.border == "none" ? "es-table-border-none" : "",
4018
+ class: {
4019
+ "es-table-border-none": _vm.border == "none",
4020
+ "es-table-plus": _vm.mode == "plus",
4021
+ },
4006
4022
  staticStyle: {},
4007
4023
  },
4008
4024
  [
@@ -4100,11 +4116,15 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4100
4116
  "children",
4101
4117
  _vm._g(
4102
4118
  _vm._b(
4103
- { key: item.label || item.title },
4119
+ {
4120
+ key: item.label || item.title,
4121
+ attrs: { tag: item.tag },
4122
+ },
4104
4123
  "children",
4105
4124
  Object.assign(
4106
4125
  {},
4107
4126
  {
4127
+ mode: _vm.mode,
4108
4128
  name: _vm.name,
4109
4129
  indexs: index,
4110
4130
  form: _vm.form,
@@ -4211,10 +4231,10 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4211
4231
  _vm._g(
4212
4232
  _vm._b(
4213
4233
  {
4234
+ ref: "pagination",
4214
4235
  staticClass: "es-table-page",
4215
- style: {
4216
- "text-align": _vm.page.position || "center",
4217
- },
4236
+ style: { "text-align": _vm.page.position },
4237
+ attrs: { position: _vm.page.position },
4218
4238
  },
4219
4239
  "es-pagination",
4220
4240
  _vm.config,
@@ -4235,16 +4255,19 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4235
4255
  2
4236
4256
  )
4237
4257
  : _vm._e(),
4238
- _c("sizer", { ref: "sizer", attrs: { data: _vm.theads } }),
4258
+ _c("sizer", {
4259
+ ref: "sizer",
4260
+ attrs: { data: _vm.theads, mode: _vm.mode },
4261
+ }),
4239
4262
  ],
4240
4263
  1
4241
4264
  )
4242
4265
  }
4243
4266
  var staticRenderFns = []
4244
- mainvue_type_template_id_5c8208a6_render._withStripped = true
4267
+ mainvue_type_template_id_dd74e586_render._withStripped = true
4245
4268
 
4246
4269
 
4247
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5c8208a6&
4270
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=dd74e586&
4248
4271
 
4249
4272
  // EXTERNAL MODULE: ./src/config/api.js
4250
4273
  var api = __webpack_require__(1);
@@ -4301,8 +4324,8 @@ childrenvue_type_template_id_44b7ff61_render._withStripped = true
4301
4324
 
4302
4325
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
4303
4326
 
4304
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=2dabb50c&
4305
- var columnvue_type_template_id_2dabb50c_render = function () {
4327
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=template&id=19baf4a0&
4328
+ var columnvue_type_template_id_19baf4a0_render = function () {
4306
4329
  var _vm = this
4307
4330
  var _h = _vm.$createElement
4308
4331
  var _c = _vm._self._c || _h
@@ -4329,11 +4352,73 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4329
4352
  },
4330
4353
  },
4331
4354
  [
4332
- _vm.type === "select"
4355
+ _vm.getType(scope.row.formConfigs, "component")
4356
+ ? _c(
4357
+ _vm.tag,
4358
+ _vm._b(
4359
+ {
4360
+ tag: "component",
4361
+ attrs: {
4362
+ data: _vm.getData(
4363
+ scope.row.formOptions
4364
+ ),
4365
+ },
4366
+ on: {
4367
+ blur: function (event) {
4368
+ _vm.handleBlur({
4369
+ item: _vm.config,
4370
+ event: event,
4371
+ data: scope.row,
4372
+ scope: scope,
4373
+ })
4374
+ },
4375
+ focus: function (event) {
4376
+ _vm.handleFocus({
4377
+ item: _vm.config,
4378
+ event: event,
4379
+ data: scope.row,
4380
+ scope: scope,
4381
+ })
4382
+ },
4383
+ change: function (value) {
4384
+ _vm.handleChange({
4385
+ item: _vm.config,
4386
+ name: _vm.field || _vm.prop,
4387
+ value: value,
4388
+ data: scope.row,
4389
+ scope: scope,
4390
+ })
4391
+ },
4392
+ },
4393
+ model: {
4394
+ value:
4395
+ scope.row[_vm.field || _vm.prop],
4396
+ callback: function ($$v) {
4397
+ _vm.$set(
4398
+ scope.row,
4399
+ _vm.field || _vm.prop,
4400
+ $$v
4401
+ )
4402
+ },
4403
+ expression:
4404
+ "scope.row[field || prop]",
4405
+ },
4406
+ },
4407
+ "component",
4408
+ _vm.getOptions(scope.row.formConfigs),
4409
+ false
4410
+ )
4411
+ )
4412
+ : _vm.getType(scope.row.formConfigs, "select")
4333
4413
  ? _c(
4334
4414
  "es-select",
4335
4415
  _vm._b(
4336
4416
  {
4417
+ attrs: {
4418
+ data: _vm.getData(
4419
+ scope.row.formOptions
4420
+ ),
4421
+ },
4337
4422
  on: {
4338
4423
  blur: function (event) {
4339
4424
  _vm.handleBlur({
@@ -4376,15 +4461,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4376
4461
  },
4377
4462
  },
4378
4463
  "es-select",
4379
- _vm.formOption,
4464
+ _vm.getOptions(scope.row.formConfigs),
4380
4465
  false
4381
4466
  )
4382
4467
  )
4383
- : _vm.type == "cascader"
4468
+ : _vm.getType(scope.row.formConfigs, "cascader")
4384
4469
  ? _c(
4385
4470
  "es-cascader",
4386
4471
  _vm._b(
4387
4472
  {
4473
+ attrs: {
4474
+ data: _vm.getData(
4475
+ scope.row.formOptions
4476
+ ),
4477
+ },
4388
4478
  on: {
4389
4479
  blur: function (event) {
4390
4480
  _vm.handleBlur({
@@ -4427,18 +4517,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4427
4517
  },
4428
4518
  },
4429
4519
  "es-cascader",
4430
- _vm.formOption,
4520
+ _vm.getOptions(scope.row.formConfigs),
4431
4521
  false
4432
4522
  )
4433
4523
  )
4434
- : _vm.type === "ganged"
4524
+ : _vm.getType(scope.row.formConfigs, "ganged")
4435
4525
  ? _c(
4436
4526
  "es-select-ganged",
4437
4527
  _vm._b(
4438
4528
  {
4439
4529
  attrs: {
4440
4530
  data: _vm.init(
4441
- _vm.option,
4531
+ _vm.getData(scope.row.formOptions),
4442
4532
  _vm.config
4443
4533
  ),
4444
4534
  },
@@ -4467,15 +4557,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4467
4557
  },
4468
4558
  },
4469
4559
  "es-select-ganged",
4470
- _vm.formOption,
4560
+ _vm.getOptions(scope.row.formConfigs),
4471
4561
  false
4472
4562
  )
4473
4563
  )
4474
- : _vm.type === "radio"
4564
+ : _vm.getType(scope.row.formConfigs, "radio")
4475
4565
  ? _c(
4476
4566
  "es-radio-group",
4477
4567
  _vm._b(
4478
4568
  {
4569
+ attrs: {
4570
+ data: _vm.getData(
4571
+ scope.row.formOptions
4572
+ ),
4573
+ },
4479
4574
  on: {
4480
4575
  change: function (value) {
4481
4576
  _vm.handleChange({
@@ -4501,15 +4596,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4501
4596
  },
4502
4597
  },
4503
4598
  "es-radio-group",
4504
- _vm.formOption,
4599
+ _vm.getOptions(scope.row.formConfigs),
4505
4600
  false
4506
4601
  )
4507
4602
  )
4508
- : _vm.type === "checkbox"
4603
+ : _vm.getType(scope.row.formConfigs, "checkbox")
4509
4604
  ? _c(
4510
4605
  "es-checkbox-group",
4511
4606
  _vm._b(
4512
4607
  {
4608
+ attrs: {
4609
+ data: _vm.getData(
4610
+ scope.row.formOptions
4611
+ ),
4612
+ },
4513
4613
  on: {
4514
4614
  change: function (value) {
4515
4615
  _vm.handleChange({
@@ -4535,15 +4635,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4535
4635
  },
4536
4636
  },
4537
4637
  "es-checkbox-group",
4538
- _vm.formOption,
4638
+ _vm.getOptions(scope.row.formConfigs),
4539
4639
  false
4540
4640
  )
4541
4641
  )
4542
- : _vm.type === "switch"
4642
+ : _vm.getType(scope.row.formConfigs, "switch")
4543
4643
  ? _c(
4544
4644
  "es-switch",
4545
4645
  _vm._b(
4546
4646
  {
4647
+ attrs: {
4648
+ data: _vm.getData(
4649
+ scope.row.formOptions
4650
+ ),
4651
+ },
4547
4652
  on: {
4548
4653
  change: function (value) {
4549
4654
  _vm.handleChange({
@@ -4569,23 +4674,25 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4569
4674
  },
4570
4675
  },
4571
4676
  "es-switch",
4572
- _vm.formOption,
4677
+ _vm.getOptions(scope.row.formConfigs),
4573
4678
  false
4574
4679
  )
4575
4680
  )
4576
4681
  : _vm.config.date ||
4577
- _vm.type == "date" ||
4578
- _vm.type == "year" ||
4579
- _vm.type == "month" ||
4580
- _vm.type == "date" ||
4581
- _vm.type == "dates" ||
4582
- _vm.type == "week" ||
4583
- _vm.type == "datetime" ||
4584
- _vm.type == "datetimerange" ||
4585
- _vm.type == "daterange" ||
4586
- _vm.type == "monthrange" ||
4587
- _vm.type == "quarter" ||
4588
- _vm.type == "halfyear"
4682
+ _vm.getType(scope.row.formConfigs, [
4683
+ "date",
4684
+ "year",
4685
+ "month",
4686
+ "date",
4687
+ "dates",
4688
+ "week",
4689
+ "datetime",
4690
+ "datetimerange",
4691
+ "daterange",
4692
+ "monthrange",
4693
+ "quarter",
4694
+ "halfyear",
4695
+ ])
4589
4696
  ? _c(
4590
4697
  "es-date-picker",
4591
4698
  _vm._b(
@@ -4633,11 +4740,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4633
4740
  },
4634
4741
  },
4635
4742
  "es-date-picker",
4636
- _vm.formOption,
4743
+ _vm.getOptions(scope.row.formConfigs),
4637
4744
  false
4638
4745
  )
4639
4746
  )
4640
- : _vm.type == "number"
4747
+ : _vm.getType(scope.row.formConfigs, "number")
4641
4748
  ? _c(
4642
4749
  "es-input-number",
4643
4750
  _vm._b(
@@ -4684,11 +4791,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4684
4791
  },
4685
4792
  },
4686
4793
  "es-input-number",
4687
- _vm.formOption,
4794
+ _vm.getOptions(scope.row.formConfigs),
4688
4795
  false
4689
4796
  )
4690
4797
  )
4691
- : _vm.type == "selector"
4798
+ : _vm.getType(scope.row.formConfigs, "selector")
4692
4799
  ? _c(
4693
4800
  "es-selector",
4694
4801
  _vm._g(
@@ -4719,7 +4826,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4719
4826
  },
4720
4827
  },
4721
4828
  "es-selector",
4722
- _vm.formOption,
4829
+ _vm.getOptions(scope.row.formConfigs),
4723
4830
  false
4724
4831
  ),
4725
4832
  _vm.exclAttribute({
@@ -4728,14 +4835,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4728
4835
  })
4729
4836
  )
4730
4837
  )
4731
- : _vm.type === "text" ||
4732
- _vm.type === "input" ||
4733
- _vm.type === "textarea"
4838
+ : _vm.getType(scope.row.formConfigs, [
4839
+ "text",
4840
+ "input",
4841
+ "textarea",
4842
+ ])
4734
4843
  ? [
4735
4844
  _vm.config.lazy
4736
4845
  ? [
4737
- _vm.type === "text" ||
4738
- _vm.type === "input"
4846
+ _vm.getType(scope.row.formConfigs, [
4847
+ "text",
4848
+ "input",
4849
+ ])
4739
4850
  ? _c(
4740
4851
  "input",
4741
4852
  _vm._b(
@@ -4799,7 +4910,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4799
4910
  },
4800
4911
  },
4801
4912
  "input",
4802
- _vm.formOption,
4913
+ _vm.getOptions(
4914
+ scope.row.formConfigs
4915
+ ),
4803
4916
  false
4804
4917
  )
4805
4918
  )
@@ -4866,7 +4979,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4866
4979
  },
4867
4980
  },
4868
4981
  "textarea",
4869
- _vm.formOption,
4982
+ _vm.getOptions(
4983
+ scope.row.formConfigs
4984
+ ),
4870
4985
  false
4871
4986
  )
4872
4987
  ),
@@ -4923,7 +5038,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4923
5038
  },
4924
5039
  },
4925
5040
  "es-input",
4926
- _vm.formOption,
5041
+ _vm.getOptions(
5042
+ scope.row.formConfigs
5043
+ ),
4927
5044
  false
4928
5045
  )
4929
5046
  ),
@@ -4979,6 +5096,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4979
5096
  {
4980
5097
  attrs: {
4981
5098
  stop: "",
5099
+ mode: _vm.mode,
4982
5100
  contents: _vm.contents || _vm.events,
4983
5101
  data: scope,
4984
5102
  },
@@ -5020,11 +5138,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
5020
5138
  2
5021
5139
  )
5022
5140
  }
5023
- var columnvue_type_template_id_2dabb50c_staticRenderFns = []
5024
- columnvue_type_template_id_2dabb50c_render._withStripped = true
5141
+ var columnvue_type_template_id_19baf4a0_staticRenderFns = []
5142
+ columnvue_type_template_id_19baf4a0_render._withStripped = true
5025
5143
 
5026
5144
 
5027
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=2dabb50c&
5145
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=19baf4a0&
5028
5146
 
5029
5147
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5030
5148
  var regenerator_ = __webpack_require__(13);
@@ -5036,6 +5154,8 @@ var util = __webpack_require__(0);
5036
5154
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/column.vue?vue&type=script&lang=js&
5037
5155
 
5038
5156
 
5157
+ var _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; };
5158
+
5039
5159
  var _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; };
5040
5160
 
5041
5161
  function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
@@ -5453,6 +5573,61 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5453
5573
  //
5454
5574
  //
5455
5575
  //
5576
+ //
5577
+ //
5578
+ //
5579
+ //
5580
+ //
5581
+ //
5582
+ //
5583
+ //
5584
+ //
5585
+ //
5586
+ //
5587
+ //
5588
+ //
5589
+ //
5590
+ //
5591
+ //
5592
+ //
5593
+ //
5594
+ //
5595
+ //
5596
+ //
5597
+ //
5598
+ //
5599
+ //
5600
+ //
5601
+ //
5602
+ //
5603
+ //
5604
+ //
5605
+ //
5606
+ //
5607
+ //
5608
+ //
5609
+ //
5610
+ //
5611
+ //
5612
+ //
5613
+ //
5614
+ //
5615
+ //
5616
+ //
5617
+ //
5618
+ //
5619
+ //
5620
+ //
5621
+ //
5622
+ //
5623
+ //
5624
+ //
5625
+ //
5626
+ //
5627
+ //
5628
+ //
5629
+ //
5630
+ //
5456
5631
 
5457
5632
 
5458
5633
 
@@ -5501,6 +5676,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5501
5676
  }
5502
5677
  },
5503
5678
  props: {
5679
+ tag: String,
5680
+ mode: String,
5504
5681
  service: String,
5505
5682
  form: Boolean,
5506
5683
  readonly: Boolean,
@@ -5526,6 +5703,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5526
5703
  contents: Array,
5527
5704
  events: [Array, Object],
5528
5705
  dateFormat: String,
5706
+ dateValue: {
5707
+ type: String,
5708
+ default: ''
5709
+ },
5529
5710
  styles: [Array, Object],
5530
5711
  sysCode: String,
5531
5712
  valueToString: Boolean,
@@ -5602,9 +5783,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5602
5783
  valueKey: this.sysCode ? this.service ? 'value' : 'cciValue' : this.valueKey,
5603
5784
  rules: this.rules,
5604
5785
  events: this.events
5605
- }, this.$attrs, {
5606
- data: this.option
5607
- });
5786
+ }, this.$attrs);
5608
5787
  return config;
5609
5788
  },
5610
5789
  icon: function icon() {
@@ -5733,6 +5912,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5733
5912
  }
5734
5913
  return data;
5735
5914
  },
5915
+ getType: function getType(config, types) {
5916
+ var type = config && config[this.field || this.prop] ? config[this.field || this.prop]['type'] || config[this.field || this.prop] : this.type;
5917
+ return Array.isArray(types) ? types.includes(type) : type == types;
5918
+ },
5919
+ getOptions: function getOptions(config) {
5920
+ var option = config && config[this.field || this.prop];
5921
+ return option && (typeof option === 'undefined' ? 'undefined' : _typeof(option)) == 'object' ? _extends({}, this.formOption, option) : this.formOption;
5922
+ },
5923
+ getData: function getData(res) {
5924
+ return res && res[this.field || this.prop] ? res[this.field || this.prop] : this.option;
5925
+ },
5736
5926
  exclAttribute: function exclAttribute(_ref2) {
5737
5927
  var data = _ref2.data,
5738
5928
  attrs = _ref2.attrs;
@@ -5813,25 +6003,27 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5813
6003
  this.$emit('formFocus', data);
5814
6004
  this.$emit('form-focus', data);
5815
6005
  },
5816
- handleChange: function handleChange(data) {
6006
+ handleChange: function handleChange(datas) {
5817
6007
  var _this3 = this;
5818
6008
 
5819
- var item = data.item;
6009
+ var item = datas.item,
6010
+ name = datas.name,
6011
+ data = datas.data;
5820
6012
 
5821
- if (item && this.type == 'ganged') {
5822
- var _data$value = data.value,
5823
- index = _data$value.index,
5824
- value = _data$value.value;
6013
+ if (item && (data.formConfigs && data.formConfigs[name] == 'ganged' || this.type == 'ganged')) {
6014
+ var _datas$value = datas.value,
6015
+ index = _datas$value.index,
6016
+ value = _datas$value.value;
5825
6017
 
5826
6018
  if ((item.url || this.sysCode) && (item.ganged && index > item.ganged - 1 || value.hasSub)) {
5827
6019
  var filte = value[this.valueKey] || value.value;
5828
- var datas = [];
6020
+ var _datas = [];
5829
6021
  if (this.optionDatas[this.field || this.prop][index + 1]) {
5830
- datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
6022
+ _datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
5831
6023
  return filte == items[item.filtrateKey];
5832
6024
  });
5833
6025
  }
5834
- if (datas.length == 0) {
6026
+ if (_datas.length == 0) {
5835
6027
  var queryKey = item.queryKey;
5836
6028
  var param = {};
5837
6029
  if (queryKey) {
@@ -5866,16 +6058,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5866
6058
  }
5867
6059
  }
5868
6060
  }
5869
- this.events && this.events.change && this.events.change(data);
5870
- this.$emit('formChange', data);
5871
- this.$emit('form-change', data);
6061
+ this.events && this.events.change && this.events.change(datas);
6062
+ this.$emit('formChange', datas);
6063
+ this.$emit('form-change', datas);
5872
6064
  },
5873
6065
  handleClick: function handleClick(data) {
5874
6066
  this.$emit('handleClick', data);
5875
6067
  this.$emit('handle-click', data);
5876
6068
  },
5877
6069
  formatDate: function formatDate(date, fmt) {
5878
- return util["a" /* default */].formatDate(date, fmt);
6070
+ return date ? util["a" /* default */].formatDate(date, fmt) : this.dateValue;
5879
6071
  }
5880
6072
  }
5881
6073
  });
@@ -5894,8 +6086,8 @@ var componentNormalizer = __webpack_require__(3);
5894
6086
 
5895
6087
  var component = Object(componentNormalizer["a" /* default */])(
5896
6088
  src_columnvue_type_script_lang_js_,
5897
- columnvue_type_template_id_2dabb50c_render,
5898
- columnvue_type_template_id_2dabb50c_staticRenderFns,
6089
+ columnvue_type_template_id_19baf4a0_render,
6090
+ columnvue_type_template_id_19baf4a0_staticRenderFns,
5899
6091
  false,
5900
6092
  null,
5901
6093
  null,
@@ -5964,8 +6156,8 @@ var children_component = Object(componentNormalizer["a" /* default */])(
5964
6156
  )
5965
6157
 
5966
6158
  /* harmony default export */ var children = (children_component.exports);
5967
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=template&id=58e4111d&
5968
- var sizervue_type_template_id_58e4111d_render = function () {
6159
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=template&id=a70172f8&
6160
+ var sizervue_type_template_id_a70172f8_render = function () {
5969
6161
  var _vm = this
5970
6162
  var _h = _vm.$createElement
5971
6163
  var _c = _vm._self._c || _h
@@ -5989,6 +6181,7 @@ var sizervue_type_template_id_58e4111d_render = function () {
5989
6181
  "row-key": "id",
5990
6182
  "default-expand-all": "",
5991
6183
  height: "500px",
6184
+ mode: _vm.mode,
5992
6185
  data: _vm.theads,
5993
6186
  thead: _vm.thead,
5994
6187
  "tree-props": { children: "childHead" },
@@ -6016,11 +6209,11 @@ var sizervue_type_template_id_58e4111d_render = function () {
6016
6209
  )
6017
6210
  : _vm._e()
6018
6211
  }
6019
- var sizervue_type_template_id_58e4111d_staticRenderFns = []
6020
- sizervue_type_template_id_58e4111d_render._withStripped = true
6212
+ var sizervue_type_template_id_a70172f8_staticRenderFns = []
6213
+ sizervue_type_template_id_a70172f8_render._withStripped = true
6021
6214
 
6022
6215
 
6023
- // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=58e4111d&
6216
+ // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=a70172f8&
6024
6217
 
6025
6218
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=script&lang=js&
6026
6219
  var sizervue_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; };
@@ -6050,11 +6243,13 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6050
6243
  //
6051
6244
  //
6052
6245
  //
6246
+ //
6053
6247
 
6054
6248
 
6055
6249
  /* harmony default export */ var sizervue_type_script_lang_js_ = ({
6056
6250
  name: 'Sizer',
6057
6251
  props: {
6252
+ mode: String,
6058
6253
  data: Array
6059
6254
  },
6060
6255
  computed: {
@@ -6190,8 +6385,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6190
6385
 
6191
6386
  var sizer_component = Object(componentNormalizer["a" /* default */])(
6192
6387
  src_sizervue_type_script_lang_js_,
6193
- sizervue_type_template_id_58e4111d_render,
6194
- sizervue_type_template_id_58e4111d_staticRenderFns,
6388
+ sizervue_type_template_id_a70172f8_render,
6389
+ sizervue_type_template_id_a70172f8_staticRenderFns,
6195
6390
  false,
6196
6391
  null,
6197
6392
  null,
@@ -6208,11 +6403,11 @@ var external_qs_ = __webpack_require__(4);
6208
6403
  var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
6209
6404
 
6210
6405
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=script&lang=js&
6211
- var _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; };
6406
+ var 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; };
6212
6407
 
6213
6408
  var 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; };
6214
6409
 
6215
- var mainvue_type_script_lang_js_components, _watch;
6410
+ var mainvue_type_script_lang_js_components;
6216
6411
 
6217
6412
  //
6218
6413
  //
@@ -6385,6 +6580,11 @@ var mainvue_type_script_lang_js_components, _watch;
6385
6580
  //
6386
6581
  //
6387
6582
  //
6583
+ //
6584
+ //
6585
+ //
6586
+ //
6587
+ //
6388
6588
 
6389
6589
 
6390
6590
 
@@ -6393,6 +6593,7 @@ var mainvue_type_script_lang_js_components, _watch;
6393
6593
 
6394
6594
 
6395
6595
 
6596
+ var dataTableMode = util["a" /* default */].win.top.dataTableMode || util["a" /* default */].win.dataTableMode || 'default';
6396
6597
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
6397
6598
  name: 'EsDataTable',
6398
6599
  inheritAttrs: false,
@@ -6416,6 +6617,10 @@ var mainvue_type_script_lang_js_components, _watch;
6416
6617
  }
6417
6618
  },
6418
6619
  props: {
6620
+ mode: {
6621
+ type: String,
6622
+ default: dataTableMode
6623
+ },
6419
6624
  service: String,
6420
6625
  loading: {
6421
6626
  type: Boolean,
@@ -6554,7 +6759,7 @@ var mainvue_type_script_lang_js_components, _watch;
6554
6759
  },
6555
6760
  // 单元格配置
6556
6761
  thead: {
6557
- type: [Array, String],
6762
+ type: Array,
6558
6763
  default: function _default() {
6559
6764
  return [];
6560
6765
  }
@@ -6645,11 +6850,13 @@ var mainvue_type_script_lang_js_components, _watch;
6645
6850
  dragSortIcon: {
6646
6851
  type: String,
6647
6852
  default: 'es-icon-caidan'
6648
- }
6853
+ },
6854
+ fields: Boolean
6649
6855
  },
6650
6856
  data: function data() {
6651
6857
  return {
6652
6858
  requests: [],
6859
+ toolbars: [],
6653
6860
  theadData: [],
6654
6861
  list: [],
6655
6862
  tableLoading: this.loading,
@@ -6659,11 +6866,11 @@ var mainvue_type_script_lang_js_components, _watch;
6659
6866
  editValue: {},
6660
6867
  restotalRow: null,
6661
6868
  showTotal: false,
6662
- toolbars: [],
6663
6869
  config: {
6664
6870
  pageNum: 1,
6665
6871
  pageSize: 20,
6666
- totalCount: 0
6872
+ totalCount: 0,
6873
+ layout: this.mode == 'plus' ? 'total, sizes, prev, pager, next, jumper' : undefined
6667
6874
  },
6668
6875
  searchWhere: {},
6669
6876
  advanceWhere: {},
@@ -6769,7 +6976,7 @@ var mainvue_type_script_lang_js_components, _watch;
6769
6976
  if (this.list && this.list.length) {
6770
6977
  return this.list;
6771
6978
  }
6772
- if (this.page && (_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6979
+ if (this.page && (mainvue_type_script_lang_js_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6773
6980
  this.config.totalCount = this.data.length - this.lose;
6774
6981
  }
6775
6982
  if (this.page && this.data.length > this.config.pageSize) {
@@ -6839,7 +7046,7 @@ var mainvue_type_script_lang_js_components, _watch;
6839
7046
  return api["v" /* findSysCode */];
6840
7047
  }
6841
7048
  },
6842
- watch: (_watch = {
7049
+ watch: {
6843
7050
  showToolbar: function showToolbar() {
6844
7051
  this.resetHeight();
6845
7052
  this.doLayout();
@@ -6851,11 +7058,6 @@ var mainvue_type_script_lang_js_components, _watch;
6851
7058
  this.list = this.setData();
6852
7059
  }
6853
7060
  },
6854
- page: function page() {
6855
- this.resetHeight();
6856
- this.doLayout();
6857
- },
6858
-
6859
7061
  scale: {
6860
7062
  deep: true,
6861
7063
  handler: function handler(val) {
@@ -6866,7 +7068,7 @@ var mainvue_type_script_lang_js_components, _watch;
6866
7068
  }
6867
7069
  },
6868
7070
  zoom: {
6869
- handler: function handler(val) {
7071
+ handler: function handler() {
6870
7072
  if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
6871
7073
  this.resetHeight();
6872
7074
  this.doLayout();
@@ -6880,10 +7082,10 @@ var mainvue_type_script_lang_js_components, _watch;
6880
7082
  thead: {
6881
7083
  deep: true,
6882
7084
  handler: function handler(val) {
6883
- if (typeof val === 'string') {
6884
- this.getTheads();
6885
- } else {
6886
- this.getOptions(val);
7085
+ this.getOptions(val);
7086
+
7087
+ if (Array.isArray(val) && val.length && this.fields && this.datas.length == 0) {
7088
+ this.getTableData();
6887
7089
  }
6888
7090
  }
6889
7091
  },
@@ -6895,49 +7097,53 @@ var mainvue_type_script_lang_js_components, _watch;
6895
7097
  },
6896
7098
  param: {
6897
7099
  deep: true,
6898
- handler: function handler(val) {
7100
+ handler: function handler() {
6899
7101
  this.getTableData();
6900
7102
  }
6901
- }
6902
- }, _watch['page'] = {
6903
- immediate: true,
6904
- deep: true,
6905
- handler: function handler(val) {
6906
- if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') {
6907
- this.config = util["a" /* default */].extend({}, this.config, val);
6908
- } else {
6909
- this.config = {
6910
- pageNum: 1,
6911
- pageSize: 20,
6912
- totalCount: 0
6913
- };
7103
+ },
7104
+ page: {
7105
+ immediate: true,
7106
+ deep: true,
7107
+ handler: function handler(val) {
7108
+ if (this.$el) {
7109
+ this.resetHeight();
7110
+ this.doLayout();
7111
+ }
7112
+ if ((typeof val === 'undefined' ? 'undefined' : mainvue_type_script_lang_js_typeof(val)) === 'object') {
7113
+ this.config = util["a" /* default */].extend({}, this.config, val);
7114
+ }
6914
7115
  }
6915
- }
6916
- }, _watch['config.pageNum'] = function configPageNum() {
6917
- if (this.data.length) {
6918
- this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
6919
- this.list = this.setData();
6920
- }
6921
- }, _watch.height = {
6922
- immediate: true,
6923
- handler: function handler(val) {
6924
- if (val) {
6925
- this.tableHeight = val;
7116
+ },
7117
+ 'config.pageNum': function configPageNum() {
7118
+ if (this.data.length) {
7119
+ this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
7120
+ this.list = this.setData();
6926
7121
  }
6927
- }
6928
- }, _watch.maxHeight = {
6929
- immediate: true,
6930
- handler: function handler(val) {
6931
- if (val && this.height === undefined) {
6932
- this.tableHeight = val;
7122
+ },
7123
+
7124
+ height: {
7125
+ immediate: true,
7126
+ handler: function handler(val) {
7127
+ if (val) {
7128
+ this.tableHeight = val;
7129
+ }
7130
+ }
7131
+ },
7132
+ maxHeight: {
7133
+ immediate: true,
7134
+ handler: function handler(val) {
7135
+ if (val && this.height === undefined) {
7136
+ this.tableHeight = val;
7137
+ }
7138
+ }
7139
+ },
7140
+ display: function display(val) {
7141
+ if (val) {
7142
+ this.resetHeight();
7143
+ this.doLayout();
6933
7144
  }
6934
7145
  }
6935
- }, _watch.display = function display(val) {
6936
- if (val) {
6937
- this.resetHeight();
6938
- this.doLayout();
6939
- }
6940
- }, _watch),
7146
+ },
6941
7147
  beforeCreate: function beforeCreate() {
6942
7148
  var _this4 = this;
6943
7149
 
@@ -6948,9 +7154,15 @@ var mainvue_type_script_lang_js_components, _watch;
6948
7154
  created: function created() {
6949
7155
  if (Array.isArray(this.thead) && this.thead.length) {
6950
7156
  this.getOptions(this.thead);
7157
+ if (this.fields) {
7158
+ this.immediate && this.getTableData();
7159
+ this.chekOpenTotalArea();
7160
+ }
7161
+ }
7162
+ if (!this.fields) {
7163
+ this.immediate && this.getTableData();
7164
+ this.chekOpenTotalArea();
6951
7165
  }
6952
- this.immediate && this.getTableData();
6953
- this.chekOpenTotalArea();
6954
7166
  },
6955
7167
  mounted: function mounted() {
6956
7168
  if (this.data.length) {
@@ -6958,13 +7170,16 @@ var mainvue_type_script_lang_js_components, _watch;
6958
7170
  }
6959
7171
  this.list.length && this.checkSelect(this.checked);
6960
7172
  this.resetHeight();
7173
+ if (util["a" /* default */].win.top != util["a" /* default */].win.self) {
7174
+ util["a" /* default */].win.onresize = Object(external_throttle_debounce_["debounce"])(500, this.resetHeight);
7175
+ }
6961
7176
  },
6962
7177
 
6963
7178
  methods: {
6964
7179
  setData: function setData() {
6965
7180
  var _this5 = this;
6966
7181
 
6967
- if (this.page && (_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
7182
+ if (this.page && (mainvue_type_script_lang_js_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6968
7183
  this.config.totalCount = this.data.length - this.lose;
6969
7184
  }
6970
7185
  if (this.page && this.data.length > this.config.pageSize) {
@@ -7088,7 +7303,7 @@ var mainvue_type_script_lang_js_components, _watch;
7088
7303
  _index += (this.config.pageNum - 1) * this.config.pageSize;
7089
7304
  }
7090
7305
  var rows = {};
7091
- if (this.rowData && _typeof(this.rowData) == 'object') {
7306
+ if (this.rowData && mainvue_type_script_lang_js_typeof(this.rowData) == 'object') {
7092
7307
  rows = this.rowData;
7093
7308
  } else if (_index && this.rowData === true) {
7094
7309
  rows = JSON.parse(JSON.stringify(this.data[_index - 1]));
@@ -7151,40 +7366,8 @@ var mainvue_type_script_lang_js_components, _watch;
7151
7366
  }
7152
7367
  });
7153
7368
  },
7154
- getTheads: function getTheads() {
7155
- var _this10 = this;
7156
-
7157
- util["a" /* default */].ajax({
7158
- url: this.thead,
7159
- method: this.method,
7160
- format: this.format,
7161
- params: this.param,
7162
- data: this.param
7163
- }).then(function (res) {
7164
- if (res.rCode === 0) {
7165
- var results = res.results;
7166
- if (Array.isArray(results)) {
7167
- _this10.theadData = results;
7168
- } else {
7169
- _this10.theadData = results.theadData || [];
7170
- _this10.list = results.data || results.records || [];
7171
- _this10.config.totalCount = results.count || results.total || results.totalCount;
7172
- _this10.getOptions(_this10.theadData);
7173
- }
7174
- } else {
7175
- _this10.theadData = [];
7176
- var msg = res.msg || '系统错误,请联系管理员!';
7177
- _this10.$message.error(msg);
7178
- }
7179
- _this10.$emit('success', res);
7180
- }).catch(function (err) {
7181
- if (err.message && err.message !== 'canceled') {
7182
- _this10.$message.error(err.message);
7183
- }
7184
- });
7185
- },
7186
7369
  getTableDatas: function getTableDatas(res) {
7187
- var _this11 = this;
7370
+ var _this10 = this;
7188
7371
 
7189
7372
  var where = void 0;
7190
7373
  var first = void 0;
@@ -7216,6 +7399,20 @@ var mainvue_type_script_lang_js_components, _watch;
7216
7399
  }
7217
7400
  }
7218
7401
  }
7402
+ if (this.fields) {
7403
+ var fields = [];
7404
+ this.thead.forEach(function (item) {
7405
+ if (item.field || item.prop) {
7406
+ fields.push(item.field || item.prop);
7407
+ }
7408
+ });
7409
+ var initLogin = util["a" /* default */].getStorage('initLogin');
7410
+ initLogin && (initLogin = JSON.parse(initLogin));
7411
+ reqData['fields'] = initLogin.secret ? util["a" /* default */].esmEncrypt({
7412
+ data: fields.join(','),
7413
+ key: initLogin.secret
7414
+ }) : fields.join(',');
7415
+ }
7219
7416
  this.tableLoading = true;
7220
7417
  util["a" /* default */].ajax(mainvue_type_script_lang_js_extends({}, this.ajaxConfig, {
7221
7418
  url: this.url,
@@ -7224,42 +7421,43 @@ var mainvue_type_script_lang_js_components, _watch;
7224
7421
  params: reqData,
7225
7422
  data: reqData
7226
7423
  })).then(function (res) {
7227
- _this11.tableLoading = false;
7424
+ _this10.tableLoading = false;
7228
7425
  if (res.rCode === 0 || res.status === 'success') {
7229
- if (_this11.isReload) {
7230
- _this11.list = [];
7231
- _this11.isReload = false;
7426
+ if (_this10.isReload) {
7427
+ _this10.list = [];
7428
+ _this10.isReload = false;
7232
7429
  }
7233
- var results = _this11.parseData !== undefined ? _this11.parseData(res.results || res.data || res) : res.results || res.data;
7234
- if (_this11.infiniteScroll) {
7235
- _this11.list = _this11.list.concat(results.data || results.records || results.list);
7236
- _this11.config.pageNum += 1;
7430
+ var results = _this10.parseData !== undefined ? _this10.parseData(res.results || res.data || res) : res.results || res.data;
7431
+ if (_this10.infiniteScroll) {
7432
+ _this10.list = _this10.list.concat(results.data || results.records || results.list);
7433
+ _this10.config.pageNum += 1;
7237
7434
  } else {
7238
- _this11.list = results.data || results.records || results.list;
7239
- _this11.$nextTick(function () {
7240
- _this11.$refs.oaTable && _this11.$refs.oaTable.resetScroll && _this11.$refs.oaTable.resetScroll(0, 0);
7435
+ _this10.list = results.data || results.records || results.list;
7436
+ _this10.$nextTick(function () {
7437
+ _this10.$refs.oaTable && _this10.$refs.oaTable.resetScroll && _this10.$refs.oaTable.resetScroll(0, 0);
7241
7438
  });
7242
7439
  }
7243
- _this11.config.totalCount = results.count || results.total || results.totalCount;
7244
- _this11.checked && _this11.$nextTick(function () {
7245
- _this11.checkSelect(_this11.checked);
7440
+ _this10.config.totalCount = results.count || results.total || results.totalCount;
7441
+ _this10.config.pageCount = results.pageCount;
7442
+ _this10.checked && _this10.$nextTick(function () {
7443
+ _this10.checkSelect(_this10.checked);
7246
7444
  });
7247
- if (_this11.infiniteScroll && _this11.config.totalCount === _this11.list.length) {
7248
- _this11.infiniteDisabled = true;
7445
+ if (_this10.infiniteScroll && _this10.config.totalCount === _this10.list.length) {
7446
+ _this10.infiniteDisabled = true;
7249
7447
  }
7250
7448
  } else {
7251
- _this11.list = [];
7449
+ _this10.list = [];
7252
7450
  //this.tableHeight = false;
7253
7451
  var msg = res.msg || '系统错误,请联系管理员!';
7254
- _this11.$message.error(msg);
7452
+ _this10.$message.error(msg);
7255
7453
  }
7256
- _this11.$emit('success', res);
7454
+ _this10.$emit('success', res);
7257
7455
  }).catch(function (err) {
7258
7456
  //this.tableHeight = false;
7259
7457
  if (err.message && err.message !== 'canceled') {
7260
- _this11.$message.error(err.message);
7458
+ _this10.$message.error(err.message);
7261
7459
  }
7262
- _this11.tableLoading = false;
7460
+ _this10.tableLoading = false;
7263
7461
  });
7264
7462
  },
7265
7463
  selectionChange: function selectionChange(data) {
@@ -7288,7 +7486,7 @@ var mainvue_type_script_lang_js_components, _watch;
7288
7486
  this.$refs.oaTable.clearFilter(columnKey);
7289
7487
  },
7290
7488
  doLayout: function doLayout() {
7291
- this.$refs.oaTable.doLayout();
7489
+ this.$refs.oaTable && this.$refs.oaTable.doLayout();
7292
7490
  },
7293
7491
  sort: function sort(prop, order) {
7294
7492
  this.$refs.oaTable.sort(prop, order);
@@ -7304,7 +7502,7 @@ var mainvue_type_script_lang_js_components, _watch;
7304
7502
  this.$emit('change', data, this.list);
7305
7503
  },
7306
7504
  handleAjax: function handleAjax(handle, row) {
7307
- var _this12 = this;
7505
+ var _this11 = this;
7308
7506
 
7309
7507
  this.changeLoading(true, handle.text + '\u4E2D...');
7310
7508
  var params = handle.param || {};
@@ -7360,9 +7558,9 @@ var mainvue_type_script_lang_js_components, _watch;
7360
7558
  method: handle.method,
7361
7559
  format: handle.format
7362
7560
  })).then(function (res) {
7363
- _this12.changeLoading(false);
7561
+ _this11.changeLoading(false);
7364
7562
  if (res.rCode === 0) {
7365
- _this12.$message({
7563
+ _this11.$message({
7366
7564
  message: handle.text + '\u6210\u529F',
7367
7565
  duration: 2000,
7368
7566
  type: 'success',
@@ -7370,17 +7568,17 @@ var mainvue_type_script_lang_js_components, _watch;
7370
7568
  var first = Object.prototype.hasOwnProperty.call(handle, 'first') ? handle.first : false;
7371
7569
  var reload = handle.reload || true;
7372
7570
  if (reload) {
7373
- _this12.reload({}, first);
7571
+ _this11.reload({}, first);
7374
7572
  }
7375
7573
  }
7376
7574
  });
7377
7575
  } else {
7378
- _this12.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7576
+ _this11.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7379
7577
  }
7380
7578
  }).catch(function (err) {
7381
- _this12.changeLoading(false);
7579
+ _this11.changeLoading(false);
7382
7580
  if (err.message && err.message !== 'canceled') {
7383
- _this12.$message.error(err.message);
7581
+ _this11.$message.error(err.message);
7384
7582
  }
7385
7583
  });
7386
7584
  },
@@ -7405,7 +7603,7 @@ var mainvue_type_script_lang_js_components, _watch;
7405
7603
  return mainvue_type_script_lang_js_extends({}, obj, item);
7406
7604
  },
7407
7605
  handleClick: function handleClick(res) {
7408
- var _this13 = this;
7606
+ var _this12 = this;
7409
7607
 
7410
7608
  var row = res.row,
7411
7609
  handle = res.handle;
@@ -7441,7 +7639,7 @@ var mainvue_type_script_lang_js_components, _watch;
7441
7639
  cancelButtonText: '取消',
7442
7640
  type: 'warning'
7443
7641
  }).then(function () {
7444
- _this13.handleAjax(handle, rows);
7642
+ _this12.handleAjax(handle, rows);
7445
7643
  }).catch(function () {});
7446
7644
  } else {
7447
7645
  this.handleAjax(handle, rows);
@@ -7529,7 +7727,7 @@ var mainvue_type_script_lang_js_components, _watch;
7529
7727
  var type = ['selection', 'index', 'expand'];
7530
7728
  thead = thead.map(function (item) {
7531
7729
  return item.filter(function (ele) {
7532
- return !type.includes(ele.type) && ele.label !== text && !_this13.exportExcludeLabel.includes(ele.label);
7730
+ return !type.includes(ele.type) && ele.label !== text && !_this12.exportExcludeLabel.includes(ele.label);
7533
7731
  });
7534
7732
  });
7535
7733
  util["a" /* default */].exportXls({
@@ -7630,40 +7828,40 @@ var mainvue_type_script_lang_js_components, _watch;
7630
7828
  }
7631
7829
  },
7632
7830
  resetHeight: function resetHeight(warn) {
7633
- var _this14 = this;
7831
+ var _this13 = this;
7634
7832
 
7635
7833
  this.$nextTick(function () {
7636
- if (_this14.full && !_this14.height && !_this14.maxHeight) {
7637
- var height = _this14.$el.parentNode.offsetHeight;
7834
+ if (_this13.full && !_this13.height && !_this13.maxHeight) {
7835
+ var height = _this13.$el.parentNode.offsetHeight;
7638
7836
  if (height) {
7639
- height = parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'height', '%'), 10);
7640
- height = (height == NaN ? 0 : height) - parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-top'), 10) - parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-bottom'), 10);
7641
- for (var i = 0; i < _this14.$el.parentNode.childNodes.length; i++) {
7642
- var ele = _this14.$el.parentNode.childNodes[i];
7643
- if (ele !== _this14.$el && ele.offsetHeight !== undefined) {
7837
+ height = parseInt(util["a" /* default */].getStyle(_this13.$el.parentNode, 'height', '%'), 10);
7838
+ height = (height == NaN ? 0 : height) - parseInt(util["a" /* default */].getStyle(_this13.$el.parentNode, 'padding-top'), 10) - parseInt(util["a" /* default */].getStyle(_this13.$el.parentNode, 'padding-bottom'), 10);
7839
+ for (var i = 0; i < _this13.$el.parentNode.childNodes.length; i++) {
7840
+ var ele = _this13.$el.parentNode.childNodes[i];
7841
+ if (ele !== _this13.$el && ele.offsetHeight !== undefined) {
7644
7842
  height = height - ele.offsetHeight - parseInt(util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
7645
7843
  }
7646
7844
  }
7647
- height -= _this14.showToolbar ? 45 : 0;
7648
- height -= _this14.page === false ? 0 : 46;
7649
- height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
7650
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
7651
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
7652
- var emptyText = _this14.$refs.esTableContent.querySelector('.el-table__empty-text');
7845
+ height -= _this13.showToolbar ? _this13.$refs.toolbar.$el.offsetHeight : 0;
7846
+ height -= _this13.page === false ? 0 : _this13.$refs.pagination.$el.offsetHeight;
7847
+ height -= _this13.title ? _this13.$refs.title.offsetHeight : 0;
7848
+ height -= parseInt(util["a" /* default */].getStyle(_this13.$refs.esTableContent, 'padding-top'), 10);
7849
+ height -= parseInt(util["a" /* default */].getStyle(_this13.$refs.esTableContent, 'padding-bottom'), 10);
7850
+ var emptyText = _this13.$refs.esTableContent.querySelector('.el-table__empty-text');
7653
7851
  var eht = 0;
7654
7852
  if (emptyText) {
7655
7853
  eht = emptyText.offsetHeight;
7656
- var thead = _this14.$refs.esTableContent.querySelector('.el-table__header');
7854
+ var thead = _this13.$refs.esTableContent.querySelector('.el-table__header');
7657
7855
  thead && (eht += thead.offsetHeight);
7658
7856
  }
7659
7857
  if (height > 1 && height - eht > 1) {
7660
- _this14.tableHeight = height;
7858
+ _this13.tableHeight = height;
7661
7859
  } else {
7662
- console.warn(_this14.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7860
+ console.warn(_this13.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7663
7861
  }
7664
7862
  } else if (!warn) {
7665
7863
  setTimeout(function () {
7666
- _this14.resetHeight(true);
7864
+ _this13.resetHeight(true);
7667
7865
  }, 1000);
7668
7866
  }
7669
7867
  }
@@ -7696,31 +7894,31 @@ var mainvue_type_script_lang_js_components, _watch;
7696
7894
  this.$emit('update-drag-sort', data, event);
7697
7895
  },
7698
7896
  mergeThead: function mergeThead(res) {
7699
- var _this15 = this;
7897
+ var _this14 = this;
7700
7898
 
7701
7899
  this.theadData = res;
7702
7900
  this.icon = true;
7703
7901
  setTimeout(function () {
7704
- _this15.show = true;
7902
+ _this14.show = true;
7705
7903
  }, 100);
7706
7904
  },
7707
7905
  setOptions: function setOptions(val, sysCode) {
7708
7906
  this.$set(this.options, sysCode, val);
7709
7907
  },
7710
7908
  bindEventBus: function bindEventBus() {
7711
- var _this16 = this;
7909
+ var _this15 = this;
7712
7910
 
7713
7911
  this.sysCodes.forEach(function (item) {
7714
7912
  bus["a" /* default */].$on(item, function (val) {
7715
- _this16.setOptions(val, item);
7913
+ _this15.setOptions(val, item);
7716
7914
  });
7717
7915
  });
7718
7916
  },
7719
7917
  unbindEventBus: function unbindEventBus() {
7720
- var _this17 = this;
7918
+ var _this16 = this;
7721
7919
 
7722
7920
  this.sysCodes.forEach(function (item) {
7723
- bus["a" /* default */].$off(item, _this17.setOptions);
7921
+ bus["a" /* default */].$off(item, _this16.setOptions);
7724
7922
  });
7725
7923
  },
7726
7924
  reset: function reset() {
@@ -7740,7 +7938,7 @@ var mainvue_type_script_lang_js_components, _watch;
7740
7938
 
7741
7939
  var main_component = Object(componentNormalizer["a" /* default */])(
7742
7940
  src_mainvue_type_script_lang_js_,
7743
- mainvue_type_template_id_5c8208a6_render,
7941
+ mainvue_type_template_id_dd74e586_render,
7744
7942
  staticRenderFns,
7745
7943
  false,
7746
7944
  null,