eoss-ui 0.4.51 → 0.4.52

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 (62) hide show
  1. package/lib/button-group.js +92 -88
  2. package/lib/button.js +92 -88
  3. package/lib/checkbox-group.js +93 -89
  4. package/lib/config/api.js +2 -0
  5. package/lib/data-table-form.js +93 -89
  6. package/lib/data-table.js +95 -91
  7. package/lib/date-picker.js +92 -88
  8. package/lib/dialog.js +92 -88
  9. package/lib/eoss-ui.common.js +973 -591
  10. package/lib/flow-group.js +92 -88
  11. package/lib/flow-list.js +96 -92
  12. package/lib/flow.js +495 -370
  13. package/lib/form.js +93 -89
  14. package/lib/handle-user.js +93 -89
  15. package/lib/handler.js +114 -110
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +92 -88
  18. package/lib/input.js +92 -88
  19. package/lib/login.js +121 -99
  20. package/lib/main.js +412 -173
  21. package/lib/mainComp.js +108 -104
  22. package/lib/nav.js +107 -95
  23. package/lib/notify.js +95 -91
  24. package/lib/page.js +92 -88
  25. package/lib/player.js +92 -88
  26. package/lib/qr-code.js +92 -88
  27. package/lib/radio-group.js +93 -89
  28. package/lib/select-ganged.js +92 -88
  29. package/lib/select.js +93 -89
  30. package/lib/selector-panel.js +110 -106
  31. package/lib/selector.js +93 -89
  32. package/lib/sizer.js +94 -90
  33. package/lib/steps.js +92 -88
  34. package/lib/switch.js +92 -88
  35. package/lib/table-form.js +92 -88
  36. package/lib/tabs.js +92 -88
  37. package/lib/theme-chalk/index.css +1 -1
  38. package/lib/theme-chalk/main.css +1 -1
  39. package/lib/theme-chalk/menu.css +1 -1
  40. package/lib/tips.js +93 -89
  41. package/lib/tree-group.js +92 -88
  42. package/lib/tree.js +93 -89
  43. package/lib/upload.js +101 -97
  44. package/lib/utils/util.js +2 -2
  45. package/lib/wujie.js +92 -88
  46. package/lib/wxlogin.js +92 -88
  47. package/package.json +1 -1
  48. package/packages/flow/src/main.vue +108 -34
  49. package/packages/flow/src/startTaskRead.vue +15 -3
  50. package/packages/handler/src/main.vue +13 -15
  51. package/packages/login/src/main.vue +34 -3
  52. package/packages/main/src/main.vue +128 -68
  53. package/packages/main/src/settings.vue +51 -4
  54. package/packages/nav/src/main.vue +22 -10
  55. package/packages/theme-chalk/lib/index.css +1 -1
  56. package/packages/theme-chalk/lib/main.css +1 -1
  57. package/packages/theme-chalk/lib/menu.css +1 -1
  58. package/packages/theme-chalk/src/main.scss +45 -6
  59. package/packages/theme-chalk/src/menu.scss +0 -1
  60. package/src/config/api.js +2 -0
  61. package/src/index.js +1 -1
  62. package/src/utils/util.js +2 -2
package/lib/login.js CHANGED
@@ -351,9 +351,9 @@ var ajax = function ajax(_ref) {
351
351
  if (!mix) {
352
352
  params = {};
353
353
  }
354
- if (format && !headers) {
354
+ if (format && !header['content-type']) {
355
355
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
356
- header['content-type'] = 'application/x-www-form-urlencoded';
356
+ header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
357
357
  }
358
358
  }
359
359
  return http({
@@ -2348,120 +2348,122 @@ var watermark = function watermark(option) {
2348
2348
 
2349
2349
  "use strict";
2350
2350
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCaLogin; });
2351
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doUserLogin; });
2351
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doUserLogin; });
2352
2352
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doQrLogin; });
2353
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return logout; });
2354
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return initLogin; });
2355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return switchUserTo; });
2353
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return logout; });
2354
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return initLogin; });
2355
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return switchUserTo; });
2356
2356
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
2357
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getLoginCode; });
2357
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getLoginCode; });
2358
2358
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCodeLogin; });
2359
2359
  /* unused harmony export updateCode */
2360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getModifyPassCode; });
2360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getModifyPassCode; });
2361
2361
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
2362
2362
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
2363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return initModifyPassword; });
2364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doWechatQrLogin; });
2365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return mainConfig; });
2366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return initUserSet; });
2367
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return updateUserInfo; });
2363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return initModifyPassword; });
2364
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doWechatQrLogin; });
2365
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getTwoFactorLoginCode; });
2366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doTwoFactorLogin; });
2367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return mainConfig; });
2368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return initUserSet; });
2369
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return updateUserInfo; });
2368
2370
  /* unused harmony export getUserImgUrl */
