eoss-ui 0.4.18 → 0.4.20

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 (81) hide show
  1. package/lib/button-group.js +88 -88
  2. package/lib/button.js +90 -90
  3. package/lib/card.js +2 -2
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +89 -89
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +870 -198
  8. package/lib/data-table.js +91 -91
  9. package/lib/date-picker.js +90 -90
  10. package/lib/dialog.js +138 -105
  11. package/lib/enterprise.js +2 -2
  12. package/lib/eoss-ui.common.js +1457 -630
  13. package/lib/error-page.js +2 -2
  14. package/lib/flow-group.js +112 -95
  15. package/lib/flow-list.js +92 -92
  16. package/lib/flow.js +152 -146
  17. package/lib/form.js +184 -103
  18. package/lib/handle-user.js +91 -91
  19. package/lib/handler.js +91 -91
  20. package/lib/index.js +1 -1
  21. package/lib/input-number.js +90 -90
  22. package/lib/input.js +90 -90
  23. package/lib/label.js +2 -2
  24. package/lib/login.js +174 -131
  25. package/lib/main.js +111 -108
  26. package/lib/mainComp.js +107 -106
  27. package/lib/menu.js +2 -2
  28. package/lib/nav.js +90 -90
  29. package/lib/notify.js +95 -95
  30. package/lib/page.js +90 -90
  31. package/lib/pagination.js +2 -2
  32. package/lib/player.js +90 -90
  33. package/lib/qr-code.js +97 -97
  34. package/lib/radio-group.js +91 -91
  35. package/lib/select-ganged.js +90 -90
  36. package/lib/select.js +101 -101
  37. package/lib/selector-panel.js +115 -108
  38. package/lib/selector.js +91 -91
  39. package/lib/sizer.js +92 -92
  40. package/lib/steps.js +90 -90
  41. package/lib/switch.js +90 -90
  42. package/lib/table-form.js +97 -97
  43. package/lib/tabs-panel.js +2 -2
  44. package/lib/tabs.js +113 -94
  45. package/lib/theme-chalk/data-table-form.css +1 -1
  46. package/lib/theme-chalk/index.css +1 -1
  47. package/lib/tips.js +91 -91
  48. package/lib/toolbar.js +2 -2
  49. package/lib/tree-group.js +105 -95
  50. package/lib/tree.js +97 -93
  51. package/lib/upload.js +175 -125
  52. package/lib/wujie.js +90 -90
  53. package/lib/wxlogin.js +90 -90
  54. package/package.json +2 -2
  55. package/packages/data-table-form/src/checkbox.vue +101 -0
  56. package/packages/data-table-form/src/radio.vue +65 -0
  57. package/packages/data-table-form/src/table.vue +34 -6
  58. package/packages/data-table-form/src/tbody.vue +139 -25
  59. package/packages/dialog/src/main.vue +29 -3
  60. package/packages/flow/src/main.vue +103 -87
  61. package/packages/flow-group/src/main.vue +22 -13
  62. package/packages/form/src/main.vue +564 -471
  63. package/packages/login/src/main.vue +79 -34
  64. package/packages/main/src/main.vue +3 -1
  65. package/packages/select/src/main.vue +20 -20
  66. package/packages/selector-panel/src/main.vue +27 -17
  67. package/packages/tabs/src/main.vue +20 -12
  68. package/packages/theme-chalk/lib/data-table-form.css +1 -1
  69. package/packages/theme-chalk/lib/index.css +1 -1
  70. package/packages/theme-chalk/src/data-table-form.scss +7 -6
  71. package/packages/theme-chalk/src/index.scss +0 -1
  72. package/packages/tree/src/main.vue +4 -0
  73. package/packages/tree-group/src/main.vue +7 -4
  74. package/packages/upload/src/main.vue +77 -20
  75. package/src/index.js +1 -4
  76. package/lib/ca-login.js +0 -326
  77. package/lib/theme-chalk/ca-login.css +0 -1
  78. package/packages/ca-login/index.js +0 -5
  79. package/packages/ca-login/src/main.vue +0 -62
  80. package/packages/theme-chalk/lib/ca-login.css +0 -1
  81. package/packages/theme-chalk/src/ca-login.scss +0 -4
