eoss-ui 0.4.55 → 0.4.56

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 (63) hide show
  1. package/lib/button-group.js +136 -100
  2. package/lib/button.js +138 -102
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +140 -104
  5. package/lib/config/api.js +4 -0
  6. package/lib/data-table-form.js +137 -101
  7. package/lib/data-table.js +139 -103
  8. package/lib/date-picker.js +145 -109
  9. package/lib/dialog.js +136 -100
  10. package/lib/eoss-ui.common.js +785 -285
  11. package/lib/flow-group.js +136 -100
  12. package/lib/flow-list.js +143 -107
  13. package/lib/flow.js +187 -151
  14. package/lib/form.js +137 -101
  15. package/lib/handle-user.js +137 -101
  16. package/lib/handler.js +137 -101
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +138 -102
  19. package/lib/input.js +138 -102
  20. package/lib/label.js +2 -2
  21. package/lib/login.js +171 -128
  22. package/lib/main.js +152 -116
  23. package/lib/mainComp.js +152 -116
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +136 -100
  26. package/lib/notify.js +109 -101
  27. package/lib/page.js +136 -100
  28. package/lib/player.js +136 -100
  29. package/lib/qr-code.js +136 -100
  30. package/lib/radio-group.js +137 -101
  31. package/lib/retrial-auth.js +3328 -0
  32. package/lib/select-ganged.js +138 -102
  33. package/lib/select.js +139 -103
  34. package/lib/selector-panel.js +154 -118
  35. package/lib/selector.js +139 -103
  36. package/lib/sizer.js +140 -104
  37. package/lib/steps.js +138 -102
  38. package/lib/switch.js +138 -102
  39. package/lib/table-form.js +138 -102
  40. package/lib/tabs-panel.js +2 -2
  41. package/lib/tabs.js +145 -109
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/theme-chalk/retrial-auth.css +1 -0
  44. package/lib/tips.js +139 -103
  45. package/lib/toolbar.js +2 -2
  46. package/lib/tree-group.js +138 -102
  47. package/lib/tree.js +139 -103
  48. package/lib/upload.js +146 -110
  49. package/lib/utils/util.js +32 -4
  50. package/lib/wujie.js +138 -102
  51. package/lib/wxlogin.js +138 -102
  52. package/package.json +2 -2
  53. package/packages/checkbox-group/src/main.vue +7 -7
  54. package/packages/login/src/main.vue +26 -18
  55. package/packages/retrial-auth/index.js +5 -0
  56. package/packages/retrial-auth/src/main.vue +271 -0
  57. package/packages/theme-chalk/lib/index.css +1 -1
  58. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  59. package/packages/theme-chalk/src/index.scss +1 -0
  60. package/packages/theme-chalk/src/retrial-auth.scss +38 -0
  61. package/src/config/api.js +4 -0
  62. package/src/index.js +4 -1
  63. package/src/utils/util.js +32 -4
package/lib/login.js CHANGED
@@ -127,6 +127,7 @@ var $lightColorCount = 5;
127
127
  var $darkColorCount = 4;
128
128
  var publicKey = 'abcdefghijklmnopqrstuvwxyz12345678';
129
129
  var loginMsg = void 0;
130
+ var initAuth = void 0;
130
131
 
131
132
  var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ storeAsString: true });
132
133
 
@@ -277,11 +278,38 @@ var ajax = function ajax(_ref) {
277
278
  }).catch(function (e) {});
278
279
  }, 1000);
279
280
  }
280
- return Promise.reject(response.data);
281
- } else {
282
- // eslint-disable-next-line no-undef
283
- return Promise.resolve(response.data);
281
+ } else if (response.data.rCode === 61) {
282
+ clearTimeout(initAuth);
283
+ initAuth = setTimeout(function () {
284
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"])({
285
+ title: '请进行二次鉴权',
286
+ closeOnClickModal: false,
287
+ closeOnPressEscape: false,
288
+ showConfirmButton: false,
289
+ dangerouslyUseHTMLString: true,
290
+ scroll: false,
291
+ customClass: 'es-retrial-auth-msg',
292
+ render: function render(h, msgBox) {
293
+ return h('es-retrial-auth', {
294
+ ref: 'auth',
295
+ props: {
296
+ group: response.data.results.retrialAuthGroupIds,
297
+ type: response.data.results.retrialAuthType,
298
+ msgBox: msgBox
299
+ }
300
+ });
301
+ },
302
+ callback: function callback(res, obj) {
303
+ obj.$children.forEach(function (item) {
304
+ item.clearTimeouts && item.clearTimeouts();
305
+ return;
306
+ });
307
+ }
308
+ });
309
+ }, 1000);
284
310
  }
