eoss-ui 0.5.81-beta9 → 0.5.83

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 (130) 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 +479 -277
  8. package/lib/date-picker.js +69 -59
  9. package/lib/dialog.js +86 -73
  10. package/lib/eoss-ui.common.js +4000 -3052
  11. package/lib/flow-group.js +102 -65
  12. package/lib/flow-list.js +56 -48
  13. package/lib/flow.js +158 -85
  14. package/lib/form.js +88 -59
  15. package/lib/handle-user.js +66 -51
  16. package/lib/handler.js +69 -50
  17. package/lib/icon.js +55 -47
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +55 -47
  20. package/lib/input.js +55 -47
  21. package/lib/login.js +104 -85
  22. package/lib/main.js +1375 -925
  23. package/lib/menu.js +1 -1
  24. package/lib/nav.js +55 -47
  25. package/lib/notify.js +54 -50
  26. package/lib/page.js +55 -47
  27. package/lib/pagination.js +3723 -3
  28. package/lib/player.js +60 -52
  29. package/lib/qr-code.js +55 -47
  30. package/lib/radio-group.js +55 -47
  31. package/lib/retrial-auth.js +56 -48
  32. package/lib/select-ganged.js +55 -47
  33. package/lib/select.js +55 -47
  34. package/lib/selector-panel.js +69 -60
  35. package/lib/selector.js +495 -424
  36. package/lib/sizer.js +55 -47
  37. package/lib/steps.js +55 -47
  38. package/lib/switch.js +55 -47
  39. package/lib/table-form.js +55 -47
  40. package/lib/tabs.js +1532 -1480
  41. package/lib/theme-chalk/base.css +1 -1
  42. package/lib/theme-chalk/button-group.css +1 -1
  43. package/lib/theme-chalk/data-table.css +1 -1
  44. package/lib/theme-chalk/dialog.css +1 -1
  45. package/lib/theme-chalk/flow-group.css +1 -1
  46. package/lib/theme-chalk/form.css +1 -1
  47. package/lib/theme-chalk/index.css +1 -1
  48. package/lib/theme-chalk/main.css +1 -1
  49. package/lib/theme-chalk/menu.css +1 -1
  50. package/lib/theme-chalk/pagination.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-group.css +1 -1
  56. package/lib/theme-chalk/tree.css +1 -1
  57. package/lib/theme-chalk/upload.css +1 -1
  58. package/lib/tips.js +55 -47
  59. package/lib/tree-group.js +79 -50
  60. package/lib/tree.js +55 -47
  61. package/lib/upload.js +59 -51
  62. package/lib/utils/util.js +6 -2
  63. package/lib/wujie.js +55 -47
  64. package/lib/wxlogin.js +55 -47
  65. package/package.json +3 -3
  66. package/packages/button/src/main.vue +2 -1
  67. package/packages/button-group/src/main.vue +8 -6
  68. package/packages/clients/src/main.vue +2 -1
  69. package/packages/data-table/src/column.vue +137 -54
  70. package/packages/data-table/src/main.vue +81 -69
  71. package/packages/data-table/src/sizer.vue +2 -0
  72. package/packages/date-picker/src/main.vue +22 -14
  73. package/packages/dialog/src/main.vue +23 -24
  74. package/packages/flow/src/main.vue +32 -17
  75. package/packages/flow-group/src/main.vue +18 -11
  76. package/packages/form/src/main.vue +21 -10
  77. package/packages/handle-user/src/main.vue +5 -1
  78. package/packages/handler/src/main.vue +7 -3
  79. package/packages/login/src/main.vue +22 -15
  80. package/packages/main/src/default/index.vue +111 -179
  81. package/packages/main/src/main.vue +233 -4
  82. package/packages/main/src/public/online.vue +89 -0
  83. package/packages/main/src/simplicity/apps.vue +3 -3
  84. package/packages/main/src/simplicity/handler.vue +6 -2
  85. package/packages/main/src/simplicity/index.vue +283 -238
  86. package/packages/main/src/simplicity/menu-list.vue +3 -2
  87. package/packages/main/src/simplicity/router-page.vue +5 -14
  88. package/packages/main/src/simplicity/sub-menu.vue +31 -9
  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/dialog.css +1 -1
  99. package/packages/theme-chalk/lib/flow-group.css +1 -1
  100. package/packages/theme-chalk/lib/form.css +1 -1
  101. package/packages/theme-chalk/lib/index.css +1 -1
  102. package/packages/theme-chalk/lib/main.css +1 -1
  103. package/packages/theme-chalk/lib/menu.css +1 -1
  104. package/packages/theme-chalk/lib/pagination.css +1 -1
  105. package/packages/theme-chalk/lib/simplicity.css +1 -1
  106. package/packages/theme-chalk/lib/sizer.css +1 -1
  107. package/packages/theme-chalk/lib/tabs.css +1 -1
  108. package/packages/theme-chalk/lib/toolbar.css +1 -1
  109. package/packages/theme-chalk/lib/tree-group.css +1 -1
  110. package/packages/theme-chalk/lib/tree.css +1 -1
  111. package/packages/theme-chalk/lib/upload.css +1 -1
  112. package/packages/theme-chalk/src/base.scss +39 -0
  113. package/packages/theme-chalk/src/button-group.scss +16 -2
  114. package/packages/theme-chalk/src/common/var.scss +7 -2
  115. package/packages/theme-chalk/src/data-table.scss +60 -23
  116. package/packages/theme-chalk/src/dialog.scss +10 -0
  117. package/packages/theme-chalk/src/flow-group.scss +1 -0
  118. package/packages/theme-chalk/src/form.scss +42 -40
  119. package/packages/theme-chalk/src/main.scss +11 -0
  120. package/packages/theme-chalk/src/pagination.scss +7 -0
  121. package/packages/theme-chalk/src/simplicity.scss +45 -4
  122. package/packages/theme-chalk/src/tabs.scss +24 -28
  123. package/packages/theme-chalk/src/toolbar.scss +16 -4
  124. package/packages/theme-chalk/src/tree-group.scss +8 -0
  125. package/packages/theme-chalk/src/tree.scss +19 -6
  126. package/packages/tree-group/src/main.vue +15 -7
  127. package/src/config/api.js +3 -1
  128. package/src/index.js +157 -157
  129. package/src/utils/util.js +6 -1
  130. package/CHANGELOG.md +0 -929
package/lib/data-table.js CHANGED
@@ -151,6 +151,7 @@ var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ store
151
151
  * @param {String} [publicKey] - sm2加密公钥
152
152
  * @param {Array} [secret] - 要加密的字段属性名称,默认所有
153
153
  * @param {Array} [encodes] - 需要对参数值进行encodeURIComponent编码的参数值名称
154
+ * @param {Array} [oldmode] - 老接口转新数据结构
154
155
  **/
155
156
  // 请求
156
157
  // const pendingRequest = new Map();
@@ -183,8 +184,8 @@ var ajax = function ajax(_ref) {
183
184
  loading = _ref.loading,
184
185
  publicKey = _ref.publicKey,
185
186
  secret = _ref.secret,
186
- _ref$encodes = _ref.encodes,
187
- encodes = _ref$encodes === undefined ? ['cd'] : _ref$encodes;
187
+ encodes = _ref.encodes,
188
+ oldmode = _ref.oldmode;
188
189
 
189
190
  var header = headers || {};
190
191
  if (!method) {
@@ -485,6 +486,9 @@ var ajax = function ajax(_ref) {
485
486
  header['content-type'] = 'application/json;charset=UTF-8';
486
487
  }
487
488
  }
489
+ if (oldmode && !header['api-response-mode']) {
490
+ header['api-response-mode'] = true;
491
+ }
488
492
  return http({
489
493
  method: method,
490
494
  url: url,
@@ -3249,7 +3253,7 @@ var watermark = function watermark(option) {
3249
3253
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doQrLogin; });
3250
3254
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return logout; });
3251
3255
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initLogin; });
3252
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return switchUserTo; });
3256
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return switchUserTo; });
3253
3257
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
3254
3258
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getLoginCode; });
3255
3259
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doCodeLogin; });
@@ -3264,12 +3268,15 @@ var watermark = function watermark(option) {
3264
3268
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doTwoFactorLogin; });
3265
3269
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return initRetrialAuth; });
3266
3270
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getRetrialAuthCode; });
3267
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return scanCodeRetrialAuth; });
3271
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return scanCodeRetrialAuth; });
3268
3272
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
3269
3273
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doAssistanceQrLogin; });
3274
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return userOnline; });
3275
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3276
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return recordUserApp; });
3270
3277
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return mainConfig; });
3271
3278
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return initUserSet; });
3272
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserInfo; });
3279
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return updateUserInfo; });
3273
3280
  /* unused harmony export getUserImgUrl */
