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/wxlogin.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'; // 获取用户信息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.4.50",
3
+ "version": "0.4.52",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  >填写意见</span
21
21
  >
22
22
  <span
23
- v-show="!isFlow && typeCode != 'fenyue'"
23
+ v-show="!isFlow && newTypeCode != 'fenyue'"
24
24
  class="es-opinion-file"
25
25
  @click="showFileList = true"
26
26
  ><i class="es-icon-fujian"></i>意见附件<span
@@ -42,7 +42,7 @@
42
42
  </div>
43
43
  <div
44
44
  v-show="
45
- (!endFlow || nodeInfos.length > 1) && typeCode != 'fenyue' && !shrink
45
+ (!endFlow || nodeInfos.length > 1) && newTypeCode != 'fenyue' && !shrink
46
46
  "
47
47
  class="es-info"
48
48
  >
@@ -179,8 +179,9 @@
179
179
  ></el-option>
180
180
  </el-select>
181
181
  </el-form-item>
182
- <div v-if="!isReject && nodeInfos.length != 0">
182
+ <div>
183
183
  <el-form-item
184
+ v-if="!isReject && nodeInfos.length != 0 && isShowNode"
184
185
  prop="nextNodeId"
185
186
  label="下步节点"
186
187
  :rules="[
@@ -241,6 +242,21 @@
241
242
  :tabs="nextUserTabs"
242
243
  />
243
244
  </el-form-item>
245
+ <el-form-item
246
+ v-if="isHideCurrentOrg"
247
+ prop="nextCurrentOrgObj"
248
+ :label="currentOrgName ? currentOrgName : '本单位'"
249
+ >
250
+ <SelectUser
251
+ :nextUser="nextNode.nextCurrentOrgObj"
252
+ multiple
253
+ mix
254
+ :selectUserList="selectNextCurrentOrgObjList"
255
+ @change="changeSelectUser($event, 'nextCurrentOrgObj', true)"
256
+ :types="['department', 'employee']"
257
+ :params="{ filid: userModel.orgId }"
258
+ />
259
+ </el-form-item>
244
260
  <TimeLimit
245
261
  v-if="nodeType !== 0 && isLimitedTimeHandling === 1"
246
262
  :newsList="newsList"
@@ -363,7 +379,7 @@
363
379
  </div>
364
380
  <div
365
381
  class="es-flow-buttons"
366
- v-if="typeCode != 'fenyue' && !shrink"
382
+ v-if="newTypeCode != 'fenyue' && !shrink"
367
383
  style="margin-top: 10px"
368
384
  >
369
385
  <div v-if="isSubmitButtonShowAgreeAndDisagree == 1">
@@ -582,6 +598,7 @@ import {
582
598
  taskHandleHtml
583
599
  } from 'eoss-ui/src/config/api';
584
600
  import util from 'eoss-ui/src/utils/util';
