eoss-ui 0.5.81-beta2 → 0.5.81-beta21

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 (131) hide show
  1. package/lib/button-group.js +76 -53
  2. package/lib/button.js +51 -46
  3. package/lib/checkbox-group.js +49 -45
  4. package/lib/clients.js +4 -3
  5. package/lib/config/api.js +3 -1
  6. package/lib/data-table-form.js +49 -45
  7. package/lib/data-table.js +471 -256
  8. package/lib/date-picker.js +49 -45
  9. package/lib/dialog.js +71 -70
  10. package/lib/eoss-ui.common.js +4165 -2449
  11. package/lib/flow-group.js +98 -63
  12. package/lib/flow-list.js +50 -46
  13. package/lib/flow.js +152 -83
  14. package/lib/form.js +96 -49
  15. package/lib/handle-user.js +66 -49
  16. package/lib/handler.js +61 -48
  17. package/lib/icon.js +49 -45
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +49 -45
  20. package/lib/input.js +49 -45
  21. package/lib/login.js +64 -53
  22. package/lib/main.js +2677 -1479
  23. package/lib/menu.js +1 -1
  24. package/lib/nav.js +49 -45
  25. package/lib/notify.js +54 -50
  26. package/lib/page.js +49 -45
  27. package/lib/pagination.js +3719 -3
  28. package/lib/player.js +54 -50
  29. package/lib/qr-code.js +49 -45
  30. package/lib/radio-group.js +49 -45
  31. package/lib/retrial-auth.js +50 -46
  32. package/lib/select-ganged.js +49 -45
  33. package/lib/select.js +50 -46
  34. package/lib/selector-panel.js +117 -65
  35. package/lib/selector.js +493 -422
  36. package/lib/sizer.js +49 -45
  37. package/lib/steps.js +49 -45
  38. package/lib/switch.js +49 -45
  39. package/lib/table-form.js +49 -45
  40. package/lib/tabs.js +86 -79
  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/handler.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/nav.css +1 -1
  49. package/lib/theme-chalk/pagination.css +1 -1
  50. package/lib/theme-chalk/selector-panel.css +1 -1
  51. package/lib/theme-chalk/simplicity.css +1 -1
  52. package/lib/theme-chalk/sizer.css +1 -1
  53. package/lib/theme-chalk/tabs.css +1 -1
  54. package/lib/theme-chalk/toolbar.css +1 -1
  55. package/lib/theme-chalk/tree.css +1 -1
  56. package/lib/theme-chalk/upload.css +1 -1
  57. package/lib/tips.js +49 -45
  58. package/lib/tree-group.js +49 -45
  59. package/lib/tree.js +49 -45
  60. package/lib/upload.js +59 -55
  61. package/lib/wujie.js +49 -45
  62. package/lib/wxlogin.js +49 -45
  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 +132 -53
  68. package/packages/data-table/src/formItem.vue +430 -0
  69. package/packages/data-table/src/main.vue +85 -45
  70. package/packages/data-table/src/sizer.vue +2 -0
  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 +45 -10
  75. package/packages/handle-user/src/main.vue +10 -3
  76. package/packages/handler/src/main.vue +5 -3
  77. package/packages/login/src/main.vue +13 -6
  78. package/packages/main/src/default/index.vue +102 -179
  79. package/packages/main/src/main.vue +243 -16
  80. package/packages/main/src/public/online.vue +90 -0
  81. package/packages/main/src/simplicity/apps.vue +176 -145
  82. package/packages/main/src/simplicity/avatar.vue +16 -6
  83. package/packages/main/src/simplicity/handler.vue +6 -2
  84. package/packages/main/src/simplicity/index.vue +555 -344
  85. package/packages/main/src/simplicity/menu-list.vue +75 -24
  86. package/packages/main/src/simplicity/message.vue +35 -25
  87. package/packages/main/src/simplicity/notice.vue +72 -39
  88. package/packages/main/src/simplicity/router-page.vue +44 -0
  89. package/packages/main/src/simplicity/settings.vue +1 -1
  90. package/packages/main/src/simplicity/sub-menu.vue +169 -54
  91. package/packages/main/src/simplicity/user.vue +10 -5
  92. package/packages/main/src/simplicity/userinfo.vue +1 -0
  93. package/packages/menu/src/main.vue +4 -3
  94. package/packages/pagination/src/main.vue +20 -1
  95. package/packages/select/src/main.vue +4 -1
  96. package/packages/selector/src/main.vue +152 -136
  97. package/packages/selector-panel/src/main.vue +23 -9
  98. package/packages/selector-panel/src/selection.vue +8 -2
  99. package/packages/tabs/src/main.vue +14 -14
  100. package/packages/theme-chalk/lib/base.css +1 -1
  101. package/packages/theme-chalk/lib/button-group.css +1 -1
  102. package/packages/theme-chalk/lib/data-table.css +1 -1
  103. package/packages/theme-chalk/lib/handler.css +1 -1
  104. package/packages/theme-chalk/lib/index.css +1 -1
  105. package/packages/theme-chalk/lib/main.css +1 -1
  106. package/packages/theme-chalk/lib/menu.css +1 -1
  107. package/packages/theme-chalk/lib/nav.css +1 -1
  108. package/packages/theme-chalk/lib/pagination.css +1 -1
  109. package/packages/theme-chalk/lib/selector-panel.css +1 -1
  110. package/packages/theme-chalk/lib/simplicity.css +1 -1
  111. package/packages/theme-chalk/lib/sizer.css +1 -1
  112. package/packages/theme-chalk/lib/tabs.css +1 -1
  113. package/packages/theme-chalk/lib/toolbar.css +1 -1
  114. package/packages/theme-chalk/lib/tree.css +1 -1
  115. package/packages/theme-chalk/lib/upload.css +1 -1
  116. package/packages/theme-chalk/src/base.scss +5 -0
  117. package/packages/theme-chalk/src/button-group.scss +18 -4
  118. package/packages/theme-chalk/src/common/var.scss +9 -2
  119. package/packages/theme-chalk/src/data-table.scss +60 -23
  120. package/packages/theme-chalk/src/handler.scss +5 -1
  121. package/packages/theme-chalk/src/login.scss +2 -2
  122. package/packages/theme-chalk/src/nav.scss +3 -2
  123. package/packages/theme-chalk/src/pagination.scss +7 -0
  124. package/packages/theme-chalk/src/selector-panel.scss +2 -1
  125. package/packages/theme-chalk/src/simplicity.scss +355 -58
  126. package/packages/theme-chalk/src/tabs.scss +24 -28
  127. package/packages/theme-chalk/src/toolbar.scss +16 -4
  128. package/packages/theme-chalk/src/tree.scss +4 -2
  129. package/packages/upload/src/main.vue +3 -1
  130. package/src/config/api.js +3 -1
  131. package/src/index.js +1 -1
package/lib/data-table.js CHANGED
@@ -3249,7 +3249,7 @@ var watermark = function watermark(option) {
3249
3249
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3250
3250
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
3251
3251
  /* 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; });
3252
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return switchUserTo; });
3253
3253
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3254
3254
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
3255
3255
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
@@ -3264,12 +3264,15 @@ var watermark = function watermark(option) {
3264
3264
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
3265
3265
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initRetrialAuth; });
3266
3266
  /* 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; });
3267
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return scanCodeRetrialAuth; });
3268
3268
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3269
3269
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3270
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return userOnline; });
3271
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3272
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return recordUserApp; });
3270
3273
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
3271
3274
  /* 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; });
3275
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserInfo; });
3273
3276
  /* unused harmony export getUserImgUrl */
3274
3277
  /* unused harmony export getDoorIndex */
3275
3278
  /* unused harmony export refreshOnlineUsers */
@@ -3277,19 +3280,18 @@ var watermark = function watermark(option) {
3277
3280
  /* unused harmony export getApplicationIdArray */
3278
3281
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3279
3282
  /* 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
3283
  /* 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; });
3284
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserCustomInfo; });
3285
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sysMsgPage; });
3284
3286
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
3285
3287
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
3286
3288
  /* 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; });
3289
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploads; });
3290
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadOnlyOne; });
3289
3291
  /* 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; });
3292
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadSort; });
3291
3293
  /* 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; });
3294
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadDownloads; });
3293
3295
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
3294
3296
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
3295
3297
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
@@ -3307,13 +3309,13 @@ var watermark = function watermark(option) {
3307
3309
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
3308
3310
  /* unused harmony export getCurrentuser */
3309
3311
  /* 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; });
3312
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartFlow; });
3313
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return tempSave; });
3312
3314
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3313
3315
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3314
3316
  /* 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; });
3317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return saveCommonOpinion; });
3318
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateCommonOpinion; });
3317
3319
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3318
3320
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
3319
3321
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
@@ -3322,52 +3324,52 @@ var watermark = function watermark(option) {
3322
3324
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3323
3325
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
3324
3326
  /* 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; });
3327
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskHandleHtml; });
3326
3328
  /* unused harmony export getView */
3327
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return register; });
3329
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return register; });
3328
3330
  /* 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; });
3331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskRejectHtml; });
3332
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskRejectHtml; });
3333
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskRead; });
3334
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskReadIndex; });
3335
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReadHtml; });
3336
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return rejectAndEnd; });
3337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toSendMsg; });
3338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendMsg; });
3337
3339
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3338
3340
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
3339
3341
  /* 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; });
3342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return wss; });
3343
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return topic; });
3342
3344
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
3343
3345
  /* 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; });
3346
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTransferIndex; });
3347
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTransfer; });
3348
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toPresetInfoListIndex; });
3347
3349
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3348
3350
  /* unused harmony export historyListJson */