3274
3281
  /* unused harmony export getDoorIndex */
3275
3282
  /* unused harmony export refreshOnlineUsers */
@@ -3277,19 +3284,18 @@ var watermark = function watermark(option) {
3277
3284
  /* unused harmony export getApplicationIdArray */
3278
3285
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplications; });
3279
3286
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getComplexApplicationsNew; });
3280
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getUserAppWithTag; });
3281
3287
  /* unused harmony export getUserCustomInfo */
3282
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateUserCustomInfo; });
3283
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return sysMsgPage; });
3288
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return updateUserCustomInfo; });
3289
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return sysMsgPage; });
3284
3290
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return ignoreSysMsg; });
3285
3291
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ignoreAllSysMsg; });
3286
3292
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getAdjunctProperties; });
3287
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploads; });
3288
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadOnlyOne; });
3293
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return uploads; });
3294
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadOnlyOne; });
3289
3295
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctFileInfos; });
3290
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return uploadSort; });
3296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return uploadSort; });
3291
3297
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return downloadByAdjunctId; });
3292
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploadDownloads; });
3298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return uploadDownloads; });
3293
3299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return previewAdjunct; });
3294
3300
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return previewAdjunct2; });
3295
3301
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return previewAdjunctOffice; });
@@ -3307,13 +3313,13 @@ var watermark = function watermark(option) {
3307
3313
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return gethelpdoc; });
3308
3314
  /* unused harmony export getCurrentuser */
3309
3315
  /* unused harmony export mainDetail */
3310
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toStartFlow; });
3311
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return tempSave; });
3316
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartFlow; });
3317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return tempSave; });
3312
3318
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
3313
3319
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
3314
3320
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return editCommonOpion; });
3315
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return saveCommonOpinion; });
3316
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return updateCommonOpinion; });
3321
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return saveCommonOpinion; });
3322
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return updateCommonOpinion; });
3317
3323
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
3318
3324
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getProcessDefList; });
3319
3325
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getNodeInfo; });
@@ -3322,52 +3328,52 @@ var watermark = function watermark(option) {
3322
3328
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysCodes; });
3323
3329
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getNotificationMsg; });
3324
3330
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getHandleInfoHtml; });
3325
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskHandleHtml; });
3331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskHandleHtml; });
3326
3332
  /* unused harmony export getView */
3327
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return register; });
3333
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return register; });
3328
3334
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return pendedhistoryList; });
3329
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskRejectHtml; });
3330
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskRejectHtml; });
3331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toStartTaskRead; });
3332
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskReadIndex; });
3333
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskReadHtml; });
3334
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return rejectAndEnd; });
3335
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toSendMsg; });
3336
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendMsg; });
3335
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskRejectHtml; });
3336
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskRejectHtml; });
3337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toStartTaskRead; });
3338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toStartTaskReadIndex; });
3339
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskReadHtml; });
3340
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return rejectAndEnd; });
3341
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toSendMsg; });
3342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return sendMsg; });
3337
3343
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return endFlowHtml; });
3338
3344
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return handleInfo; });
3339
3345
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return loginUserInfo; });
3340
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return wss; });
3341
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return topic; });
3346
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return wss; });
3347
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return topic; });
3342
3348
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getPresetCustomInfo; });
3343
3349
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getPresetNodeInfo; });
3344
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTransferIndex; });
3345
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTransfer; });
3346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toPresetInfoListIndex; });
3350
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskTransferIndex; });
3351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskTransfer; });
3352
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toPresetInfoListIndex; });
3347
3353
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
3348
3354
  /* unused harmony export historyListJson */
3349
3355
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return pendedhistoryListJson; });
3350
3356
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return pressListJson; });
3351
3357
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
3352
3358
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return isCanStartSubFlow; });
3353
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return toTaskUnionExamine; });
3354
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return taskUnionExamine; });
3355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskTakeAdvice; });
3356
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskTakeAdvice; });
3357
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskStartDraft; });
3358
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskStartDraft; });
3359
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskReview; });
3360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskReview; });
3361
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionSeal; });
3362
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionSeal; });
3363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTwoOfficesDispatch; });
3364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return twoOfficesDispatch; });
3365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendList; });
3366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendInfo; });
3359
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return toTaskUnionExamine; });
3360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return taskUnionExamine; });
3361
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTaskTakeAdvice; });
3362
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return taskTakeAdvice; });
3363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskStartDraft; });
3364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskStartDraft; });
3365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskReview; });
3366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskReview; });
3367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return toTaskUnionSeal; });
3368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return taskUnionSeal; });
3369
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return toTwoOfficesDispatch; });
3370
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return twoOfficesDispatch; });
3371
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return sendList; });
3372
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sendInfo; });
3367
3373
  /* unused harmony export sendSave */
3368
3374
  /* unused harmony export sendUpdate */
3369
3375
  /* unused harmony export sendDelete */
3370
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendBatch; });
3376
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return sendBatch; });
3371
3377
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return formContents; });
3372
3378
  // 登录
3373
3379
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
@@ -3395,6 +3401,9 @@ var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证
3395
3401
  var doAssistanceQrLogin = '/sso2/signIn/auth/doAssistanceQrLogin'; // 二级身份验证-验证码验证
3396
3402
 
3397
3403
  // 框架
3404
+ var userOnline = 'sys/v1/mecpSys/userOnlineListJson.dhtml'; // 在线人数列表
3405
+ var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3406
+ var recordUserApp = '/sysv3/sysUucApp/recordUserApp'; // 记录应用点击率
3398
3407
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
3399
3408
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
3400
3409
  var updateUserInfo = '/main2/main/updateUserInfo'; // 更新用户信息
@@ -3405,7 +3414,6 @@ var getQuickMenuIds = '/main2/main/getQuickMenuIds'; // 获取已绑定的快捷
3405
3414
  var getApplicationIdArray = '/main2/main/getApplicationIdArray'; // 获取应用父id数组
3406
3415
  var getComplexApplications = '/main2/menu/getComplexApplications'; // 获取当前用户菜单; 含页签菜单格式的数据
3407
3416
  var getComplexApplicationsNew = '/main2/menu/getComplexApplicationsNew'; // 获取当前用户应用菜单; 含页签菜单格式的数据
3408
- var getUserAppWithTag = '/sysv3/sysUucApp/getUserAppWithTag'; // 获取应用
3409
3417
  var getUserCustomInfo = '/main2/main/getUserCustomInfo'; // 获取主题样式
3410
3418
  var updateUserCustomInfo = '/main2/main/updateUserCustomInfo'; // 更新主题样式
3411
3419
  // 框架 - 系统消息
@@ -3929,8 +3937,8 @@ module.exports = require("vue");
3929
3937
  // ESM COMPAT FLAG
3930
3938
  __webpack_require__.r(__webpack_exports__);
3931
3939
 
