eoss-ui 0.4.51 → 0.4.53

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 +95 -88
  2. package/lib/button.js +95 -88
  3. package/lib/checkbox-group.js +96 -89
  4. package/lib/config/api.js +2 -0
  5. package/lib/data-table-form.js +96 -89
  6. package/lib/data-table.js +98 -91
  7. package/lib/date-picker.js +95 -88
  8. package/lib/dialog.js +95 -88
  9. package/lib/eoss-ui.common.js +897 -556
  10. package/lib/flow-group.js +95 -88
  11. package/lib/flow-list.js +99 -92
  12. package/lib/flow.js +419 -339
  13. package/lib/form.js +96 -89
  14. package/lib/handle-user.js +96 -89
  15. package/lib/handler.js +117 -110
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +95 -88
  18. package/lib/input.js +95 -88
  19. package/lib/login.js +124 -99
  20. package/lib/main.js +415 -173
  21. package/lib/mainComp.js +111 -104
  22. package/lib/nav.js +110 -95
  23. package/lib/notify.js +95 -91
  24. package/lib/page.js +95 -88
  25. package/lib/player.js +95 -88
  26. package/lib/qr-code.js +95 -88
  27. package/lib/radio-group.js +96 -89
  28. package/lib/select-ganged.js +95 -88
  29. package/lib/select.js +96 -89
  30. package/lib/selector-panel.js +113 -106
  31. package/lib/selector.js +96 -89
  32. package/lib/sizer.js +97 -90
  33. package/lib/steps.js +95 -88
  34. package/lib/switch.js +95 -88
  35. package/lib/table-form.js +95 -88
  36. package/lib/tabs.js +95 -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 +96 -89
  41. package/lib/tree-group.js +95 -88
  42. package/lib/tree.js +96 -89
  43. package/lib/upload.js +104 -97
  44. package/lib/utils/util.js +5 -2
  45. package/lib/wujie.js +95 -88
  46. package/lib/wxlogin.js +95 -88
  47. package/package.json +1 -1
  48. package/packages/flow/src/main.vue +106 -34
  49. package/packages/flow/src/startTaskRead.vue +10 -2
  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 +4 -2
package/lib/handler.js CHANGED
@@ -102,6 +102,8 @@ module.exports =
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
104
104
 
105
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
106
+
105
107
  /**
106
108
  * 新封装公告方法规范:
107
109
  * 1.方法顺序按字母顺序排列
@@ -205,6 +207,7 @@ var ajax = function ajax(_ref) {
205
207
  });
206
208
  // 请求拦截
207
209
  http.interceptors.request.use(function (config) {
210
+ config.header && (config.headers = _extends({}, config.headers, config.header));
208
211
  config.headers.common = getStorage();
209
212
  // 根据请求的信息(请求方式,url,请求get/post数据),产生map的key
210
213
  var requestKey = getRequestKey(config);
@@ -351,9 +354,9 @@ var ajax = function ajax(_ref) {
351
354
  if (!mix) {
352
355
  params = {};
353
356
  }
354
- if (format && !headers) {
357
+ if (format && !header['content-type']) {
355
358
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
356
- header['content-type'] = 'application/x-www-form-urlencoded';
359
+ header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
357
360
  }
358
361
  }
359
362
  return http({
@@ -2348,120 +2351,122 @@ var watermark = function watermark(option) {
2348
2351
 
2349
2352
  "use strict";
2350
2353
  /* 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; });
2354
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doUserLogin; });
2352
2355
  /* 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; });
2356
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return logout; });
2357
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return initLogin; });
2358
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return switchUserTo; });
2356
2359
  /* 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; });
2360
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getLoginCode; });
2358
2361
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCodeLogin; });
2359
2362
  /* unused harmony export updateCode */
2360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getModifyPassCode; });
2363
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getModifyPassCode; });
2361
2364
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
2362
2365
  /* 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; });
2366
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return initModifyPassword; });
2367
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doWechatQrLogin; });
2368
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getTwoFactorLoginCode; });
2369
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doTwoFactorLogin; });
2370
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return mainConfig; });
2371
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return initUserSet; });
2372
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return updateUserInfo; });
2368
2373
  /* unused harmony export getUserImgUrl */
2369
2374
  /* unused harmony export getDoorIndex */
