eoss-ui 0.5.81-beta8 → 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 (126) 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 -276
  8. package/lib/date-picker.js +69 -59
  9. package/lib/dialog.js +77 -72
  10. package/lib/eoss-ui.common.js +4299 -3288
  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 +1684 -1158
  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 -68
  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/avatar.vue +16 -5
  83. package/packages/main/src/simplicity/handler.vue +6 -2
  84. package/packages/main/src/simplicity/index.vue +314 -238
  85. package/packages/main/src/simplicity/menu-list.vue +22 -74
  86. package/packages/main/src/simplicity/router-page.vue +5 -14
  87. package/packages/main/src/simplicity/sub-menu.vue +111 -7
  88. package/packages/main/src/simplicity/user.vue +5 -1
  89. package/packages/menu/src/main.vue +4 -3
  90. package/packages/pagination/src/main.vue +20 -1
  91. package/packages/selector/src/main.vue +147 -135
  92. package/packages/selector-panel/src/main.vue +3 -2
  93. package/packages/selector-panel/src/selection.vue +2 -2
  94. package/packages/tabs/src/main.vue +25 -15
  95. package/packages/theme-chalk/lib/base.css +1 -1
  96. package/packages/theme-chalk/lib/button-group.css +1 -1
  97. package/packages/theme-chalk/lib/data-table.css +1 -1
  98. package/packages/theme-chalk/lib/form.css +1 -1
  99. package/packages/theme-chalk/lib/index.css +1 -1
  100. package/packages/theme-chalk/lib/main.css +1 -1
  101. package/packages/theme-chalk/lib/menu.css +1 -1
  102. package/packages/theme-chalk/lib/pagination.css +1 -1
  103. package/packages/theme-chalk/lib/simplicity.css +1 -1
  104. package/packages/theme-chalk/lib/sizer.css +1 -1
  105. package/packages/theme-chalk/lib/tabs.css +1 -1
  106. package/packages/theme-chalk/lib/toolbar.css +1 -1
  107. package/packages/theme-chalk/lib/tree-group.css +1 -1
  108. package/packages/theme-chalk/lib/tree.css +1 -1
  109. package/packages/theme-chalk/lib/upload.css +1 -1
  110. package/packages/theme-chalk/src/base.scss +39 -0
  111. package/packages/theme-chalk/src/button-group.scss +16 -2
  112. package/packages/theme-chalk/src/common/var.scss +7 -2
  113. package/packages/theme-chalk/src/data-table.scss +60 -23
  114. package/packages/theme-chalk/src/form.scss +42 -40
  115. package/packages/theme-chalk/src/main.scss +11 -0
  116. package/packages/theme-chalk/src/pagination.scss +7 -0
  117. package/packages/theme-chalk/src/simplicity.scss +108 -40
  118. package/packages/theme-chalk/src/tabs.scss +24 -28
  119. package/packages/theme-chalk/src/toolbar.scss +16 -4
  120. package/packages/theme-chalk/src/tree-group.scss +8 -0
  121. package/packages/theme-chalk/src/tree.scss +19 -6
  122. package/packages/tree-group/src/main.vue +16 -7
  123. package/src/config/api.js +3 -1
  124. package/src/index.js +157 -157
  125. package/src/utils/util.js +6 -1
  126. 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=15de25d9&
3933
- var mainvue_type_template_id_15de25d9_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_15de25d9_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_15de25d9_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_15de25d9_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_15de25d9_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_15de25d9_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_15de25d9_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=15de25d9&
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) {
@@ -6786,7 +6993,6 @@ var mainvue_type_script_lang_js_components, _watch;
6786
6993
  this.$nextTick(function () {
6787
6994
  _this3.list = val;
6788
6995
  });
6789
- console.log(val, 7777788);
6790
6996
  }
6791
6997
  this.$emit('update:data', val);
6792
6998
  return val;
@@ -6840,7 +7046,7 @@ var mainvue_type_script_lang_js_components, _watch;
6840
7046
  return api["v" /* findSysCode */];
6841
7047
  }
6842
7048
  },