311
+ // eslint-disable-next-line no-undef
312
+ return Promise.resolve(response.data);
285
313
  }
286
314
  }, function (error) {
287
315
  loading && loading.close();
@@ -2347,123 +2375,127 @@ var watermark = function watermark(option) {
2347
2375
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2348
2376
 
2349
2377
  "use strict";
2350
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCaLogin; });
2351
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doUserLogin; });
2352
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doQrLogin; });
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; });
2378
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCaLogin; });
2379
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doUserLogin; });
2380
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doQrLogin; });
2381
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return logout; });
2382
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return initLogin; });
2383
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return switchUserTo; });
2356
2384
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
2357
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getLoginCode; });
2358
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return doCodeLogin; });
2385
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getLoginCode; });
2386
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doCodeLogin; });
2359
2387
  /* unused harmony export updateCode */
2360
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return getModifyPassCode; });
2388
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getModifyPassCode; });
2361
2389
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
2362
2390
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
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; });
2391
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return initModifyPassword; });
2392
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return doWechatQrLogin; });
2393
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getTwoFactorLoginCode; });
2394
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doTwoFactorLogin; });
2395
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return initRetrialAuth; });
2396
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getRetrialAuthCode; });
2397
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return scanCodeRetrialAuth; });
2398
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return codeRetrialAuth; });
2399
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return mainConfig; });
2400
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return initUserSet; });
2401
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return updateUserInfo; });
2370
2402
  /* unused harmony export getUserImgUrl */
2371
2403
  /* unused harmony export getDoorIndex */
2372
2404
  /* unused harmony export refreshOnlineUsers */
2373
2405
  /* unused harmony export getQuickMenuIds */
2374
2406
  /* unused harmony export getApplicationIdArray */
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; });
2407
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return getComplexApplications; });
2408
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getComplexApplicationsNew; });
2377
2409
  /* unused harmony export getUserCustomInfo */
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; });
2392
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return delAdjunct; });
2410
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return updateUserCustomInfo; });
2411
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return sysMsgPage; });
2412
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return ignoreSysMsg; });
2413
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return ignoreAllSysMsg; });
2414
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getAdjunctProperties; });
2415
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return uploads; });
2416
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return uploadOnlyOne; });
2417
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getAdjunctFileInfos; });
2418
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return uploadSort; });
2419
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return downloadByAdjunctId; });
2420
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return uploadDownloads; });
2421
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return previewAdjunct; });
2422
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return previewAdjunct2; });
2423
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return previewAdjunctOffice; });
2424
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return delAdjunct; });
2393
2425
  /* unused harmony export upload_updateClassify */
2394
2426
  /* unused harmony export getDeleteAdjunctFileInfos */
2395
2427
  /* unused harmony export getPictureBase64 */
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; });
2428
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getSelectorOrgTree; });
2429
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getSelectorOrgDetail; });
2430
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getOrgMainTree; });
2431
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getSelectOrgsubids; });
2432
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCode; });
2401
2433
  /* unused harmony export findUserBaseInfo */