2370
2375
  /* unused harmony export refreshOnlineUsers */
2371
2376
  /* unused harmony export getQuickMenuIds */
2372
2377
  /* 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; });
2378
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getComplexApplications; });
2379
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getComplexApplicationsNew; });
2375
2380
  /* 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; });
2381
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return updateUserCustomInfo; });
2382
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return sysMsgPage; });
2383
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return ignoreSysMsg; });
2384
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return ignoreAllSysMsg; });
2385
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getAdjunctProperties; });
2386
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return uploads; });
2387
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return uploadOnlyOne; });
2388
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getAdjunctFileInfos; });
2389
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return uploadSort; });
2390
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return downloadByAdjunctId; });
2391
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploadDownloads; });
2392
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return previewAdjunct; });
2393
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return previewAdjunct2; });
2394
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return previewAdjunctOffice; });
2390
2395
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return delAdjunct; });
2391
2396
  /* unused harmony export upload_updateClassify */
2392
2397
  /* unused harmony export getDeleteAdjunctFileInfos */
2393
2398
  /* 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; });
2399
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getSelectorOrgTree; });
2400
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getSelectorOrgDetail; });
2401
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getOrgMainTree; });
2402
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectOrgsubids; });
2403
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findSysCode; });
2399
2404
  /* unused harmony export findUserBaseInfo */
2400
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return gethelpdoc; });
2405
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return gethelpdoc; });
2401
2406
  /* 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; });
2407
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return mainDetail; });
2408
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toStartFlow; });
2409
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return tempSave; });
2405
2410
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
2406
2411
  /* 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; });
2412
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return editCommonOpion; });
2413
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return saveCommonOpinion; });
2414
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return updateCommonOpinion; });
2410
2415
  /* 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; });
2416
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getProcessDefList; });
2417
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getNodeInfo; });
2418
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findCodeValues; });
2419
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysParam; });
2420
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCodes; });
2421
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getNotificationMsg; });
2422
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getHandleInfoHtml; });
2423
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return taskHandleHtml; });
2419
2424
  /* 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; });
2425
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return register; });
2426
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return pendedhistoryList; });
2427
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskRejectHtml; });
2428
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskRejectHtml; });
2429
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toStartTaskRead; });
2430
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toStartTaskReadIndex; });
2431
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskReadHtml; });
2432
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return rejectAndEnd; });
2433
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toSendMsg; });
2434
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return sendMsg; });
2435
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return endFlowHtml; });
2436
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return handleInfo; });
2437
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return loginUserInfo; });
2438
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return wss; });
2439
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return topic; });
2440
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getPresetCustomInfo; });
2441
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getPresetNodeInfo; });
2442
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTaskTransferIndex; });
2443
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskTransfer; });
2444
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toPresetInfoListIndex; });
2440
2445
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
2441
2446
  /* 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; });
2447
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return pendedhistoryListJson; });
2448
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return pressListJson; });
2444
2449
  /* 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; });
2450
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return isCanStartSubFlow; });
2451
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTaskUnionExamine; });
2452
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskUnionExamine; });
2453
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskTakeAdvice; });
2454
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskTakeAdvice; });
2455
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskStartDraft; });
2456
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskStartDraft; });
2457
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskReview; });
2458
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskReview; });
2459
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskUnionSeal; });
2460
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskUnionSeal; });
2461
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTwoOfficesDispatch; });
2462
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return twoOfficesDispatch; });
2463
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sendList; });
2464
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return sendInfo; });
2460
2465
  /* unused harmony export sendSave */
2461
2466
  /* unused harmony export sendUpdate */