package/lib/login.js CHANGED
@@ -2240,120 +2240,120 @@ var watermark = function watermark(option) {
2240
2240
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2241
2241
 
2242
2242
  "use strict";
2243
- /* unused harmony export doCaLogin */
2244
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doUserLogin; });
2245
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doQrLogin; });
2246
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return logout; });
2247
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return initLogin; });
2248
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return switchUserTo; });
2243
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCaLogin; });
2244
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doUserLogin; });
2245
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doQrLogin; });
2246
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return logout; });
2247
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return initLogin; });
2248
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return switchUserTo; });
2249
2249
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
2250
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getLoginCode; });
2251
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCodeLogin; });
2250
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getLoginCode; });
2251
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCodeLogin; });
2252
2252
  /* unused harmony export updateCode */
2253
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getModifyPassCode; });
2253
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getModifyPassCode; });
2254
2254
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
2255
2255
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
2256
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return initModifyPassword; });
2257
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doWechatQrLogin; });
2258
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return mainConfig; });
2259
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return initUserSet; });
2260
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserInfo; });
2256
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return initModifyPassword; });
2257
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doWechatQrLogin; });
2258
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return mainConfig; });
2259
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return initUserSet; });
2260
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return updateUserInfo; });
2261
2261
  /* unused harmony export getUserImgUrl */
2262
2262
  /* unused harmony export getDoorIndex */
2263
2263
  /* unused harmony export refreshOnlineUsers */
2264
2264
  /* unused harmony export getQuickMenuIds */
2265
2265
  /* unused harmony export getApplicationIdArray */
2266
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getComplexApplications; });
2267
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getComplexApplicationsNew; });
2266
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getComplexApplications; });
2267
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getComplexApplicationsNew; });
2268
2268
  /* unused harmony export getUserCustomInfo */
2269
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateUserCustomInfo; });
2270
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return sysMsgPage; });
2271
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return ignoreSysMsg; });
2272
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return ignoreAllSysMsg; });
2273
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getAdjunctProperties; });
2274
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploads; });
2275
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadOnlyOne; });
2276
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return getAdjunctFileInfos; });
2277
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadSort; });
2278
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return downloadByAdjunctId; });
2279
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return uploadDownloads; });
2280
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return previewAdjunct; });
2281
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return previewAdjunct2; });
2282
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunctOffice; });
2269
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateUserCustomInfo; });
2270
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sysMsgPage; });
2271
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return ignoreSysMsg; });
2272
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return ignoreAllSysMsg; });
2273
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getAdjunctProperties; });
2274
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploads; });
2275
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadOnlyOne; });
2276
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return getAdjunctFileInfos; });
2277
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploadSort; });
2278
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
2279
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return uploadDownloads; });
2280
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return previewAdjunct; });
2281
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunct2; });
2282
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return previewAdjunctOffice; });
2283
2283
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return delAdjunct; });
2284
2284
  /* unused harmony export upload_updateClassify */
2285
2285
  /* unused harmony export getDeleteAdjunctFileInfos */
2286
2286
  /* unused harmony export getPictureBase64 */
2287
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getSelectorOrgTree; });
2288
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getSelectorOrgDetail; });
2289
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getOrgMainTree; });
2290
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getSelectOrgsubids; });
2291
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return findSysCode; });
2287
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectorOrgTree; });
2288
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getSelectorOrgDetail; });
2289
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getOrgMainTree; });
2290
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getSelectOrgsubids; });
2291
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findSysCode; });
2292
2292
  /* unused harmony export findUserBaseInfo */
2293
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return gethelpdoc; });
2293
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return gethelpdoc; });
2294
2294
  /* unused harmony export getCurrentuser */