3932
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=5c8208a6&
3933
- var mainvue_type_template_id_5c8208a6_render = function () {
3940
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=7da1e74d&
3941
+ var mainvue_type_template_id_7da1e74d_render = function () {
3934
3942
  var _vm = this
3935
3943
  var _h = _vm.$createElement
3936
3944
  var _c = _vm._self._c || _h
@@ -3961,7 +3969,12 @@ var mainvue_type_template_id_5c8208a6_render = function () {
3961
3969
  "es-toolbar",
3962
3970
  _vm._g(
3963
3971
  _vm._b(
3964
- { ref: "toolbar" },
3972
+ {
3973
+ ref: "toolbar",
3974
+ class: {
3975
+ "es-table-toolbar-plus": _vm.mode == "plus",
3976
+ },
3977
+ },
3965
3978
  "es-toolbar",
3966
3979
  {
3967
3980
  contents: _vm.toolbars,
@@ -4002,7 +4015,10 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4002
4015
  {
4003
4016
  ref: "esTableContent",
4004
4017
  staticClass: "es-data-table-content",
4005
- class: _vm.border == "none" ? "es-table-border-none" : "",
4018
+ class: {
4019
+ "es-table-border-none": _vm.border == "none",
4020
+ "es-table-plus": _vm.mode == "plus",
4021
+ },
4006
4022
  staticStyle: {},
4007
4023
  },
4008
4024
  [
@@ -4051,7 +4067,7 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4051
4067
  })
4052
4068
  ),
4053
4069
  [
4054
- _vm._t("prepend"),
4070
+ _vm._t("suffix"),
4055
4071
  _vm._t("default"),
4056
4072
  _vm._l(_vm.theads, function (item, index) {
4057
4073
  return [
@@ -4100,11 +4116,15 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4100
4116
  "children",
4101
4117
  _vm._g(
4102
4118
  _vm._b(
4103
- { key: item.label || item.title },
4119
+ {
4120
+ key: item.label || item.title,
4121
+ attrs: { tag: item.tag },
4122
+ },
4104
4123
  "children",
4105
4124
  Object.assign(
4106
4125
  {},
4107
4126
  {
4127
+ mode: _vm.mode,
4108
4128
  name: _vm.name,
4109
4129
  indexs: index,
4110
4130
  form: _vm.form,
@@ -4132,7 +4152,7 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4132
4152
  : _vm._e(),
4133
4153
  ]
4134
4154
  }),
4135
- _vm._t("append"),
4155
+ _vm._t("prefix"),
4136
4156
  _vm.editable && !_vm.readonly
4137
4157
  ? _c("el-table-column", {
4138
4158
  staticClass: "eoss-ui-eidt-column",
@@ -4193,6 +4213,7 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4193
4213
  ]),
4194
4214
  })
4195
4215
  : _vm._e(),
4216
+ _c("template", { slot: "append" }, [_vm._t("append")], 2),
4196
4217
  ],
4197
4218
  2
4198
4219
  ),
@@ -4211,10 +4232,10 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4211
4232
  _vm._g(
4212
4233
  _vm._b(
4213
4234
  {
4235
+ ref: "pagination",
4214
4236
  staticClass: "es-table-page",
4215
- style: {
4216
- "text-align": _vm.page.position || "center",
4217
- },
4237
+ style: { "text-align": _vm.page.position },
4238
+ attrs: { position: _vm.page.position },
4218
4239
  },
4219
4240
  "es-pagination",
4220
4241
  _vm.config,
@@ -4235,16 +4256,19 @@ var mainvue_type_template_id_5c8208a6_render = function () {
4235
4256
  2
4236
4257
  )
4237
4258
  : _vm._e(),
4238
- _c("sizer", { ref: "sizer", attrs: { data: _vm.theads } }),
4259
+ _c("sizer", {
4260
+ ref: "sizer",
4261
+ attrs: { data: _vm.theads, mode: _vm.mode },
4262
+ }),
4239
4263
  ],
4240
4264
  1
4241
4265
  )
4242
4266
  }
4243
4267
  var staticRenderFns = []
4244
- mainvue_type_template_id_5c8208a6_render._withStripped = true
4268
+ mainvue_type_template_id_7da1e74d_render._withStripped = true
4245
4269
 
4246
4270
 
4247
- // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5c8208a6&
4271
+ // CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=7da1e74d&
4248
4272
 
4249
4273
  // EXTERNAL MODULE: ./src/config/api.js
4250
4274
  var api = __webpack_require__(1);
@@ -4301,8 +4325,8 @@ childrenvue_type_template_id_44b7ff61_render._withStripped = true
4301
4325
 
4302
4326
  // CONCATENATED MODULE: ./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
4303
4327
 
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 () {
4328
+ // 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&
4329
+ var columnvue_type_template_id_19baf4a0_render = function () {
4306
4330
  var _vm = this
4307
4331
  var _h = _vm.$createElement
4308
4332
  var _c = _vm._self._c || _h
@@ -4329,11 +4353,73 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4329
4353
  },
4330
4354
  },
4331
4355
  [
4332
- _vm.type === "select"
4356
+ _vm.getType(scope.row.formConfigs, "component")
4357
+ ? _c(
4358
+ _vm.tag,
4359
+ _vm._b(
4360
+ {
4361
+ tag: "component",
4362
+ attrs: {
4363
+ data: _vm.getData(
4364
+ scope.row.formOptions
4365
+ ),
4366
+ },
4367
+ on: {
4368
+ blur: function (event) {
4369
+ _vm.handleBlur({
4370
+ item: _vm.config,
4371
+ event: event,
4372
+ data: scope.row,
4373
+ scope: scope,
4374
+ })
4375
+ },
4376
+ focus: function (event) {
4377
+ _vm.handleFocus({
4378
+ item: _vm.config,
4379
+ event: event,
4380
+ data: scope.row,
4381
+ scope: scope,
4382
+ })
4383
+ },
4384
+ change: function (value) {
4385
+ _vm.handleChange({
4386
+ item: _vm.config,
4387
+ name: _vm.field || _vm.prop,
4388
+ value: value,
4389
+ data: scope.row,
4390
+ scope: scope,
4391
+ })
4392
+ },
4393
+ },
4394
+ model: {
4395
+ value:
4396
+ scope.row[_vm.field || _vm.prop],
4397
+ callback: function ($$v) {
4398
+ _vm.$set(
4399
+ scope.row,
4400
+ _vm.field || _vm.prop,
4401
+ $$v
4402
+ )
4403
+ },
4404
+ expression:
4405
+ "scope.row[field || prop]",
4406
+ },
4407
+ },
4408
+ "component",
4409
+ _vm.getOptions(scope.row.formConfigs),
4410
+ false
4411
+ )
4412
+ )
4413
+ : _vm.getType(scope.row.formConfigs, "select")
4333
4414
  ? _c(
4334
4415
  "es-select",
4335
4416
  _vm._b(
4336
4417
  {
4418
+ attrs: {
4419
+ data: _vm.getData(
4420
+ scope.row.formOptions
4421
+ ),
4422
+ },
4337
4423
  on: {
4338
4424
  blur: function (event) {
4339
4425
  _vm.handleBlur({
@@ -4376,15 +4462,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4376
4462
  },
4377
4463
  },
4378
4464
  "es-select",
4379
- _vm.formOption,
4465
+ _vm.getOptions(scope.row.formConfigs),
4380
4466
  false
4381
4467
  )
4382
4468
  )
4383
- : _vm.type == "cascader"
4469
+ : _vm.getType(scope.row.formConfigs, "cascader")
4384
4470
  ? _c(
4385
4471
  "es-cascader",
4386
4472
  _vm._b(
4387
4473
  {
4474
+ attrs: {
4475
+ data: _vm.getData(
4476
+ scope.row.formOptions
4477
+ ),
4478
+ },
4388
4479
  on: {
4389
4480
  blur: function (event) {
4390
4481
  _vm.handleBlur({
@@ -4427,18 +4518,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4427
4518
  },
4428
4519
  },
4429
4520
  "es-cascader",
4430
- _vm.formOption,
4521
+ _vm.getOptions(scope.row.formConfigs),
4431
4522
  false
4432
4523
  )
4433
4524
  )
4434
- : _vm.type === "ganged"
4525
+ : _vm.getType(scope.row.formConfigs, "ganged")
4435
4526
  ? _c(
4436
4527
  "es-select-ganged",
4437
4528
  _vm._b(
4438
4529
  {
4439
4530
  attrs: {
4440
4531
  data: _vm.init(
4441
- _vm.option,
4532
+ _vm.getData(scope.row.formOptions),
4442
4533
  _vm.config
4443
4534
  ),
4444
4535
  },
@@ -4467,15 +4558,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4467
4558
  },
4468
4559
  },
4469
4560
  "es-select-ganged",
4470
- _vm.formOption,
4561
+ _vm.getOptions(scope.row.formConfigs),
4471
4562
  false
4472
4563
  )
4473
4564
  )
4474
- : _vm.type === "radio"
4565
+ : _vm.getType(scope.row.formConfigs, "radio")
4475
4566
  ? _c(
4476
4567
  "es-radio-group",
4477
4568
  _vm._b(
4478
4569
  {
4570
+ attrs: {
4571
+ data: _vm.getData(
4572
+ scope.row.formOptions
4573
+ ),
4574
+ },
4479
4575
  on: {
4480
4576
  change: function (value) {
4481
4577
  _vm.handleChange({
@@ -4501,15 +4597,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4501
4597
  },
4502
4598
  },
4503
4599
  "es-radio-group",
4504
- _vm.formOption,
4600
+ _vm.getOptions(scope.row.formConfigs),
4505
4601
  false
4506
4602
  )
4507
4603
  )
4508
- : _vm.type === "checkbox"
4604
+ : _vm.getType(scope.row.formConfigs, "checkbox")
4509
4605
  ? _c(
4510
4606
  "es-checkbox-group",
4511
4607
  _vm._b(
4512
4608
  {
4609
+ attrs: {
4610
+ data: _vm.getData(
4611
+ scope.row.formOptions
4612
+ ),
4613
+ },
4513
4614
  on: {
4514
4615
  change: function (value) {
4515
4616
  _vm.handleChange({
@@ -4535,15 +4636,20 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4535
4636
  },
4536
4637
  },
4537
4638
  "es-checkbox-group",
4538
- _vm.formOption,
4639
+ _vm.getOptions(scope.row.formConfigs),
4539
4640
  false
4540
4641
  )
4541
4642
  )
4542
- : _vm.type === "switch"
4643
+ : _vm.getType(scope.row.formConfigs, "switch")
4543
4644
  ? _c(
4544
4645
  "es-switch",
4545
4646
  _vm._b(
4546
4647
  {
4648
+ attrs: {
4649
+ data: _vm.getData(
4650
+ scope.row.formOptions
4651
+ ),
4652
+ },
4547
4653
  on: {
4548
4654
  change: function (value) {
4549
4655
  _vm.handleChange({
@@ -4569,23 +4675,25 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4569
4675
  },
4570
4676
  },
4571
4677
  "es-switch",
4572
- _vm.formOption,
4678
+ _vm.getOptions(scope.row.formConfigs),
4573
4679
  false
4574
4680
  )
4575
4681
  )
4576
4682
  : _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"
4683
+ _vm.getType(scope.row.formConfigs, [
4684
+ "date",
4685
+ "year",
4686
+ "month",
4687
+ "date",
4688
+ "dates",
4689
+ "week",
4690
+ "datetime",
4691
+ "datetimerange",
4692
+ "daterange",
4693
+ "monthrange",
4694
+ "quarter",
4695
+ "halfyear",
4696
+ ])
4589
4697
  ? _c(
4590
4698
  "es-date-picker",
4591
4699
  _vm._b(
@@ -4633,11 +4741,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4633
4741
  },
4634
4742
  },
4635
4743
  "es-date-picker",
4636
- _vm.formOption,
4744
+ _vm.getOptions(scope.row.formConfigs),
4637
4745
  false
4638
4746
  )
4639
4747
  )
4640
- : _vm.type == "number"
4748
+ : _vm.getType(scope.row.formConfigs, "number")
4641
4749
  ? _c(
4642
4750
  "es-input-number",
4643
4751
  _vm._b(
@@ -4684,11 +4792,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4684
4792
  },
4685
4793
  },
4686
4794
  "es-input-number",
4687
- _vm.formOption,
4795
+ _vm.getOptions(scope.row.formConfigs),
4688
4796
  false
4689
4797
  )
4690
4798
  )
4691
- : _vm.type == "selector"
4799
+ : _vm.getType(scope.row.formConfigs, "selector")
4692
4800
  ? _c(
4693
4801
  "es-selector",
4694
4802
  _vm._g(
@@ -4719,7 +4827,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4719
4827
  },
4720
4828
  },
4721
4829
  "es-selector",
4722
- _vm.formOption,
4830
+ _vm.getOptions(scope.row.formConfigs),
4723
4831
  false
4724
4832
  ),
4725
4833
  _vm.exclAttribute({
@@ -4728,14 +4836,18 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4728
4836
  })
4729
4837
  )
4730
4838
  )
4731
- : _vm.type === "text" ||
4732
- _vm.type === "input" ||
4733
- _vm.type === "textarea"
4839
+ : _vm.getType(scope.row.formConfigs, [
4840
+ "text",
4841
+ "input",
4842
+ "textarea",
4843
+ ])
4734
4844
  ? [
4735
4845
  _vm.config.lazy
4736
4846
  ? [
4737
- _vm.type === "text" ||
4738
- _vm.type === "input"
4847
+ _vm.getType(scope.row.formConfigs, [
4848
+ "text",
4849
+ "input",
4850
+ ])
4739
4851
  ? _c(
4740
4852
  "input",
4741
4853
  _vm._b(
@@ -4799,7 +4911,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4799
4911
  },
4800
4912
  },
4801
4913
  "input",
4802
- _vm.formOption,
4914
+ _vm.getOptions(
4915
+ scope.row.formConfigs
4916
+ ),
4803
4917
  false
4804
4918
  )
4805
4919
  )
@@ -4866,7 +4980,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4866
4980
  },
4867
4981
  },
4868
4982
  "textarea",
4869
- _vm.formOption,
4983
+ _vm.getOptions(
4984
+ scope.row.formConfigs
4985
+ ),
4870
4986
  false
4871
4987
  )
4872
4988
  ),
@@ -4923,7 +5039,9 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4923
5039
  },
4924
5040
  },
4925
5041
  "es-input",
4926
- _vm.formOption,
5042
+ _vm.getOptions(
5043
+ scope.row.formConfigs
5044
+ ),
4927
5045
  false
4928
5046
  )
4929
5047
  ),
@@ -4979,6 +5097,7 @@ var columnvue_type_template_id_2dabb50c_render = function () {
4979
5097
  {
4980
5098
  attrs: {
4981
5099
  stop: "",
5100
+ mode: _vm.mode,
4982
5101
  contents: _vm.contents || _vm.events,
4983
5102
  data: scope,
4984
5103
  },
@@ -5020,11 +5139,11 @@ var columnvue_type_template_id_2dabb50c_render = function () {
5020
5139
  2
5021
5140
  )
5022
5141
  }
5023
- var columnvue_type_template_id_2dabb50c_staticRenderFns = []
5024
- columnvue_type_template_id_2dabb50c_render._withStripped = true
5142
+ var columnvue_type_template_id_19baf4a0_staticRenderFns = []
5143
+ columnvue_type_template_id_19baf4a0_render._withStripped = true
5025
5144
 
5026
5145
 
5027
- // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=2dabb50c&
5146
+ // CONCATENATED MODULE: ./packages/data-table/src/column.vue?vue&type=template&id=19baf4a0&
5028
5147
 
5029
5148
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
5030
5149
  var regenerator_ = __webpack_require__(13);
@@ -5036,6 +5155,8 @@ var util = __webpack_require__(0);
5036
5155
  // 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
5156
 
5038
5157
 
5158
+ 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; };
5159
+
5039
5160
  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
5161
 
5041
5162
  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 +5574,61 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5453
5574
  //
5454
5575
  //
5455
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
+ //
5631
+ //
5456
5632
 
5457
5633
 
5458
5634
 
@@ -5501,6 +5677,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5501
5677
  }
5502
5678
  },
5503
5679
  props: {
5680
+ tag: String,
5681
+ mode: String,
5504
5682
  service: String,
5505
5683
  form: Boolean,
5506
5684
  readonly: Boolean,
@@ -5526,6 +5704,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5526
5704
  contents: Array,
5527
5705
  events: [Array, Object],
5528
5706
  dateFormat: String,
5707
+ dateValue: {
5708
+ type: String,
5709
+ default: ''
5710
+ },
5529
5711
  styles: [Array, Object],
5530
5712
  sysCode: String,
5531
5713
  valueToString: Boolean,
@@ -5602,9 +5784,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5602
5784
  valueKey: this.sysCode ? this.service ? 'value' : 'cciValue' : this.valueKey,
5603
5785
  rules: this.rules,
5604
5786
  events: this.events
5605
- }, this.$attrs, {
5606
- data: this.option
5607
- });
5787
+ }, this.$attrs);
5608
5788
  return config;