6843
- watch: (_watch = {
7049
+ watch: {
6844
7050
  showToolbar: function showToolbar() {
6845
7051
  this.resetHeight();
6846
7052
  this.doLayout();
@@ -6852,11 +7058,6 @@ var mainvue_type_script_lang_js_components, _watch;
6852
7058
  this.list = this.setData();
6853
7059
  }
6854
7060
  },
6855
- page: function page() {
6856
- this.resetHeight();
6857
- this.doLayout();
6858
- },
6859
-
6860
7061
  scale: {
6861
7062
  deep: true,
6862
7063
  handler: function handler(val) {
@@ -6867,7 +7068,7 @@ var mainvue_type_script_lang_js_components, _watch;
6867
7068
  }
6868
7069
  },
6869
7070
  zoom: {
6870
- handler: function handler(val) {
7071
+ handler: function handler() {
6871
7072
  if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
6872
7073
  this.resetHeight();
6873
7074
  this.doLayout();
@@ -6881,10 +7082,10 @@ var mainvue_type_script_lang_js_components, _watch;
6881
7082
  thead: {
6882
7083
  deep: true,
6883
7084
  handler: function handler(val) {
6884
- if (typeof val === 'string') {
6885
- this.getTheads();
6886
- } else {
6887
- this.getOptions(val);
7085
+ this.getOptions(val);
7086
+
7087
+ if (Array.isArray(val) && val.length && this.fields && this.datas.length == 0) {
7088
+ this.getTableData();
6888
7089
  }
6889
7090
  }
6890
7091
  },
@@ -6896,49 +7097,53 @@ var mainvue_type_script_lang_js_components, _watch;
6896
7097
  },
6897
7098
  param: {
6898
7099
  deep: true,
6899
- handler: function handler(val) {
7100
+ handler: function handler() {
6900
7101
  this.getTableData();
6901
7102
  }
6902
- }
6903
- }, _watch['page'] = {
6904
- immediate: true,
6905
- deep: true,
6906
- handler: function handler(val) {
6907
- if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') {
6908
- this.config = util["a" /* default */].extend({}, this.config, val);
6909
- } else {
6910
- this.config = {
6911
- pageNum: 1,
6912
- pageSize: 20,
6913
- totalCount: 0
6914
- };
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
+ }
6915
7115
  }
6916
- }
6917
- }, _watch['config.pageNum'] = function configPageNum() {
6918
- if (this.data.length) {
6919
- this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
6920
- this.list = this.setData();
6921
- }
6922
- }, _watch.height = {
6923
- immediate: true,
6924
- handler: function handler(val) {
6925
- if (val) {
6926
- 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();
6927
7121
  }
6928
- }
6929
- }, _watch.maxHeight = {
6930
- immediate: true,
6931
- handler: function handler(val) {
6932
- if (val && this.height === undefined) {
6933
- 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();
6934
7144
  }
6935
7145
  }
6936
- }, _watch.display = function display(val) {
6937
- if (val) {
6938
- this.resetHeight();
6939
- this.doLayout();
6940
- }
6941
- }, _watch),
7146
+ },
6942
7147
  beforeCreate: function beforeCreate() {
6943
7148
  var _this4 = this;
6944
7149
 
@@ -6949,9 +7154,15 @@ var mainvue_type_script_lang_js_components, _watch;
6949
7154
  created: function created() {
6950
7155
  if (Array.isArray(this.thead) && this.thead.length) {
6951
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();
6952
7165
  }
6953
- this.immediate && this.getTableData();
6954
- this.chekOpenTotalArea();
6955
7166
  },
6956
7167
  mounted: function mounted() {
6957
7168
  if (this.data.length) {
@@ -6959,13 +7170,16 @@ var mainvue_type_script_lang_js_components, _watch;
6959
7170
  }
6960
7171
  this.list.length && this.checkSelect(this.checked);
6961
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
+ }
6962
7176
  },
6963
7177
 
6964
7178
  methods: {
6965
7179
  setData: function setData() {
6966
7180
  var _this5 = this;
6967
7181
 
6968
- 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)) {
6969
7183
  this.config.totalCount = this.data.length - this.lose;
6970
7184
  }
6971
7185
  if (this.page && this.data.length > this.config.pageSize) {
@@ -7089,7 +7303,7 @@ var mainvue_type_script_lang_js_components, _watch;
7089
7303
  _index += (this.config.pageNum - 1) * this.config.pageSize;
7090
7304
  }
7091
7305
  var rows = {};
7092
- if (this.rowData && _typeof(this.rowData) == 'object') {
7306
+ if (this.rowData && mainvue_type_script_lang_js_typeof(this.rowData) == 'object') {
7093
7307
  rows = this.rowData;
7094
7308
  } else if (_index && this.rowData === true) {
7095
7309
  rows = JSON.parse(JSON.stringify(this.data[_index - 1]));
@@ -7152,40 +7366,8 @@ var mainvue_type_script_lang_js_components, _watch;
7152
7366
  }
7153
7367
  });