3349
3351
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
3350
3352
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
3351
3353
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3352
3354
  /* 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; });
3355
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionExamine; });
3356
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionExamine; });
3357
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTakeAdvice; });
3358
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTakeAdvice; });
3359
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskStartDraft; });
3360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskStartDraft; });
3361
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskReview; });
3362
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskReview; });
3363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionSeal; });
3364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionSeal; });
3365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTwoOfficesDispatch; });
3366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return twoOfficesDispatch; });
3367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendList; });
3368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendInfo; });
3367
3369
  /* unused harmony export sendSave */
3368
3370
  /* unused harmony export sendUpdate */
3369
3371
  /* unused harmony export sendDelete */
3370
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendBatch; });
3372
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendBatch; });
3371
3373
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3372
3374
  // 登录
3373
3375
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -3395,6 +3397,9 @@ var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证
3395
3397
  var doAssistanceQrLogin = '/sso2/signIn/auth/doAssistanceQrLogin'; // 二级身份验证-验证码验证
3396
3398
 
3397
3399
  // 框架
3400
+ var userOnline = 'sys/v1/mecpSys/userOnlineListJson.dhtml'; // 在线人数列表
3401
+ var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3402
+ var recordUserApp = '/sysv3/sysUucApp/recordUserApp'; // 记录应用点击率
3398
3403
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
3399
3404
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
3400
3405
  var updateUserInfo = '/main2/main/updateUserInfo'; // 更新用户信息
@@ -3405,7 +3410,6 @@ var getQuickMenuIds = '/main2/main/getQuickMenuIds'; // 获取已绑定的快捷
3405
3410
  var getApplicationIdArray = '/main2/main/getApplicationIdArray'; // 获取应用父id数组
3406
3411
  var getComplexApplications = '/main2/menu/getComplexApplications'; // 获取当前用户菜单; 含页签菜单格式的数据
3407
3412
  var getComplexApplicationsNew = '/main2/menu/getComplexApplicationsNew'; // 获取当前用户应用菜单; 含页签菜单格式的数据
3408
- var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3409
3413
  var getUserCustomInfo = '/main2/main/getUserCustomInfo'; // 获取主题样式
3410
3414
  var updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更新主题样式
3411
3415
  // 框架 - 系统消息
@@ -3929,8 +3933,8 @@ module.exports = require("vue");
3929
3933
  // ESM COMPAT FLAG
3930
3934
  __webpack_require__.r(__webpack_exports__);