601
+ import qs from 'qs';
585
602
  export default {
586
603
  name: 'EsFlow',
587
604
  componentName: 'EsFlow',
@@ -627,6 +644,7 @@ export default {
627
644
  return {
628
645
  userModel: {},
629
646
  loading: null, // 加载中
647
+ newTypeCode: '',
630
648
  NodeName: '', // 当前节点值
631
649
  radioList: [],
632
650
  value: '',
@@ -637,6 +655,7 @@ export default {
637
655
  activeNames: '',
638
656
  isEndUserTask: true,
639
657
  selectUserList: [],
658
+ selectNextCurrentOrgObjList: [],
640
659
  flowMultiple: true,
641
660
  isCustomUser: 0,
642
661
  shrink: false,
@@ -671,6 +690,11 @@ export default {
671
690
  isTaskread: 0, //是否展示分阅用户
672
691
  showSendMsg: false, //是否展示核稿通知页面
673
692
  canPresetRead: false, //是否展示自动分阅
693
+ isHideCurrentOrg: false, //是否隐藏本单位(承办)
694
+ isHideOtherOrg: false, //是否隐藏外单位(承办)
695
+ isMainSubProcess: false, // 判断是否子-主流程
696
+ isNextUser: false,
697
+ isShowNode: false,
674
698
  nextNodeList: [],
675
699
  removeUsers: [],
676
700
  options: [],
@@ -767,9 +791,11 @@ export default {
767
791
  mounted() {
768
792
  this.businessIds = this.businessId;
769
793
  this.nextNode.nextNodeId = this.nextNodeId;
794
+ !this.isFlow &&
795
+ (this.newTypeCode = this.typeCode || this.$route.query.typecode);
770
796
  if (this.isFlow) {
771
797
  this.businessId && this.getProcess();
772
- } else if (this.typeCode == 'fenyue') {
798
+ } else if (this.newTypeCode == 'fenyue') {
773
799
  this.getTaskReadFlow();
774
800
  } else {
775
801
  this.getHedInfo();
@@ -936,15 +962,21 @@ export default {
936
962
  appId,
937
963
  processDefinitionId,
938
964
  pendingId,
939
- opinion: this.value
965
+ opinion: this.value,
966
+ taskAction: 'complete'
940
967
  };
941
968
  util
942
969
  .ajax({
943
970
  url: taskReadHtml,
944
971
  params: { taskAction: 'complete' },
945
- headers: { Accept: 'application/json,text/plain' },
972
+ headers: {
973
+ Accept: 'application/json,text/plain',
974
+ 'Content-Type':
975
+ ' application/x-www-form-urlencoded; charset=UTF-8'
976
+ },
946
977
  method: 'post',
947
- data: params
978
+ format:false,
979
+ data: qs.stringify(params)
948
980
  })
949
981
  .then((res) => {
950
982
  const { status, message } = res;
@@ -1488,6 +1520,25 @@ export default {
1488
1520
  this.isLimitedTimeHandling =
1489
1521
  data.nodeExtAttr.isLimitedTimeHandling;
1490
1522
  this.nodeType = data.nodeExtAttr.nodeType;
1523
+ //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
1524
+ if (this.nodeType === 1 || this.nodeType === 2) {
1525
+ this.isMainSubProcess === true
1526
+ ? (this.isMainSubProcess = true)
1527
+ : (this.isMainSubProcess = false);
1528
+ this.isNextUser = false;
1529
+ this.isHideCurrentOrg =
1530
+ res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
1531
+ this.isHideOtherOrg =
1532
+ res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
1533
+ } else {
1534
+ this.isHideCurrentOrg = false;
1535
+ this.isHideOtherOrg = false;
1536
+ this.isMainSubProcess = false;
1537
+ this.isNextUser = true;
1538
+ // this.isMainSubProcess === true
1539
+ // ? (this.isMainSubProcess = true)
1540
+ // : (this.isMainSubProcess = false);
1541
+ }
1491
1542
  this.multiple
1492
1543
  ? (this.nextNode.nextUserId = [])
1493
1544
  : (this.nextNode.nextUserId = '');
@@ -1572,6 +1623,8 @@ export default {
1572
1623
  this.radioList = [];
1573
1624
 
1574
1625
  if (type) {
1626
+ this.isNextUser = false;
1627
+ this.isShowNode = false;
1575
1628
  this.nextNode.nextNodeId = '';
1576
1629
  this.nextNode.isReturnSubmitter = 0;
1577
1630
  this.nextNode.isUndertakeReply = 0;
@@ -1583,28 +1636,6 @@ export default {
1583
1636
  this.nextNode.isReturnRejectNode = 0;
1584
1637
  this.nextNode.isSerialSubmit = 0;
1585
1638
  this.nodeInfos = [];
1586
- if (val == -1) {
1587
- this.nextNode.isSerialSubmit = 1;
1588
- } else if (val == 0) {
1589
- } else if (val == 1) {
1590
- } else if (val == 2) {
1591
- this.nextNode.isReturnSubmitter = 1;
1592
- } else if (val == 3) {
1593
- this.nextNode.isUndertakeReply = 1;
1594
- } else if (val == 4) {
1595
- this.nextNode.isTakeAdviceReply = 1;
1596
- } else if (val == 5) {
1597
- this.nextNode.isUndertakeEnd = 1;
1598
- } else if (val == 6) {
1599
- this.nextNode.isTakeAdviceEnd = 1;
1600
- } else if (val == 7) {
1601
- this.nextNode.isReadDealReply = 1;
1602
- } else if (val == 8) {
1603
- this.nextNode.isReadDealEnd = 1;
1604
- } else if (val == 9) {
1605
- this.nextNode.isReturnRejectNode = 1;
1606
- } else {
1607
- }
1608
1639
  this.operationList.map((item) => {
1609
1640
  if (item.key === val) {
1610
1641
  if (!item.taskNodeList) {
@@ -1630,10 +1661,52 @@ export default {
1630
1661
 
1631
1662
  if (val === 9) {
1632
1663
  this.isReject = true;
1664
+ } else {
1665
+ this.isReject = false;
1666
+ }
1667
+ if (val == -1) {
1668
+ this.nextNode.isSerialSubmit = 1;
1669
+ this.loading.close();
1670
+ return;
1671
+ } else if (val == 0) {
1672
+ this.isNextUser = true;
1673
+ this.isShowNode = true;
1674
+ } else if (val == 1) {
1675
+ this.isNextUser = true;
1676
+ this.isShowNode = true;
1677
+ } else if (val == 2) {
1678
+ this.nextNode.isReturnSubmitter = 1;
1679
+ this.loading.close();
1680
+ return;
1681
+ } else if (val == 3) {
1682
+ this.nextNode.isUndertakeReply = 1;
1683
+ this.loading.close();
1684
+ return;
1685
+ } else if (val == 4) {
1686
+ this.nextNode.isTakeAdviceReply = 1;
1687
+ this.loading.close();
1688
+ return;
1689
+ } else if (val == 5) {
1690
+ this.nextNode.isUndertakeEnd = 1;
1691
+ this.loading.close();
1692
+ return;
1693
+ } else if (val == 6) {
1694
+ this.nextNode.isTakeAdviceEnd = 1;
1695
+ this.loading.close();
1696
+ return;
1697
+ } else if (val == 7) {
1698
+ this.nextNode.isReadDealReply = 1;
1699
+ this.loading.close();
1700
+ return;
1701
+ } else if (val == 8) {
1702
+ this.nextNode.isReadDealEnd = 1;
1703
+ this.loading.close();
1704
+ return;
1705
+ } else if (val == 9) {
1706
+ this.nextNode.isReturnRejectNode = 1;
1633
1707
  this.loading.close();
1634
1708
  return;
1635
1709
  } else {
1636
- this.isReject = false;
1637
1710
  }
1638
1711
  if (isDef !== true) this.getNodeInfo();
1639
1712
  },
@@ -1886,6 +1959,7 @@ export default {
1886
1959
  }
1887
1960
  });
1888
1961
  }
1962
+ this.isMainSubProcess = res.data.isMainSubProcess === true;
1889
1963
  this.isCustomPreset = isCustomPreset;
1890
1964
  this.isPreset = isPreset;
1891
1965
  this.presetTaskNodeMap = presetTaskNodeMap;
@@ -2069,7 +2143,7 @@ export default {
2069
2143
  if (this.isFlow) return (this.handleVisible = true);
2070
2144
  if (
2071
2145
  !this.endFlow &&
2072
- this.typeCode != 'fenyue' &&
2146
+ this.newTypeCode != 'fenyue' &&
2073
2147
  !this.shrink &&
2074
2148
  this.nextNode.isAddSign != '1' &&
2075
2149
  this.nextNode.isRemoveSign != '1' &&
@@ -2143,8 +2217,8 @@ export default {
2143
2217
  this.processObj.taskExamine.processDefinitionId;
2144
2218
  }
2145
2219
  if (
2146
- this.nextNode.nextOperate == 9 ||
2147
- this.nextNode.nextOperate == 2
2220
+ this.nextNode.nextOperate != 0 &&
2221
+ this.nextNode.nextOperate != 1
2148
2222
  ) {
2149
2223
  delete this.nextNode.nextNodeId;
2150
2224
  }
@@ -152,6 +152,7 @@ import {
152
152
  } from 'eoss-ui/src/config/api';
153
153
  import util from 'eoss-ui/src/utils/util';
154
154
  import SelectUser from './selectUser.vue';
155
+ import qs from 'qs';
155
156
  export default {
156
157
  name: 'StartTaskRead',
157
158
  components: {
@@ -398,13 +399,15 @@ export default {
398
399
  },
399
400
  // 转办提交
400
401
  subTaskTransfer() {
401
- const { choiceDeptId, choiceOrgId } = this.taskExamine;
402
+ const { choiceDeptId, choiceOrgId, bCode, bName } = this.taskExamine;
402
403
  const { opinion, pendingId, nextNode, newsInfo, multiple } = this;
403
404
  let params = {
404
405
  url: taskTransfer,
405
406
  data: {
406
407
  choiceDeptId,
407
408
  choiceOrgId,
409
+ bCode,
410
+ bName,
408
411
  nextUserId: multiple
409
412
  ? nextNode.nextUser.join(',')
410
413
  : nextNode.nextUser,
@@ -456,6 +459,8 @@ export default {
456
459
  const {
457
460
  appId,
458
461
  businessId,
462
+ bCode,
463
+ bName,
459
464
  choiceDeptId,
460
465
  choiceOrgId,
461
466
  businessName,
@@ -463,6 +468,8 @@ export default {
463
468
  } = this.taskExamine;
464
469
  let params = {
465
470
  ...this.nextNode,
471
+ bCode,
472
+ bName,
466
473
  appId,
467
474
  businessId,
468
475
  choiceDeptId,
@@ -489,9 +496,14 @@ export default {
489
496
  .ajax({
490
497
  url: taskReadHtml,
491
498
  params: { taskAction: this.type },
492
- headers: { Accept: 'application/json,text/plain' },
499
+ headers: {
500
+ Accept: 'application/json,text/plain',
501
+ 'Content-Type':
502
+ ' application/x-www-form-urlencoded; charset=UTF-8'
503
+ },
493
504
  method: 'post',
494
- data: params
505
+ format: false,
506
+ data: qs.stringify(params)
495
507
  })
496
508
  .then((res) => {
497
509
  const { message, status } = res;
@@ -129,7 +129,7 @@
129
129
  :class="
130
130
  item.type === 'label' || item.type === 'empty'
131
131
  ? 'es-table-form-label'
132
- : 'es-table-form-item'
132
+ : item.disabled?'es-table-form-item td-disabled':'es-table-form-item'
133
133
  "
134
134
  :key="index"
135
135
  :colspan="
@@ -986,6 +986,7 @@ export default {
986
986
  render: [Function, String]
987
987
  },
988
988
  render: (h, ctx) => {
989
+ console.log('ctx', ctx);
989
990
  if (typeof ctx.props.render == 'string') {
990
991
  try {
991
992
  return util.toFunction(ctx.props.render)(h, params);