7154
7368
  },
7155
- getTheads: function getTheads() {
7156
- var _this10 = this;
7157
-
7158
- util["a" /* default */].ajax({
7159
- url: this.thead,
7160
- method: this.method,
7161
- format: this.format,
7162
- params: this.param,
7163
- data: this.param
7164
- }).then(function (res) {
7165
- if (res.rCode === 0) {
7166
- var results = res.results;
7167
- if (Array.isArray(results)) {
7168
- _this10.theadData = results;
7169
- } else {
7170
- _this10.theadData = results.theadData || [];
7171
- _this10.list = results.data || results.records || [];
7172
- _this10.config.totalCount = results.count || results.total || results.totalCount;
7173
- _this10.getOptions(_this10.theadData);
7174
- }
7175
- } else {
7176
- _this10.theadData = [];
7177
- var msg = res.msg || '系统错误,请联系管理员!';
7178
- _this10.$message.error(msg);
7179
- }
7180
- _this10.$emit('success', res);
7181
- }).catch(function (err) {
7182
- if (err.message && err.message !== 'canceled') {
7183
- _this10.$message.error(err.message);
7184
- }
7185
- });
7186
- },
7187
7369
  getTableDatas: function getTableDatas(res) {
7188
- var _this11 = this;
7370
+ var _this10 = this;
7189
7371
 
7190
7372
  var where = void 0;
7191
7373
  var first = void 0;
@@ -7217,6 +7399,20 @@ var mainvue_type_script_lang_js_components, _watch;
7217
7399
  }
7218
7400
  }
7219
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
+ }
7220
7416
  this.tableLoading = true;
7221
7417
  util["a" /* default */].ajax(mainvue_type_script_lang_js_extends({}, this.ajaxConfig, {
7222
7418
  url: this.url,
@@ -7225,42 +7421,43 @@ var mainvue_type_script_lang_js_components, _watch;
7225
7421
  params: reqData,
7226
7422
  data: reqData
7227
7423
  })).then(function (res) {
7228
- _this11.tableLoading = false;
7424
+ _this10.tableLoading = false;
7229
7425
  if (res.rCode === 0 || res.status === 'success') {
7230
- if (_this11.isReload) {
7231
- _this11.list = [];
7232
- _this11.isReload = false;
7426
+ if (_this10.isReload) {
7427
+ _this10.list = [];
7428
+ _this10.isReload = false;
7233
7429
  }
7234
- var results = _this11.parseData !== undefined ? _this11.parseData(res.results || res.data || res) : res.results || res.data;
7235
- if (_this11.infiniteScroll) {
7236
- _this11.list = _this11.list.concat(results.data || results.records || results.list);
7237
- _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;
7238
7434
  } else {
7239
- _this11.list = results.data || results.records || results.list;
7240
- _this11.$nextTick(function () {
7241
- _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);
7242
7438
  });
7243
7439
  }
7244
- _this11.config.totalCount = results.count || results.total || results.totalCount;
7245
- _this11.checked && _this11.$nextTick(function () {
7246
- _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);
7247
7444
  });
7248
- if (_this11.infiniteScroll && _this11.config.totalCount === _this11.list.length) {
7249
- _this11.infiniteDisabled = true;
7445
+ if (_this10.infiniteScroll && _this10.config.totalCount === _this10.list.length) {
7446
+ _this10.infiniteDisabled = true;
7250
7447
  }
7251
7448
  } else {
7252
- _this11.list = [];
7449
+ _this10.list = [];
7253
7450
  //this.tableHeight = false;
7254
7451
  var msg = res.msg || '系统错误,请联系管理员!';
7255
- _this11.$message.error(msg);
7452
+ _this10.$message.error(msg);
7256
7453
  }
7257
- _this11.$emit('success', res);
7454
+ _this10.$emit('success', res);
7258
7455
  }).catch(function (err) {
7259
7456
  //this.tableHeight = false;
7260
7457
  if (err.message && err.message !== 'canceled') {
7261
- _this11.$message.error(err.message);
7458
+ _this10.$message.error(err.message);
7262
7459
  }
7263
- _this11.tableLoading = false;
7460
+ _this10.tableLoading = false;
7264
7461
  });