2295
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return mainDetail; });
2296
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toStartFlow; });
2297
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return tempSave; });
2295
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return mainDetail; });
2296
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartFlow; });
2297
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return tempSave; });
2298
2298
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
2299
2299
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
2300
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return editCommonOpion; });
2301
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return saveCommonOpinion; });
2302
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return updateCommonOpinion; });
2300
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
2301
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return saveCommonOpinion; });
2302
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return updateCommonOpinion; });
2303
2303
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
2304
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getProcessDefList; });
2305
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getNodeInfo; });
2306
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return findCodeValues; });
2307
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findSysCodes; });
2308
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getNotificationMsg; });
2309
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getHandleInfoHtml; });
2310
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return taskHandleHtml; });
2304
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getProcessDefList; });
2305
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getNodeInfo; });
2306
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return findCodeValues; });
2307
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCodes; });
2308
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getNotificationMsg; });
2309
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getHandleInfoHtml; });
2310
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskHandleHtml; });
2311
2311
  /* unused harmony export getView */
2312
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return register; });
2313
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return pendedhistoryList; });
2314
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toTaskRejectHtml; });
2315
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskRejectHtml; });
2316
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toStartTaskRead; });
2317
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskReadIndex; });
2318
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return taskReadHtml; });
2319
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return rejectAndEnd; });
2320
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toSendMsg; });
2321
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendMsg; });
2322
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return endFlowHtml; });
2323
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return handleInfo; });
2324
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return loginUserInfo; });
2325
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return wss; });
2326
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return topic; });
2327
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getPresetCustomInfo; });
2328
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getPresetNodeInfo; });
2329
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTransferIndex; });
2330
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTransfer; });
2331
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return toPresetInfoListIndex; });
2312
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return register; });
2313
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return pendedhistoryList; });
2314
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskRejectHtml; });
2315
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskRejectHtml; });
2316
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartTaskRead; });
2317
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toStartTaskReadIndex; });
2318
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskReadHtml; });
2319
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return rejectAndEnd; });
2320
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toSendMsg; });
2321
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendMsg; });
2322
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowHtml; });
2323
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return handleInfo; });
2324
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return loginUserInfo; });
2325
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return wss; });
2326
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return topic; });
2327
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getPresetCustomInfo; });
2328
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getPresetNodeInfo; });
2329
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskTransferIndex; });
2330
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskTransfer; });
2331
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return toPresetInfoListIndex; });
2332
2332
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
2333
2333
  /* unused harmony export historyListJson */
2334
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return pendedhistoryListJson; });
2335
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pressListJson; });
2334
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pendedhistoryListJson; });
2335
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return pressListJson; });
2336
2336
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
2337
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return isCanStartSubFlow; });
2338
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskUnionExamine; });
2339
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskUnionExamine; });
2340
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskTakeAdvice; });
2341
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskTakeAdvice; });
2342
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskStartDraft; });
2343
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskStartDraft; });
2344
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toTaskReview; });
2345
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskReview; });
2346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionSeal; });
2347
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionSeal; });
2348
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTwoOfficesDispatch; });
2349
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return twoOfficesDispatch; });
2350
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendList; });
2351
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return sendInfo; });
2337
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return isCanStartSubFlow; });
2338
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskUnionExamine; });
2339
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskUnionExamine; });
2340
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskTakeAdvice; });
2341
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskTakeAdvice; });
2342
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskStartDraft; });
2343
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskStartDraft; });
2344
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskReview; });
2345
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskReview; });
2346
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskUnionSeal; });
2347
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskUnionSeal; });
2348
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTwoOfficesDispatch; });
2349
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return twoOfficesDispatch; });
2350
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendList; });
2351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendInfo; });
2352
2352
  /* unused harmony export sendSave */
2353
2353
  /* unused harmony export sendUpdate */
2354
2354
  /* unused harmony export sendDelete */
2355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return sendBatch; });
2356
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return formContents; });
2355
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return sendBatch; });
2356
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return formContents; });
2357
2357
  // 登录
2358
2358
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
2359
2359
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -2773,7 +2773,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
2773
2773
  // ESM COMPAT FLAG
2774
2774
  __webpack_require__.r(__webpack_exports__);
2775
2775
 