3931
3935
 
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=04c7a78c&
3933
- var mainvue_type_template_id_04c7a78c_render = function () {
3936
+ // 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=54b10214&
3937
+ var mainvue_type_template_id_54b10214_render = function () {
3934
3938
  var _vm = this
3935
3939
  var _h = _vm.$createElement
3936
3940
  var _c = _vm._self._c || _h
@@ -3951,7 +3955,7 @@ var mainvue_type_template_id_04c7a78c_render = function () {
3951
3955
  attrs: {
3952
3956
  "label-width": "0",
3953
3957
  "element-loading-background": "rgba(0, 0, 0, 0.65)",
3954
- model: _vm.tag === "div" ? "" : _vm.datas,
3958
+ model: _vm.tag === "div" ? "" : _vm.list,
3955
3959
  "element-loading-text": _vm.tableLoadingText,
3956
3960
  },
3957
3961
  },
@@ -3961,7 +3965,12 @@ var mainvue_type_template_id_04c7a78c_render = function () {
3961
3965
  "es-toolbar",
3962
3966
  _vm._g(
3963
3967
  _vm._b(
3964
- { ref: "toolbar" },
3968
+ {
3969
+ ref: "toolbar",
3970
+ class: {
3971
+ "es-table-toolbar-plus": _vm.mode == "plus",
3972
+ },
3973
+ },
3965
3974
  "es-toolbar",
3966
3975
  {
3967
3976
  contents: _vm.toolbars,
@@ -4002,7 +4011,10 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4002
4011
  {
4003
4012
  ref: "esTableContent",
4004
4013
  staticClass: "es-data-table-content",
4005
- class: _vm.border == "none" ? "es-table-border-none" : "",
4014
+ class: {
4015
+ "es-table-border-none": _vm.border == "none",
4016
+ "es-table-plus": _vm.mode == "plus",
4017
+ },
4006
4018
  staticStyle: {},
4007
4019
  },
4008
4020
  [
@@ -4017,10 +4029,10 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4017
4029
  (_vm.theadBorder && _vm.border != "none"
4018
4030
  ? " es-thead-border"
4019
4031
  : ""),
4020
- attrs: { data: _vm.datas },
4032
+ attrs: { data: _vm.list },
4021
4033
  on: {
4022
4034
  "update:data": function ($event) {
4023
- _vm.datas = $event
4035
+ _vm.list = $event
4024
4036
  },
4025
4037
  },
4026
4038
  },
@@ -4100,11 +4112,15 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4100
4112
  "children",
4101
4113
  _vm._g(
4102
4114
  _vm._b(
4103
- { key: item.label || item.title },
4115
+ {
4116
+ key: item.label || item.title,
4117
+ attrs: { tag: item.tag },
4118
+ },
4104
4119
  "children",
4105
4120
  Object.assign(
4106
4121
  {},
4107
4122
  {
4123
+ mode: _vm.mode,
4108
4124
  name: _vm.name,
4109
4125
  indexs: index,
4110
4126
  form: _vm.form,
@@ -4202,7 +4218,7 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4202
4218
  _vm._v("共" + _vm._s(_vm.config.totalCount) + "条,"),
4203
4219
  ]),
4204
4220
  _c("span", [
4205
- _vm._v("已加载" + _vm._s(_vm.datas.length) + "条"),
4221
+ _vm._v("已加载" + _vm._s(_vm.list.length) + "条"),
4206
4222
  ]),
4207
4223
  ])
4208
4224
  : _vm.page
@@ -4211,10 +4227,10 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4211
4227
  _vm._g(
4212
4228
  _vm._b(
4213
4229
  {
4230
+ ref: "pagination",
4214
4231
  staticClass: "es-table-page",
4215
- style: {
4216
- "text-align": _vm.page.position || "center",
4217
- },
4232
+ style: { "text-align": _vm.page.position },
4233
+ attrs: { position: _vm.page.position },
4218
4234
  },
4219
4235
  "es-pagination",
4220
4236
  _vm.config,
@@ -4235,16 +4251,19 @@ var mainvue_type_template_id_04c7a78c_render = function () {
4235
4251
  2
4236
4252
  )
4237
4253
  : _vm._e(),
4238
- _c("sizer", { ref: "sizer", attrs: { data: _vm.theads } }),
4254
+ _c("sizer", {
4255
+ ref: "sizer",
4256
+ attrs: { data: _vm.theads, mode: _vm.mode },
4257
+ }),
4239
4258
  ],
4240
4259
  1
4241
4260
  )
4242
4261
  }
4243
4262
  var staticRenderFns = []
4244
- mainvue_type_template_id_04c7a78c_render._withStripped = true
4263
+ mainvue_type_template_id_54b10214_render._withStripped = true
4245
4264
 
4246
4265
 
4247
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=04c7a78c&
4266
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=54b10214&
4248
4267
 
4249
4268
  // EXTERNAL MODULE: ./src/config/api.js
4250
4269
  var api = __webpack_require__(1);
@@ -4301,8 +4320,8 @@ childrenvue_type_template_id_44b7ff61_render._withStripped = true
4301
4320
 
4302
4321
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
4303
4322
 
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 () {
4323
+ // 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=7bee268b&
4324
+ var columnvue_type_template_id_7bee268b_render = function () {
4306
4325
  var _vm = this
4307
4326
  var _h = _vm.$createElement
4308
4327
  var _c = _vm._self._c || _h
@@ -4329,11 +4348,73 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4329
4348
  },
4330
4349
  },
4331
4350
  [
4332
- _vm.type === "select"
4351
+ _vm.getType(scope.row.formConfigs, "component")
4352
+ ? _c(
4353
+ _vm.tag,
4354
+ _vm._b(
4355
+ {
4356
+ tag: "component",
4357
+ attrs: {
4358
+ data: _vm.getData(
4359
+ scope.row.formOptions
4360
+ ),
4361
+ },
4362
+ on: {
4363
+ blur: function (event) {
4364
+ _vm.handleBlur({
4365
+ item: _vm.config,
4366
+ event: event,
4367
+ data: scope.row,
4368
+ scope: scope,
4369
+ })
4370
+ },
4371
+ focus: function (event) {
4372
+ _vm.handleFocus({
4373
+ item: _vm.config,
4374
+ event: event,
4375
+ data: scope.row,
4376
+ scope: scope,
4377
+ })
4378
+ },
4379
+ change: function (value) {
4380
+ _vm.handleChange({
4381
+ item: _vm.config,
4382
+ name: _vm.field || _vm.prop,
4383
+ value: value,
4384
+ data: scope.row,
4385
+ scope: scope,
4386
+ })
4387
+ },
4388
+ },
4389
+ model: {
4390
+ value:
4391
+ scope.row[_vm.field || _vm.prop],
4392
+ callback: function ($$v) {
4393
+ _vm.$set(
4394
+ scope.row,
4395
+ _vm.field || _vm.prop,
4396
+ $$v
4397
+ )
4398
+ },
4399
+ expression:
4400
+ "scope.row[field || prop]",
4401
+ },
4402
+ },
4403
+ "component",
4404
+ _vm.getOptions(scope.row.formConfigs),
4405
+ false
4406
+ )
4407
+ )
4408
+ : _vm.getType(scope.row.formConfigs, "select")
4333
4409
  ? _c(
4334
4410
  "es-select",
4335
4411
  _vm._b(
4336
4412
  {
4413
+ attrs: {
4414
+ data: _vm.getData(
4415
+ scope.row.formOptions
4416
+ ),
4417
+ },
4337
4418
  on: {
4338
4419
  blur: function (event) {
4339
4420
  _vm.handleBlur({
@@ -4376,15 +4457,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4376
4457
  },
4377
4458
  },
4378
4459
  "es-select",
4379
- _vm.formOption,
4460
+ _vm.getOptions(scope.row.formConfigs),
4380
4461
  false
4381
4462
  )
4382
4463
  )
4383
- : _vm.type == "cascader"
4464
+ : _vm.getType(scope.row.formConfigs, "cascader")
4384
4465
  ? _c(
4385
4466
  "es-cascader",
4386
4467
  _vm._b(
4387
4468
  {
4469
+ attrs: {
4470
+ data: _vm.getData(
4471
+ scope.row.formOptions
4472
+ ),
4473
+ },
4388
4474
  on: {
4389
4475
  blur: function (event) {
4390
4476
  _vm.handleBlur({
@@ -4427,18 +4513,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4427
4513
  },
4428
4514
  },
4429
4515
  "es-cascader",
4430
- _vm.formOption,
4516
+ _vm.getOptions(scope.row.formConfigs),
4431
4517
  false
4432
4518
  )
4433
4519
  )
4434
- : _vm.type === "ganged"
4520
+ : _vm.getType(scope.row.formConfigs, "ganged")
4435
4521
  ? _c(
4436
4522
  "es-select-ganged",
4437
4523
  _vm._b(
4438
4524
  {
4439
4525
  attrs: {
4440
4526
  data: _vm.init(
4441
- _vm.option,
4527
+ _vm.getData(scope.row.formOptions),
4442
4528
  _vm.config
4443
4529
  ),
4444
4530
  },
@@ -4467,15 +4553,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4467
4553
  },
4468
4554
  },
4469
4555
  "es-select-ganged",
4470
- _vm.formOption,
4556
+ _vm.getOptions(scope.row.formConfigs),
4471
4557
  false
4472
4558
  )
4473
4559
  )
4474
- : _vm.type === "radio"
4560
+ : _vm.getType(scope.row.formConfigs, "radio")
4475
4561
  ? _c(
4476
4562
  "es-radio-group",
4477
4563
  _vm._b(
4478
4564
  {
4565
+ attrs: {
4566
+ data: _vm.getData(
4567
+ scope.row.formOptions
4568
+ ),
4569
+ },
4479
4570
  on: {
4480
4571
  change: function (value) {
4481
4572
  _vm.handleChange({
@@ -4501,15 +4592,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4501
4592
  },
4502
4593
  },
4503
4594
  "es-radio-group",
4504
- _vm.formOption,
4595
+ _vm.getOptions(scope.row.formConfigs),
4505
4596
  false
4506
4597
  )
4507
4598
  )
4508
- : _vm.type === "checkbox"
4599
+ : _vm.getType(scope.row.formConfigs, "checkbox")
4509
4600
  ? _c(
4510
4601
  "es-checkbox-group",
4511
4602
  _vm._b(
4512
4603
  {
4604
+ attrs: {
4605
+ data: _vm.getData(
4606
+ scope.row.formOptions
4607
+ ),
4608
+ },
4513
4609
  on: {
4514
4610
  change: function (value) {
4515
4611
  _vm.handleChange({
@@ -4535,15 +4631,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4535
4631
  },
4536
4632
  },
4537
4633
  "es-checkbox-group",
4538
- _vm.formOption,
4634
+ _vm.getOptions(scope.row.formConfigs),
4539
4635
  false
4540
4636
  )
4541
4637
  )
4542
- : _vm.type === "switch"
4638
+ : _vm.getType(scope.row.formConfigs, "switch")
4543
4639
  ? _c(
4544
4640
  "es-switch",
4545
4641
  _vm._b(
4546
4642
  {
4643
+ attrs: {
4644
+ data: _vm.getData(
4645
+ scope.row.formOptions
4646
+ ),
4647
+ },
4547
4648
  on: {
4548
4649
  change: function (value) {
4549
4650
  _vm.handleChange({
@@ -4569,23 +4670,25 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4569
4670
  },
4570
4671
  },
4571
4672
  "es-switch",
4572
- _vm.formOption,
4673
+ _vm.getOptions(scope.row.formConfigs),
4573
4674
  false
4574
4675
  )
4575
4676
  )
4576
4677
  : _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"
4678
+ _vm.getType(scope.row.formConfigs, [
4679
+ "date",
4680
+ "year",
4681
+ "month",
4682
+ "date",
4683
+ "dates",
4684
+ "week",
4685
+ "datetime",
4686
+ "datetimerange",
4687
+ "daterange",
4688
+ "monthrange",
4689
+ "quarter",
4690
+ "halfyear",
4691
+ ])
4589
4692
  ? _c(
4590
4693
  "es-date-picker",
4591
4694
  _vm._b(
@@ -4633,11 +4736,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4633
4736
  },
4634
4737
  },
4635
4738
  "es-date-picker",
4636
- _vm.formOption,
4739
+ _vm.getOptions(scope.row.formConfigs),
4637
4740
  false
4638
4741
  )
4639
4742
  )
4640
- : _vm.type == "number"
4743
+ : _vm.getType(scope.row.formConfigs, "number")
4641
4744
  ? _c(
4642
4745
  "es-input-number",
4643
4746
  _vm._b(
@@ -4684,11 +4787,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4684
4787
  },
4685
4788
  },
4686
4789
  "es-input-number",
4687
- _vm.formOption,
4790
+ _vm.getOptions(scope.row.formConfigs),
4688
4791
  false
4689
4792
  )
4690
4793
  )
4691
- : _vm.type == "selector"
4794
+ : _vm.getType(scope.row.formConfigs, "selector")
4692
4795
  ? _c(
4693
4796
  "es-selector",
4694
4797
  _vm._g(
@@ -4719,7 +4822,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4719
4822
  },
4720
4823
  },
4721
4824
  "es-selector",
4722
- _vm.formOption,
4825
+ _vm.getOptions(scope.row.formConfigs),
4723
4826
  false
4724
4827
  ),
4725
4828
  _vm.exclAttribute({
@@ -4728,14 +4831,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4728
4831
  })
4729
4832
  )
4730
4833
  )
4731
- : _vm.type === "text" ||
4732
- _vm.type === "input" ||
4733
- _vm.type === "textarea"
4834
+ : _vm.getType(scope.row.formConfigs, [
4835
+ "text",
4836
+ "input",
4837
+ "textarea",
4838
+ ])
4734
4839
  ? [
4735
4840
  _vm.config.lazy
4736
4841
  ? [
4737
- _vm.type === "text" ||
4738
- _vm.type === "input"
4842
+ _vm.getType(scope.row.formConfigs, [
4843
+ "text",
4844
+ "input",
4845
+ ])
4739
4846
  ? _c(
4740
4847
  "input",
4741
4848
  _vm._b(
@@ -4799,7 +4906,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4799
4906
  },
4800
4907
  },
4801
4908
  "input",
4802
- _vm.formOption,
4909
+ _vm.getOptions(
4910
+ scope.row.formConfigs
4911
+ ),
4803
4912
  false
4804
4913
  )
4805
4914
  )
@@ -4866,7 +4975,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4866
4975
  },
4867
4976
  },
4868
4977
  "textarea",
4869
- _vm.formOption,
4978
+ _vm.getOptions(
4979
+ scope.row.formConfigs
4980
+ ),
4870
4981
  false
4871
4982
  )
4872
4983
  ),
@@ -4923,7 +5034,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4923
5034
  },
4924
5035
  },
4925
5036
  "es-input",
4926
- _vm.formOption,
5037
+ _vm.getOptions(
5038
+ scope.row.formConfigs
5039
+ ),
4927
5040
  false
4928
5041
  )
4929
5042
  ),
@@ -4979,6 +5092,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4979
5092
  {
4980
5093
  attrs: {
4981
5094
  stop: "",
5095
+ mode: _vm.mode,
4982
5096
  contents: _vm.contents || _vm.events,
4983
5097
  data: scope,
4984
5098
  },
@@ -5020,11 +5134,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
5020
5134
  2
5021
5135
  )
5022
5136
  }
5023
- var columnvue_type_template_id_2dabb50c_staticRenderFns = []
5024
- columnvue_type_template_id_2dabb50c_render._withStripped = true
5137
+ var columnvue_type_template_id_7bee268b_staticRenderFns = []
5138
+ columnvue_type_template_id_7bee268b_render._withStripped = true
5025
5139
 
5026
5140
 
5027
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=2dabb50c&
5141
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=7bee268b&
5028
5142
 
5029
5143
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5030
5144
  var regenerator_ = __webpack_require__(13);
@@ -5036,6 +5150,8 @@ var util = __webpack_require__(0);
5036
5150
  // 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
5151
 
5038
5152
 
5153
+ 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; };
5154
+
5039
5155
  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
5156
 
5041
5157
  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 +5569,61 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5453
5569
  //
5454
5570
  //
5455
5571
  //
5572
+ //
5573
+ //
5574
+ //
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
+ //
5456
5627
 
5457
5628
 
5458
5629
 
@@ -5501,6 +5672,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5501
5672
  }
5502
5673
  },
5503
5674
  props: {
5675
+ tag: String,
5676
+ mode: String,
5504
5677
  service: String,
5505
5678
  form: Boolean,
5506
5679
  readonly: Boolean,
@@ -5602,9 +5775,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5602
5775
  valueKey: this.sysCode ? this.service ? 'value' : 'cciValue' : this.valueKey,
5603
5776
  rules: this.rules,
5604
5777
  events: this.events
5605
- }, this.$attrs, {
5606
- data: this.option
5607
- });
5778
+ }, this.$attrs);
5608
5779
  return config;