7265
7462
  },
7266
7463
  selectionChange: function selectionChange(data) {
@@ -7289,7 +7486,7 @@ var mainvue_type_script_lang_js_components, _watch;
7289
7486
  this.$refs.oaTable.clearFilter(columnKey);
7290
7487
  },
7291
7488
  doLayout: function doLayout() {
7292
- this.$refs.oaTable.doLayout();
7489
+ this.$refs.oaTable && this.$refs.oaTable.doLayout();
7293
7490
  },
7294
7491
  sort: function sort(prop, order) {
7295
7492
  this.$refs.oaTable.sort(prop, order);
@@ -7305,7 +7502,7 @@ var mainvue_type_script_lang_js_components, _watch;
7305
7502
  this.$emit('change', data, this.list);
7306
7503
  },
7307
7504
  handleAjax: function handleAjax(handle, row) {
7308
- var _this12 = this;
7505
+ var _this11 = this;
7309
7506
 
7310
7507
  this.changeLoading(true, handle.text + '\u4E2D...');
7311
7508
  var params = handle.param || {};
@@ -7361,9 +7558,9 @@ var mainvue_type_script_lang_js_components, _watch;
7361
7558
  method: handle.method,
7362
7559
  format: handle.format
7363
7560
  })).then(function (res) {
7364
- _this12.changeLoading(false);
7561
+ _this11.changeLoading(false);
7365
7562
  if (res.rCode === 0) {
7366
- _this12.$message({
7563
+ _this11.$message({
7367
7564
  message: handle.text + '\u6210\u529F',
7368
7565
  duration: 2000,
7369
7566
  type: 'success',
@@ -7371,17 +7568,17 @@ var mainvue_type_script_lang_js_components, _watch;
7371
7568
  var first = Object.prototype.hasOwnProperty.call(handle, 'first') ? handle.first : false;
7372
7569
  var reload = handle.reload || true;
7373
7570
  if (reload) {
7374
- _this12.reload({}, first);
7571
+ _this11.reload({}, first);
7375
7572
  }
7376
7573
  }
7377
7574
  });
7378
7575
  } else {
7379
- _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');
7380
7577
  }
7381
7578
  }).catch(function (err) {
7382
- _this12.changeLoading(false);
7579
+ _this11.changeLoading(false);
7383
7580
  if (err.message && err.message !== 'canceled') {
7384
- _this12.$message.error(err.message);
7581
+ _this11.$message.error(err.message);
7385
7582
  }
7386
7583
  });
7387
7584
  },
@@ -7406,7 +7603,7 @@ var mainvue_type_script_lang_js_components, _watch;
7406
7603
  return mainvue_type_script_lang_js_extends({}, obj, item);
7407
7604
  },
7408
7605
  handleClick: function handleClick(res) {
7409
- var _this13 = this;
7606
+ var _this12 = this;
7410
7607
 
7411
7608
  var row = res.row,
7412
7609
  handle = res.handle;
@@ -7442,7 +7639,7 @@ var mainvue_type_script_lang_js_components, _watch;
7442
7639
  cancelButtonText: '取消',
7443
7640
  type: 'warning'
7444
7641
  }).then(function () {
7445
- _this13.handleAjax(handle, rows);
7642
+ _this12.handleAjax(handle, rows);
7446
7643
  }).catch(function () {});
7447
7644
  } else {
7448
7645
  this.handleAjax(handle, rows);
@@ -7530,7 +7727,7 @@ var mainvue_type_script_lang_js_components, _watch;
7530
7727
  var type = ['selection', 'index', 'expand'];
7531
7728
  thead = thead.map(function (item) {
7532
7729
  return item.filter(function (ele) {
7533
- 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);
7534
7731
  });
7535
7732
  });