2369
2371
  /* unused harmony export getDoorIndex */
2370
2372
  /* unused harmony export refreshOnlineUsers */
2371
2373
  /* unused harmony export getQuickMenuIds */
2372
2374
  /* unused harmony export getApplicationIdArray */
2373
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getComplexApplications; });
2374
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getComplexApplicationsNew; });
2375
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getComplexApplications; });
2376
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getComplexApplicationsNew; });
2375
2377
  /* unused harmony export getUserCustomInfo */
2376
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return updateUserCustomInfo; });
2377
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return sysMsgPage; });
2378
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return ignoreSysMsg; });
2379
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return ignoreAllSysMsg; });
2380
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getAdjunctProperties; });
2381
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return uploads; });
2382
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return uploadOnlyOne; });
2383
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return getAdjunctFileInfos; });
2384
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploadSort; });
2385
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return downloadByAdjunctId; });
2386
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return uploadDownloads; });
2387
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return previewAdjunct; });
2388
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return previewAdjunct2; });
2389
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return previewAdjunctOffice; });
2378
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return updateUserCustomInfo; });
2379
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return sysMsgPage; });
2380
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return ignoreSysMsg; });
2381
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return ignoreAllSysMsg; });
2382
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getAdjunctProperties; });
2383
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return uploads; });
2384
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return uploadOnlyOne; });
2385
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getAdjunctFileInfos; });
2386
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return uploadSort; });
2387
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return downloadByAdjunctId; });
2388
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploadDownloads; });
2389
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return previewAdjunct; });
2390
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return previewAdjunct2; });
2391
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return previewAdjunctOffice; });
2390
2392
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return delAdjunct; });
2391
2393
  /* unused harmony export upload_updateClassify */
2392
2394
  /* unused harmony export getDeleteAdjunctFileInfos */
2393
2395
  /* unused harmony export getPictureBase64 */
2394
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getSelectorOrgTree; });
2395
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectorOrgDetail; });
2396
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getOrgMainTree; });
2397
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getSelectOrgsubids; });
2398
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findSysCode; });
2396
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getSelectorOrgTree; });
2397
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getSelectorOrgDetail; });
2398
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getOrgMainTree; });
2399
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectOrgsubids; });
2400
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCode; });
2399
2401
  /* unused harmony export findUserBaseInfo */
2400
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return gethelpdoc; });
2402
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return gethelpdoc; });
2401
2403
  /* unused harmony export getCurrentuser */
2402
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return mainDetail; });
2403
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toStartFlow; });
2404
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return tempSave; });
2404
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return mainDetail; });
2405
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toStartFlow; });
2406
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return tempSave; });
2405
2407
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
2406
2408
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
2407
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return editCommonOpion; });
2408
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return saveCommonOpinion; });
2409
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return updateCommonOpinion; });
2409
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return editCommonOpion; });
2410
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return saveCommonOpinion; });
2411
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return updateCommonOpinion; });
2410
2412
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
2411
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getProcessDefList; });
2412
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getNodeInfo; });
2413
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return findCodeValues; });
2414
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysParam; });
2415
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCodes; });
2416
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getNotificationMsg; });
2417
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getHandleInfoHtml; });
2418
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return taskHandleHtml; });
2413
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getProcessDefList; });
2414
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getNodeInfo; });
2415
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findCodeValues; });
2416
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysParam; });
2417
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCodes; });
2418
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getNotificationMsg; });
2419
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getHandleInfoHtml; });
2420
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskHandleHtml; });
2419
2421
  /* unused harmony export getView */
