eoss-ui 0.4.50 → 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 (67) 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 +983 -598
  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 +100 -93
  36. package/lib/tabs.js +92 -88
  37. package/lib/theme-chalk/form.css +1 -1
  38. package/lib/theme-chalk/index.css +1 -1
  39. package/lib/theme-chalk/main.css +1 -1
  40. package/lib/theme-chalk/menu.css +1 -1
  41. package/lib/tips.js +93 -89
  42. package/lib/tree-group.js +92 -88
  43. package/lib/tree.js +93 -89
  44. package/lib/upload.js +101 -97
  45. package/lib/utils/util.js +2 -2
  46. package/lib/wujie.js +92 -88
  47. package/lib/wxlogin.js +92 -88
  48. package/package.json +1 -1
  49. package/packages/flow/src/main.vue +108 -34
  50. package/packages/flow/src/startTaskRead.vue +15 -3
  51. package/packages/form/src/table.vue +2 -1
  52. package/packages/handler/src/main.vue +13 -15
  53. package/packages/login/src/main.vue +34 -3
  54. package/packages/main/src/main.vue +128 -68
  55. package/packages/main/src/settings.vue +51 -4
  56. package/packages/nav/src/main.vue +22 -10
  57. package/packages/theme-chalk/lib/form.css +1 -1
  58. package/packages/theme-chalk/lib/index.css +1 -1
  59. package/packages/theme-chalk/lib/main.css +1 -1
  60. package/packages/theme-chalk/lib/menu.css +1 -1
  61. package/packages/theme-chalk/src/form.scss +6 -130
  62. package/packages/theme-chalk/src/main.scss +45 -6
  63. package/packages/theme-chalk/src/menu.scss +0 -1
  64. package/src/config/api.js +2 -0
  65. package/src/index.js +1 -1
  66. package/src/utils/util.js +2 -2
  67. package/CHANGELOG.md +0 -929
package/lib/handler.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'; // 获取用户信息
@@ -2797,7 +2801,7 @@ module.exports = require("qs");
2797
2801
  // ESM COMPAT FLAG
2798
2802
  __webpack_require__.r(__webpack_exports__);
2799
2803
 
2800
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=01f71c21&
2804
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=36cec0d2&
2801
2805
  var render = function () {
2802
2806
  var _vm = this
2803
2807
  var _h = _vm.$createElement
@@ -2805,11 +2809,11 @@ var render = function () {
2805
2809
  return _c(
2806
2810
  "ul",
2807
2811
  { staticClass: "es-handler" },
2808
- _vm._l(_vm.lists, function (item) {
2812
+ _vm._l(_vm.lists, function (item, index) {
2809
2813
  return !item.hide
2810
2814
  ? _c(
2811
2815
  "li",
2812
- { key: item.type, staticClass: "es-handler-item" },
2816
+ { key: index, staticClass: "es-handler-item" },
2813
2817
  [
2814
2818
  item.type === "user"
2815
2819
  ? _c("es-handle-user", {
@@ -2972,7 +2976,7 @@ var staticRenderFns = []
2972
2976
  render._withStripped = true
2973
2977
 
2974
2978
 
2975
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=01f71c21&
2979
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=36cec0d2&
2976
2980
 
2977
2981
  // EXTERNAL MODULE: ./src/config/api.js
2978
2982
  var api = __webpack_require__(1);
@@ -3124,9 +3128,22 @@ var util = __webpack_require__(0);
3124
3128
  },
3125
3129
  computed: {
3126
3130
  lists: function lists() {
3131
+ var _this = this;
3132
+
3133
+ console.log(111);
3127
3134
  if (this.data === undefined) {
3135
+ if (Object.keys(this.hide).length) {
3136
+ this.list.forEach(function (item) {
3137
+ item.hide = _this.hide[item.type];
3138
+ });
3139
+ }
3128
3140
  return this.list;
3129
3141
  } else {
3142
+ if (Object.keys(this.hide).length) {
3143
+ this.data.forEach(function (item) {
3144
+ item.hide = _this.hide[item.type];
3145
+ });
3146
+ }
3130
3147
  return this.data;
3131
3148
  }
3132
3149
  },
@@ -3140,19 +3157,6 @@ var util = __webpack_require__(0);
3140
3157
  return true;
3141
3158
  }
3142
3159
  },
3143
- watch: {
3144
- hide: {
3145
- immediate: true,
3146
- deep: true,
3147
- handler: function handler(val) {
3148
- if (val !== undefined) {
3149
- this.lists.forEach(function (item) {
3150
- item.hide = val[item.type];
3151
- });
3152
- }
3153
- }
3154
- }
3155
- },
3156
3160
  data: function data() {
3157
3161
  return {
3158
3162
  date: '',
@@ -3232,18 +3236,18 @@ var util = __webpack_require__(0);
3232
3236
  }
3233
3237
  },
3234
3238
  handleQuit: function handleQuit() {
3235
- var _this = this;
3239
+ var _this2 = this;
3236
3240
 
3237
3241
  this.$confirm('确定注销吗?', '退出系统', {
3238
3242
  confirmButtonText: '确定',
3239
3243
  cancelButtonText: '取消',
3240
3244
  type: 'warning'
3241
3245
  }).then(function () {
3242
- util["a" /* default */].ajax({ method: 'post', url: api["V" /* logout */] }).then(function (res) {
3246
+ util["a" /* default */].ajax({ method: 'post', url: api["X" /* logout */] }).then(function (res) {
3243
3247
  if (res.rCode == 0) {
3244
3248
  util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
3245
- if (_this.onQuit && typeof _this.onQuit === 'function') {
3246
- _this.onQuit();
3249
+ if (_this2.onQuit && typeof _this2.onQuit === 'function') {
3250
+ _this2.onQuit();
3247
3251
  } else {
3248
3252
  if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
3249
3253
  util["a" /* default */].win.top.location.href = './login.html';
@@ -3265,7 +3269,7 @@ var util = __webpack_require__(0);
3265
3269
  }
3266
3270
  }).catch(function (err) {
3267
3271
  if (err.message && err.message !== 'canceled') {
3268
- _this.$message.error(err.message);
3272
+ _this2.$message.error(err.message);
3269
3273
  }
3270
3274
  });
3271
3275
  }).catch(function (e) {});