7536
7733
  util["a" /* default */].exportXls({
@@ -7631,40 +7828,40 @@ var mainvue_type_script_lang_js_components, _watch;
7631
7828
  }
7632
7829
  },
7633
7830
  resetHeight: function resetHeight(warn) {
7634
- var _this14 = this;
7831
+ var _this13 = this;
7635
7832
 
7636
7833
  this.$nextTick(function () {
7637
- if (_this14.full && !_this14.height && !_this14.maxHeight) {
7638
- var height = _this14.$el.parentNode.offsetHeight;
7834
+ if (_this13.full && !_this13.height && !_this13.maxHeight) {
7835
+ var height = _this13.$el.parentNode.offsetHeight;
7639
7836
  if (height) {
7640
- height = parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'height', '%'), 10);
7641
- 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);
7642
- for (var i = 0; i < _this14.$el.parentNode.childNodes.length; i++) {
7643
- var ele = _this14.$el.parentNode.childNodes[i];
7644
- 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) {
7645
7842
  height = height - ele.offsetHeight - parseInt(util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
7646
7843
  }
7647
7844
  }
7648
- height -= _this14.showToolbar ? 45 : 0;
7649
- height -= _this14.page === false ? 0 : 46;
7650
- height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
7651
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
7652
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
7653
- 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');
7654
7851
  var eht = 0;
7655
7852
  if (emptyText) {
7656
7853
  eht = emptyText.offsetHeight;
7657
- var thead = _this14.$refs.esTableContent.querySelector('.el-table__header');
7854
+ var thead = _this13.$refs.esTableContent.querySelector('.el-table__header');
7658
7855
  thead && (eht += thead.offsetHeight);
7659
7856
  }
7660
7857
  if (height > 1 && height - eht > 1) {
7661
- _this14.tableHeight = height;
7858
+ _this13.tableHeight = height;
7662
7859
  } else {
7663
- 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');
7664
7861
  }
7665
7862
  } else if (!warn) {
7666
7863
  setTimeout(function () {
7667
- _this14.resetHeight(true);
7864
+ _this13.resetHeight(true);
7668
7865
  }, 1000);
7669
7866
  }
7670
7867
  }
@@ -7697,31 +7894,31 @@ var mainvue_type_script_lang_js_components, _watch;
7697
7894
  this.$emit('update-drag-sort', data, event);
7698
7895
  },
7699
7896
  mergeThead: function mergeThead(res) {
7700
- var _this15 = this;
7897
+ var _this14 = this;
7701
7898
 
7702
7899
  this.theadData = res;
7703
7900
  this.icon = true;
7704
7901
  setTimeout(function () {
7705
- _this15.show = true;
7902
+ _this14.show = true;
7706
7903
  }, 100);
7707
7904
  },
7708
7905
  setOptions: function setOptions(val, sysCode) {
7709
7906
  this.$set(this.options, sysCode, val);
7710
7907
  },
7711
7908
  bindEventBus: function bindEventBus() {
7712
- var _this16 = this;
7909
+ var _this15 = this;
7713
7910
 
7714
7911
  this.sysCodes.forEach(function (item) {
7715
7912
  bus["a" /* default */].$on(item, function (val) {
7716
- _this16.setOptions(val, item);
7913
+ _this15.setOptions(val, item);
7717
7914
  });
7718
7915
  });
7719
7916
  },
7720
7917
  unbindEventBus: function unbindEventBus() {
7721
- var _this17 = this;
7918
+ var _this16 = this;
7722
7919
 
7723
7920
  this.sysCodes.forEach(function (item) {
7724
- bus["a" /* default */].$off(item, _this17.setOptions);
7921
+ bus["a" /* default */].$off(item, _this16.setOptions);
7725
7922
  });
7726
7923
  },
7727
7924
  reset: function reset() {
@@ -7741,7 +7938,7 @@ var mainvue_type_script_lang_js_components, _watch;
7741
7938
 
7742
7939
  var main_component = Object(componentNormalizer["a" /* default */])(
7743
7940
  src_mainvue_type_script_lang_js_,
7744
- mainvue_type_template_id_15de25d9_render,
7941
+ mainvue_type_template_id_dd74e586_render,
7745
7942
  staticRenderFns,
7746
7943
  false,
7747
7944
  null,