2420
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return register; });
2421
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return pendedhistoryList; });
2422
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toTaskRejectHtml; });
2423
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskRejectHtml; });
2424
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toStartTaskRead; });
2425
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toStartTaskReadIndex; });
2426
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return taskReadHtml; });
2427
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return rejectAndEnd; });
2428
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return toSendMsg; });
2429
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return sendMsg; });
2430
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return endFlowHtml; });
2431
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return handleInfo; });
2432
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return loginUserInfo; });
2433
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return wss; });
2434
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return topic; });
2435
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getPresetCustomInfo; });
2436
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getPresetNodeInfo; });
2437
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskTransferIndex; });
2438
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskTransfer; });
2439
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return toPresetInfoListIndex; });
2422
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return register; });
2423
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return pendedhistoryList; });
2424
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskRejectHtml; });
2425
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskRejectHtml; });
2426
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toStartTaskRead; });
2427
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toStartTaskReadIndex; });
2428
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskReadHtml; });
2429
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return rejectAndEnd; });
2430
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toSendMsg; });
2431
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return sendMsg; });
2432
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return endFlowHtml; });
2433
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return handleInfo; });
2434
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return loginUserInfo; });
2435
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return wss; });
2436
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return topic; });
2437
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getPresetCustomInfo; });
2438
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getPresetNodeInfo; });
2439
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTaskTransferIndex; });
2440
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskTransfer; });
2441
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toPresetInfoListIndex; });
2440
2442
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
2441
2443
  /* unused harmony export historyListJson */
2442
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return pendedhistoryListJson; });
2443
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return pressListJson; });
2444
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return pendedhistoryListJson; });
2445
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return pressListJson; });
2444
2446
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
2445
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return isCanStartSubFlow; });
2446
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskUnionExamine; });
2447
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskUnionExamine; });
2448
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskTakeAdvice; });
2449
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskTakeAdvice; });
2450
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskStartDraft; });
2451
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskStartDraft; });
2452
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toTaskReview; });
2453
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskReview; });
2454
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTaskUnionSeal; });
2455
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskUnionSeal; });
2456
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTwoOfficesDispatch; });
2457
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return twoOfficesDispatch; });
2458
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendList; });
2459
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return sendInfo; });
2447
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return isCanStartSubFlow; });
2448
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTaskUnionExamine; });
2449
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskUnionExamine; });
2450
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskTakeAdvice; });
2451
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskTakeAdvice; });
2452
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskStartDraft; });
2453
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskStartDraft; });
2454
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskReview; });
2455
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskReview; });
2456
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskUnionSeal; });
2457
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskUnionSeal; });
2458
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTwoOfficesDispatch; });
2459
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return twoOfficesDispatch; });
2460
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sendList; });
2461
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return sendInfo; });
2460
2462
  /* unused harmony export sendSave */
2461
2463
  /* unused harmony export sendUpdate */
2462
2464
  /* unused harmony export sendDelete */
2463
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return sendBatch; });
2464
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return formContents; });
2465
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendBatch; });
2466
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return formContents; });
2465
2467
  // 登录
2466
2468
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
2467
2469
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -2478,6 +2480,8 @@ var codeModifyPass = '/sso2/signIn/assembly/codeModifyPass'; // 验证码重置
2478
2480
  var authCenter = '/sso2/authCenter/login'; // 单点登录认证中心
2479
2481
  var initModifyPassword = '/sso2/signIn/assembly/initModifyPassword'; // 初始化密码修改信息
2480
2482
  var doWechatQrLogin = '/sso2/signIn/auth/doWechatQrLogin'; // 微信扫码登录
2483
+ var getTwoFactorLoginCode = '/sso2/signIn/auth/getTwoFactorLoginCode'; // 双因素登录,通过消息中心发送登陆验证码给用户
2484
+ var doTwoFactorLogin = '/sso2/signIn/auth/doTwoFactorLogin'; // 双因素登录
2481
2485
  // 框架