5609
5780
  },
5610
5781
  icon: function icon() {
@@ -5733,6 +5904,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5733
5904
  }
5734
5905
  return data;
5735
5906
  },
5907
+ getType: function getType(config, types) {
5908
+ var type = config && config[this.field || this.prop] ? config[this.field || this.prop]['type'] || config[this.field || this.prop] : this.type;
5909
+ return Array.isArray(types) ? types.includes(type) : type == types;
5910
+ },
5911
+ getOptions: function getOptions(config) {
5912
+ var option = config && config[this.field || this.prop];
5913
+ return option && (typeof option === 'undefined' ? 'undefined' : _typeof(option)) == 'object' ? _extends({}, this.formOption, option) : this.formOption;
5914
+ },
5915
+ getData: function getData(res) {
5916
+ return res && res[this.field || this.prop] ? res[this.field || this.prop] : this.option;
5917
+ },
5736
5918
  exclAttribute: function exclAttribute(_ref2) {
5737
5919
  var data = _ref2.data,
5738
5920
  attrs = _ref2.attrs;
@@ -5813,25 +5995,27 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5813
5995
  this.$emit('formFocus', data);
5814
5996
  this.$emit('form-focus', data);
5815
5997
  },
5816
- handleChange: function handleChange(data) {
5998
+ handleChange: function handleChange(datas) {
5817
5999
  var _this3 = this;
5818
6000
 
5819
- var item = data.item;
6001
+ var item = datas.item,
6002
+ name = datas.name,
6003
+ data = datas.data;
5820
6004
 
5821
- if (item && this.type == 'ganged') {
5822
- var _data$value = data.value,
5823
- index = _data$value.index,
5824
- value = _data$value.value;
6005
+ if (item && (data.formConfigs && data.formConfigs[name] == 'ganged' || this.type == 'ganged')) {
6006
+ var _datas$value = datas.value,
6007
+ index = _datas$value.index,
6008
+ value = _datas$value.value;
5825
6009
 
5826
6010
  if ((item.url || this.sysCode) && (item.ganged && index > item.ganged - 1 || value.hasSub)) {
5827
6011
  var filte = value[this.valueKey] || value.value;
5828
- var datas = [];
6012
+ var _datas = [];
5829
6013
  if (this.optionDatas[this.field || this.prop][index + 1]) {
5830
- datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
6014
+ _datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
5831
6015
  return filte == items[item.filtrateKey];
5832
6016
  });
5833
6017
  }
5834
- if (datas.length == 0) {
6018
+ if (_datas.length == 0) {
5835
6019
  var queryKey = item.queryKey;
5836
6020
  var param = {};
5837
6021
  if (queryKey) {
@@ -5866,9 +6050,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5866
6050
  }
5867
6051
  }
5868
6052
  }
5869
- this.events && this.events.change && this.events.change(data);
5870
- this.$emit('formChange', data);
5871
- this.$emit('form-change', data);
6053
+ this.events && this.events.change && this.events.change(datas);
6054
+ this.$emit('formChange', datas);
6055
+ this.$emit('form-change', datas);
5872
6056
  },
5873
6057
  handleClick: function handleClick(data) {
5874
6058
  this.$emit('handleClick', data);
@@ -5894,8 +6078,8 @@ var componentNormalizer = __webpack_require__(3);
5894
6078
 
5895
6079
  var component = Object(componentNormalizer["a" /* default */])(
5896
6080
  src_columnvue_type_script_lang_js_,
5897
- columnvue_type_template_id_2dabb50c_render,
5898
- columnvue_type_template_id_2dabb50c_staticRenderFns,
6081
+ columnvue_type_template_id_7bee268b_render,
6082
+ columnvue_type_template_id_7bee268b_staticRenderFns,
5899
6083
  false,
5900
6084
  null,
5901
6085
  null,
@@ -5964,8 +6148,8 @@ var children_component = Object(componentNormalizer["a" /* default */])(
5964
6148
  )
5965
6149
 
5966
6150
  /* 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 () {
6151
+ // 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&
6152
+ var sizervue_type_template_id_a70172f8_render = function () {
5969
6153
  var _vm = this
5970
6154
  var _h = _vm.$createElement
5971
6155
  var _c = _vm._self._c || _h
@@ -5989,6 +6173,7 @@ var sizervue_type_template_id_58e4111d_render = function () {
5989
6173
  "row-key": "id",
5990
6174
  "default-expand-all": "",
5991
6175
  height: "500px",
6176
+ mode: _vm.mode,
5992
6177
  data: _vm.theads,
5993
6178
  thead: _vm.thead,
5994
6179
  "tree-props": { children: "childHead" },
@@ -6016,11 +6201,11 @@ var sizervue_type_template_id_58e4111d_render = function () {
6016
6201
  )
6017
6202
  : _vm._e()
6018
6203
  }
6019
- var sizervue_type_template_id_58e4111d_staticRenderFns = []
6020
- sizervue_type_template_id_58e4111d_render._withStripped = true
6204
+ var sizervue_type_template_id_a70172f8_staticRenderFns = []
6205
+ sizervue_type_template_id_a70172f8_render._withStripped = true
6021
6206
 
6022
6207
 
6023
- // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=58e4111d&
6208
+ // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=a70172f8&
6024
6209
 
6025
6210
  // 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
6211
  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 +6235,13 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6050
6235
  //
6051
6236
  //
6052
6237
  //
6238
+ //
6053
6239
 
6054
6240
 
6055
6241
  /* harmony default export */ var sizervue_type_script_lang_js_ = ({
6056
6242
  name: 'Sizer',
6057
6243
  props: {
6244
+ mode: String,
6058
6245
  data: Array
6059
6246
  },
6060
6247
  computed: {
@@ -6190,8 +6377,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6190
6377
 
6191
6378
  var sizer_component = Object(componentNormalizer["a" /* default */])(
6192
6379
  src_sizervue_type_script_lang_js_,
6193
- sizervue_type_template_id_58e4111d_render,
6194
- sizervue_type_template_id_58e4111d_staticRenderFns,
6380
+ sizervue_type_template_id_a70172f8_render,
6381
+ sizervue_type_template_id_a70172f8_staticRenderFns,
6195
6382
  false,
6196
6383
  null,
6197
6384
  null,
@@ -6208,7 +6395,7 @@ var external_qs_ = __webpack_require__(4);
6208
6395
  var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
6209
6396
 
6210
6397
  // 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; };
6398
+ 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
6399
 
6213
6400
  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
6401
 
@@ -6385,6 +6572,11 @@ var mainvue_type_script_lang_js_components, _watch;
6385
6572
  //
6386
6573
  //
6387
6574
  //
6575
+ //
6576
+ //
6577
+ //
6578
+ //
6579
+ //
6388
6580
 
6389
6581
 
6390
6582
 
@@ -6393,6 +6585,7 @@ var mainvue_type_script_lang_js_components, _watch;
6393
6585
 
6394
6586
 
6395
6587
 
6588
+ var dataTableMode = util["a" /* default */].win.top.dataTableMode || util["a" /* default */].win.dataTableMode || 'default';
6396
6589
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
6397
6590
  name: 'EsDataTable',
6398
6591
  inheritAttrs: false,
@@ -6416,6 +6609,10 @@ var mainvue_type_script_lang_js_components, _watch;
6416
6609
  }
6417
6610
  },
6418
6611
  props: {
6612
+ mode: {
6613
+ type: String,
6614
+ default: dataTableMode
6615
+ },
6419
6616
  service: String,
6420
6617
  loading: {
6421
6618
  type: Boolean,
@@ -6663,7 +6860,8 @@ var mainvue_type_script_lang_js_components, _watch;
6663
6860
  config: {
6664
6861
  pageNum: 1,
6665
6862
  pageSize: 20,
6666
- totalCount: 0
6863
+ totalCount: 0,
6864
+ layout: this.mode == 'plus' ? 'total, sizes, prev, pager, next, jumper' : undefined
6667
6865
  },
6668
6866
  searchWhere: {},
6669
6867
  advanceWhere: {},
@@ -6769,7 +6967,7 @@ var mainvue_type_script_lang_js_components, _watch;
6769
6967
  if (this.list && this.list.length) {
6770
6968
  return this.list;
6771
6969
  }
6772
- if (this.page && (_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6970
+ 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
6971
  this.config.totalCount = this.data.length - this.lose;
6774
6972
  }
6775
6973
  if (this.page && this.data.length > this.config.pageSize) {
@@ -6780,6 +6978,13 @@ var mainvue_type_script_lang_js_components, _watch;
6780
6978
  return this.data;
6781
6979
  },
6782
6980
  set: function set(val) {
6981
+ var _this3 = this;
6982
+
6983
+ if (this.list && this.list.length) {
6984
+ this.$nextTick(function () {
6985
+ _this3.list = val;
6986
+ });
6987
+ }
6783
6988
  this.$emit('update:data', val);
6784
6989
  return val;
6785
6990
  }
@@ -6838,18 +7043,12 @@ var mainvue_type_script_lang_js_components, _watch;
6838
7043
  this.doLayout();
6839
7044
  },
6840
7045
 
6841
- // data: {
6842
- // deep: true,
6843
- // handler(val) {
6844
- // if (
6845
- // this.page &&
6846
- // typeof this.page === 'object' &&
6847
- // !Object.prototype.hasOwnProperty.call(this.page, 'totalCount')
6848
- // ) {
6849
- // this.config.totalCount = val.length - this.lose;
6850
- // }
6851
- // }
6852
- // },
7046
+ data: {
7047
+ deep: true,
7048
+ handler: function handler() {
7049
+ this.list = this.setData();
7050
+ }
7051
+ },
6853
7052
  page: function page() {
6854
7053
  this.resetHeight();
6855
7054
  this.doLayout();
@@ -6865,7 +7064,7 @@ var mainvue_type_script_lang_js_components, _watch;
6865
7064
  }
6866
7065
  },
6867
7066
  zoom: {
6868
- handler: function handler(val) {
7067
+ handler: function handler() {
6869
7068
  if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
6870
7069
  this.resetHeight();
6871
7070
  this.doLayout();
@@ -6873,7 +7072,7 @@ var mainvue_type_script_lang_js_components, _watch;
6873
7072
  }
6874
7073
  },
6875
7074
  checked: function checked(newVal) {
6876
- this.datas.length && this.checkSelect(newVal);
7075
+ this.list.length && this.checkSelect(newVal);
6877
7076
  },
6878
7077
 
6879
7078
  thead: {
@@ -6894,7 +7093,7 @@ var mainvue_type_script_lang_js_components, _watch;
6894
7093
  },
6895
7094
  param: {
6896
7095
  deep: true,
6897
- handler: function handler(val) {
7096
+ handler: function handler() {
6898
7097
  this.getTableData();
6899
7098
  }
6900
7099
  }
@@ -6902,19 +7101,14 @@ var mainvue_type_script_lang_js_components, _watch;
6902
7101
  immediate: true,
6903
7102
  deep: true,
6904
7103
  handler: function handler(val) {
6905
- if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') {
7104
+ if ((typeof val === 'undefined' ? 'undefined' : mainvue_type_script_lang_js_typeof(val)) === 'object') {
6906
7105
  this.config = util["a" /* default */].extend({}, this.config, val);
6907
- } else {
6908
- this.config = {
6909
- pageNum: 1,
6910
- pageSize: 20,
6911
- totalCount: 0
6912
- };
6913
7106
  }
6914
7107
  }
6915
7108
  }, _watch['config.pageNum'] = function configPageNum() {
6916
7109
  if (this.data.length) {
6917
7110
  this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
7111
+ this.list = this.setData();
6918
7112
  }
6919
7113
  }, _watch.height = {
6920
7114
  immediate: true,
@@ -6937,10 +7131,10 @@ var mainvue_type_script_lang_js_components, _watch;
6937
7131
  }
6938
7132
  }, _watch),
6939
7133
  beforeCreate: function beforeCreate() {
6940
- var _this3 = this;
7134
+ var _this4 = this;
6941
7135
 
6942
7136
  this.getTableData = Object(external_throttle_debounce_["debounce"])(500, function (res) {
6943
- _this3.getTableDatas(res);
7137
+ _this4.getTableDatas(res);
6944
7138
  });
6945
7139
  },
6946
7140
  created: function created() {
@@ -6951,11 +7145,30 @@ var mainvue_type_script_lang_js_components, _watch;
6951
7145
  this.chekOpenTotalArea();
6952
7146
  },
6953
7147
  mounted: function mounted() {
6954
- this.datas.length && this.checkSelect(this.checked);
7148
+ if (this.data.length) {
7149
+ this.list = this.setData();
7150
+ }
7151
+ this.list.length && this.checkSelect(this.checked);
6955
7152
  this.resetHeight();
7153
+ if (util["a" /* default */].win.top != util["a" /* default */].win.self) {
7154
+ util["a" /* default */].win.onresize = Object(external_throttle_debounce_["debounce"])(500, this.resetHeight);
7155
+ }
6956
7156
  },
6957
7157
 
6958
7158
  methods: {
7159
+ setData: function setData() {
7160
+ var _this5 = this;
7161
+
7162
+ 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)) {
7163
+ this.config.totalCount = this.data.length - this.lose;
7164
+ }
7165
+ if (this.page && this.data.length > this.config.pageSize) {
7166
+ return this.data.filter(function (item, index) {
7167
+ return index > (_this5.config.pageNum - 1) * _this5.config.pageSize - 1 && index < _this5.config.pageNum * _this5.config.pageSize;
7168
+ });
7169
+ }
7170
+ return this.data;
7171
+ },
6959
7172
  getRequestKey: function getRequestKey(config) {
6960
7173
  var method = config.method,
6961
7174
  url = config.url,
@@ -6965,55 +7178,55 @@ var mainvue_type_script_lang_js_components, _watch;
6965
7178
  return [method, url, external_qs_default.a.stringify(params), external_qs_default.a.stringify(data)].join('&');
6966
7179
  },
6967
7180
  getOptions: function getOptions(res) {
6968
- var _this4 = this;
7181
+ var _this6 = this;
6969
7182
 
6970
7183
  var sysCodes = [];
6971
7184
  res.forEach(function (item) {
6972
7185
  if (item.sysCode || item.url) {
6973
7186
  item.sysCode && sysCodes.push(item.sysCode);
6974
7187
  var params = util["a" /* default */].extend({}, item.sysCode ? { sysAppCode: item.sysCode, code: item.sysCode } : {}, item.param ? item.param : {});
6975
- var key = _this4.getRequestKey({
6976
- method: _this4.method,
6977
- url: item.sysCode ? _this4.findCode : item.url,
7188
+ var key = _this6.getRequestKey({
7189
+ method: _this6.method,
7190
+ url: item.sysCode ? _this6.findCode : item.url,
6978
7191
  params: params,
6979
7192
  data: {}
6980
7193
  });
6981
- if (!_this4.requests.includes(key)) {
7194
+ if (!_this6.requests.includes(key)) {
6982
7195
  util["a" /* default */].ajax({
6983
- url: item.sysCode ? _this4.findCode : item.url,
6984
- method: _this4.method,
7196
+ url: item.sysCode ? _this6.findCode : item.url,
7197
+ method: _this6.method,
6985
7198
  params: params,
6986
7199
  data: params
6987
7200
  }).then(function (res) {
6988
7201
  if (res.rCode === 0) {
6989
7202
  if (item.type == 'ganged') {
6990
- _this4.$set(_this4.options, item.sysCode || item.field || item.prop, [JSON.parse(JSON.stringify(res.results))]);
7203
+ _this6.$set(_this6.options, item.sysCode || item.field || item.prop, [JSON.parse(JSON.stringify(res.results))]);
6991
7204
  if (item.sysCode) {
6992
- bus["a" /* default */].$emit(item.sysCode, JSON.parse(JSON.stringify(_this4.options[item.sysCode])));
7205
+ bus["a" /* default */].$emit(item.sysCode, JSON.parse(JSON.stringify(_this6.options[item.sysCode])));
6993
7206
  }
6994
7207
  } else {
6995
- _this4.$set(_this4.options, item.sysCode || item.field || item.prop, JSON.parse(JSON.stringify(res.results)));
7208
+ _this6.$set(_this6.options, item.sysCode || item.field || item.prop, JSON.parse(JSON.stringify(res.results)));
6996
7209
  if (item.sysCode) {
6997
7210
  bus["a" /* default */].$emit(item.sysCode, JSON.parse(JSON.stringify(res.results)));
6998
7211
  }
6999
7212
  }
7000
- _this4.requests.push(key);
7213
+ _this6.requests.push(key);
7001
7214
  } else {
7002
7215
  var msg = res.msg || '系统错误,请联系管理员!';
7003
- _this4.$message.error(msg);
7216
+ _this6.$message.error(msg);
7004
7217
  }
7005
7218
  }).catch(function (err) {
7006
7219
  if (err.message && err.message !== 'canceled') {
7007
- _this4.$message.error(err.message);
7220
+ _this6.$message.error(err.message);
7008
7221
  }
7009
7222
  });
7010
7223
  }
7011
7224
  } else {
7012
7225
  if (item.childHead && item.childHead.length) {
7013
- _this4.getOptions(item.childHead);
7226
+ _this6.getOptions(item.childHead);
7014
7227
  }
7015
7228
  if (item.children && item.children.length) {
7016
- _this4.getOptions(item.children);
7229
+ _this6.getOptions(item.children);
7017
7230
  }
7018
7231
  }
7019
7232
  });
@@ -7025,7 +7238,7 @@ var mainvue_type_script_lang_js_components, _watch;
7025
7238
  return util["a" /* default */].getObjectType(item) === 'object';
7026
7239
  },
7027
7240
  chekOpenTotalArea: function chekOpenTotalArea() {
7028
- var _this5 = this;
7241
+ var _this7 = this;
7029
7242
 
7030
7243
  if (this.total || this.showSummary) {
7031
7244
  this.showTotal = true;
@@ -7034,7 +7247,7 @@ var mainvue_type_script_lang_js_components, _watch;
7034
7247
  var arr = JSON.parse(JSON.stringify(this.theads));
7035
7248
  arr.forEach(function (item) {
7036
7249
  if (item.total) {
7037
- _this5.showTotal = true;
7250
+ _this7.showTotal = true;
7038
7251
  }
7039
7252
  });
7040
7253
  },
@@ -7070,7 +7283,7 @@ var mainvue_type_script_lang_js_components, _watch;
7070
7283
  _index += (this.config.pageNum - 1) * this.config.pageSize;
7071
7284
  }
7072
7285
  var rows = {};
7073
- if (this.rowData && _typeof(this.rowData) == 'object') {
7286
+ if (this.rowData && mainvue_type_script_lang_js_typeof(this.rowData) == 'object') {
7074
7287
  rows = this.rowData;
7075
7288
  } else if (_index && this.rowData === true) {
7076
7289
  rows = JSON.parse(JSON.stringify(this.data[_index - 1]));
@@ -7081,13 +7294,13 @@ var mainvue_type_script_lang_js_components, _watch;
7081
7294
  }
7082
7295
  },
7083
7296
  getRow: function getRow(thead, obj) {
7084
- var _this6 = this;
7297
+ var _this8 = this;
7085
7298
 
7086
7299
  thead.forEach(function (item) {
7087
7300
  if (item.field) {
7088
7301
  obj[item['field']] = item.defaultValue || '';
7089
7302
  } else if (item.children && item.children.length) {
7090
- _this6.getRow(item.children, obj);
7303
+ _this8.getRow(item.children, obj);
7091
7304
  }
7092
7305
  });
7093
7306
  },
@@ -7114,27 +7327,27 @@ var mainvue_type_script_lang_js_components, _watch;
7114
7327
  });
7115
7328
  },
7116
7329
  checkSelect: function checkSelect(newVal) {
7117
- var _this7 = this;
7330
+ var _this9 = this;
7118
7331
 
7119
7332
  this.$nextTick(function () {
7120
7333
  if (util["a" /* default */].getObjectType(newVal) === 'array') {
7121
7334
  newVal.forEach(function (row) {
7122
7335
  if (util["a" /* default */].isObject(row)) {
7123
- _this7.$refs.oaTable.toggleRowSelection(row, true);
7124
- } else _this7.datas.forEach(function (item) {
7125
- if (item[_this7.checkedKey] === row) {
7126
- _this7.$refs.oaTable.toggleRowSelection(item, true);
7336
+ _this9.$refs.oaTable.toggleRowSelection(row, true);
7337
+ } else _this9.list.forEach(function (item) {
7338
+ if (item[_this9.checkedKey] === row) {
7339
+ _this9.$refs.oaTable.toggleRowSelection(item, true);
7127
7340
  return;
7128
7341
  }
7129
7342
  });
7130
7343
  });
7131
7344
  } else if (newVal === true) {
7132
- _this7.toggleAllSelection();
7345
+ _this9.toggleAllSelection();
7133
7346
  }
7134
7347
  });
7135
7348
  },
7136
7349
  getTheads: function getTheads() {
7137
- var _this8 = this;
7350
+ var _this10 = this;
7138
7351
 
7139
7352
  util["a" /* default */].ajax({
7140
7353
  url: this.thead,
@@ -7146,27 +7359,28 @@ var mainvue_type_script_lang_js_components, _watch;
7146
7359
  if (res.rCode === 0) {
7147
7360
  var results = res.results;
7148
7361
  if (Array.isArray(results)) {
7149
- _this8.theadData = results;
7362
+ _this10.theadData = results;
7150
7363
  } else {
7151
- _this8.theadData = results.theadData || [];
7152
- _this8.list = results.data || results.records || [];
7153
- _this8.config.totalCount = results.count || results.total || results.totalCount;
7154
- _this8.getOptions(_this8.theadData);
7364
+ _this10.theadData = results.theadData || [];
7365
+ _this10.list = results.data || results.records || [];
7366
+ _this10.config.totalCount = results.count || results.total || results.totalCount;
7367
+ _this10.config.pageCount = results.pageCount;
7368
+ _this10.getOptions(_this10.theadData);
7155
7369
  }
7156
7370
  } else {
7157
- _this8.theadData = [];
7371
+ _this10.theadData = [];
7158
7372
  var msg = res.msg || '系统错误,请联系管理员!';
7159
- _this8.$message.error(msg);
7373
+ _this10.$message.error(msg);
7160
7374
  }
7161
- _this8.$emit('success', res);
7375
+ _this10.$emit('success', res);
7162
7376
  }).catch(function (err) {
7163
7377
  if (err.message && err.message !== 'canceled') {
7164
- _this8.$message.error(err.message);
7378
+ _this10.$message.error(err.message);
7165
7379
  }
7166
7380
  });
7167
7381
  },
7168
7382
  getTableDatas: function getTableDatas(res) {
7169
- var _this9 = this;
7383
+ var _this11 = this;
7170
7384
 
7171
7385
  var where = void 0;
7172
7386
  var first = void 0;
@@ -7206,42 +7420,43 @@ var mainvue_type_script_lang_js_components, _watch;
7206
7420
  params: reqData,
7207
7421
  data: reqData
7208
7422
  })).then(function (res) {
7209
- _this9.tableLoading = false;
7423
+ _this11.tableLoading = false;
7210
7424
  if (res.rCode === 0 || res.status === 'success') {
7211
- if (_this9.isReload) {
7212
- _this9.list = [];
7213
- _this9.isReload = false;
7425
+ if (_this11.isReload) {
7426
+ _this11.list = [];
7427
+ _this11.isReload = false;
7214
7428
  }
7215
- var results = _this9.parseData !== undefined ? _this9.parseData(res.results || res.data || res) : res.results || res.data;
7216
- if (_this9.infiniteScroll) {
7217
- _this9.list = _this9.list.concat(results.data || results.records || results.list);
7218
- _this9.config.pageNum += 1;
7429
+ var results = _this11.parseData !== undefined ? _this11.parseData(res.results || res.data || res) : res.results || res.data;
7430
+ if (_this11.infiniteScroll) {
7431
+ _this11.list = _this11.list.concat(results.data || results.records || results.list);
7432
+ _this11.config.pageNum += 1;
7219
7433
  } else {
7220
- _this9.list = results.data || results.records || results.list;
7221
- _this9.$nextTick(function () {
7222
- _this9.$refs.oaTable && _this9.$refs.oaTable.resetScroll && _this9.$refs.oaTable.resetScroll(0, 0);
7434
+ _this11.list = results.data || results.records || results.list;
7435
+ _this11.$nextTick(function () {
7436
+ _this11.$refs.oaTable && _this11.$refs.oaTable.resetScroll && _this11.$refs.oaTable.resetScroll(0, 0);
7223
7437
  });
7224
7438
  }
7225
- _this9.config.totalCount = results.count || results.total || results.totalCount;
7226
- _this9.checked && _this9.$nextTick(function () {
7227
- _this9.checkSelect(_this9.checked);
7439
+ _this11.config.totalCount = results.count || results.total || results.totalCount;
7440
+ _this11.config.pageCount = results.pageCount;
7441
+ _this11.checked && _this11.$nextTick(function () {
7442
+ _this11.checkSelect(_this11.checked);
7228
7443
  });
7229
- if (_this9.infiniteScroll && _this9.config.totalCount === _this9.list.length) {
7230
- _this9.infiniteDisabled = true;
7444
+ if (_this11.infiniteScroll && _this11.config.totalCount === _this11.list.length) {
7445
+ _this11.infiniteDisabled = true;
7231
7446
  }
7232
7447
  } else {
7233
- _this9.list = [];
7448
+ _this11.list = [];
7234
7449
  //this.tableHeight = false;
7235
7450
  var msg = res.msg || '系统错误,请联系管理员!';
7236
- _this9.$message.error(msg);
7451
+ _this11.$message.error(msg);
7237
7452
  }
7238
- _this9.$emit('success', res);
7453
+ _this11.$emit('success', res);
7239
7454
  }).catch(function (err) {
7240
7455
  //this.tableHeight = false;
7241
7456
  if (err.message && err.message !== 'canceled') {
7242
- _this9.$message.error(err.message);
7457
+ _this11.$message.error(err.message);
7243
7458
  }
7244
- _this9.tableLoading = false;
7459
+ _this11.tableLoading = false;
7245
7460
  });
7246
7461
  },
7247
7462
  selectionChange: function selectionChange(data) {
@@ -7276,17 +7491,17 @@ var mainvue_type_script_lang_js_components, _watch;
7276
7491
  this.$refs.oaTable.sort(prop, order);
7277
7492
  },
7278
7493
  formBlur: function formBlur(data) {
7279
- this.$emit('blur', data, this.datas);
7494
+ this.$emit('blur', data, this.list);
7280
7495
  },
7281
7496
  formFocus: function formFocus(data) {
7282
- this.$emit('focus', data, this.datas);
7497
+ this.$emit('focus', data, this.list);
7283
7498
  },
7284
7499
  formChange: function formChange(data) {
7285
- this.$emit('edit', data, this.datas);
7286
- this.$emit('change', data, this.datas);
7500
+ this.$emit('edit', data, this.list);
7501
+ this.$emit('change', data, this.list);
7287
7502
  },
7288
7503
  handleAjax: function handleAjax(handle, row) {
7289
- var _this10 = this;
7504
+ var _this12 = this;
7290
7505
 
7291
7506
  this.changeLoading(true, handle.text + '\u4E2D...');
7292
7507
  var params = handle.param || {};
@@ -7342,9 +7557,9 @@ var mainvue_type_script_lang_js_components, _watch;
7342
7557
  method: handle.method,
7343
7558
  format: handle.format
7344
7559
  })).then(function (res) {
7345
- _this10.changeLoading(false);
7560
+ _this12.changeLoading(false);
7346
7561
  if (res.rCode === 0) {
7347
- _this10.$message({
7562
+ _this12.$message({
7348
7563
  message: handle.text + '\u6210\u529F',
7349
7564
  duration: 2000,
7350
7565
  type: 'success',
@@ -7352,17 +7567,17 @@ var mainvue_type_script_lang_js_components, _watch;
7352
7567
  var first = Object.prototype.hasOwnProperty.call(handle, 'first') ? handle.first : false;
7353
7568
  var reload = handle.reload || true;
7354
7569
  if (reload) {
7355
- _this10.reload({}, first);
7570
+ _this12.reload({}, first);
7356
7571
  }
7357
7572
  }
7358
7573
  });
7359
7574
  } else {
7360
- _this10.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7575
+ _this12.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7361
7576
  }
7362
7577
  }).catch(function (err) {
7363
- _this10.changeLoading(false);
7578
+ _this12.changeLoading(false);
7364
7579
  if (err.message && err.message !== 'canceled') {
7365
- _this10.$message.error(err.message);
7580
+ _this12.$message.error(err.message);
7366
7581
  }
7367
7582
  });
7368
7583
  },
@@ -7387,7 +7602,7 @@ var mainvue_type_script_lang_js_components, _watch;
7387
7602
  return mainvue_type_script_lang_js_extends({}, obj, item);
7388
7603
  },
7389
7604
  handleClick: function handleClick(res) {
7390
- var _this11 = this;
7605
+ var _this13 = this;
7391
7606
 
7392
7607
  var row = res.row,
7393
7608
  handle = res.handle;
@@ -7423,7 +7638,7 @@ var mainvue_type_script_lang_js_components, _watch;
7423
7638
  cancelButtonText: '取消',
7424
7639
  type: 'warning'
7425
7640
  }).then(function () {
7426
- _this11.handleAjax(handle, rows);
7641
+ _this13.handleAjax(handle, rows);
7427
7642
  }).catch(function () {});
7428
7643
  } else {
7429
7644
  this.handleAjax(handle, rows);
@@ -7433,7 +7648,7 @@ var mainvue_type_script_lang_js_components, _watch;
7433
7648
  handle.event(mainvue_type_script_lang_js_extends({
7434
7649
  ele: this,
7435
7650
  thead: thead,
7436
- data: this.datas,
7651
+ data: this.list,
7437
7652
  selected: rows
7438
7653
  }, res));
7439
7654
  } else if (handle.event === 'add' || handle.event === 'edit' || handle.event === 'look') {
@@ -7511,18 +7726,18 @@ var mainvue_type_script_lang_js_components, _watch;
7511
7726
  var type = ['selection', 'index', 'expand'];
7512
7727
  thead = thead.map(function (item) {
7513
7728
  return item.filter(function (ele) {
7514
- return !type.includes(ele.type) && ele.label !== text && !_this11.exportExcludeLabel.includes(ele.label);
7729
+ return !type.includes(ele.type) && ele.label !== text && !_this13.exportExcludeLabel.includes(ele.label);
7515
7730
  });
7516
7731
  });
7517
7732
  util["a" /* default */].exportXls({
7518
7733
  thead: thead,
7519
- data: this.datas,
7734
+ data: this.list,
7520
7735
  name: this.fileName,
7521
7736
  option: this.optionDatas
7522
7737
  });
7523
7738
  }
7524
- this.$emit('btnClick', res, this.datas, thead, rows);
7525
- this.$emit('btn-click', res, this.datas, thead, rows);
7739
+ this.$emit('btnClick', res, this.list, thead, rows);
7740
+ this.$emit('btn-click', res, this.list, thead, rows);
7526
7741
  }
7527
7742
  },
7528
7743
  sizeChange: function sizeChange(res) {
@@ -7612,40 +7827,40 @@ var mainvue_type_script_lang_js_components, _watch;
7612
7827
  }
7613
7828
  },
7614
7829
  resetHeight: function resetHeight(warn) {
7615
- var _this12 = this;
7830
+ var _this14 = this;
7616
7831
 
7617
7832
  this.$nextTick(function () {
7618
- if (_this12.full && !_this12.height && !_this12.maxHeight) {
7619
- var height = _this12.$el.parentNode.offsetHeight;
7833
+ if (_this14.full && !_this14.height && !_this14.maxHeight) {
7834
+ var height = _this14.$el.parentNode.offsetHeight;
7620
7835
  if (height) {
7621
- height = parseInt(util["a" /* default */].getStyle(_this12.$el.parentNode, 'height', '%'), 10);
7622
- height = (height == NaN ? 0 : height) - parseInt(util["a" /* default */].getStyle(_this12.$el.parentNode, 'padding-top'), 10) - parseInt(util["a" /* default */].getStyle(_this12.$el.parentNode, 'padding-bottom'), 10);
7623
- for (var i = 0; i < _this12.$el.parentNode.childNodes.length; i++) {
7624
- var ele = _this12.$el.parentNode.childNodes[i];
7625
- if (ele !== _this12.$el && ele.offsetHeight !== undefined) {
7836
+ height = parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'height', '%'), 10);
7837
+ 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);
7838
+ for (var i = 0; i < _this14.$el.parentNode.childNodes.length; i++) {
7839
+ var ele = _this14.$el.parentNode.childNodes[i];
7840
+ if (ele !== _this14.$el && ele.offsetHeight !== undefined) {
7626
7841
  height = height - ele.offsetHeight - parseInt(util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
7627
7842
  }
7628
7843
  }
7629
- height -= _this12.showToolbar ? 45 : 0;
7630
- height -= _this12.page === false ? 0 : 46;
7631
- height -= _this12.title ? _this12.$refs.title.offsetHeight : 0;
7632
- height -= parseInt(util["a" /* default */].getStyle(_this12.$refs.esTableContent, 'padding-top'), 10);
7633
- height -= parseInt(util["a" /* default */].getStyle(_this12.$refs.esTableContent, 'padding-bottom'), 10);
7634
- var emptyText = _this12.$refs.esTableContent.querySelector('.el-table__empty-text');
7844
+ height -= _this14.showToolbar ? _this14.$refs.toolbar.$el.offsetHeight : 0;
7845
+ height -= _this14.page === false ? 0 : _this14.$refs.pagination.$el.offsetHeight;
7846
+ height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
7847
+ height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
7848
+ height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
7849
+ var emptyText = _this14.$refs.esTableContent.querySelector('.el-table__empty-text');
7635
7850
  var eht = 0;
7636
7851
  if (emptyText) {
7637
7852
  eht = emptyText.offsetHeight;
7638
- var thead = _this12.$refs.esTableContent.querySelector('.el-table__header');
7853
+ var thead = _this14.$refs.esTableContent.querySelector('.el-table__header');
7639
7854
  thead && (eht += thead.offsetHeight);
7640
7855
  }
7641
7856
  if (height > 1 && height - eht > 1) {
7642
- _this12.tableHeight = height;
7857
+ _this14.tableHeight = height;
7643
7858
  } else {
7644
- console.warn(_this12.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7859
+ console.warn(_this14.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7645
7860
  }
7646
7861
  } else if (!warn) {
7647
7862
  setTimeout(function () {
7648
- _this12.resetHeight(true);
7863
+ _this14.resetHeight(true);
7649
7864
  }, 1000);
7650
7865
  }
7651
7866
  }
@@ -7678,31 +7893,31 @@ var mainvue_type_script_lang_js_components, _watch;
7678
7893
  this.$emit('update-drag-sort', data, event);
7679
7894
  },
7680
7895
  mergeThead: function mergeThead(res) {
7681
- var _this13 = this;
7896
+ var _this15 = this;
7682
7897
 
7683
7898
  this.theadData = res;
7684
7899
  this.icon = true;
7685
7900
  setTimeout(function () {
7686
- _this13.show = true;
7901
+ _this15.show = true;
7687
7902
  }, 100);
7688
7903
  },
7689
7904
  setOptions: function setOptions(val, sysCode) {
7690
7905
  this.$set(this.options, sysCode, val);
7691
7906
  },
7692
7907
  bindEventBus: function bindEventBus() {
7693
- var _this14 = this;
7908
+ var _this16 = this;
7694
7909
 
7695
7910
  this.sysCodes.forEach(function (item) {
7696
7911
  bus["a" /* default */].$on(item, function (val) {
7697
- _this14.setOptions(val, item);
7912
+ _this16.setOptions(val, item);
7698
7913
  });
7699
7914
  });
7700
7915
  },
7701
7916
  unbindEventBus: function unbindEventBus() {
7702
- var _this15 = this;
7917
+ var _this17 = this;
7703
7918
 
7704
7919
  this.sysCodes.forEach(function (item) {
7705
- bus["a" /* default */].$off(item, _this15.setOptions);
7920
+ bus["a" /* default */].$off(item, _this17.setOptions);
7706
7921
  });
7707
7922
  },
7708
7923
  reset: function reset() {
@@ -7722,7 +7937,7 @@ var mainvue_type_script_lang_js_components, _watch;
7722
7937
 
7723
7938
  var main_component = Object(componentNormalizer["a" /* default */])(
7724
7939
  src_mainvue_type_script_lang_js_,
7725
- mainvue_type_template_id_04c7a78c_render,
7940
+ mainvue_type_template_id_54b10214_render,
7726
7941
  staticRenderFns,
7727
7942
  false,
7728
7943
  null,