2402
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return gethelpdoc; });
2434
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return gethelpdoc; });
2403
2435
  /* unused harmony export getCurrentuser */
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; });
2407
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return commonOpion; });
2436
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return mainDetail; });
2437
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toStartFlow; });
2438
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return tempSave; });
2439
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return commonOpion; });
2408
2440
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
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; });
2412
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
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; });
2441
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return editCommonOpion; });
2442
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return saveCommonOpinion; });
2443
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return updateCommonOpinion; });
2444
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteCommonOpion; });
2445
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getProcessDefList; });
2446
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getNodeInfo; });
2447
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return findCodeValues; });
2448
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return findSysParam; });
2449
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysCodes; });
2450
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getNotificationMsg; });
2451
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getHandleInfoHtml; });
2452
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskHandleHtml; });
2421
2453
  /* unused harmony export getView */
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; });
2442
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deletePresetInfo; });
2454
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return register; });
2455
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return pendedhistoryList; });
2456
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTaskRejectHtml; });
2457
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskRejectHtml; });
2458
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toStartTaskRead; });
2459
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toStartTaskReadIndex; });
2460
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskReadHtml; });
2461
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return rejectAndEnd; });
2462
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toSendMsg; });
2463
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return sendMsg; });
2464
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return endFlowHtml; });
2465
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return handleInfo; });
2466
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return loginUserInfo; });
2467
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return wss; });
2468
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return topic; });
2469
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getPresetCustomInfo; });
2470
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getPresetNodeInfo; });
2471
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return toTaskTransferIndex; });
2472
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return taskTransfer; });
2473
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toPresetInfoListIndex; });
2474
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return deletePresetInfo; });
2443
2475
  /* unused harmony export historyListJson */
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; });
2446
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
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; });
2476
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return pendedhistoryListJson; });
2477
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return pressListJson; });
2478
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return deleteFlow; });
2479
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return isCanStartSubFlow; });
2480
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return toTaskUnionExamine; });
2481
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return taskUnionExamine; });
2482
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTaskTakeAdvice; });
2483
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return taskTakeAdvice; });
2484
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskStartDraft; });
2485
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskStartDraft; });
2486
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTaskReview; });
2487
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskReview; });
2488
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return toTaskUnionSeal; });
2489
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return taskUnionSeal; });
2490
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return toTwoOfficesDispatch; });
2491
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return twoOfficesDispatch; });
2492
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return sendList; });
2493
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return sendInfo; });
2462
2494
  /* unused harmony export sendSave */
2463
2495
  /* unused harmony export sendUpdate */
2464
2496
  /* unused harmony export sendDelete */
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; });
2497
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return sendBatch; });
2498
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return formContents; });
2467
2499
  // 登录
2468
2500
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
2469
2501
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -2482,6 +2514,10 @@ var initModifyPassword = '/sso2/signIn/assembly/initModifyPassword'; // 初始
2482
2514
  var doWechatQrLogin = '/sso2/signIn/auth/doWechatQrLogin'; // 微信扫码登录
2483
2515
  var getTwoFactorLoginCode = '/sso2/signIn/auth/getTwoFactorLoginCode'; // 双因素登录,通过消息中心发送登陆验证码给用户
2484
2516
  var doTwoFactorLogin = '/sso2/signIn/auth/doTwoFactorLogin'; // 双因素登录
2517
+ var initRetrialAuth = '/sso2/retrialAuth/initRetrialAuth'; // 初始化二级身份权限验证页面
2518
+ var getRetrialAuthCode = '/sso2/retrialAuth/getRetrialAuthCode'; // 获取二级身份验证验证码
2519
+ var scanCodeRetrialAuth = '/sso2/retrialAuth/scanCodeRetrialAuth'; // 二维码扫码验证(二级权限验证)
2520
+ var codeRetrialAuth = '/sso2/retrialAuth/codeRetrialAuth'; // 二级身份验证-验证码验证
2485
2521
  // 框架