2776
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=88b0610e&
2776
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=51ac81ed&
2777
2777
  var render = function () {
2778
2778
  var _vm = this
2779
2779
  var _h = _vm.$createElement
@@ -3561,6 +3561,7 @@ var render = function () {
3561
3561
  [_c("es-clients", _vm._b({}, "es-clients", _vm.download, false))],
3562
3562
  1
3563
3563
  ),
3564
+ _vm._t("calogin"),
3564
3565
  ],
3565
3566
  2
3566
3567
  )
@@ -3570,7 +3571,7 @@ var staticRenderFns = []
3570
3571
  render._withStripped = true
3571
3572
 
3572
3573
 
3573
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=88b0610e&
3574
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=51ac81ed&
3574
3575
 
3575
3576
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=669156c6&
3576
3577
  var resetPasswordvue_type_template_id_669156c6_render = function () {
@@ -3822,7 +3823,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3822
3823
  var _this = this;
3823
3824
 
3824
3825
  util["a" /* default */].ajax({
3825
- url: api["P" /* initModifyPassword */]
3826
+ url: api["Q" /* initModifyPassword */]
3826
3827
  }).then(function (res) {
3827
3828
  if (res.rCode === 0) {
3828
3829
  var results = JSON.parse(JSON.stringify(res.results));
@@ -3882,7 +3883,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3882
3883
  var _this3 = this;
3883
3884
 
3884
3885
  util["a" /* default */].ajax({
3885
- url: api["A" /* getModifyPassCode */],
3886
+ url: api["B" /* getModifyPassCode */],
3886
3887
  params: params
3887
3888
  }).then(function (res) {
3888
3889
  if (res.rCode === 0) {
@@ -4282,6 +4283,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4282
4283
  //
4283
4284
  //
4284
4285
  //
4286
+ //
4285
4287
 
4286
4288
 
4287
4289
 
@@ -4298,7 +4300,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4298
4300
  //初始登录配置接口地址
4299
4301
  initLogin: {
4300
4302
  type: String,
4301
- default: api["O" /* initLogin */]
4303
+ default: api["P" /* initLogin */]
4302
4304
  },
4303
4305
  title: {
4304
4306
  type: String,
@@ -4370,12 +4372,17 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4370
4372
  //账号登录接口地址
4371
4373
  action: {
4372
4374
  type: String,
4373
- default: api["l" /* doUserLogin */]
4375
+ default: api["m" /* doUserLogin */]
4376
+ },
4377
+ //ca登录地址
4378
+ caAction: {
4379
+ type: String,
4380
+ default: api["j" /* doCaLogin */]
4374
4381
  },
4375
4382
  //扫码登录接口地址
4376
4383
  scanAction: {
4377
4384
  type: String,
4378
- default: api["k" /* doQrLogin */]
4385
+ default: api["l" /* doQrLogin */]
4379
4386
  },
4380
4387
  //图片验证码接口地址
4381
4388
  codeAction: {
@@ -4384,15 +4391,15 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4384
4391
  },
4385
4392
  getLoginCode: {
4386
4393
  type: String,
4387
- default: api["z" /* getLoginCode */]
4394
+ default: api["A" /* getLoginCode */]
4388
4395
  },
4389
4396
  doCodeLogin: {
4390
4397
  type: String,
4391
- default: api["j" /* doCodeLogin */]
4398
+ default: api["k" /* doCodeLogin */]
4392
4399
  },
4393
4400
  doWechatQrLogin: {
4394
4401
  type: String,
4395
- default: api["m" /* doWechatQrLogin */]
4402
+ default: api["n" /* doWechatQrLogin */]
4396
4403
  },
4397
4404
  imgCode: {
4398
4405
  type: [Boolean, Object],
@@ -4504,21 +4511,21 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4504
4511
  iconfonts: function iconfonts() {
4505
4512
  var types = this.loginType.split(',');
4506
4513
  return types.length > 2 ? {
4507
- '0': { type: '0', icon: 'es-icon-shuru', name: '账号登录' },
4508
- '1': { type: '1', icon: 'es-icon-usb-key', name: '证书登录' },
4509
- '3': { type: '3', icon: 'es-icon-saoma', name: '扫码登录' },
4510
- '6': { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4511
- '7': { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
4512
- '9': { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
4513
- '11': { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' }
4514
+ 0: { type: '0', icon: 'es-icon-shuru', name: '账号登录' },
4515
+ 1: { type: '1', icon: 'es-icon-usb-key', name: '证书登录' },
4516
+ 3: { type: '3', icon: 'es-icon-saoma', name: '扫码登录' },
4517
+ 6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4518
+ 7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
4519
+ 9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
4520
+ 11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' }
4514
4521
  } : {
4515
- '0': { type: '0', icon: 'es-icon-jianpan', name: '账号登录' },
4516
- '1': { type: '1', icon: 'es-icon-ca', name: '证书登录' },
4517
- '3': { type: '3', icon: 'es-icon-qrcode', name: '扫码登录' },
4518
- '6': { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4519
- '7': { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
4520
- '9': { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
4521
- '11': {
4522
+ 0: { type: '0', icon: 'es-icon-jianpan', name: '账号登录' },
4523
+ 1: { type: '1', icon: 'es-icon-ca', name: '证书登录' },
4524
+ 3: { type: '3', icon: 'es-icon-qrcode', name: '扫码登录' },
4525
+ 6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4526
+ 7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
4527
+ 9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
4528
+ 11: {
4522
4529
  type: '11',
4523
4530
  icon: 'es-icon-wodeyouxiang',
4524
4531
  name: '邮箱登录'
@@ -4759,9 +4766,11 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4759
4766
  switchLogin: function switchLogin(res) {
4760
4767
  //this.$refs.login && this.$refs.login.resetFields();
4761
4768
  this.$refs.login && this.$refs.login.clearValidate();
4762
-
4763
- this.active = res;
4764
- this.formData = JSON.parse(JSON.stringify(this.defaultModel));
4769
+ if (res != 1) {
4770
+ this.active = res;
4771
+ this.formData = JSON.parse(JSON.stringify(this.defaultModel));
4772
+ }
4773
+ this.$emit('change-type', res, this.identifyingId);
4765
4774
  },
4766
4775
  isShow: function isShow(res) {
4767
4776
  return this.loginType.indexOf(res) > -1;
@@ -4974,11 +4983,45 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4974
4983
  _this6.onError(res);
4975
4984
  }
4976
4985
  }).catch(function (err) {
4986
+ _this6.submit = false;
4977
4987
  if (err.message && err.message !== 'canceled') {
4978
4988
  _this6.$message.error(err.message);
4979
4989
  }
4980
4990
  });
4981
4991
  },
4992
+ caLogin: function caLogin(signedData) {
4993
+ var _this7 = this;
4994
+
4995
+ util["a" /* default */].ajax({
4996
+ method: 'post',
4997
+ url: this.caAction,
4998
+ data: { identifyingId: this.identifyingId, signedData: signedData }
4999
+ }).then(function (res) {
5000
+ _this7.submit = false;
5001
+ if (res.rCode == 0) {
5002
+ var results = res.results;
5003
+ _this7.handleResults(results);
5004
+ if (_this7.onSuccess) {
5005
+ _this7.onSuccess(res);
5006
+ }
5007
+ } else {
5008
+ var msg = res.results && res.results.msg ? res.results.msg : res.msg;
5009
+ _this7.$message({
5010
+ message: msg || '系统错误,请联系管理员!',
5011
+ type: 'error',
5012
+ duration: 1500,
5013
+ onClose: function onClose() {
5014
+ _this7.getImgCode();
5015
+ }
5016
+ });
5017
+ _this7.onError(res);
5018
+ }
5019
+ }).catch(function (err) {
5020
+ if (err.message && err.message !== 'canceled') {
5021
+ _this7.$message.error(err.message);
5022
+ }
5023
+ });
5024
+ },
4982
5025
  handleForget: function handleForget() {
4983
5026
  if (typeof this.forget === 'string') {
4984
5027
  util["a" /* default */].win.open(this.forgetUrl);
@@ -4992,18 +5035,18 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4992
5035
 
4993
5036
  //获取app登录信息
4994
5037
  loginInfo: function loginInfo(res) {
4995
- var _this7 = this;
5038
+ var _this8 = this;
4996
5039
 
4997
5040
  clearInterval(this.interval);
4998
5041
  if (res) {
4999
5042
  //this.modifyPasswordfun();
5000
5043
  this.interval = setInterval(function () {
5001
- _this7.initRequestLoginInfo();
5044
+ _this8.initRequestLoginInfo();
5002
5045
  }, 1000);
5003
5046
  }
5004
5047
  },
5005
5048
  initRequestLoginInfo: function initRequestLoginInfo() {
5006
- var _this8 = this;
5049
+ var _this9 = this;
5007
5050
 
5008
5051
  util["a" /* default */].ajax({
5009
5052
  method: 'post',
@@ -5014,17 +5057,17 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5014
5057
  }).then(function (res) {
5015
5058
  if (res.rCode === 0) {
5016
5059
  var results = res.results;
5017
- _this8.handleResults(results, 3);
5060
+ _this9.handleResults(results, 3);
5018
5061
  }
5019
5062
  }).catch(function (err) {
5020
- clearInterval(_this8.interval);
5063
+ clearInterval(_this9.interval);
5021
5064
  if (err.message && err.message !== 'canceled') {
5022
- _this8.$message.error(err.message);
5065
+ _this9.$message.error(err.message);
5023
5066
  }
5024
5067
  });
5025
5068
  },
5026
5069
  handleResults: function handleResults(results, type) {
5027
- var _this9 = this;
5070
+ var _this10 = this;
5028
5071
 
5029
5072
  this.loginInfo(false);
5030
5073
  switch (results.statusCode) {
@@ -5046,15 +5089,15 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5046
5089
  type: 'success',
5047
5090
  duration: 1500,
5048
5091
  onClose: function onClose() {
5049
- if (_this9.toUrl) {
5050
- window.location.href = _this9.toUrl;
5051
- } else if (results.doorIndex && _this9.doorIndex) {
5092
+ if (_this10.toUrl) {
5093
+ window.location.href = _this10.toUrl;
5094
+ } else if (results.doorIndex && _this10.doorIndex) {
5052
5095
  window.location.href = results.doorIndex;
5053
5096
  } else {
5054
5097
  if (window.location.href.indexOf('login.html') > -1) {
5055
5098
  window.location.href = './main.html';
5056
5099
  } else {
5057
- _this9.$router.push({ name: 'main' });
5100
+ _this10.$router.push({ name: 'main' });
5058
5101
  }
5059
5102
  }
5060
5103
  util["a" /* default */].removeStorage('timer');
@@ -5067,10 +5110,10 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5067
5110
  //cancelButtonText: '取消',
5068
5111
  type: 'warning'
5069
5112
  }).then(function () {
5070
- if (typeof _this9.forget === 'string') {
5071
- util["a" /* default */].win.open(_this9.forgetUrl);
5113
+ if (typeof _this10.forget === 'string') {
5114
+ util["a" /* default */].win.open(_this10.forgetUrl);
5072
5115
  } else {
5073
- _this9.showResetPassword = true;
5116
+ _this10.showResetPassword = true;
5074
5117
  }
5075
5118
  }).catch(function (e) {});
5076
5119
  break;
@@ -5102,13 +5145,13 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5102
5145
  type: 'error',
5103
5146
  duration: 1500,
5104
5147
  onClose: function onClose() {
5105
- if (_this9.code) {
5148
+ if (_this10.code) {
5106
5149
  window.location.href = util["a" /* default */].delUrlParam({ key: 'code' });
5107
5150
  if (window.location.hash) {
5108
5151
  location.reload();
5109
5152
  }
5110
5153
  } else {
5111
- _this9.getImgCode();
5154
+ _this10.getImgCode();
5112
5155
  }
5113
5156
  }
5114
5157
  });