eoss-ui 0.4.55 → 0.4.57

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 (69) hide show
  1. package/lib/button-group.js +140 -102
  2. package/lib/button.js +142 -104
  3. package/lib/cascader.js +2 -2
  4. package/lib/checkbox-group.js +144 -106
  5. package/lib/config/api.js +4 -0
  6. package/lib/data-table-form.js +141 -103
  7. package/lib/data-table.js +149 -110
  8. package/lib/date-picker.js +149 -111
  9. package/lib/dialog.js +140 -102
  10. package/lib/eoss-ui.common.js +1107 -356
  11. package/lib/flow-group.js +140 -102
  12. package/lib/flow-list.js +147 -109
  13. package/lib/flow.js +462 -180
  14. package/lib/form.js +158 -121
  15. package/lib/handle-user.js +141 -103
  16. package/lib/handler.js +141 -103
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +142 -104
  19. package/lib/input.js +142 -104
  20. package/lib/label.js +2 -2
  21. package/lib/login.js +176 -130
  22. package/lib/main.js +156 -118
  23. package/lib/mainComp.js +156 -118
  24. package/lib/menu.js +2 -2
  25. package/lib/nav.js +140 -102
  26. package/lib/notify.js +109 -101
  27. package/lib/page.js +140 -102
  28. package/lib/player.js +140 -102
  29. package/lib/qr-code.js +140 -102
  30. package/lib/radio-group.js +141 -103
  31. package/lib/retrial-auth.js +3330 -0
  32. package/lib/select-ganged.js +142 -104
  33. package/lib/select.js +143 -105
  34. package/lib/selector-panel.js +158 -120
  35. package/lib/selector.js +143 -105
  36. package/lib/sizer.js +144 -106
  37. package/lib/steps.js +142 -104
  38. package/lib/switch.js +142 -104
  39. package/lib/table-form.js +142 -104
  40. package/lib/tabs-panel.js +2 -2
  41. package/lib/tabs.js +149 -111
  42. package/lib/theme-chalk/index.css +1 -1
  43. package/lib/theme-chalk/retrial-auth.css +1 -0
  44. package/lib/tips.js +143 -105
  45. package/lib/toolbar.js +14 -10
  46. package/lib/tree-group.js +142 -104
  47. package/lib/tree.js +143 -105
  48. package/lib/upload.js +150 -112
  49. package/lib/utils/util.js +36 -6
  50. package/lib/wujie.js +142 -104
  51. package/lib/wxlogin.js +142 -104
  52. package/package.json +2 -2
  53. package/packages/checkbox-group/src/main.vue +7 -7
  54. package/packages/data-table/src/main.vue +1 -0
  55. package/packages/flow/src/main.vue +148 -11
  56. package/packages/flow/src/startTaskRead.vue +12 -9
  57. package/packages/form/src/main.vue +13 -7
  58. package/packages/login/src/main.vue +27 -18
  59. package/packages/retrial-auth/index.js +5 -0
  60. package/packages/retrial-auth/src/main.vue +271 -0
  61. package/packages/theme-chalk/lib/index.css +1 -1
  62. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  63. package/packages/theme-chalk/src/index.scss +1 -0
  64. package/packages/theme-chalk/src/retrial-auth.scss +38 -0
  65. package/packages/toolbar/src/main.vue +6 -1
  66. package/src/config/api.js +4 -0
  67. package/src/index.js +4 -1
  68. package/src/utils/util.js +36 -6
  69. package/CHANGELOG.md +0 -929
package/lib/flow.js CHANGED
@@ -126,6 +126,7 @@ var $lightColorCount = 5;
126
126
  var $darkColorCount = 4;
127
127
  var publicKey = 'abcdefghijklmnopqrstuvwxyz12345678';
128
128
  var loginMsg = void 0;
129
+ var initAuth = void 0;
129
130
 
130
131
  var JSONbigToString = json_bigint__WEBPACK_IMPORTED_MODULE_3___default()({ storeAsString: true });
131
132
 
@@ -247,7 +248,9 @@ var ajax = function ajax(_ref) {
247
248
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
248
249
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
249
250
  clearTimeout(loginMsg);
250
- loginMsg = setTimeout(function () {
251
+ var remind = sessionStorage.getItem('remind');
252
+ !remind && (loginMsg = setTimeout(function () {
253
+ sessionStorage.setItem('remind', 1);
251
254
  eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
252
255
  confirmButtonText: '确定',
253
256
  closeOnClickModal: false,
@@ -274,13 +277,40 @@ var ajax = function ajax(_ref) {
274
277
  }
275
278
  }
276
279
  }).catch(function (e) {});
277
- }, 1000);
278
- }
279
- return Promise.reject(response.data);
280
- } else {
281
- // eslint-disable-next-line no-undef
282
- return Promise.resolve(response.data);
280
+ }, 1000));
281
+ }
282
+ } else if (response.data.rCode === 61) {
283
+ clearTimeout(initAuth);
284
+ initAuth = setTimeout(function () {
285
+ Object(eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"])({
286
+ title: '请进行二次鉴权',
287
+ closeOnClickModal: false,
288
+ closeOnPressEscape: false,
289
+ showConfirmButton: false,
290
+ dangerouslyUseHTMLString: true,
291
+ scroll: false,
292
+ customClass: 'es-retrial-auth-msg',
293
+ render: function render(h, msgBox) {
294
+ return h('es-retrial-auth', {
295
+ ref: 'auth',
296
+ props: {
297
+ group: response.data.results.retrialAuthGroupIds,
298
+ type: response.data.results.retrialAuthType,
299
+ msgBox: msgBox
300
+ }
301
+ });
302
+ },
303
+ callback: function callback(res, obj) {
304
+ obj.$children.forEach(function (item) {
305
+ item.clearTimeouts && item.clearTimeouts();
306
+ return;
307
+ });
308
+ }
309
+ });
310
+ }, 1000);
283
311
  }
312
+ // eslint-disable-next-line no-undef
313
+ return Promise.resolve(response.data);
284
314
  }
285
315
  }, function (error) {
286
316
  loading && loading.close();
@@ -2345,123 +2375,127 @@ var watermark = function watermark(option) {
2345
2375
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2346
2376
 
2347
2377
  "use strict";
2348
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return doCaLogin; });
2349
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return doUserLogin; });
2350
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return doQrLogin; });
2351
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return logout; });
2352
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return initLogin; });
2353
- /* 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; });
2354
2384
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
2355
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return getLoginCode; });
2356
- /* 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; });
2357
2387
  /* unused harmony export updateCode */
2358
- /* 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; });
2359
2389
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return codeModifyPass; });
2360
2390
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
2361
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return initModifyPassword; });
2362
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doWechatQrLogin; });
2363
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getTwoFactorLoginCode; });
2364
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return doTwoFactorLogin; });
2365
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return mainConfig; });
2366
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return initUserSet; });
2367
- /* 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; });
2368
2402
  /* unused harmony export getUserImgUrl */
2369
2403
  /* unused harmony export getDoorIndex */