2482
2486
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
2483
2487
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
@@ -2815,7 +2819,7 @@ function normalizeComponent(
2815
2819
  // ESM COMPAT FLAG
2816
2820
  __webpack_require__.r(__webpack_exports__);
2817
2821
 
2818
- // 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=9885b762&
2822
+ // 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=23be641c&
2819
2823
  var render = function () {
2820
2824
  var _vm = this
2821
2825
  var _h = _vm.$createElement
@@ -3664,7 +3668,7 @@ var staticRenderFns = []
3664
3668
  render._withStripped = true
3665
3669
 
3666
3670
 
3667
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=9885b762&
3671
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=23be641c&
3668
3672
 
3669
3673
  // 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=4f5da52e&
3670
3674
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -3916,7 +3920,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3916
3920
  var _this = this;
3917
3921
 
3918
3922
  util["a" /* default */].ajax({
3919
- url: api["R" /* initModifyPassword */]
3923
+ url: api["T" /* initModifyPassword */]
3920
3924
  }).then(function (res) {
3921
3925
  if (res.rCode === 0) {
3922
3926
  var results = JSON.parse(JSON.stringify(res.results));
@@ -3976,7 +3980,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3976
3980
  var _this3 = this;
3977
3981
 
3978
3982
  util["a" /* default */].ajax({
3979
- url: api["C" /* getModifyPassCode */],
3983
+ url: api["D" /* getModifyPassCode */],
3980
3984
  params: params
3981
3985
  }).then(function (res) {
3982
3986
  if (res.rCode === 0) {
@@ -4409,7 +4413,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4409
4413
  //初始登录配置接口地址
4410
4414
  initLogin: {
4411
4415
  type: String,
4412
- default: api["Q" /* initLogin */]
4416
+ default: api["S" /* initLogin */]
4413
4417
  },
4414
4418
  mode: {
4415
4419
  type: String,
@@ -4485,7 +4489,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4485
4489
  //账号登录接口地址
4486
4490
  action: {
4487
4491
  type: String,
4488
- default: api["m" /* doUserLogin */]
4492
+ default: api["n" /* doUserLogin */]
4489
4493
  },
4490
4494
  //ca登录地址
4491
4495
  caAction: {
@@ -4504,15 +4508,23 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4504
4508
  },
4505
4509
  getLoginCode: {
4506
4510
  type: String,
4507
- default: api["B" /* getLoginCode */]
4511
+ default: api["C" /* getLoginCode */]
4508
4512
  },
4509
4513
  doCodeLogin: {
4510
4514
  type: String,
4511
4515
  default: api["k" /* doCodeLogin */]
4512
4516
  },
4517
+ getTwoFactorLoginCode: {
4518
+ type: String,
4519
+ default: api["N" /* getTwoFactorLoginCode */]
4520
+ },
4521
+ doTwoFactorLogin: {
4522
+ type: String,
4523
+ default: api["m" /* doTwoFactorLogin */]
4524
+ },
4513
4525
  doWechatQrLogin: {
4514
4526
  type: String,
4515
- default: api["n" /* doWechatQrLogin */]
4527
+ default: api["o" /* doWechatQrLogin */]
4516
4528
  },
4517
4529
  imgCode: {
4518
4530
  type: [Boolean, Object],
@@ -4952,6 +4964,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4952
4964
  this.app = res.appName || res.subsystemName;
4953
4965
  this.qrimg = res.qrimg || res.qrImg;
4954
4966
  this.loginModel = res.loginModel;
4967
+ // this.loginModel = '0,3,11,6,9,2';
4955
4968
  this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
4956
4969
  this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
4957
4970
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
@@ -5014,8 +5027,9 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5014
5027
  return false;
5015
5028
  }
5016
5029
  data = {
5017
- target: this.formData.username,
5030
+ username: this.formData.username,
5018
5031
  targetType: this.passModifyModel.indexOf('11') > -1 ? 'EMAIL' : 'SMS'
5032
+ // targetType: 'SMS'
5019
5033
  };
5020
5034
  } else {
5021
5035
  if (!this.formData.target) {
@@ -5046,7 +5060,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5046
5060
  }, 1000);
5047
5061
  util["a" /* default */].ajax({
5048
5062
  method: 'post',
5049
- url: this.getLoginCode,
5063
+ url: this.active == 2 ? this.getTwoFactorLoginCode : this.getLoginCode,
5050
5064
  data: data
5051
5065
  }).then(function (res) {
5052
5066
  _this4.$message({
@@ -5084,6 +5098,14 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5084
5098
  }) : _this5.formData.password,
5085
5099
  identifyingCode: _this5.formData.identifyingCode,
5086
5100
  identifyingId: _this5.identifyingId
5101
+ } : _this5.active == '2' ? {
5102
+ username: _this5.formData.username,
5103
+ password: _this5.secret && _this5.isEncrypt ? util["a" /* default */].esmEncrypt({
5104
+ data: _this5.formData.password,
5105
+ key: _this5.secret
5106
+ }) : _this5.formData.password,
5107
+ targetType: _this5.passModifyModel.indexOf('11') > -1 ? 'EMAIL' : 'SMS',
5108
+ verificationCode: _this5.formData.identifyingCode
5087
5109
  } : {
5088
5110
  target: _this5.formData.target,
5089
5111
  verificationCode: _this5.formData.verificationCode,
@@ -5120,7 +5142,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5120
5142
  var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
5121
5143
  util["a" /* default */].ajax({
5122
5144
  method: 'post',
5123
- url: this.active == '0' ? this.actionUrl : this.doCodeLogin,
5145
+ url: this.active == '0' ? this.actionUrl : this.active == '2' ? this.doTwoFactorLogin : this.doCodeLogin,
5124
5146
  data: extUserBindHandleId ? mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
5125
5147
  }).then(function (res) {
5126
5148
  _this6.submit = false;