2462
2467
  /* 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; });
2468
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendBatch; });
2469
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return formContents; });
2465
2470
  // 登录
2466
2471
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
2467
2472
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -2478,6 +2483,8 @@ var codeModifyPass = '/sso2/signIn/assembly/codeModifyPass'; // 验证码重置
2478
2483
  var authCenter = '/sso2/authCenter/login'; // 单点登录认证中心
2479
2484
  var initModifyPassword = '/sso2/signIn/assembly/initModifyPassword'; // 初始化密码修改信息
2480
2485
  var doWechatQrLogin = '/sso2/signIn/auth/doWechatQrLogin'; // 微信扫码登录
2486
+ var getTwoFactorLoginCode = '/sso2/signIn/auth/getTwoFactorLoginCode'; // 双因素登录,通过消息中心发送登陆验证码给用户
2487
+ var doTwoFactorLogin = '/sso2/signIn/auth/doTwoFactorLogin'; // 双因素登录
2481
2488
  // 框架
2482
2489
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
2483
2490
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
@@ -2797,7 +2804,7 @@ module.exports = require("qs");
2797
2804
  // ESM COMPAT FLAG
2798
2805
  __webpack_require__.r(__webpack_exports__);
2799
2806
 
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&
2807
+ // 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
2808
  var render = function () {
2802
2809
  var _vm = this
2803
2810
  var _h = _vm.$createElement
@@ -2805,11 +2812,11 @@ var render = function () {
2805
2812
  return _c(
2806
2813
  "ul",
2807
2814
  { staticClass: "es-handler" },
2808
- _vm._l(_vm.lists, function (item) {
2815
+ _vm._l(_vm.lists, function (item, index) {
2809
2816
  return !item.hide
2810
2817
  ? _c(
2811
2818
  "li",
2812
- { key: item.type, staticClass: "es-handler-item" },
2819
+ { key: index, staticClass: "es-handler-item" },
2813
2820
  [
2814
2821
  item.type === "user"
2815
2822
  ? _c("es-handle-user", {
@@ -2972,7 +2979,7 @@ var staticRenderFns = []
2972
2979
  render._withStripped = true
2973
2980
 
2974
2981
 
2975
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=01f71c21&
2982
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=36cec0d2&
2976
2983
 
2977
2984
  // EXTERNAL MODULE: ./src/config/api.js
2978
2985
  var api = __webpack_require__(1);
@@ -3124,9 +3131,22 @@ var util = __webpack_require__(0);
3124
3131
  },
3125
3132
  computed: {
3126
3133
  lists: function lists() {
3134
+ var _this = this;
3135
+
3136
+ console.log(111);
3127
3137
  if (this.data === undefined) {
3138
+ if (Object.keys(this.hide).length) {
3139
+ this.list.forEach(function (item) {
3140
+ item.hide = _this.hide[item.type];
3141
+ });
3142
+ }
3128
3143
  return this.list;
3129
3144
  } else {
3145
+ if (Object.keys(this.hide).length) {
3146
+ this.data.forEach(function (item) {
3147
+ item.hide = _this.hide[item.type];
3148
+ });
3149
+ }
3130
3150
  return this.data;
3131
3151
  }
3132
3152
  },
@@ -3140,19 +3160,6 @@ var util = __webpack_require__(0);
3140
3160
  return true;
3141
3161
  }
3142
3162
  },
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
3163
  data: function data() {
3157
3164
  return {
3158
3165
  date: '',
@@ -3232,18 +3239,18 @@ var util = __webpack_require__(0);
3232
3239
  }
3233
3240
  },
3234
3241
  handleQuit: function handleQuit() {
3235
- var _this = this;
3242
+ var _this2 = this;
3236
3243
 
3237
3244
  this.$confirm('确定注销吗?', '退出系统', {
3238
3245
  confirmButtonText: '确定',
3239
3246
  cancelButtonText: '取消',
3240
3247
  type: 'warning'
3241
3248
  }).then(function () {
3242
- util["a" /* default */].ajax({ method: 'post', url: api["V" /* logout */] }).then(function (res) {
3249
+ util["a" /* default */].ajax({ method: 'post', url: api["X" /* logout */] }).then(function (res) {
3243
3250
  if (res.rCode == 0) {
3244
3251
  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();
3252
+ if (_this2.onQuit && typeof _this2.onQuit === 'function') {
3253
+ _this2.onQuit();
3247
3254
  } else {
3248
3255
  if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
3249
3256
  util["a" /* default */].win.top.location.href = './login.html';
@@ -3265,7 +3272,7 @@ var util = __webpack_require__(0);
3265
3272
  }
3266
3273
  }).catch(function (err) {
3267
3274
  if (err.message && err.message !== 'canceled') {
3268
- _this.$message.error(err.message);
3275
+ _this2.$message.error(err.message);
3269
3276
  }
3270
3277
  });
3271
3278
  }).catch(function (e) {});