5609
5789
  },
5610
5790
  icon: function icon() {
@@ -5733,6 +5913,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5733
5913
  }
5734
5914
  return data;
5735
5915
  },
5916
+ getType: function getType(config, types) {
5917
+ var type = config && config[this.field || this.prop] ? config[this.field || this.prop]['type'] || config[this.field || this.prop] : this.type;
5918
+ return Array.isArray(types) ? types.includes(type) : type == types;
5919
+ },
5920
+ getOptions: function getOptions(config) {
5921
+ var option = config && config[this.field || this.prop];
5922
+ return option && (typeof option === 'undefined' ? 'undefined' : _typeof(option)) == 'object' ? _extends({}, this.formOption, option) : this.formOption;
5923
+ },
5924
+ getData: function getData(res) {
5925
+ return res && res[this.field || this.prop] ? res[this.field || this.prop] : this.option;
5926
+ },
5736
5927
  exclAttribute: function exclAttribute(_ref2) {
5737
5928
  var data = _ref2.data,
5738
5929
  attrs = _ref2.attrs;
@@ -5813,25 +6004,27 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5813
6004
  this.$emit('formFocus', data);
5814
6005
  this.$emit('form-focus', data);
5815
6006
  },
5816
- handleChange: function handleChange(data) {
6007
+ handleChange: function handleChange(datas) {
5817
6008
  var _this3 = this;
5818
6009
 
5819
- var item = data.item;
6010
+ var item = datas.item,
6011
+ name = datas.name,
6012
+ data = datas.data;
5820
6013
 
5821
- if (item && this.type == 'ganged') {
5822
- var _data$value = data.value,
5823
- index = _data$value.index,
5824
- value = _data$value.value;
6014
+ if (item && (data.formConfigs && data.formConfigs[name] == 'ganged' || this.type == 'ganged')) {
6015
+ var _datas$value = datas.value,
6016
+ index = _datas$value.index,
6017
+ value = _datas$value.value;
5825
6018
 
5826
6019
  if ((item.url || this.sysCode) && (item.ganged && index > item.ganged - 1 || value.hasSub)) {
5827
6020
  var filte = value[this.valueKey] || value.value;
5828
- var datas = [];
6021
+ var _datas = [];
5829
6022
  if (this.optionDatas[this.field || this.prop][index + 1]) {
5830
- datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
6023
+ _datas = this.optionDatas[this.field || this.prop][index + 1].filter(function (items) {
5831
6024
  return filte == items[item.filtrateKey];
5832
6025
  });
5833
6026
  }
5834
- if (datas.length == 0) {
6027
+ if (_datas.length == 0) {
5835
6028
  var queryKey = item.queryKey;
5836
6029
  var param = {};
5837
6030
  if (queryKey) {
@@ -5866,16 +6059,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
5866
6059
  }
5867
6060
  }
5868
6061
  }
5869
- this.events && this.events.change && this.events.change(data);
5870
- this.$emit('formChange', data);
5871
- this.$emit('form-change', data);
6062
+ this.events && this.events.change && this.events.change(datas);
6063
+ this.$emit('formChange', datas);
6064
+ this.$emit('form-change', datas);
5872
6065
  },
5873
6066
  handleClick: function handleClick(data) {
5874
6067
  this.$emit('handleClick', data);
5875
6068
  this.$emit('handle-click', data);
5876
6069
  },
5877
6070
  formatDate: function formatDate(date, fmt) {
5878
- return util["a" /* default */].formatDate(date, fmt);
6071
+ return date ? util["a" /* default */].formatDate(date, fmt) : this.dateValue;
5879
6072
  }
5880
6073
  }
5881
6074
  });
@@ -5894,8 +6087,8 @@ var componentNormalizer = __webpack_require__(3);
5894
6087
 
5895
6088
  var component = Object(componentNormalizer["a" /* default */])(
5896
6089
  src_columnvue_type_script_lang_js_,
5897
- columnvue_type_template_id_2dabb50c_render,
5898
- columnvue_type_template_id_2dabb50c_staticRenderFns,
6090
+ columnvue_type_template_id_19baf4a0_render,
6091
+ columnvue_type_template_id_19baf4a0_staticRenderFns,
5899
6092
  false,
5900
6093
  null,
5901
6094
  null,
@@ -5964,8 +6157,8 @@ var children_component = Object(componentNormalizer["a" /* default */])(
5964
6157
  )
5965
6158
 
5966
6159
  /* 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 () {
6160
+ // 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&
6161
+ var sizervue_type_template_id_a70172f8_render = function () {
5969
6162
  var _vm = this
5970
6163
  var _h = _vm.$createElement
5971
6164
  var _c = _vm._self._c || _h
@@ -5989,6 +6182,7 @@ var sizervue_type_template_id_58e4111d_render = function () {
5989
6182
  "row-key": "id",
5990
6183
  "default-expand-all": "",
5991
6184
  height: "500px",
6185
+ mode: _vm.mode,
5992
6186
  data: _vm.theads,
5993
6187
  thead: _vm.thead,
5994
6188
  "tree-props": { children: "childHead" },
@@ -6016,11 +6210,11 @@ var sizervue_type_template_id_58e4111d_render = function () {
6016
6210
  )
6017
6211
  : _vm._e()
6018
6212
  }
6019
- var sizervue_type_template_id_58e4111d_staticRenderFns = []
6020
- sizervue_type_template_id_58e4111d_render._withStripped = true
6213
+ var sizervue_type_template_id_a70172f8_staticRenderFns = []
6214
+ sizervue_type_template_id_a70172f8_render._withStripped = true
6021
6215
 
6022
6216
 
6023
- // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=58e4111d&
6217
+ // CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=a70172f8&
6024
6218
 
6025
6219
  // 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
6220
  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 +6244,13 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6050
6244
  //
6051
6245
  //
6052
6246
  //
6247
+ //
6053
6248
 
6054
6249
 
6055
6250
  /* harmony default export */ var sizervue_type_script_lang_js_ = ({
6056
6251
  name: 'Sizer',
6057
6252
  props: {
6253
+ mode: String,
6058
6254
  data: Array
6059
6255
  },
6060
6256
  computed: {
@@ -6190,8 +6386,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
6190
6386
 
6191
6387
  var sizer_component = Object(componentNormalizer["a" /* default */])(
6192
6388
  src_sizervue_type_script_lang_js_,
6193
- sizervue_type_template_id_58e4111d_render,
6194
- sizervue_type_template_id_58e4111d_staticRenderFns,
6389
+ sizervue_type_template_id_a70172f8_render,
6390
+ sizervue_type_template_id_a70172f8_staticRenderFns,
6195
6391
  false,
6196
6392
  null,
6197
6393
  null,
@@ -6208,11 +6404,11 @@ var external_qs_ = __webpack_require__(4);
6208
6404
  var external_qs_default = /*#__PURE__*/__webpack_require__.n(external_qs_);
6209
6405
 
6210
6406
  // 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; };
6407
+ 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
6408
 
6213
6409
  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
6410
 
6215
- var mainvue_type_script_lang_js_components, _watch;
6411
+ var mainvue_type_script_lang_js_components;
6216
6412
 
6217
6413
  //
6218
6414
  //
@@ -6385,6 +6581,12 @@ var mainvue_type_script_lang_js_components, _watch;
6385
6581
  //
6386
6582
  //
6387
6583
  //
6584
+ //
6585
+ //
6586
+ //
6587
+ //
6588
+ //
6589
+ //
6388
6590
 
6389
6591
 
6390
6592
 
@@ -6393,6 +6595,7 @@ var mainvue_type_script_lang_js_components, _watch;
6393
6595
 
6394
6596
 
6395
6597
 
6598
+ var systemMode = util["a" /* default */].win.top.systemMode || util["a" /* default */].win.systemMode || 'default';
6396
6599
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
6397
6600
  name: 'EsDataTable',
6398
6601
  inheritAttrs: false,
@@ -6416,6 +6619,10 @@ var mainvue_type_script_lang_js_components, _watch;
6416
6619
  }
6417
6620
  },
6418
6621
  props: {
6622
+ mode: {
6623
+ type: String,
6624
+ default: systemMode
6625
+ },
6419
6626
  service: String,
6420
6627
  loading: {
6421
6628
  type: Boolean,
@@ -6554,7 +6761,7 @@ var mainvue_type_script_lang_js_components, _watch;
6554
6761
  },
6555
6762
  // 单元格配置
6556
6763
  thead: {
6557
- type: [Array, String],
6764
+ type: Array,
6558
6765
  default: function _default() {
6559
6766
  return [];
6560
6767
  }
@@ -6645,11 +6852,13 @@ var mainvue_type_script_lang_js_components, _watch;
6645
6852
  dragSortIcon: {
6646
6853
  type: String,
6647
6854
  default: 'es-icon-caidan'
6648
- }
6855
+ },
6856
+ fields: Boolean
6649
6857
  },
6650
6858
  data: function data() {
6651
6859
  return {
6652
6860
  requests: [],
6861
+ toolbars: [],
6653
6862
  theadData: [],
6654
6863
  list: [],
6655
6864
  tableLoading: this.loading,
@@ -6659,11 +6868,11 @@ var mainvue_type_script_lang_js_components, _watch;
6659
6868
  editValue: {},
6660
6869
  restotalRow: null,
6661
6870
  showTotal: false,
6662
- toolbars: [],
6663
6871
  config: {
6664
6872
  pageNum: 1,
6665
6873
  pageSize: 20,
6666
- totalCount: 0
6874
+ totalCount: 0,
6875
+ layout: this.mode == 'plus' ? 'total, sizes, prev, pager, next, jumper' : undefined
6667
6876
  },
6668
6877
  searchWhere: {},
6669
6878
  advanceWhere: {},
@@ -6769,7 +6978,7 @@ var mainvue_type_script_lang_js_components, _watch;
6769
6978
  if (this.list && this.list.length) {
6770
6979
  return this.list;
6771
6980
  }
6772
- if (this.page && (_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6981
+ 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
6982
  this.config.totalCount = this.data.length - this.lose;
6774
6983
  }
6775
6984
  if (this.page && this.data.length > this.config.pageSize) {
@@ -6839,7 +7048,7 @@ var mainvue_type_script_lang_js_components, _watch;
6839
7048
  return api["v" /* findSysCode */];
6840
7049
  }
6841
7050
  },
6842
- watch: (_watch = {
7051
+ watch: {
6843
7052
  showToolbar: function showToolbar() {
6844
7053
  this.resetHeight();
6845
7054
  this.doLayout();
@@ -6851,11 +7060,6 @@ var mainvue_type_script_lang_js_components, _watch;
6851
7060
  this.list = this.setData();
6852
7061
  }
6853
7062
  },
6854
- page: function page() {
6855
- this.resetHeight();
6856
- this.doLayout();
6857
- },
6858
-
6859
7063
  scale: {
6860
7064
  deep: true,
6861
7065
  handler: function handler(val) {
@@ -6866,7 +7070,7 @@ var mainvue_type_script_lang_js_components, _watch;
6866
7070
  }
6867
7071
  },
6868
7072
  zoom: {
6869
- handler: function handler(val) {
7073
+ handler: function handler() {
6870
7074
  if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
6871
7075
  this.resetHeight();
6872
7076
  this.doLayout();
@@ -6880,10 +7084,10 @@ var mainvue_type_script_lang_js_components, _watch;
6880
7084
  thead: {
6881
7085
  deep: true,
6882
7086
  handler: function handler(val) {
6883
- if (typeof val === 'string') {
6884
- this.getTheads();
6885
- } else {
6886
- this.getOptions(val);
7087
+ this.getOptions(val);
7088
+
7089
+ if (Array.isArray(val) && val.length && this.fields && this.datas.length == 0) {
7090
+ this.getTableData();
6887
7091
  }
6888
7092
  }
6889
7093
  },
@@ -6894,50 +7098,54 @@ var mainvue_type_script_lang_js_components, _watch;
6894
7098
  }
6895
7099
  },
6896
7100
  param: {
6897
- deep: true,
6898
7101
  handler: function handler(val) {
7102
+ console.log(val, 9999);
6899
7103
  this.getTableData();
6900
7104
  }
6901
- }
6902
- }, _watch['page'] = {
6903
- immediate: true,
6904
- deep: true,
6905
- handler: function handler(val) {
6906
- if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') {
6907
- this.config = util["a" /* default */].extend({}, this.config, val);
6908
- } else {
6909
- this.config = {
6910
- pageNum: 1,
6911
- pageSize: 20,
6912
- totalCount: 0
6913
- };
7105
+ },
7106
+ page: {
7107
+ immediate: true,
7108
+ deep: true,
7109
+ handler: function handler(val) {
7110
+ if (this.$el) {
7111
+ this.resetHeight();
7112
+ this.doLayout();
7113
+ }
7114
+ if ((typeof val === 'undefined' ? 'undefined' : mainvue_type_script_lang_js_typeof(val)) === 'object') {
7115
+ this.config = util["a" /* default */].extend({}, this.config, val);
7116
+ }
6914
7117
  }
6915
- }
6916
- }, _watch['config.pageNum'] = function configPageNum() {
6917
- if (this.data.length) {
6918
- this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
6919
- this.list = this.setData();
6920
- }
6921
- }, _watch.height = {
6922
- immediate: true,
6923
- handler: function handler(val) {
6924
- if (val) {
6925
- this.tableHeight = val;
7118
+ },
7119
+ 'config.pageNum': function configPageNum() {
7120
+ if (this.data.length) {
7121
+ this.$refs.oaTable && this.$refs.oaTable.resetScroll && this.$refs.oaTable.resetScroll(0, 0);
7122
+ this.list = this.setData();
6926
7123
  }
6927
- }
6928
- }, _watch.maxHeight = {
6929
- immediate: true,
6930
- handler: function handler(val) {
6931
- if (val && this.height === undefined) {
6932
- this.tableHeight = val;
7124
+ },
7125
+
7126
+ height: {
7127
+ immediate: true,
7128
+ handler: function handler(val) {
7129
+ if (val) {
7130
+ this.tableHeight = val;
7131
+ }
7132
+ }
7133
+ },
7134
+ maxHeight: {
7135
+ immediate: true,
7136
+ handler: function handler(val) {
7137
+ if (val && this.height === undefined) {
7138
+ this.tableHeight = val;
7139
+ }
7140
+ }
7141
+ },
7142
+ display: function display(val) {
7143
+ if (val) {
7144
+ this.resetHeight();
7145
+ this.doLayout();
6933
7146
  }
6934
7147
  }
6935
- }, _watch.display = function display(val) {
6936
- if (val) {
6937
- this.resetHeight();
6938
- this.doLayout();
6939
- }
6940
- }, _watch),
7148
+ },
6941
7149
  beforeCreate: function beforeCreate() {
6942
7150
  var _this4 = this;
6943
7151
 
@@ -6948,23 +7156,33 @@ var mainvue_type_script_lang_js_components, _watch;
6948
7156
  created: function created() {
6949
7157
  if (Array.isArray(this.thead) && this.thead.length) {
6950
7158
  this.getOptions(this.thead);
7159
+ if (this.fields) {
7160
+ this.immediate && this.getTableData();
7161
+ this.chekOpenTotalArea();
7162
+ }
7163
+ }
7164
+ if (!this.fields) {
7165
+ this.immediate && this.getTableData();
7166
+ this.chekOpenTotalArea();
6951
7167
  }
6952
- this.immediate && this.getTableData();
6953
- this.chekOpenTotalArea();
6954
7168
  },
6955
7169
  mounted: function mounted() {
7170
+ console.log(1111111);
6956
7171
  if (this.data.length) {
6957
7172
  this.list = this.setData();
6958
7173
  }
6959
7174
  this.list.length && this.checkSelect(this.checked);
6960
7175
  this.resetHeight();
7176
+ if (util["a" /* default */].win.top != util["a" /* default */].win.self) {
7177
+ util["a" /* default */].win.onresize = Object(external_throttle_debounce_["debounce"])(500, this.resetHeight);
7178
+ }
6961
7179
  },
6962
7180
 
6963
7181
  methods: {
6964
7182
  setData: function setData() {
6965
7183
  var _this5 = this;
6966
7184
 
6967
- if (this.page && (_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
7185
+ if (this.page && (mainvue_type_script_lang_js_typeof(this.page) === 'object' && (!Object.prototype.hasOwnProperty.call(this.page, 'totalCount') || this.page.totalCount == 0) || this.page === true)) {
6968
7186
  this.config.totalCount = this.data.length - this.lose;
6969
7187
  }
6970
7188
  if (this.page && this.data.length > this.config.pageSize) {
@@ -7088,7 +7306,7 @@ var mainvue_type_script_lang_js_components, _watch;
7088
7306
  _index += (this.config.pageNum - 1) * this.config.pageSize;
7089
7307
  }
7090
7308
  var rows = {};
7091
- if (this.rowData && _typeof(this.rowData) == 'object') {
7309
+ if (this.rowData && mainvue_type_script_lang_js_typeof(this.rowData) == 'object') {
7092
7310
  rows = this.rowData;
7093
7311
  } else if (_index && this.rowData === true) {
7094
7312
  rows = JSON.parse(JSON.stringify(this.data[_index - 1]));
@@ -7151,40 +7369,8 @@ var mainvue_type_script_lang_js_components, _watch;
7151
7369
  }
7152
7370
  });
7153
7371
  },
7154
- getTheads: function getTheads() {
7155
- var _this10 = this;
7156
-
7157
- util["a" /* default */].ajax({
7158
- url: this.thead,
7159
- method: this.method,
7160
- format: this.format,
7161
- params: this.param,
7162
- data: this.param
7163
- }).then(function (res) {
7164
- if (res.rCode === 0) {
7165
- var results = res.results;
7166
- if (Array.isArray(results)) {
7167
- _this10.theadData = results;
7168
- } else {
7169
- _this10.theadData = results.theadData || [];
7170
- _this10.list = results.data || results.records || [];
7171
- _this10.config.totalCount = results.count || results.total || results.totalCount;
7172
- _this10.getOptions(_this10.theadData);
7173
- }
7174
- } else {
7175
- _this10.theadData = [];
7176
- var msg = res.msg || '系统错误,请联系管理员!';
7177
- _this10.$message.error(msg);
7178
- }
7179
- _this10.$emit('success', res);
7180
- }).catch(function (err) {
7181
- if (err.message && err.message !== 'canceled') {
7182
- _this10.$message.error(err.message);
7183
- }
7184
- });
7185
- },
7186
7372
  getTableDatas: function getTableDatas(res) {
7187
- var _this11 = this;
7373
+ var _this10 = this;
7188
7374
 
7189
7375
  var where = void 0;
7190
7376
  var first = void 0;
@@ -7216,6 +7402,20 @@ var mainvue_type_script_lang_js_components, _watch;
7216
7402
  }
7217
7403
  }
7218
7404
  }
7405
+ if (this.fields) {
7406
+ var fields = [];
7407
+ this.thead.forEach(function (item) {
7408
+ if (item.field || item.prop) {
7409
+ fields.push(item.field || item.prop);
7410
+ }
7411
+ });
7412
+ var initLogin = util["a" /* default */].getStorage('initLogin');
7413
+ initLogin && (initLogin = JSON.parse(initLogin));
7414
+ reqData['fields'] = initLogin.secret ? util["a" /* default */].esmEncrypt({
7415
+ data: fields.join(','),
7416
+ key: initLogin.secret
7417
+ }) : fields.join(',');
7418
+ }
7219
7419
  this.tableLoading = true;
7220
7420
  util["a" /* default */].ajax(mainvue_type_script_lang_js_extends({}, this.ajaxConfig, {
7221
7421
  url: this.url,
@@ -7224,42 +7424,43 @@ var mainvue_type_script_lang_js_components, _watch;
7224
7424
  params: reqData,
7225
7425
  data: reqData
7226
7426
  })).then(function (res) {
7227
- _this11.tableLoading = false;
7427
+ _this10.tableLoading = false;
7228
7428
  if (res.rCode === 0 || res.status === 'success') {
7229
- if (_this11.isReload) {
7230
- _this11.list = [];
7231
- _this11.isReload = false;
7429
+ if (_this10.isReload) {
7430
+ _this10.list = [];
7431
+ _this10.isReload = false;
7232
7432
  }
7233
- var results = _this11.parseData !== undefined ? _this11.parseData(res.results || res.data || res) : res.results || res.data;
7234
- if (_this11.infiniteScroll) {
7235
- _this11.list = _this11.list.concat(results.data || results.records || results.list);
7236
- _this11.config.pageNum += 1;
7433
+ var results = _this10.parseData !== undefined ? _this10.parseData(res.results || res.data || res) : res.results || res.data;
7434
+ if (_this10.infiniteScroll) {
7435
+ _this10.list = _this10.list.concat(results.data || results.records || results.list);
7436
+ _this10.config.pageNum += 1;
7237
7437
  } else {
7238
- _this11.list = results.data || results.records || results.list;
7239
- _this11.$nextTick(function () {
7240
- _this11.$refs.oaTable && _this11.$refs.oaTable.resetScroll && _this11.$refs.oaTable.resetScroll(0, 0);
7438
+ _this10.list = results.data || results.records || results.list;
7439
+ _this10.$nextTick(function () {
7440
+ _this10.$refs.oaTable && _this10.$refs.oaTable.resetScroll && _this10.$refs.oaTable.resetScroll(0, 0);
7241
7441
  });
7242
7442
  }
7243
- _this11.config.totalCount = results.count || results.total || results.totalCount;
7244
- _this11.checked && _this11.$nextTick(function () {
7245
- _this11.checkSelect(_this11.checked);
7443
+ _this10.config.totalCount = results.count || results.total || results.totalCount;
7444
+ _this10.config.pageCount = results.pageCount;
7445
+ _this10.checked && _this10.$nextTick(function () {
7446
+ _this10.checkSelect(_this10.checked);
7246
7447
  });
7247
- if (_this11.infiniteScroll && _this11.config.totalCount === _this11.list.length) {
7248
- _this11.infiniteDisabled = true;
7448
+ if (_this10.infiniteScroll && _this10.config.totalCount === _this10.list.length) {
7449
+ _this10.infiniteDisabled = true;
7249
7450
  }
7250
7451
  } else {
7251
- _this11.list = [];
7452
+ _this10.list = [];
7252
7453
  //this.tableHeight = false;
7253
7454
  var msg = res.msg || '系统错误,请联系管理员!';
7254
- _this11.$message.error(msg);
7455
+ _this10.$message.error(msg);
7255
7456
  }
7256
- _this11.$emit('success', res);
7457
+ _this10.$emit('success', res);
7257
7458
  }).catch(function (err) {
7258
7459
  //this.tableHeight = false;
7259
7460
  if (err.message && err.message !== 'canceled') {
7260
- _this11.$message.error(err.message);
7461
+ _this10.$message.error(err.message);
7261
7462
  }
7262
- _this11.tableLoading = false;
7463
+ _this10.tableLoading = false;
7263
7464
  });
7264
7465
  },
7265
7466
  selectionChange: function selectionChange(data) {
@@ -7288,7 +7489,7 @@ var mainvue_type_script_lang_js_components, _watch;
7288
7489
  this.$refs.oaTable.clearFilter(columnKey);
7289
7490
  },
7290
7491
  doLayout: function doLayout() {
7291
- this.$refs.oaTable.doLayout();
7492
+ this.$refs.oaTable && this.$refs.oaTable.doLayout();
7292
7493
  },
7293
7494
  sort: function sort(prop, order) {
7294
7495
  this.$refs.oaTable.sort(prop, order);
@@ -7304,7 +7505,7 @@ var mainvue_type_script_lang_js_components, _watch;
7304
7505
  this.$emit('change', data, this.list);
7305
7506
  },
7306
7507
  handleAjax: function handleAjax(handle, row) {
7307
- var _this12 = this;
7508
+ var _this11 = this;
7308
7509
 
7309
7510
  this.changeLoading(true, handle.text + '\u4E2D...');
7310
7511
  var params = handle.param || {};
@@ -7360,9 +7561,9 @@ var mainvue_type_script_lang_js_components, _watch;
7360
7561
  method: handle.method,
7361
7562
  format: handle.format
7362
7563
  })).then(function (res) {
7363
- _this12.changeLoading(false);
7564
+ _this11.changeLoading(false);
7364
7565
  if (res.rCode === 0) {
7365
- _this12.$message({
7566
+ _this11.$message({
7366
7567
  message: handle.text + '\u6210\u529F',
7367
7568
  duration: 2000,
7368
7569
  type: 'success',
@@ -7370,17 +7571,17 @@ var mainvue_type_script_lang_js_components, _watch;
7370
7571
  var first = Object.prototype.hasOwnProperty.call(handle, 'first') ? handle.first : false;
7371
7572
  var reload = handle.reload || true;
7372
7573
  if (reload) {
7373
- _this12.reload({}, first);
7574
+ _this11.reload({}, first);
7374
7575
  }
7375
7576
  }
7376
7577
  });
7377
7578
  } else {
7378
- _this12.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7579
+ _this11.$message.error(res.msg || handle.text + '\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01');
7379
7580
  }
7380
7581
  }).catch(function (err) {
7381
- _this12.changeLoading(false);
7582
+ _this11.changeLoading(false);
7382
7583
  if (err.message && err.message !== 'canceled') {
7383
- _this12.$message.error(err.message);
7584
+ _this11.$message.error(err.message);
7384
7585
  }
7385
7586
  });
7386
7587
  },
@@ -7405,8 +7606,9 @@ var mainvue_type_script_lang_js_components, _watch;
7405
7606
  return mainvue_type_script_lang_js_extends({}, obj, item);
7406
7607
  },
7407
7608
  handleClick: function handleClick(res) {
7408
- var _this13 = this;
7609
+ var _this12 = this;
7409
7610
 
7611
+ console.log(1212);
7410
7612
  var row = res.row,
7411
7613
  handle = res.handle;
7412
7614
 
@@ -7441,7 +7643,7 @@ var mainvue_type_script_lang_js_components, _watch;
7441
7643
  cancelButtonText: '取消',
7442
7644
  type: 'warning'
7443
7645
  }).then(function () {
7444
- _this13.handleAjax(handle, rows);
7646
+ _this12.handleAjax(handle, rows);
7445
7647
  }).catch(function () {});
7446
7648
  } else {
7447
7649
  this.handleAjax(handle, rows);
@@ -7529,7 +7731,7 @@ var mainvue_type_script_lang_js_components, _watch;
7529
7731
  var type = ['selection', 'index', 'expand'];
7530
7732
  thead = thead.map(function (item) {
7531
7733
  return item.filter(function (ele) {
7532
- return !type.includes(ele.type) && ele.label !== text && !_this13.exportExcludeLabel.includes(ele.label);
7734
+ return !type.includes(ele.type) && ele.label !== text && !_this12.exportExcludeLabel.includes(ele.label);
7533
7735
  });
7534
7736
  });
7535
7737
  util["a" /* default */].exportXls({
@@ -7630,40 +7832,40 @@ var mainvue_type_script_lang_js_components, _watch;
7630
7832
  }
7631
7833
  },
7632
7834
  resetHeight: function resetHeight(warn) {
7633
- var _this14 = this;
7835
+ var _this13 = this;
7634
7836
 
7635
7837
  this.$nextTick(function () {
7636
- if (_this14.full && !_this14.height && !_this14.maxHeight) {
7637
- var height = _this14.$el.parentNode.offsetHeight;
7838
+ if (_this13.full && !_this13.height && !_this13.maxHeight) {
7839
+ var height = _this13.$el.parentNode.offsetHeight;
7638
7840
  if (height) {
7639
- height = parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'height', '%'), 10);
7640
- height = (height == NaN ? 0 : height) - parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-top'), 10) - parseInt(util["a" /* default */].getStyle(_this14.$el.parentNode, 'padding-bottom'), 10);
7641
- for (var i = 0; i < _this14.$el.parentNode.childNodes.length; i++) {
7642
- var ele = _this14.$el.parentNode.childNodes[i];
7643
- if (ele !== _this14.$el && ele.offsetHeight !== undefined) {
7841
+ height = parseInt(util["a" /* default */].getStyle(_this13.$el.parentNode, 'height', '%'), 10);
7842
+ 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);
7843
+ for (var i = 0; i < _this13.$el.parentNode.childNodes.length; i++) {
7844
+ var ele = _this13.$el.parentNode.childNodes[i];
7845
+ if (ele !== _this13.$el && ele.offsetHeight !== undefined) {
7644
7846
  height = height - ele.offsetHeight - parseInt(util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
7645
7847
  }
7646
7848
  }
7647
- height -= _this14.showToolbar ? 45 : 0;
7648
- height -= _this14.page === false ? 0 : 46;
7649
- height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
7650
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
7651
- height -= parseInt(util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
7652
- var emptyText = _this14.$refs.esTableContent.querySelector('.el-table__empty-text');
7849
+ height -= _this13.showToolbar ? _this13.$refs.toolbar.$el.offsetHeight : 0;
7850
+ height -= _this13.page === false ? 0 : _this13.$refs.pagination.$el.offsetHeight;
7851
+ height -= _this13.title ? _this13.$refs.title.offsetHeight : 0;
7852
+ height -= parseInt(util["a" /* default */].getStyle(_this13.$refs.esTableContent, 'padding-top'), 10);
7853
+ height -= parseInt(util["a" /* default */].getStyle(_this13.$refs.esTableContent, 'padding-bottom'), 10);
7854
+ var emptyText = _this13.$refs.esTableContent.querySelector('.el-table__empty-text');
7653
7855
  var eht = 0;
7654
7856
  if (emptyText) {
7655
7857
  eht = emptyText.offsetHeight;
7656
- var thead = _this14.$refs.esTableContent.querySelector('.el-table__header');
7858
+ var thead = _this13.$refs.esTableContent.querySelector('.el-table__header');
7657
7859
  thead && (eht += thead.offsetHeight);
7658
7860
  }
7659
7861
  if (height > 1 && height - eht > 1) {
7660
- _this14.tableHeight = height;
7862
+ _this13.tableHeight = height;
7661
7863
  } else {
7662
- console.warn(_this14.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7864
+ console.warn(_this13.$el.parentNode, '\u83B7\u53D6\u4E0D\u5230\u9AD8\u5EA6\uFF01');
7663
7865
  }
7664
7866
  } else if (!warn) {
7665
7867
  setTimeout(function () {
7666
- _this14.resetHeight(true);
7868
+ _this13.resetHeight(true);
7667
7869
  }, 1000);
7668
7870
  }
7669
7871
  }
@@ -7696,31 +7898,31 @@ var mainvue_type_script_lang_js_components, _watch;
7696
7898
  this.$emit('update-drag-sort', data, event);
7697
7899
  },
7698
7900
  mergeThead: function mergeThead(res) {
7699
- var _this15 = this;
7901
+ var _this14 = this;
7700
7902
 
7701
7903
  this.theadData = res;
7702
7904
  this.icon = true;
7703
7905
  setTimeout(function () {
7704
- _this15.show = true;
7906
+ _this14.show = true;
7705
7907
  }, 100);
7706
7908
  },
7707
7909
  setOptions: function setOptions(val, sysCode) {
7708
7910
  this.$set(this.options, sysCode, val);
7709
7911
  },
7710
7912
  bindEventBus: function bindEventBus() {
7711
- var _this16 = this;
7913
+ var _this15 = this;
7712
7914
 
7713
7915
  this.sysCodes.forEach(function (item) {
7714
7916
  bus["a" /* default */].$on(item, function (val) {
7715
- _this16.setOptions(val, item);
7917
+ _this15.setOptions(val, item);
7716
7918
  });
7717
7919
  });
7718
7920
  },
7719
7921
  unbindEventBus: function unbindEventBus() {
7720
- var _this17 = this;
7922
+ var _this16 = this;
7721
7923
 
7722
7924
  this.sysCodes.forEach(function (item) {
7723
- bus["a" /* default */].$off(item, _this17.setOptions);
7925
+ bus["a" /* default */].$off(item, _this16.setOptions);
7724
7926
  });
7725
7927
  },
7726
7928
  reset: function reset() {
@@ -7740,7 +7942,7 @@ var mainvue_type_script_lang_js_components, _watch;
7740
7942
 
7741
7943
  var main_component = Object(componentNormalizer["a" /* default */])(
7742
7944
  src_mainvue_type_script_lang_js_,
7743
- mainvue_type_template_id_5c8208a6_render,
7945
+ mainvue_type_template_id_7da1e74d_render,
7744
7946
  staticRenderFns,
7745
7947
  false,
7746
7948
  null,