2370
2404
  /* unused harmony export refreshOnlineUsers */
2371
2405
  /* unused harmony export getQuickMenuIds */
2372
2406
  /* unused harmony export getApplicationIdArray */
2373
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return getComplexApplications; });
2374
- /* 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; });
2375
2409
  /* unused harmony export getUserCustomInfo */
2376
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return updateUserCustomInfo; });
2377
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return sysMsgPage; });
2378
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return ignoreSysMsg; });
2379
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return ignoreAllSysMsg; });
2380
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return getAdjunctProperties; });
2381
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return uploads; });
2382
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return uploadOnlyOne; });
2383
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return getAdjunctFileInfos; });
2384
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return uploadSort; });
2385
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return downloadByAdjunctId; });
2386
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return uploadDownloads; });
2387
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return previewAdjunct; });
2388
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return previewAdjunct2; });
2389
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return previewAdjunctOffice; });
2390
- /* 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; });
2391
2425
  /* unused harmony export upload_updateClassify */
2392
2426
  /* unused harmony export getDeleteAdjunctFileInfos */
2393
2427
  /* unused harmony export getPictureBase64 */
2394
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getSelectorOrgTree; });
2395
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getSelectorOrgDetail; });
2396
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return getOrgMainTree; });
2397
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getSelectOrgsubids; });
2398
- /* 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; });
2399
2433
  /* unused harmony export findUserBaseInfo */
2400
- /* 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; });
2401
2435
  /* unused harmony export getCurrentuser */
2402
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return mainDetail; });
2403
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return toStartFlow; });
2404
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return tempSave; });
2405
- /* 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; });
2406
2440
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
2407
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return editCommonOpion; });
2408
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return saveCommonOpinion; });
2409
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return updateCommonOpinion; });
2410
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return deleteCommonOpion; });
2411
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getProcessDefList; });
2412
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return getNodeInfo; });
2413
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return findCodeValues; });
2414
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return findSysParam; });
2415
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return findSysCodes; });
2416
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return getNotificationMsg; });
2417
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return getHandleInfoHtml; });
2418
- /* 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; });
2419
2453
  /* unused harmony export getView */
2420
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return register; });
2421
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ab", function() { return pendedhistoryList; });
2422
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return toTaskRejectHtml; });
2423
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return taskRejectHtml; });
2424
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return toStartTaskRead; });
2425
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return toStartTaskReadIndex; });
2426
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return taskReadHtml; });
2427
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return rejectAndEnd; });
2428
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return toSendMsg; });
2429
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return sendMsg; });
2430
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return endFlowHtml; });
2431
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return handleInfo; });
2432
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return loginUserInfo; });
2433
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return wss; });
2434
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return topic; });
2435
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getPresetCustomInfo; });
2436
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getPresetNodeInfo; });
2437
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return toTaskTransferIndex; });
2438
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return taskTransfer; });
2439
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return toPresetInfoListIndex; });
2440
- /* 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; });
2441
2475
  /* unused harmony export historyListJson */
2442
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return pendedhistoryListJson; });
2443
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return pressListJson; });
2444
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return deleteFlow; });
2445
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return isCanStartSubFlow; });
2446
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return toTaskUnionExamine; });
2447
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return taskUnionExamine; });
2448
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return toTaskTakeAdvice; });
2449
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return taskTakeAdvice; });
2450
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return toTaskStartDraft; });
2451
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return taskStartDraft; });
2452
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return toTaskReview; });
2453
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return taskReview; });
2454
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return toTaskUnionSeal; });
2455
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return taskUnionSeal; });
2456
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return toTwoOfficesDispatch; });
2457
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return twoOfficesDispatch; });
2458
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return sendList; });
2459
- /* 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; });
2460
2494
  /* unused harmony export sendSave */
2461
2495
  /* unused harmony export sendUpdate */
2462
2496
  /* unused harmony export sendDelete */
2463
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return sendBatch; });
2464
- /* 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; });
2465
2499
  // 登录
2466
2500
  var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
2467
2501
  var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
@@ -2480,6 +2514,10 @@ var initModifyPassword = '/sso2/signIn/assembly/initModifyPassword'; // 初始
2480
2514
  var doWechatQrLogin = '/sso2/signIn/auth/doWechatQrLogin'; // 微信扫码登录
2481
2515
  var getTwoFactorLoginCode = '/sso2/signIn/auth/getTwoFactorLoginCode'; // 双因素登录,通过消息中心发送登陆验证码给用户
2482
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'; // 二级身份验证-验证码验证
2483
2521
  // 框架
2484
2522
  var mainConfig = '/main2/main/mainConfig'; // 获取主页面配置
2485
2523
  var initUserSet = '/main2/main/initUserSet'; // 获取用户信息
@@ -2940,7 +2978,7 @@ var util = __webpack_require__(0);
2940
2978
 
2941
2979
  var userName = file.userName || file.response && file.response.userName || util["a" /* default */].getStorage('userName');
2942
2980
  var params = {
2943
- url: api["f" /* delAdjunct */],
2981
+ url: api["g" /* delAdjunct */],
2944
2982
  params: { userName: userName, id: file.adjunctId || file.response.adjunctId }
2945
2983
  };