2486
2522
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
2487
2523
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
@@ -2819,7 +2855,7 @@ function normalizeComponent(
2819
2855
  // ESM COMPAT FLAG
2820
2856
  __webpack_require__.r(__webpack_exports__);
2821
2857
 
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&
2858
+ // 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=cca116b4&
2823
2859
  var render = function () {
2824
2860
  var _vm = this
2825
2861
  var _h = _vm.$createElement
@@ -2921,7 +2957,7 @@ var render = function () {
2921
2957
  { staticClass: "es-login-form-box" },
2922
2958
  [
2923
2959
  _vm.isShow(_vm.active) &&
2924
- (_vm.active == 0 || _vm.active == 2)
2960
+ (_vm.active == 0 || _vm.active == 12)
2925
2961
  ? [
2926
2962
  _c(
2927
2963
  "el-form",
@@ -3041,6 +3077,7 @@ var render = function () {
3041
3077
  {
3042
3078
  required: true,
3043
3079
  message: "验证码不能为空",
3080
+ trigger: "change",
3044
3081
  },
3045
3082
  ],
3046
3083
  },
@@ -3090,10 +3127,10 @@ var render = function () {
3090
3127
  name: "show",
3091
3128
  rawName: "v-show",
3092
3129
  value:
3093
- _vm.active == 2 &&
3130
+ _vm.active == 12 &&
3094
3131
  _vm.showVerifyCode,
3095
3132
  expression:
3096
- "active == 2 && showVerifyCode",
3133
+ "active == 12 && showVerifyCode",
3097
3134
  },
3098
3135
  ],
3099
3136
  staticClass: "es-get-code",
@@ -3668,7 +3705,7 @@ var staticRenderFns = []
3668
3705
  render._withStripped = true
3669
3706
 
3670
3707
 
3671
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=23be641c&
3708
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=cca116b4&
3672
3709
 
3673
3710
  // 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&
3674
3711
  var resetPasswordvue_type_template_id_4f5da52e_render = function () {
@@ -3920,7 +3957,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3920
3957
  var _this = this;
3921
3958
 
3922
3959
  util["a" /* default */].ajax({
3923
- url: api["T" /* initModifyPassword */]
3960
+ url: api["V" /* initModifyPassword */]
3924
3961
  }).then(function (res) {
3925
3962
  if (res.rCode === 0) {
3926
3963
  var results = JSON.parse(JSON.stringify(res.results));
@@ -3980,7 +4017,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
3980
4017
  var _this3 = this;
3981
4018
 
3982
4019
  util["a" /* default */].ajax({
3983
- url: api["D" /* getModifyPassCode */],
4020
+ url: api["E" /* getModifyPassCode */],
3984
4021
  params: params
3985
4022
  }).then(function (res) {
3986
4023
  if (res.rCode === 0) {
@@ -4397,6 +4434,12 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4397
4434
  //
4398
4435
  //
4399
4436
  //
4437
+ //
4438
+ //
4439
+ //
4440
+ //
4441
+ //
4442
+ //
4400
4443
 
4401
4444
 
4402
4445
 
@@ -4413,7 +4456,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4413
4456
  //初始登录配置接口地址
4414
4457
  initLogin: {
4415
4458
  type: String,
4416
- default: api["S" /* initLogin */]
4459
+ default: api["U" /* initLogin */]
4417
4460
  },
4418
4461
  mode: {
4419
4462
  type: String,
@@ -4489,17 +4532,17 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4489
4532
  //账号登录接口地址
4490
4533
  action: {
4491
4534
  type: String,
4492
- default: api["n" /* doUserLogin */]
4535
+ default: api["o" /* doUserLogin */]
4493
4536
  },
4494
4537
  //ca登录地址
4495
4538
  caAction: {
4496
4539
  type: String,
4497
- default: api["j" /* doCaLogin */]
4540
+ default: api["k" /* doCaLogin */]
4498
4541
  },
4499
4542
  //扫码登录接口地址
4500
4543
  scanAction: {
4501
4544
  type: String,
4502
- default: api["l" /* doQrLogin */]
4545
+ default: api["m" /* doQrLogin */]
4503
4546
  },
4504
4547
  //图片验证码接口地址
4505
4548
  codeAction: {
@@ -4508,23 +4551,23 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4508
4551
  },
4509
4552
  getLoginCode: {
4510
4553
  type: String,
4511
- default: api["C" /* getLoginCode */]
4554
+ default: api["D" /* getLoginCode */]
4512
4555
  },
4513
4556
  doCodeLogin: {
4514
4557
  type: String,
4515
- default: api["k" /* doCodeLogin */]
4558
+ default: api["l" /* doCodeLogin */]
4516
4559
  },
4517
4560
  getTwoFactorLoginCode: {
4518
4561
  type: String,
4519
- default: api["N" /* getTwoFactorLoginCode */]
4562
+ default: api["P" /* getTwoFactorLoginCode */]
4520
4563
  },
4521
4564
  doTwoFactorLogin: {
4522
4565
  type: String,
4523
- default: api["m" /* doTwoFactorLogin */]
4566
+ default: api["n" /* doTwoFactorLogin */]
4524
4567
  },
4525
4568
  doWechatQrLogin: {
4526
4569
  type: String,
4527
- default: api["o" /* doWechatQrLogin */]
4570
+ default: api["p" /* doWechatQrLogin */]
4528
4571
  },
4529
4572
  imgCode: {
4530
4573
  type: [Boolean, Object],
@@ -4638,16 +4681,15 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4638
4681
  return types.length > 2 ? {
4639
4682
  0: { type: '0', icon: 'es-icon-shuru', name: '账号登录' },
4640
4683
  1: { type: '1', icon: 'es-icon-usb-key', name: '证书登录' },
4641
- 2: { type: '2', icon: 'es-icon-shuru', name: '账号登录' },
4642
4684
  3: { type: '3', icon: 'es-icon-saoma', name: '扫码登录' },
4643
4685
  6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4644
4686
  7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
4645
4687
  9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
4646
- 11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' }
4647
- } : {
4688
+ 11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' },
4689
+ 12: { type: '12', icon: 'es-icon-shuru', name: '账号登录' //双因素
4690
+ } } : {
4648
4691
  0: { type: '0', icon: 'es-icon-jianpan', name: '账号登录' },
4649
4692
  1: { type: '1', icon: 'es-icon-ca', name: '证书登录' },
4650
- 2: { type: '2', icon: 'es-icon-jianpan', name: '账号登录' },
4651
4693
  3: { type: '3', icon: 'es-icon-qrcode', name: '扫码登录' },
4652
4694
  6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
4653
4695
  7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
@@ -4656,8 +4698,9 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4656
4698
  type: '11',
4657
4699
  icon: 'es-icon-wodeyouxiang',
4658
4700
  name: '邮箱登录'
4659
- }
4660
- };
4701
+ },
4702
+ 12: { type: '12', icon: 'es-icon-jianpan', name: '账号登录' //双因素
4703
+ } };
4661
4704
  },
4662
4705
  icons: function icons() {
4663
4706
  var _this = this;
@@ -4676,7 +4719,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4676
4719
  return mainvue_type_script_lang_js_extends({}, this.copyrightStyle, style);
4677
4720
  },
4678
4721
  showVerifyCode: function showVerifyCode() {
4679
- return this.passModifyModel.indexOf('6') > -1 || this.passModifyModel.indexOf('11') > -1;
4722
+ return this.passModifyModel && (this.passModifyModel.indexOf('6') > -1 || this.passModifyModel.indexOf('11') > -1);
4680
4723
  }
4681
4724
  },
4682
4725
  watch: {
@@ -4964,7 +5007,6 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
4964
5007
  this.app = res.appName || res.subsystemName;
4965
5008
  this.qrimg = res.qrimg || res.qrImg;
4966
5009
  this.loginModel = res.loginModel;
4967
- // this.loginModel = '0,3,11,6,9,2';
4968
5010
  this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
4969
5011
  this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
4970
5012
  if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
@@ -5015,7 +5057,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5015
5057
  }
5016
5058
  var data = {};
5017
5059
  var flag = false;
5018
- if (this.active == 2) {
5060
+ if (this.active == 12) {
5019
5061
  if (!this.formData.username) {
5020
5062
  this.$refs.login.validateField('username');
5021
5063
  return false;
@@ -5056,11 +5098,12 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5056
5098
  } else {
5057
5099
  _this4.btnText = '重新获取';
5058
5100
  _this4.disabled = false;
5101
+ _this4.submit = false;
5059
5102
  }
5060
5103
  }, 1000);
5061
5104
  util["a" /* default */].ajax({
5062
5105
  method: 'post',
5063
- url: this.active == 2 ? this.getTwoFactorLoginCode : this.getLoginCode,
5106
+ url: this.active == 12 ? this.getTwoFactorLoginCode : this.getLoginCode,
5064
5107
  data: data
5065
5108
  }).then(function (res) {
5066
5109
  _this4.$message({
@@ -5098,7 +5141,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5098
5141
  }) : _this5.formData.password,
5099
5142
  identifyingCode: _this5.formData.identifyingCode,
5100
5143
  identifyingId: _this5.identifyingId
5101
- } : _this5.active == '2' ? {
5144
+ } : _this5.active == '12' ? {
5102
5145
  username: _this5.formData.username,
5103
5146
  password: _this5.secret && _this5.isEncrypt ? util["a" /* default */].esmEncrypt({
5104
5147
  data: _this5.formData.password,
@@ -5142,7 +5185,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5142
5185
  var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
5143
5186
  util["a" /* default */].ajax({
5144
5187
  method: 'post',
5145
- url: this.active == '0' ? this.actionUrl : this.active == '2' ? this.doTwoFactorLogin : this.doCodeLogin,
5188
+ url: this.active == '0' ? this.actionUrl : this.active == '12' ? this.doTwoFactorLogin : this.doCodeLogin,
5146
5189
  data: extUserBindHandleId ? mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
5147
5190
  }).then(function (res) {
5148
5191
  _this6.submit = false;