2946
2984
  util["a" /* default */].ajax(params).then(function (res) {
@@ -3010,7 +3048,7 @@ var component = Object(componentNormalizer["a" /* default */])(
3010
3048
  // ESM COMPAT FLAG
3011
3049
  __webpack_require__.r(__webpack_exports__);
3012
3050
 
3013
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
3051
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=fd0d2338&
3014
3052
  var render = function () {
3015
3053
  var _vm = this
3016
3054
  var _h = _vm.$createElement
@@ -3492,6 +3530,9 @@ var render = function () {
3492
3530
  {
3493
3531
  attrs: {
3494
3532
  placeholder: "请选择下步操作",
3533
+ disabled:
3534
+ _vm.operationList &&
3535
+ _vm.operationList.length == 1,
3495
3536
  },
3496
3537
  on: {
3497
3538
  change: function ($event) {
@@ -3557,6 +3598,9 @@ var render = function () {
3557
3598
  attrs: {
3558
3599
  placeholder:
3559
3600
  "请选择下步节点",
3601
+ disabled:
3602
+ _vm.nodeInfos &&
3603
+ _vm.nodeInfos.length == 1,
3560
3604
  },
3561
3605
  on: {
3562
3606
  change: function ($event) {
@@ -3679,6 +3723,127 @@ var render = function () {
3679
3723
  1
3680
3724
  )
3681
3725
  : _vm._e(),
3726
+ _vm.isHideCurrentOrg
3727
+ ? _c(
3728
+ "el-form-item",
3729
+ {
3730
+ attrs: {
3731
+ prop: "nextCurrentOrgObj",
3732
+ label: _vm.currentOrgName
3733
+ ? _vm.currentOrgName
3734
+ : "本单位",
3735
+ },
3736
+ },
3737
+ [
3738
+ _c("SelectUser", {
3739
+ attrs: {
3740
+ nextUser:
3741
+ _vm.nextCurrentOrgObjSelect,
3742
+ multiple: "",
3743
+ mix: "",
3744
+ types: [
3745
+ "department",
3746
+ "employee",
3747
+ ],
3748
+ params: {
3749
+ filid: _vm.userModel.orgId,
3750
+ },
3751
+ },
3752
+ on: {
3753
+ change: function ($event) {
3754
+ _vm.disposeAppUnit(
3755
+ $event,
3756
+ "nextCurrentOrgObjSelect"
3757
+ )
3758
+ },
3759
+ },
3760
+ }),
3761
+ ],
3762
+ 1
3763
+ )
3764
+ : _vm._e(),
3765
+ _vm.isHideOtherOrg
3766
+ ? _c(
3767
+ "el-form-item",
3768
+ {
3769
+ attrs: {
3770
+ prop: "nextOtherOrgObj",
3771
+ label: _vm.otherOrgName
3772
+ ? _vm.otherOrgName
3773
+ : "外单位",
3774
+ },
3775
+ },
3776
+ [
3777
+ _c("SelectUser", {
3778
+ attrs: {
3779
+ nextUser:
3780
+ _vm.nextOtherOrgObjSelect,
3781
+ multiple: "",
3782
+ mix: "",
3783
+ types: ["enterprise"],
3784
+ params: { filid: "all" },
3785
+ },
3786
+ on: {
3787
+ change: function ($event) {
3788
+ _vm.disposeAppUnit(
3789
+ $event,
3790
+ "nextOtherOrgObjSelect"
3791
+ )
3792
+ },
3793
+ },
3794
+ }),
3795
+ ],
3796
+ 1
3797
+ )
3798
+ : _vm._e(),
3799
+ _vm.isMainSubProcess
3800
+ ? _c(
3801
+ "el-form-item",
3802
+ {
3803
+ attrs: {
3804
+ prop: "mainSubId",
3805
+ label: "主办",
3806
+ },
3807
+ },
3808
+ [
3809
+ _c(
3810
+ "el-select",
3811
+ {
3812
+ attrs: {
3813
+ placeholder: "请选择主办",
3814
+ },
3815
+ model: {
3816
+ value:
3817
+ _vm.nextNode.mainSubId,
3818
+ callback: function ($$v) {
3819
+ _vm.$set(
3820
+ _vm.nextNode,
3821
+ "mainSubId",
3822
+ $$v
3823
+ )
3824
+ },
3825
+ expression:
3826
+ "nextNode.mainSubId",
3827
+ },
3828
+ },
3829
+ _vm._l(
3830
+ _vm.subProcessColumns,
3831
+ function (items) {
3832
+ return _c("el-option", {
3833
+ key: items.id,
3834
+ attrs: {
3835
+ label: items.name,
3836
+ value: items.value,
3837
+ },
3838
+ })
3839
+ }
3840
+ ),
3841
+ 1
3842
+ ),
3843
+ ],
3844
+ 1
3845
+ )
3846
+ : _vm._e(),
3682
3847
  _vm.nodeType !== 0 &&
3683
3848
  _vm.isLimitedTimeHandling === 1
3684
3849
  ? _c("TimeLimit", {
@@ -4387,7 +4552,7 @@ var staticRenderFns = []
4387
4552
  render._withStripped = true
4388
4553
 
4389
4554
 
4390
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=88cb49c6&
4555
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=fd0d2338&
4391
4556
 
4392
4557
  // EXTERNAL MODULE: external "babel-runtime/regenerator"
4393
4558
  var regenerator_ = __webpack_require__(9);
@@ -4946,7 +5111,7 @@ var util = __webpack_require__(0);
4946
5111
 
4947
5112
  this.loading = true;
4948
5113
  util["a" /* default */].ajax({
4949
- url: id ? api["q" /* editCommonOpion */] : api["a" /* addCommonOpion */],
5114
+ url: id ? api["r" /* editCommonOpion */] : api["a" /* addCommonOpion */],
4950
5115
  params: { id: id }
4951
5116
  }).then(function (res) {
4952
5117
  var status = res.status,
@@ -5164,7 +5329,7 @@ var _components;
5164
5329
  var _this = this;
5165
5330
 
5166
5331
  util["a" /* default */].ajax({
5167
- url: api["e" /* commonOpion */],
5332
+ url: api["f" /* commonOpion */],
5168
5333
  params: {
5169
5334
  userId: util["a" /* default */].getStorage('userId')
5170
5335
  },
@@ -5211,7 +5376,7 @@ var _components;
5211
5376
 
5212
5377
  var that = this;
5213
5378
  util["a" /* default */].ajax({
5214
- url: api["v" /* findSysParam */],
5379
+ url: api["w" /* findSysParam */],
5215
5380
  params: { cpName: 'commonOpinionsSelectType' }
5216
5381
  }).then(function (res) {
5217
5382
  if (res.status == 'success') {
@@ -5240,7 +5405,7 @@ var _components;
5240
5405
  }).then(function () {
5241
5406
  _this3.loading = util["a" /* default */].loading(_this3.$loading, '删除中...');
5242
5407
  util["a" /* default */].ajax({
5243
- url: api["g" /* deleteCommonOpion */],
5408
+ url: api["h" /* deleteCommonOpion */],
5244
5409
  params: {
5245
5410
  id: val.id
5246
5411
  }
@@ -5289,7 +5454,7 @@ var _components;
5289
5454
  }
5290
5455
  this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
5291
5456
  util["a" /* default */].ajax({
5292
- url: data.id ? api["Ob" /* updateCommonOpinion */] : api["ib" /* saveCommonOpinion */],
5457
+ url: data.id ? api["Sb" /* updateCommonOpinion */] : api["lb" /* saveCommonOpinion */],
5293
5458
  data: info,
5294
5459
  header: { 'Content-Type': 'multipart/form-data' },
5295
5460
  method: 'post'
@@ -6151,7 +6316,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
6151
6316
  newNextUser: [],
6152
6317
  newOptions: [],
6153
6318
  newSelectUserList: [],
6154
- url: api["P" /* handleInfo */],
6319
+ url: api["R" /* handleInfo */],
6155
6320
  newCheckboxList: [],
6156
6321
  newPresetEdit: 0,
6157
6322
  newMultiple: false,
@@ -6268,7 +6433,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
6268
6433
  if (query !== '') {
6269
6434
  this.searchLoading = true;
6270
6435
  util["a" /* default */].ajax({
6271
- url: api["P" /* handleInfo */],
6436
+ url: api["R" /* handleInfo */],
6272
6437
  params: { searchKey: query, query: query, type: 'user' }
6273
6438
  }).then(function (res) {
6274
6439
  var status = res.status,
@@ -6678,7 +6843,7 @@ var CustomPresetvue_type_script_lang_js_components;
6678
6843
  nextNodeId: nodeId,
6679
6844
  businessId: this.id
6680
6845
  };
6681
- util["a" /* default */].ajax({ url: api["E" /* getNodeInfo */], params: params }).then(function (res) {
6846
+ util["a" /* default */].ajax({ url: api["F" /* getNodeInfo */], params: params }).then(function (res) {
6682
6847
  var status = res.status,
6683
6848
  message = res.message,
6684
6849
  _res$data = res.data,
@@ -6775,7 +6940,7 @@ var CustomPresetvue_type_script_lang_js_components;
6775
6940
 
6776
6941
  isNoStart && (this.newPresetList = []);
6777
6942
  var params = {
6778
- url: api["H" /* getPresetCustomInfo */],
6943
+ url: api["I" /* getPresetCustomInfo */],
6779
6944
  params: {
6780
6945
  nodeId: nodeId,
6781
6946
  processDefinitionId: processDefinitionId ? processDefinitionId : this.newProcessDefinitionId
@@ -7126,7 +7291,7 @@ var Presetvue_type_script_lang_js_components;
7126
7291
  nodeId = this.nodeId;
7127
7292
 
7128
7293
  var params = {
7129
- url: api["I" /* getPresetNodeInfo */],
7294
+ url: api["J" /* getPresetNodeInfo */],
7130
7295
  params: {
7131
7296
  nextNodeId: nextNodeId,
7132
7297
  processDefinitionId: processDefinitionId,
@@ -7724,7 +7889,7 @@ var processFormvue_type_script_lang_js_components;
7724
7889
  var _this = this;
7725
7890
 
7726
7891
  util["a" /* default */].ajax({
7727
- url: api["s" /* findCodeValues */],
7892
+ url: api["t" /* findCodeValues */],
7728
7893
  params: { ccCode: 'notification_type' }
7729
7894
  }).then(function (res) {
7730
7895
  var status = res.status,
@@ -7750,7 +7915,7 @@ var processFormvue_type_script_lang_js_components;
7750
7915
  nodeId: this.nextNode.nextNode,
7751
7916
  businessId: this.id
7752
7917
  };
7753
- util["a" /* default */].ajax({ url: api["F" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
7918
+ util["a" /* default */].ajax({ url: api["G" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
7754
7919
  if (res.status === 'success') {
7755
7920
  _this2.nextNode.noticeInfo = res.message;
7756
7921
  }
@@ -7819,7 +7984,7 @@ var processFormvue_type_script_lang_js_components;
7819
7984
  opinion: _this3.newOpinion || newOpinion
7820
7985
  };
7821
7986
  if (_this3.activeNames != '1') delete params.customPresetUserJson;
7822
- util["a" /* default */].ajax({ url: api["gb" /* register */], method: 'post', data: params }).then(function (res) {
7987
+ util["a" /* default */].ajax({ url: api["jb" /* register */], method: 'post', data: params }).then(function (res) {
7823
7988
  var status = res.status,
7824
7989
  message = res.message;
7825
7990
 
@@ -7849,7 +8014,7 @@ var processFormvue_type_script_lang_js_components;
7849
8014
  nextNodeId: nodeId ? nodeId : this.nextNode.nextNode,
7850
8015
  businessId: this.id
7851
8016
  };
7852
- util["a" /* default */].ajax({ url: api["E" /* getNodeInfo */], params: params }).then(function (res) {
8017
+ util["a" /* default */].ajax({ url: api["F" /* getNodeInfo */], params: params }).then(function (res) {
7853
8018
  var status = res.status,
7854
8019
  message = res.message,
7855
8020
  _res$data = res.data,
@@ -7936,7 +8101,7 @@ var processFormvue_type_script_lang_js_components;
7936
8101
  var _this5 = this;
7937
8102
 
7938
8103
  util["a" /* default */].ajax({
7939
- url: api["u" /* findSysCodes */]
8104
+ url: api["v" /* findSysCodes */]
7940
8105
  }).then(function (res) {
7941
8106
  var status = res.status,
7942
8107
  message = res.message;
@@ -8005,7 +8170,7 @@ var processFormvue_type_script_lang_js_components;
8005
8170
  businessId: this.businessId
8006
8171
  };
8007
8172
  // 获取节点
8008
- util["a" /* default */].ajax({ url: api["Bb" /* toStartFlow */], params: params }).then(function (res) {
8173
+ util["a" /* default */].ajax({ url: api["Fb" /* toStartFlow */], params: params }).then(function (res) {
8009
8174
  //pc接口返回数据处理
8010
8175
  var status = res.status,
8011
8176
  message = res.message,
@@ -8451,7 +8616,7 @@ SendMsgvue_type_template_id_7d374b0a_render._withStripped = true
8451
8616
  notificationType = _sendInfo.notificationType;
8452
8617
 
8453
8618
  var params = {
8454
- url: api["mb" /* sendMsg */],
8619
+ url: api["qb" /* sendMsg */],
8455
8620
  headers: { Accept: 'application/json,text/plain' },
8456
8621
  method: 'post',
8457
8622
  data: {
@@ -8513,7 +8678,7 @@ SendMsgvue_type_template_id_7d374b0a_render._withStripped = true
8513
8678
 
8514
8679
  this.loading = true;
8515
8680
  util["a" /* default */].ajax({
8516
- url: api["Ab" /* toSendMsg */],
8681
+ url: api["Eb" /* toSendMsg */],
8517
8682
  params: { pendingId: this.$attrs.pendingId }
8518
8683
  }).then(function (res) {
8519
8684
  var status = res.status,
@@ -9291,7 +9456,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9291
9456
  var _this = this;
9292
9457
 
9293
9458
  util["a" /* default */].ajax({
9294
- url: api["s" /* findCodeValues */],
9459
+ url: api["t" /* findCodeValues */],
9295
9460
  params: { ccCode: 'notification_type' }
9296
9461
  }).then(function (res) {
9297
9462
  var status = res.status,
@@ -9328,7 +9493,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9328
9493
  userId: util["a" /* default */].getStorage('userId'),
9329
9494
  nextNodeId: _this2.nextNode.nextNodeId
9330
9495
  };
9331
- util["a" /* default */].ajax({ url: api["rb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
9496
+ util["a" /* default */].ajax({ url: api["vb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
9332
9497
  var status = res.status,
9333
9498
  message = res.message;
9334
9499
 
@@ -9359,7 +9524,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9359
9524
  var _this3 = this;
9360
9525
 
9361
9526
  util["a" /* default */].ajax({
9362
- url: api["u" /* findSysCodes */]
9527
+ url: api["v" /* findSysCodes */]
9363
9528
  }).then(function (res) {
9364
9529
  var status = res.status,
9365
9530
  message = res.message;
@@ -9383,7 +9548,7 @@ processRejectvue_type_template_id_4de07824_render._withStripped = true
9383
9548
  isSinglePage: false,
9384
9549
  opinion: this.option
9385
9550
  };
9386
- util["a" /* default */].ajax({ url: api["Eb" /* toTaskRejectHtml */], params: params }).then(function (res) {
9551
+ util["a" /* default */].ajax({ url: api["Ib" /* toTaskRejectHtml */], params: params }).then(function (res) {
9387
9552
  var status = res.status,
9388
9553
  message = res.message,
9389
9554
  _res$data = res.data,
@@ -9446,8 +9611,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
9446
9611
  )
9447
9612
 
9448
9613
  /* harmony default export */ var processReject = (processReject_component.exports);
9449
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
9450
- var startTaskReadvue_type_template_id_31232218_render = function () {
9614
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=503131e8&
9615
+ var startTaskReadvue_type_template_id_503131e8_render = function () {
9451
9616
  var _vm = this
9452
9617
  var _h = _vm.$createElement
9453
9618
  var _c = _vm._self._c || _h
@@ -9822,11 +9987,11 @@ var startTaskReadvue_type_template_id_31232218_render = function () {
9822
9987
  1
9823
9988
  )
9824
9989
  }
9825
- var startTaskReadvue_type_template_id_31232218_staticRenderFns = []
9826
- startTaskReadvue_type_template_id_31232218_render._withStripped = true
9990
+ var startTaskReadvue_type_template_id_503131e8_staticRenderFns = []
9991
+ startTaskReadvue_type_template_id_503131e8_render._withStripped = true
9827
9992
 
9828
9993
 
9829
- // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=31232218&
9994
+ // CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=503131e8&
9830
9995
 
9831
9996
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
9832
9997
  var startTaskReadvue_type_script_lang_js_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; };
@@ -10004,7 +10169,7 @@ var startTaskReadvue_type_script_lang_js_components;
10004
10169
  },
10005
10170
  mixList: [],
10006
10171
  newSelectUserList: [],
10007
- orgId: 3,
10172
+ orgId: '',
10008
10173
  noticeList: [],
10009
10174
  userOptions: [],
10010
10175
  selectCheck: [],
@@ -10023,18 +10188,18 @@ var startTaskReadvue_type_script_lang_js_components;
10023
10188
  tab = {
10024
10189
  employee: {
10025
10190
  param: {
10026
- filid: sessionStorage.getItem('orgId'),
10191
+ filid: this.orgId,
10027
10192
  name: '本单位用户'
10028
10193
  }
10029
10194
  },
10030
- department: { param: { filid: sessionStorage.getItem('orgId') } },
10195
+ department: { param: { filid: this.orgId } },
10031
10196
  enterprise: {}
10032
10197
  };
10033
10198
  } else {
10034
10199
  tab = {
10035
10200
  employee: {
10036
10201
  param: {
10037
- filid: sessionStorage.getItem('orgId')
10202
+ filid: this.orgId
10038
10203
  }
10039
10204
  }
10040
10205
  };
@@ -10044,6 +10209,9 @@ var startTaskReadvue_type_script_lang_js_components;
10044
10209
  },
10045
10210
  mounted: function mounted() {
10046
10211
  this.getFind();
10212
+ if (util["a" /* default */].getStorage('mainConfig')) {
10213
+ this.orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
10214
+ }
10047
10215
  },
10048
10216
 
10049
10217
  methods: {
@@ -10055,7 +10223,7 @@ var startTaskReadvue_type_script_lang_js_components;
10055
10223
  taskExamine = this.taskExamine;
10056
10224
 
10057
10225
  var params = {
10058
- url: api["Ib" /* toTaskTransferIndex */],
10226
+ url: api["Mb" /* toTaskTransferIndex */],
10059
10227
  params: {
10060
10228
  opinion: opinion,
10061
10229
  pendingId: pendingId,
@@ -10093,14 +10261,14 @@ var startTaskReadvue_type_script_lang_js_components;
10093
10261
  this.multiple = false;
10094
10262
  }
10095
10263
  if (val == 1 || val == 2 || val == 5) {
10096
- this.params.filid = util["a" /* default */].getStorage('orgId');
10264
+ this.params.filid = this.orgId;
10097
10265
  if (choiceOrgId) {
10098
10266
  this.params.filid = choiceOrgId;
10099
10267
  }
10100
10268
  }
10101
10269
  if (val == 5 || val == 6) {
10102
- this.params.filid = util["a" /* default */].getStorage('orgId');
10103
- this.params.deptid = util["a" /* default */].getStorage('orgId');
10270
+ this.params.filid = this.orgId;
10271
+ this.params.deptid = this.orgId;
10104
10272
  if (choiceDeptId) {
10105
10273
  this.params.deptid = choiceDeptId;
10106
10274
  }
@@ -10109,14 +10277,14 @@ var startTaskReadvue_type_script_lang_js_components;
10109
10277
  }
10110
10278
  }
10111
10279
  if (val == 15 || val == 16) {
10112
- this.params.filid = util["a" /* default */].getStorage('orgId');
10280
+ this.params.filid = this.orgId;
10113
10281
  if (pOrgId) {
10114
10282
  this.params.filid = pOrgId;
10115
10283
  }
10116
10284
  }
10117
10285
  },
10118
10286
  isMultiple: function isMultiple() {
10119
- var orgId = sessionStorage.getItem('orgId');
10287
+ var orgId = this.orgId;
10120
10288
  if (this.configInfo.selectPersonValue == 1) {
10121
10289
  this.multiple = false;
10122
10290
  this.params.filid = orgId;
@@ -10180,7 +10348,7 @@ var startTaskReadvue_type_script_lang_js_components;
10180
10348
  var _this3 = this;
10181
10349
 
10182
10350
  var params = {
10183
- url: api["Cb" /* toStartTaskRead */],
10351
+ url: api["Gb" /* toStartTaskRead */],
10184
10352
  params: { pendingId: this.pendingId, taskAction: this.type }
10185
10353
  };
10186
10354
  if (this.type != 'taskReadAndEnd') delete params.params.taskAction;
@@ -10219,7 +10387,7 @@ var startTaskReadvue_type_script_lang_js_components;
10219
10387
  var _this5 = this;
10220
10388
 
10221
10389
  util["a" /* default */].ajax({
10222
- url: api["s" /* findCodeValues */],
10390
+ url: api["t" /* findCodeValues */],
10223
10391
  params: { ccCode: 'notification_type' }
10224
10392
  }).then(function (res) {
10225
10393
  var status = res.status,
@@ -10252,7 +10420,7 @@ var startTaskReadvue_type_script_lang_js_components;
10252
10420
  multiple = this.multiple;
10253
10421
 
10254
10422
  var params = {
10255
- url: api["vb" /* taskTransfer */],
10423
+ url: api["zb" /* taskTransfer */],
10256
10424
  data: {
10257
10425
  choiceDeptId: choiceDeptId,
10258
10426
  choiceOrgId: choiceOrgId,
@@ -10346,7 +10514,7 @@ var startTaskReadvue_type_script_lang_js_components;
10346
10514
  !download && delete params.isDownload;
10347
10515
  isCdjxjTaskHandle == 'true' && delete params.noticeType;
10348
10516
  util["a" /* default */].ajax({
10349
- url: api["qb" /* taskReadHtml */],
10517
+ url: api["ub" /* taskReadHtml */],
10350
10518
  params: { taskAction: _this7.type },
10351
10519
  headers: {
10352
10520
  Accept: 'application/json,text/plain'
@@ -10385,7 +10553,7 @@ var startTaskReadvue_type_script_lang_js_components;
10385
10553
 
10386
10554
  this.loading = true;
10387
10555
  util["a" /* default */].ajax({
10388
- url: api["u" /* findSysCodes */]
10556
+ url: api["v" /* findSysCodes */]
10389
10557
  }).then(function (res) {
10390
10558
  var status = res.status,
10391
10559
  message = res.message;
@@ -10423,8 +10591,8 @@ var startTaskReadvue_type_script_lang_js_components;
10423
10591
 
10424
10592
  var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
10425
10593
  src_startTaskReadvue_type_script_lang_js_,
10426
- startTaskReadvue_type_template_id_31232218_render,
10427
- startTaskReadvue_type_template_id_31232218_staticRenderFns,
10594
+ startTaskReadvue_type_template_id_503131e8_render,
10595
+ startTaskReadvue_type_template_id_503131e8_staticRenderFns,
10428
10596
  false,
10429
10597
  null,
10430
10598
  null,
@@ -10838,7 +11006,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
10838
11006
  pendingId = this.pendingId;
10839
11007
 
10840
11008
  var params = {
10841
- url: api["sb" /* taskReview */],
11009
+ url: api["wb" /* taskReview */],
10842
11010
  data: {
10843
11011
  nextUserId: nextOtherOrgObj.join(','),
10844
11012
  notificationType: noticeType.join(','),
@@ -10874,7 +11042,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
10874
11042
  var _this2 = this;
10875
11043
 
10876
11044
  var params = {
10877
- url: api["Fb" /* toTaskReview */],
11045
+ url: api["Jb" /* toTaskReview */],
10878
11046
  params: { pendingId: this.pendingId }
10879
11047
  };
10880
11048
  util["a" /* default */].ajax(params).then(function (res) {
@@ -10909,7 +11077,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
10909
11077
  var _this3 = this;
10910
11078
 
10911
11079
  var params = {
10912
- url: this.type == 'takeAdvice' ? api["Hb" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["Gb" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Kb" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["Lb" /* toTwoOfficesDispatch */] : api["Jb" /* toTaskUnionExamine */],
11080
+ url: this.type == 'takeAdvice' ? api["Lb" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["Kb" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["Ob" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["Pb" /* toTwoOfficesDispatch */] : api["Nb" /* toTaskUnionExamine */],
10913
11081
  params: { pendingId: this.pendingId },
10914
11082
  headers: { Accept: 'application/json,text/plain' }
10915
11083
  };
@@ -11003,7 +11171,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
11003
11171
  // if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
11004
11172
  // return this.$message.warning('暂未开放,敬请期待!');
11005
11173
  var param = {
11006
- url: this.type === 'startDraf' ? api["tb" /* taskStartDraft */] : this.type == 'unionSeal' ? api["xb" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["Nb" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["ub" /* taskTakeAdvice */] : api["wb" /* taskUnionExamine */],
11174
+ url: this.type === 'startDraf' ? api["xb" /* taskStartDraft */] : this.type == 'unionSeal' ? api["Bb" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["Rb" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["yb" /* taskTakeAdvice */] : api["Ab" /* taskUnionExamine */],
11007
11175
  data: {
11008
11176
  opinion: opinion,
11009
11177
  pendingId: pendingId,
@@ -11060,7 +11228,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
11060
11228
  var _this5 = this;
11061
11229
 
11062
11230
  util["a" /* default */].ajax({
11063
- url: api["s" /* findCodeValues */],
11231
+ url: api["t" /* findCodeValues */],
11064
11232
  params: { ccCode: 'notification_type' }
11065
11233
  }).then(function (res) {
11066
11234
  var status = res.status,
@@ -11085,7 +11253,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
11085
11253
  var params = {
11086
11254
  pendingId: this.pendingId
11087
11255
  };
11088
- util["a" /* default */].ajax({ url: api["F" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
11256
+ util["a" /* default */].ajax({ url: api["G" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
11089
11257
  if (res.status === 'success') {
11090
11258
  _this6.infoList.noticeInfo = res.message;
11091
11259
  }
@@ -11101,7 +11269,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
11101
11269
  var _this7 = this;
11102
11270
 
11103
11271
  util["a" /* default */].ajax({
11104
- url: api["u" /* findSysCodes */]
11272
+ url: api["v" /* findSysCodes */]
11105
11273
  }).then(function (res) {
11106
11274
  var status = res.status,
11107
11275
  message = res.message;
@@ -11722,6 +11890,38 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11722
11890
  //
11723
11891
  //
11724
11892
  //
11893
+ //
11894
+ //
11895
+ //
11896
+ //
11897
+ //
11898
+ //
11899
+ //
11900
+ //
11901
+ //
11902
+ //
11903
+ //
11904
+ //
11905
+ //
11906
+ //
11907
+ //
11908
+ //
11909
+ //
11910
+ //
11911
+ //
11912
+ //
11913
+ //
11914
+ //
11915
+ //
11916
+ //
11917
+ //
11918
+ //
11919
+ //
11920
+ //
11921
+ //
11922
+ //
11923
+ //
11924
+ //
11725
11925
 
11726
11926
 
11727
11927
 
@@ -11769,6 +11969,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11769
11969
 
11770
11970
  return _ref = {
11771
11971
  userModel: {},
11972
+ nextOtherOrgObjSelect: [],
11973
+ subProcessColumns: [],
11974
+ nextCurrentOrgObjSelect: [],
11772
11975
  loading: null, // 加载中
11773
11976
  newTypeCode: '',
11774
11977
  NodeName: '', // 当前节点值
@@ -11861,13 +12064,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11861
12064
  removeSignUserId: [], // 减签办理人
11862
12065
  nextUserId: [], // 下步办理人
11863
12066
  nextOrgId: [], //办理对象
12067
+ nextCurrentOrgObj: [],
11864
12068
  nextCurrentOrgObjSerialId: [], //本单位用户
12069
+ nextOtherOrgObj: [], //外单位
11865
12070
  nextReadUserId: [], //分阅用户
11866
12071
  presetReadUserId: [], //自动分阅
11867
12072
  handleExplain: '', //办理意见
11868
12073
  notificationType: [], // 通知方式
11869
- isLimitedTime: '2' // 是否限时办理
11870
- }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.nodeInfo = {
12074
+ isLimitedTime: '2', // 是否限时办理
12075
+ mainSubId: ''
12076
+ }, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.nodeInfo = {
11871
12077
  nextNode: '',
11872
12078
  nextUser: '',
11873
12079
  option: []
@@ -11945,6 +12151,36 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11945
12151
  }
11946
12152
  },
11947
12153
  methods: {
12154
+ getsubProcessColumns: function getsubProcessColumns() {
12155
+ if (!this.isMainSubProcess) return [];
12156
+ var data = [];
12157
+ var obj = { name: '[部门员工]-' };
12158
+ if (this.nextCurrentOrgObjSelect.length > 0) {
12159
+ this.nextCurrentOrgObjSelect.map(function (x) {
12160
+ if (x.stype == 'employee') {
12161
+ obj.name = !obj.value ? obj.name + x.showname : obj.name + ',' + x.showname;
12162
+ obj.value = obj.value ? obj.value + ',' + x.showid : 'employee-' + x.showid;
12163
+ } else {
12164
+ data.push({
12165
+ name: '[部门]' + x.showname,
12166
+ value: 'department-' + x.showid
12167
+ });
12168
+ }
12169
+ });
12170
+ }
12171
+ obj.value && data.push(obj);
12172
+ if (this.nextOtherOrgObjSelect.length > 0) {
12173
+ this.nextOtherOrgObjSelect.map(function (x) {
12174
+ data.push({
12175
+ name: '[企业]' + x.showname,
12176
+ value: 'enterprise-' + x.showid
12177
+ });
12178
+ });
12179
+ }
12180
+ this.subProcessColumns = data;
12181
+ // return data;
12182
+ },
12183
+
11948
12184
  // 分阅是否多选
11949
12185
  isReadMultiple: function isReadMultiple(nextReadUserSelectType) {
11950
12186
  if (nextReadUserSelectType == 1) {
@@ -11980,7 +12216,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
11980
12216
  var _this = this;
11981
12217
 
11982
12218
  var params = {
11983
- url: api["x" /* getAdjunctFileInfos */],
12219
+ url: api["y" /* getAdjunctFileInfos */],
11984
12220
  params: { ownId: ownId, code: code }
11985
12221
  };
11986
12222
  util["a" /* default */].ajax(params).then(function (res) {
@@ -12063,7 +12299,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12063
12299
  taskAction: 'complete'
12064
12300
  };
12065
12301
  util["a" /* default */].ajax({
12066
- url: api["qb" /* taskReadHtml */],
12302
+ url: api["ub" /* taskReadHtml */],
12067
12303
  params: { taskAction: 'complete' },
12068
12304
  headers: {
12069
12305
  Accept: 'application/json,text/plain'
@@ -12095,7 +12331,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12095
12331
 
12096
12332
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
12097
12333
  util["a" /* default */].ajax({
12098
- url: api["Db" /* toStartTaskReadIndex */],
12334
+ url: api["Hb" /* toStartTaskReadIndex */],
12099
12335
  params: { pendingId: this.pendingId }
12100
12336
  }).then(function (res) {
12101
12337
  var status = res.status,
@@ -12129,7 +12365,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12129
12365
  if (mainConfig) {
12130
12366
  this.userModel = JSON.parse(mainConfig).userModel;
12131
12367
  } else {
12132
- util["a" /* default */].ajax({ url: api["W" /* loginUserInfo */] }).then(function (res) {
12368
+ util["a" /* default */].ajax({ url: api["Z" /* loginUserInfo */] }).then(function (res) {
12133
12369
  var status = res.status,
12134
12370
  data = res.data;
12135
12371
 
@@ -12164,7 +12400,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12164
12400
  var _this5 = this;
12165
12401
 
12166
12402
  util["a" /* default */].ajax({
12167
- url: api["s" /* findCodeValues */],
12403
+ url: api["t" /* findCodeValues */],
12168
12404
  params: { ccCode: 'notification_type' }
12169
12405
  }).then(function (res) {
12170
12406
  var status = res.status,
@@ -12227,7 +12463,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12227
12463
  pendingId: this.pendingId
12228
12464
  };
12229
12465
  this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
12230
- util["a" /* default */].ajax({ url: api["yb" /* tempSave */], params: params }).then(function (res) {
12466
+ util["a" /* default */].ajax({ url: api["Cb" /* tempSave */], params: params }).then(function (res) {
12231
12467
  var status = res.status,
12232
12468
  message = res.message;
12233
12469
 
@@ -12283,7 +12519,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12283
12519
  var _this8 = this;
12284
12520
 
12285
12521
  util["a" /* default */].ajax({
12286
- url: api["u" /* findSysCodes */]
12522
+ url: api["v" /* findSysCodes */]
12287
12523
  }).then(function (res) {
12288
12524
  var status = res.status,
12289
12525
  message = res.message;
@@ -12310,7 +12546,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12310
12546
 
12311
12547
  this.$confirm('确认' + res.value + '?').then(function () {
12312
12548
  var params = {
12313
- url: api["r" /* endFlowHtml */],
12549
+ url: api["s" /* endFlowHtml */],
12314
12550
  headers: { Accept: 'application/json,text/plain' },
12315
12551
  method: 'post',
12316
12552
  data: mainvue_type_script_lang_js_extends({}, _this9.endFlowInfo, _this9.nextNode, {
@@ -12438,7 +12674,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12438
12674
  var _this10 = this;
12439
12675
 
12440
12676
  var params = {
12441
- url: api["V" /* isCanStartSubFlow */],
12677
+ url: api["Y" /* isCanStartSubFlow */],
12442
12678
  data: {
12443
12679
  appId: this.taskExamineInfo.appId,
12444
12680
  inevitableNode: res.inevitableNode
@@ -12509,7 +12745,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12509
12745
  this.$confirm('确认' + res.value + '?').then(function () {
12510
12746
  if (_this11.isOpinionRequired == 1 && (_this11.value == '' || !_this11.value)) return _this11.$message.warning('请填写意见');
12511
12747
  var params = {
12512
- url: api["hb" /* rejectAndEnd */],
12748
+ url: api["kb" /* rejectAndEnd */],
12513
12749
  headers: { Accept: 'application/json,text/plain' },
12514
12750
  method: 'post',
12515
12751
  data: {
@@ -12572,7 +12808,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12572
12808
  pendingId: this.pendingId,
12573
12809
  businessId: this.businessIds
12574
12810
  };
12575
- util["a" /* default */].ajax({ url: api["E" /* getNodeInfo */], params: params }).then(function (res) {
12811
+ util["a" /* default */].ajax({ url: api["F" /* getNodeInfo */], params: params }).then(function (res) {
12576
12812
  var status = res.status,
12577
12813
  message = res.message,
12578
12814
  data = res.data;
@@ -12677,6 +12913,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12677
12913
  if (type) {
12678
12914
  this.isNextUser = false;
12679
12915
  this.isShowNode = false;
12916
+ this.isMainSubProcess = false;
12680
12917
  this.nextNode.nextNodeId = '';
12681
12918
  this.nextNode.isReturnSubmitter = 0;
12682
12919
  this.nextNode.isUndertakeReply = 0;
@@ -12812,7 +13049,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12812
13049
  pendingId: this.pendingId,
12813
13050
  userId: util["a" /* default */].getStorage('userId')
12814
13051
  };
12815
- util["a" /* default */].ajax({ url: api["B" /* getHandleInfoHtml */], params: params }).then(function (res) {
13052
+ util["a" /* default */].ajax({ url: api["C" /* getHandleInfoHtml */], params: params }).then(function (res) {
12816
13053
  //pc返回数据
12817
13054
 
12818
13055
  _this14.loading.close();
@@ -12827,6 +13064,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12827
13064
  choiceOrgId = _res$data2.choiceOrgId,
12828
13065
  choiceDeptId = _res$data2.choiceDeptId,
12829
13066
  pOrgId = _res$data2.pOrgId,
13067
+ currentOrgName = _res$data2.currentOrgName,
13068
+ otherOrgName = _res$data2.otherOrgName,
12830
13069
  taskExamine = _res$data2.taskExamine,
12831
13070
  nodeInfoMap = _res$data2.nodeInfoMap,
12832
13071
  canRemoveSignUserList = _res$data2.canRemoveSignUserList,
@@ -12842,6 +13081,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12842
13081
  taskButtonList = _res$data2.taskButtonList;
12843
13082
 
12844
13083
  _this14.$emit('startTaskRead', res);
13084
+ _this14.currentOrgName = currentOrgName;
13085
+ _this14.otherOrgName = otherOrgName;
12845
13086
  _this14.endFlowInfo.choiceOrgId = choiceOrgId;
12846
13087
  _this14.endFlowInfo.choiceDeptId = choiceDeptId;
12847
13088
  _this14.endFlowInfo.pendingId = _this14.pendingId;
@@ -12993,7 +13234,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
12993
13234
  }
12994
13235
  });
12995
13236
  }
12996
- _this14.isMainSubProcess = res.data.isMainSubProcess === true;
13237
+ _this14.isMainSubProcess = res.data.isMainSubProcess == 'true';
12997
13238
  _this14.isCustomPreset = isCustomPreset;
12998
13239
  _this14.isPreset = isPreset;
12999
13240
  _this14.presetTaskNodeMap = presetTaskNodeMap;
@@ -13075,7 +13316,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13075
13316
  // onlyFlag: true
13076
13317
  };
13077
13318
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
13078
- util["a" /* default */].ajax({ url: api["J" /* getProcessDefList */], params: params }).then(function (res) {
13319
+ util["a" /* default */].ajax({ url: api["K" /* getProcessDefList */], params: params }).then(function (res) {
13079
13320
  var status = res.status,
13080
13321
  message = res.message,
13081
13322
  data = res.data;
@@ -13124,7 +13365,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13124
13365
  userId: util["a" /* default */].getStorage('userId'),
13125
13366
  type: 2
13126
13367
  };
13127
- util["a" /* default */].ajax({ url: api["ab" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
13368
+ util["a" /* default */].ajax({ url: api["db" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
13128
13369
  var rCode = res.rCode,
13129
13370
  msg = res.msg,
13130
13371
  results = res.results;
@@ -13185,7 +13426,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13185
13426
  switch (_context.prev = _context.next) {
13186
13427
  case 0:
13187
13428
  if (!valid) {
13188
- _context.next = 56;
13429
+ _context.next = 59;
13189
13430
  break;
13190
13431
  }
13191
13432
 
@@ -13275,6 +13516,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13275
13516
  return _context.abrupt('return');
13276
13517
 
13277
13518
  case 24:
13519
+ if (!(_this18.isHideCurrentOrg && !_this18.nextNode.nextCurrentOrgObjJson)) {
13520
+ _context.next = 27;
13521
+ break;
13522
+ }
13523
+
13524
+ _this18.$message.warning('\u8BF7\u9009\u62E9' + (_this18.currentOrgName || '本单位'));
13525
+ return _context.abrupt('return');
13526
+
13527
+ case 27:
13278
13528
  str = '';
13279
13529
 
13280
13530
  if (_this18.value) {
@@ -13294,10 +13544,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13294
13544
  if (_this18.nextNode.nextOperate != 0 && _this18.nextNode.nextOperate != 1) {
13295
13545
  delete _this18.nextNode.nextNodeId;
13296
13546
  }
13297
- _context.next = 32;
13547
+ _context.next = 35;
13298
13548
  return _this18.saveInfo('subMit');
13299
13549
 
13300
- case 32:
13550
+ case 35:
13301
13551
  _this18.loading = util["a" /* default */].loading(_this18.$loading, '加载中...');
13302
13552
 
13303
13553
  notificationType = '';
@@ -13340,7 +13590,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13340
13590
  params.processDefinitionId = taskExamineInfo.processDefinitionId;
13341
13591
  params.isSubFlow = taskExamineInfo.isSubFlow;
13342
13592
  params.nodeId = taskExamineInfo.nodeId;
13343
- return _context.abrupt('return', util["a" /* default */].ajax({ url: api["pb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
13593
+ return _context.abrupt('return', util["a" /* default */].ajax({ url: api["tb" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
13344
13594
  var status = res.status,
13345
13595
  message = res.message;
13346
13596
 
@@ -13359,10 +13609,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13359
13609
  }
13360
13610
  }));
13361
13611
 
13362
- case 56:
13612
+ case 59:
13363
13613
  return _context.abrupt('return', false);
13364
13614
 
13365
- case 57:
13615
+ case 60:
13366
13616
  case 'end':
13367
13617
  return _context.stop();
13368
13618
  }
@@ -13374,6 +13624,38 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
13374
13624
  return _ref2.apply(this, arguments);
13375
13625
  };
13376
13626
  }());
13627
+ },
13628
+
13629
+ // 单位选择完回调
13630
+ disposeAppUnit: function disposeAppUnit(res, type) {
13631
+ var label = type.substring(0, type.lastIndexOf('Select'));
13632
+ this.nextNode[label + 'Name'] = '';
13633
+ res.options && (this[type] = res.options);
13634
+ var obj = {};
13635
+ // if (typeof res.mixList == 'array')
13636
+ res.mixList && (this.nextNode[label] = res.mixList.join('|'));
13637
+ res.options.map(function (item) {
13638
+ if (obj[item.stype]) {
13639
+ obj[item.stype].push(item.showname);
13640
+ } else {
13641
+ obj[item.stype] = [item.showname];
13642
+ }
13643
+ });
13644
+ for (var key in obj) {
13645
+ if (key === 'enterprise' && this.nextNode[label + 'Name'].indexOf('[企业]') == -1) {
13646
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[企业]-' + obj[key].join(',') : '' + '[企业]-' + obj[key].join(',');
13647
+ }
13648
+ if (key === 'department' && this.nextNode[label + 'Name'].indexOf('[部门]') == -1) {
13649
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[部门]-' + obj[key].join(',') : '' + '[部门]-' + obj[key].join(',');
13650
+ }
13651
+ if (key === 'employee' && this.nextNode[label + 'Name'].indexOf('[部门员工]') == -1) {
13652
+ this.nextNode[label + 'Name'] = this.nextNode[label + 'Name'] ? this.nextNode[label + 'Name'] + '|' + '[部门员工]-' + obj[key].join(',') : '' + '[部门员工]-' + obj[key].join(',');
13653
+ }
13654
+ }
13655
+ // this.nextNode[label + 'Name'] = obj.enterprise?;
13656
+ this.nextNode[label + 'SerialId'] = res.nextUser.join(',');
13657
+ this.nextNode[label + 'Json'] = JSON.stringify(res.options);
13658
+ this.getsubProcessColumns();
13377
13659
  }
13378
13660
  }
13379
13661
  });