eoss-ui 0.6.92 → 0.6.93
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.
- package/lib/button-group.js +79 -77
- package/lib/button.js +79 -77
- package/lib/calogin.js +79 -77
- package/lib/checkbox-group.js +79 -77
- package/lib/config/api.js +2 -1
- package/lib/data-table-form.js +79 -77
- package/lib/data-table.js +79 -77
- package/lib/date-picker.js +79 -77
- package/lib/dialog.js +79 -77
- package/lib/eoss-ui.common.js +832 -754
- package/lib/flow-group.js +79 -77
- package/lib/flow-list.js +84 -82
- package/lib/flow.js +758 -682
- package/lib/form.js +79 -77
- package/lib/handle-user.js +80 -78
- package/lib/handler.js +80 -78
- package/lib/icon.js +80 -78
- package/lib/index.js +1 -1
- package/lib/input-number.js +79 -77
- package/lib/input.js +79 -77
- package/lib/login.js +82 -80
- package/lib/main.js +108 -106
- package/lib/nav.js +79 -77
- package/lib/notify.js +82 -80
- package/lib/page.js +79 -77
- package/lib/pagination.js +79 -77
- package/lib/player.js +79 -77
- package/lib/qr-code.js +79 -77
- package/lib/radio-group.js +79 -77
- package/lib/retrial-auth.js +81 -79
- package/lib/select-ganged.js +79 -77
- package/lib/select.js +80 -78
- package/lib/selector-panel.js +79 -77
- package/lib/selector.js +79 -77
- package/lib/sizer.js +79 -77
- package/lib/steps.js +79 -77
- package/lib/switch.js +79 -77
- package/lib/table-form.js +79 -77
- package/lib/tabs.js +79 -77
- package/lib/tips.js +80 -78
- package/lib/tree-group.js +79 -77
- package/lib/tree.js +83 -79
- package/lib/upload.js +86 -84
- package/lib/wujie.js +79 -77
- package/lib/wxlogin.js +79 -77
- package/package.json +1 -1
- package/packages/flow/src/main.vue +105 -51
- package/packages/flow/src/processForm.vue +29 -2
- package/packages/select/src/main.vue +1 -1
- package/packages/tree/src/main.vue +1 -0
- package/src/config/api.js +1 -0
- package/src/index.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -1531,7 +1531,7 @@ var getLightness = function getLightness($v, $i, $isLight) {
|
|
|
1531
1531
|
* @param {function} callback - 回调函数
|
|
1532
1532
|
**/
|
|
1533
1533
|
var getMainConfig = function getMainConfig(callback) {
|
|
1534
|
-
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_1__[/* mainConfig */ "
|
|
1534
|
+
ajax({ url: _config_api__WEBPACK_IMPORTED_MODULE_1__[/* mainConfig */ "rb"] }).then(function (res) {
|
|
1535
1535
|
if (res && res.rCode === 0) {
|
|
1536
1536
|
callback(res.results);
|
|
1537
1537
|
}
|
|
@@ -2288,7 +2288,7 @@ var isLogined = function () {
|
|
|
2288
2288
|
break;
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
-
ajax({ method: 'post', url: _config_api__WEBPACK_IMPORTED_MODULE_1__[/* logout */ "
|
|
2291
|
+
ajax({ method: 'post', url: _config_api__WEBPACK_IMPORTED_MODULE_1__[/* logout */ "qb"] }).then(function (res) {
|
|
2292
2292
|
if (res.rCode === 0) {
|
|
2293
2293
|
removeStorage();
|
|
2294
2294
|
}
|
|
@@ -3571,32 +3571,32 @@ var watermark = function watermark(option) {
|
|
|
3571
3571
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return doCaLogin; });
|
|
3572
3572
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return doUserLogin; });
|
|
3573
3573
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return doQrLogin; });
|
|
3574
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3575
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3576
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3574
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qb", function() { return logout; });
|
|
3575
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jb", function() { return initLogin; });
|
|
3576
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lb", function() { return switchUserTo; });
|
|
3577
3577
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return changeImg; });
|
|
3578
3578
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return getLoginCode; });
|
|
3579
3579
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return doCodeLogin; });
|
|
3580
3580
|
/* unused harmony export updateCode */
|
|
3581
3581
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return getModifyPassCode; });
|
|
3582
3582
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return codeModifyPass; });
|
|
3583
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3583
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ob", function() { return loginModifyPassword; });
|
|
3584
3584
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return authCenter; });
|
|
3585
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3585
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kb", function() { return initModifyPassword; });
|
|
3586
3586
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return doWechatQrLogin; });
|
|
3587
3587
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cb", function() { return getTwoFactorLoginCode; });
|
|
3588
3588
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return doTwoFactorLogin; });
|
|
3589
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3589
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lb", function() { return initRetrialAuth; });
|
|
3590
3590
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return getRetrialAuthCode; });
|
|
3591
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3591
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Eb", function() { return scanCodeRetrialAuth; });
|
|
3592
3592
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return codeRetrialAuth; });
|
|
3593
3593
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return doAssistanceQrLogin; });
|
|
3594
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3595
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3596
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3597
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3598
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3599
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3594
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zc", function() { return userOnline; });
|
|
3595
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "eb", function() { return getUserAppWithTag; });
|
|
3596
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "zb", function() { return recordUserApp; });
|
|
3597
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rb", function() { return mainConfig; });
|
|
3598
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mb", function() { return initUserSet; });
|
|
3599
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uc", function() { return updateUserInfo; });
|
|
3600
3600
|
/* unused harmony export getUserImgUrl */
|
|
3601
3601
|
/* unused harmony export getDoorIndex */
|
|
3602
3602
|
/* unused harmony export refreshOnlineUsers */
|
|
@@ -3605,22 +3605,22 @@ var watermark = function watermark(option) {
|
|
|
3605
3605
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return getComplexApplications; });
|
|
3606
3606
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return getComplexApplicationsNew; });
|
|
3607
3607
|
/* unused harmony export getUserCustomInfo */
|
|
3608
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3609
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3610
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3611
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3612
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3608
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tc", function() { return updateUserCustomInfo; });
|
|
3609
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Mb", function() { return sysMsgPage; });
|
|
3610
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ib", function() { return ignoreSysMsg; });
|
|
3611
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hb", function() { return ignoreAllSysMsg; });
|
|
3612
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fb", function() { return searchType; });
|
|
3613
3613
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bb", function() { return getSysParam; });
|
|
3614
3614
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return getAdjunctProperties; });
|
|
3615
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3616
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3615
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yc", function() { return uploads; });
|
|
3616
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wc", function() { return uploadOnlyOne; });
|
|
3617
3617
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return getAdjunctFileInfos; });
|
|
3618
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3618
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xc", function() { return uploadSort; });
|
|
3619
3619
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return downloadByAdjunctId; });
|
|
3620
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3621
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3622
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3623
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3620
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vc", function() { return uploadDownloads; });
|
|
3621
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wb", function() { return previewAdjunct; });
|
|
3622
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "xb", function() { return previewAdjunct2; });
|
|
3623
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "yb", function() { return previewAdjunctOffice; });
|
|
3624
3624
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return delAdjunct; });
|
|
3625
3625
|
/* unused harmony export upload_updateClassify */
|
|
3626
3626
|
/* unused harmony export getDeleteAdjunctFileInfos */
|
|
@@ -3632,16 +3632,16 @@ var watermark = function watermark(option) {
|
|
|
3632
3632
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return findSysCode; });
|
|
3633
3633
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return getDictList; });
|
|
3634
3634
|
/* unused harmony export findUserBaseInfo */
|
|
3635
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3635
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fb", function() { return gethelpdoc; });
|
|
3636
3636
|
/* unused harmony export getCurrentuser */
|
|
3637
3637
|
/* unused harmony export mainDetail */
|
|
3638
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3639
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3638
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cc", function() { return toStartFlow; });
|
|
3639
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Yb", function() { return tempSave; });
|
|
3640
3640
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return commonOpion; });
|
|
3641
3641
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addCommonOpion; });
|
|
3642
3642
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return editCommonOpion; });
|
|
3643
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3644
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3643
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Db", function() { return saveCommonOpinion; });
|
|
3644
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sc", function() { return updateCommonOpinion; });
|
|
3645
3645
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return deleteCommonOpion; });
|
|
3646
3646
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return getProcessDefList; });
|
|
3647
3647
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return getNodeInfo; });
|
|
@@ -3650,72 +3650,73 @@ var watermark = function watermark(option) {
|
|
|
3650
3650
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return findSysCodes; });
|
|
3651
3651
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return getNotificationMsg; });
|
|
3652
3652
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return getHandleInfoHtml; });
|
|
3653
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3653
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ob", function() { return taskHandleHtml; });
|
|
3654
3654
|
/* unused harmony export getView */
|
|
3655
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3656
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3657
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3658
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3659
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3660
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3661
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3662
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3663
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3664
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3655
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ab", function() { return register; });
|
|
3656
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sb", function() { return pendedhistoryList; });
|
|
3657
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gc", function() { return toTaskRejectHtml; });
|
|
3658
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Rb", function() { return taskRejectHtml; });
|
|
3659
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dc", function() { return toStartTaskRead; });
|
|
3660
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ec", function() { return toStartTaskReadIndex; });
|
|
3661
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pb", function() { return taskReadHtml; });
|
|
3662
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bb", function() { return rejectAndEnd; });
|
|
3663
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "bc", function() { return toSendMsg; });
|
|
3664
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Jb", function() { return sendMsg; });
|
|
3665
3665
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return endFlowHtml; });
|
|
3666
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3667
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3668
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3669
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3666
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gb", function() { return handleInfo; });
|
|
3667
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pb", function() { return loginUserInfo; });
|
|
3668
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ac", function() { return wss; });
|
|
3669
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "qc", function() { return topic; });
|
|
3670
3670
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return getPresetCustomInfo; });
|
|
3671
3671
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return getPresetNodeInfo; });
|
|
3672
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3673
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3674
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3672
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mc", function() { return toTaskTransferIndex; });
|
|
3673
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vb", function() { return taskTransfer; });
|
|
3674
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Zb", function() { return toPresetInfoListIndex; });
|
|
3675
3675
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return deletePresetInfo; });
|
|
3676
3676
|
/* unused harmony export historyListJson */
|
|
3677
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3678
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3677
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tb", function() { return pendedhistoryListJson; });
|
|
3678
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vb", function() { return pressListJson; });
|
|
3679
3679
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return deleteFlow; });
|
|
3680
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3681
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3682
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3683
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3684
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3685
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3686
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3687
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3688
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3689
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3690
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3691
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3692
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3693
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3694
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3695
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3696
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3697
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3698
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3680
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nb", function() { return isCanStartSubFlow; });
|
|
3681
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "nc", function() { return toTaskUnionExamine; });
|
|
3682
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Wb", function() { return taskUnionExamine; });
|
|
3683
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lc", function() { return toTaskTakeAdvice; });
|
|
3684
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ub", function() { return taskTakeAdvice; });
|
|
3685
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ic", function() { return toTaskStartDraft; });
|
|
3686
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jc", function() { return toTaskSupervise; });
|
|
3687
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "kc", function() { return toTaskSuperviseSub; });
|
|
3688
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tb", function() { return taskStartDraft; });
|
|
3689
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hc", function() { return toTaskReview; });
|
|
3690
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sb", function() { return taskReview; });
|
|
3691
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "oc", function() { return toTaskUnionSeal; });
|
|
3692
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xb", function() { return taskUnionSeal; });
|
|
3693
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "pc", function() { return toTwoOfficesDispatch; });
|
|
3694
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rc", function() { return twoOfficesDispatch; });
|
|
3695
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ac", function() { return toResetProcessIndex; });
|
|
3696
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cb", function() { return resetProcess; });
|
|
3697
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fc", function() { return toTaskContinuationIndex; });
|
|
3698
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Nb", function() { return taskContinuation; });
|
|
3699
3699
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return getFreeStartFlowParams; });
|
|
3700
3700
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return freeStartFlowWithSubmitTask; });
|
|
3701
3701
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return checkForeignOrgStartedCircularRead; });
|
|
3702
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3702
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ub", function() { return pendedhistoryListWithCircularReadJson; });
|
|
3703
3703
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return fyListJson; });
|
|
3704
3704
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return circularReadWithdraw; });
|
|
3705
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3706
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3705
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Qb", function() { return taskReadWithDraw; });
|
|
3706
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Kb", function() { return startReadTransferHandleFlowWithTaskReadEnd; });
|
|
3707
3707
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return checkBusinessIdStartedReadTransferHandle; });
|
|
3708
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3709
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3708
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Ib", function() { return sendList; });
|
|
3709
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hb", function() { return sendInfo; });
|
|
3710
3710
|
/* unused harmony export sendSave */
|
|
3711
3711
|
/* unused harmony export sendUpdate */
|
|
3712
3712
|
/* unused harmony export sendDelete */
|
|
3713
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
3713
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Gb", function() { return sendBatch; });
|
|
3714
3714
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return formContents; });
|
|
3715
3715
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return directStartTaskCircularRead; });
|
|
3716
3716
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return endFlowAndStartTaskCircularRead; });
|
|
3717
3717
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return getNodeInfoForStart; });
|
|
3718
3718
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return freeStartFlow; });
|
|
3719
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
|
|
3719
3720
|
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
|
|
3720
3721
|
// 登录
|
|
3721
3722
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
|
@@ -3977,6 +3978,7 @@ var directStartTaskCircularRead = '/bpm/bpmBackend/directStartTaskCircularRead';
|
|
|
3977
3978
|
var endFlowAndStartTaskCircularRead = '/bpm/bpmBackend/endFlowAndStartTaskCircularRead';
|
|
3978
3979
|
var getNodeInfoForStart = flowPendingPrefix + '/task/taskHandle/getNodeInfoForStart.dhtml';
|
|
3979
3980
|
var freeStartFlow = '/bpm/bpmBackend/freeStartFlow';
|
|
3981
|
+
var getUrgencyLevelChangedNotificationType = '/bpm/bpmBackend/getUrgencyLevelChangedNotificationType';
|
|
3980
3982
|
|
|
3981
3983
|
/***/ }),
|
|
3982
3984
|
/* 2 */
|
|
@@ -4483,7 +4485,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4483
4485
|
// ESM COMPAT FLAG
|
|
4484
4486
|
__webpack_require__.r(__webpack_exports__);
|
|
4485
4487
|
|
|
4486
|
-
// 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=
|
|
4488
|
+
// 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=2181006a&
|
|
4487
4489
|
var render = function () {
|
|
4488
4490
|
var _vm = this
|
|
4489
4491
|
var _h = _vm.$createElement
|
|
@@ -6298,6 +6300,8 @@ var render = function () {
|
|
|
6298
6300
|
"label-position": _vm.formLabelPosition,
|
|
6299
6301
|
showBtn: false,
|
|
6300
6302
|
formTitle: _vm.formTitle,
|
|
6303
|
+
urgencyLevel: _vm.urgencyLevel,
|
|
6304
|
+
messageType: _vm.newsList,
|
|
6301
6305
|
"copy-history":
|
|
6302
6306
|
_vm.freeStartFlowParams.pendedHistoryHandle,
|
|
6303
6307
|
"process-definition-id":
|
|
@@ -7369,7 +7373,7 @@ var staticRenderFns = []
|
|
|
7369
7373
|
render._withStripped = true
|
|
7370
7374
|
|
|
7371
7375
|
|
|
7372
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
7376
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2181006a&
|
|
7373
7377
|
|
|
7374
7378
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7375
7379
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -8371,7 +8375,7 @@ var _components;
|
|
|
8371
8375
|
}
|
|
8372
8376
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
8373
8377
|
util["a" /* default */].ajax({
|
|
8374
|
-
url: data.id ? api["
|
|
8378
|
+
url: data.id ? api["sc" /* updateCommonOpinion */] : api["Db" /* saveCommonOpinion */],
|
|
8375
8379
|
data: info,
|
|
8376
8380
|
header: { 'Content-Type': 'multipart/form-data' },
|
|
8377
8381
|
method: 'post'
|
|
@@ -8422,8 +8426,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8422
8426
|
)
|
|
8423
8427
|
|
|
8424
8428
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
8425
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
8426
|
-
var
|
|
8429
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
|
|
8430
|
+
var processFormvue_type_template_id_1672698e_render = function () {
|
|
8427
8431
|
var _vm = this
|
|
8428
8432
|
var _h = _vm.$createElement
|
|
8429
8433
|
var _c = _vm._self._c || _h
|
|
@@ -9180,11 +9184,11 @@ var processFormvue_type_template_id_a60e74a6_render = function () {
|
|
|
9180
9184
|
1
|
|
9181
9185
|
)
|
|
9182
9186
|
}
|
|
9183
|
-
var
|
|
9184
|
-
|
|
9187
|
+
var processFormvue_type_template_id_1672698e_staticRenderFns = []
|
|
9188
|
+
processFormvue_type_template_id_1672698e_render._withStripped = true
|
|
9185
9189
|
|
|
9186
9190
|
|
|
9187
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
9191
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
|
|
9188
9192
|
|
|
9189
9193
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=3d8ca42d&
|
|
9190
9194
|
var selectUservue_type_template_id_3d8ca42d_render = function () {
|
|
@@ -9544,7 +9548,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9544
9548
|
classify: true,
|
|
9545
9549
|
newOptions: [],
|
|
9546
9550
|
newSelectUserList: [],
|
|
9547
|
-
url: api["
|
|
9551
|
+
url: api["gb" /* handleInfo */],
|
|
9548
9552
|
newCheckboxList: [],
|
|
9549
9553
|
newPresetEdit: 0,
|
|
9550
9554
|
newMultiple: false,
|
|
@@ -9673,7 +9677,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9673
9677
|
if (query !== '') {
|
|
9674
9678
|
this.searchLoading = true;
|
|
9675
9679
|
util["a" /* default */].ajax({
|
|
9676
|
-
url: api["
|
|
9680
|
+
url: api["gb" /* handleInfo */],
|
|
9677
9681
|
params: { searchKey: query, query: query, type: 'user' }
|
|
9678
9682
|
}).then(function (res) {
|
|
9679
9683
|
var status = res.status,
|
|
@@ -11108,7 +11112,17 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11108
11112
|
type: String,
|
|
11109
11113
|
default: ''
|
|
11110
11114
|
},
|
|
11111
|
-
showBtn: { type: Boolean, default: true }
|
|
11115
|
+
showBtn: { type: Boolean, default: true },
|
|
11116
|
+
messageType: {
|
|
11117
|
+
type: Array,
|
|
11118
|
+
default: function _default() {
|
|
11119
|
+
return [];
|
|
11120
|
+
}
|
|
11121
|
+
},
|
|
11122
|
+
urgencyLevel: {
|
|
11123
|
+
type: [Number, String],
|
|
11124
|
+
default: ''
|
|
11125
|
+
}
|
|
11112
11126
|
},
|
|
11113
11127
|
data: function data() {
|
|
11114
11128
|
return {
|
|
@@ -11199,12 +11213,33 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11199
11213
|
nodeInfo: [],
|
|
11200
11214
|
userInfo: [],
|
|
11201
11215
|
handleExplain: '',
|
|
11202
|
-
noticeList: []
|
|
11216
|
+
noticeList: [],
|
|
11217
|
+
msgTypeCount: 0
|
|
11203
11218
|
}
|
|
11204
11219
|
};
|
|
11205
11220
|
},
|
|
11206
11221
|
|
|
11207
11222
|
watch: {
|
|
11223
|
+
messageType: {
|
|
11224
|
+
handler: function handler(val) {
|
|
11225
|
+
var _this = this;
|
|
11226
|
+
|
|
11227
|
+
if (val.length > 0 && this.urgencyLevel && this.msgTypeCount != 0) {
|
|
11228
|
+
this.nextNode.noticeList = val;
|
|
11229
|
+
var arr = [];
|
|
11230
|
+
this.nextNode.noticeList.map(function (item) {
|
|
11231
|
+
_this.nextNode.noticeType.map(function (x) {
|
|
11232
|
+
if (x == item.cciValue) {
|
|
11233
|
+
arr.push(x);
|
|
11234
|
+
}
|
|
11235
|
+
});
|
|
11236
|
+
});
|
|
11237
|
+
this.nextNode.noticeType = arr;
|
|
11238
|
+
} else {
|
|
11239
|
+
this.msgTypeCount++;
|
|
11240
|
+
}
|
|
11241
|
+
}
|
|
11242
|
+
},
|
|
11208
11243
|
processDefinitionId: function processDefinitionId(val) {
|
|
11209
11244
|
Object.assign(this.$data, this.$options.data());
|
|
11210
11245
|
this.getUserInfo();
|
|
@@ -11265,25 +11300,25 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11265
11300
|
}
|
|
11266
11301
|
},
|
|
11267
11302
|
getUserInfo: function getUserInfo() {
|
|
11268
|
-
var
|
|
11303
|
+
var _this2 = this;
|
|
11269
11304
|
|
|
11270
11305
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
11271
11306
|
if (mainConfig) {
|
|
11272
11307
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
11273
11308
|
} else {
|
|
11274
|
-
util["a" /* default */].ajax({ url: api["
|
|
11309
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
11275
11310
|
var status = res.status,
|
|
11276
11311
|
data = res.data;
|
|
11277
11312
|
|
|
11278
11313
|
if (status == 'success') {
|
|
11279
|
-
|
|
11314
|
+
_this2.userModel = data;
|
|
11280
11315
|
} else {
|
|
11281
11316
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
11282
|
-
|
|
11317
|
+
_this2.$message.error(msg);
|
|
11283
11318
|
}
|
|
11284
11319
|
}).catch(function (err) {
|
|
11285
11320
|
if (err.message && err.message !== 'canceled') {
|
|
11286
|
-
|
|
11321
|
+
_this2.$message.error(err.message);
|
|
11287
11322
|
}
|
|
11288
11323
|
});
|
|
11289
11324
|
}
|
|
@@ -11377,7 +11412,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11377
11412
|
this.mixOrgIdList = mixList;
|
|
11378
11413
|
},
|
|
11379
11414
|
getNodeType: function getNodeType() {
|
|
11380
|
-
var
|
|
11415
|
+
var _this3 = this;
|
|
11381
11416
|
|
|
11382
11417
|
util["a" /* default */].ajax({
|
|
11383
11418
|
url: api["z" /* findCodeValues */],
|
|
@@ -11390,23 +11425,23 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11390
11425
|
data = res.data;
|
|
11391
11426
|
|
|
11392
11427
|
if (status === 'success') {
|
|
11393
|
-
|
|
11428
|
+
_this3.nextNode.noticeList = data;
|
|
11394
11429
|
}
|
|
11395
11430
|
}).catch(function (err) {
|
|
11396
|
-
if (
|
|
11397
|
-
|
|
11431
|
+
if (_this3.showBtn) {
|
|
11432
|
+
_this3.loading = false;
|
|
11398
11433
|
} else {
|
|
11399
|
-
|
|
11434
|
+
_this3.allLoading.close();
|
|
11400
11435
|
}
|
|
11401
11436
|
if (err.message && err.message !== 'canceled') {
|
|
11402
|
-
|
|
11437
|
+
_this3.$message.error(err.message);
|
|
11403
11438
|
}
|
|
11404
11439
|
});
|
|
11405
11440
|
},
|
|
11406
11441
|
|
|
11407
11442
|
//获取通知信息
|
|
11408
11443
|
getMessage: function getMessage() {
|
|
11409
|
-
var
|
|
11444
|
+
var _this4 = this;
|
|
11410
11445
|
|
|
11411
11446
|
var params = {
|
|
11412
11447
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -11418,21 +11453,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11418
11453
|
}
|
|
11419
11454
|
util["a" /* default */].ajax({ url: api["S" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
11420
11455
|
if (res.status === 'success') {
|
|
11421
|
-
if (!
|
|
11422
|
-
|
|
11423
|
-
|
|
11456
|
+
if (!_this4.showBtn) {
|
|
11457
|
+
_this4.oldMessage = res.message;
|
|
11458
|
+
_this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
|
|
11424
11459
|
} else {
|
|
11425
|
-
|
|
11460
|
+
_this4.nextNode.noticeInfo = res.message;
|
|
11426
11461
|
}
|
|
11427
11462
|
}
|
|
11428
11463
|
}).catch(function (err) {
|
|
11429
|
-
if (
|
|
11430
|
-
|
|
11464
|
+
if (_this4.showBtn) {
|
|
11465
|
+
_this4.loading = false;
|
|
11431
11466
|
} else {
|
|
11432
|
-
|
|
11467
|
+
_this4.allLoading.close();
|
|
11433
11468
|
}
|
|
11434
11469
|
if (err.message && err.message !== 'canceled') {
|
|
11435
|
-
|
|
11470
|
+
_this4.$message.error(err.message);
|
|
11436
11471
|
}
|
|
11437
11472
|
});
|
|
11438
11473
|
},
|
|
@@ -11442,11 +11477,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11442
11477
|
this.saveProcess(formName);
|
|
11443
11478
|
},
|
|
11444
11479
|
saveProcess: function saveProcess(formName) {
|
|
11445
|
-
var
|
|
11480
|
+
var _this5 = this;
|
|
11446
11481
|
|
|
11447
11482
|
this.$refs[formName].validate(function (valid) {
|
|
11448
11483
|
if (valid) {
|
|
11449
|
-
var _nextNode =
|
|
11484
|
+
var _nextNode = _this5.nextNode,
|
|
11450
11485
|
nextNode = _nextNode.nextNode,
|
|
11451
11486
|
nextUser = _nextNode.nextUser,
|
|
11452
11487
|
noticeInfo = _nextNode.noticeInfo,
|
|
@@ -11461,22 +11496,22 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11461
11496
|
// return this.$message.warning('请选择通知方式');
|
|
11462
11497
|
// }
|
|
11463
11498
|
|
|
11464
|
-
if (
|
|
11465
|
-
if (nextUser == '' ||
|
|
11466
|
-
return
|
|
11499
|
+
if (_this5.isShowNextUser) {
|
|
11500
|
+
if (nextUser == '' || _this5.multiple && nextUser.length == 0) {
|
|
11501
|
+
return _this5.$message.warning('请选择下步办理人');
|
|
11467
11502
|
}
|
|
11468
11503
|
} else {
|
|
11469
|
-
if (nextOrgId == '' ||
|
|
11470
|
-
return
|
|
11504
|
+
if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
|
|
11505
|
+
return _this5.$message.warning('请选择办理对象');
|
|
11471
11506
|
}
|
|
11472
11507
|
}
|
|
11473
|
-
if (
|
|
11474
|
-
|
|
11508
|
+
if (_this5.showBtn) {
|
|
11509
|
+
_this5.loading = true;
|
|
11475
11510
|
} else {
|
|
11476
|
-
|
|
11511
|
+
_this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
11477
11512
|
}
|
|
11478
11513
|
var newNextUser = [];
|
|
11479
|
-
if (
|
|
11514
|
+
if (_this5.multiple) {
|
|
11480
11515
|
nextUser && nextUser.map(function (item) {
|
|
11481
11516
|
return newNextUser.push(item);
|
|
11482
11517
|
});
|
|
@@ -11486,79 +11521,79 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11486
11521
|
newNoticeType = noticeType.join(',');
|
|
11487
11522
|
}
|
|
11488
11523
|
var params = {
|
|
11489
|
-
processDefinitionId:
|
|
11490
|
-
nextUserId:
|
|
11524
|
+
processDefinitionId: _this5.processDefinitionId,
|
|
11525
|
+
nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
|
|
11491
11526
|
customLimitTime: customLimitTime,
|
|
11492
11527
|
nextNodeId: nextNode,
|
|
11493
|
-
businessId:
|
|
11528
|
+
businessId: _this5.businessId,
|
|
11494
11529
|
notificationType: newNoticeType,
|
|
11495
11530
|
userId: util["a" /* default */].getStorage('userId'),
|
|
11496
11531
|
notificationMsg: noticeInfo,
|
|
11497
|
-
customPresetUserJson: JSON.stringify(
|
|
11498
|
-
presetUserJson: JSON.stringify(
|
|
11499
|
-
nextReadUserId:
|
|
11500
|
-
nextOrgId: !
|
|
11532
|
+
customPresetUserJson: JSON.stringify(_this5.presetList),
|
|
11533
|
+
presetUserJson: JSON.stringify(_this5.presetUserJson),
|
|
11534
|
+
nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
|
|
11535
|
+
nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
|
|
11501
11536
|
handleExplain: handleExplain,
|
|
11502
|
-
presetReadUserId:
|
|
11503
|
-
opinion:
|
|
11537
|
+
presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
11538
|
+
opinion: _this5.newOpinion || newOpinion
|
|
11504
11539
|
};
|
|
11505
|
-
if (
|
|
11506
|
-
if (
|
|
11540
|
+
if (_this5.activeNames != '1') delete params.customPresetUserJson;
|
|
11541
|
+
if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
|
|
11507
11542
|
var newParm = {};
|
|
11508
|
-
newParm.copyHistory =
|
|
11543
|
+
newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
|
|
11509
11544
|
newParm.startFlowParamJson = params;
|
|
11510
11545
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
11511
11546
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
11512
|
-
startFlowFirstNodeName:
|
|
11547
|
+
startFlowFirstNodeName: _this5.taskExamineParam
|
|
11513
11548
|
};
|
|
11514
11549
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
11515
|
-
for (var key in
|
|
11516
|
-
if (Array.isArray(
|
|
11517
|
-
|
|
11550
|
+
for (var key in _this5.taskParams) {
|
|
11551
|
+
if (Array.isArray(_this5.taskParams[key])) {
|
|
11552
|
+
_this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
|
|
11518
11553
|
}
|
|
11519
11554
|
}
|
|
11520
11555
|
|
|
11521
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
11522
|
-
if (
|
|
11556
|
+
newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
|
|
11557
|
+
if (_this5.formType == 'readTransfer') {
|
|
11523
11558
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
11524
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
11559
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
|
|
11525
11560
|
delete newParm.copyHistory;
|
|
11526
11561
|
delete newParm.startFlowParamJson;
|
|
11527
11562
|
delete newParm.submitTaskParamJson;
|
|
11528
11563
|
}
|
|
11529
11564
|
params = newParm;
|
|
11530
11565
|
}
|
|
11531
|
-
if (
|
|
11532
|
-
params.pendingId =
|
|
11566
|
+
if (_this5.copyHistory && !_this5.isFreeStartFlow) {
|
|
11567
|
+
params.pendingId = _this5.pendingId;
|
|
11533
11568
|
delete params.businessId;
|
|
11534
11569
|
}
|
|
11535
11570
|
util["a" /* default */].ajax({
|
|
11536
|
-
url:
|
|
11571
|
+
url: _this5.isFreeStartFlow ? api["F" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["Kb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["E" /* freeStartFlow */] : api["Ab" /* register */],
|
|
11537
11572
|
method: 'post',
|
|
11538
11573
|
data: params
|
|
11539
11574
|
}).then(function (res) {
|
|
11540
11575
|
var status = res.status,
|
|
11541
11576
|
message = res.message;
|
|
11542
11577
|
|
|
11543
|
-
if (
|
|
11544
|
-
|
|
11578
|
+
if (_this5.showBtn) {
|
|
11579
|
+
_this5.loading = false;
|
|
11545
11580
|
} else {
|
|
11546
|
-
|
|
11581
|
+
_this5.allLoading.close();
|
|
11547
11582
|
}
|
|
11548
11583
|
if (status === 'success' || res.rCode == 0) {
|
|
11549
|
-
|
|
11550
|
-
|
|
11584
|
+
_this5.quit(true);
|
|
11585
|
+
_this5.simpleTips && _this5.$message.success('操作成功');
|
|
11551
11586
|
} else {
|
|
11552
|
-
|
|
11587
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
11553
11588
|
}
|
|
11554
11589
|
}).catch(function (err) {
|
|
11555
|
-
if (
|
|
11556
|
-
|
|
11590
|
+
if (_this5.showBtn) {
|
|
11591
|
+
_this5.loading = false;
|
|
11557
11592
|
} else {
|
|
11558
|
-
|
|
11593
|
+
_this5.allLoading.close();
|
|
11559
11594
|
}
|
|
11560
11595
|
if (err.message && err.message !== 'canceled') {
|
|
11561
|
-
|
|
11596
|
+
_this5.$message.error(err.message);
|
|
11562
11597
|
}
|
|
11563
11598
|
});
|
|
11564
11599
|
} else {
|
|
@@ -11567,7 +11602,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11567
11602
|
});
|
|
11568
11603
|
},
|
|
11569
11604
|
getNodeInfos: function getNodeInfos(nodeId, index) {
|
|
11570
|
-
var
|
|
11605
|
+
var _this6 = this;
|
|
11571
11606
|
|
|
11572
11607
|
var params = {
|
|
11573
11608
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -11584,72 +11619,72 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11584
11619
|
countersignaturetypeText = _res$data.countersignaturetypeText,
|
|
11585
11620
|
countersignaturetypeCode = _res$data.countersignaturetypeCode;
|
|
11586
11621
|
|
|
11587
|
-
if (
|
|
11588
|
-
|
|
11622
|
+
if (_this6.showBtn) {
|
|
11623
|
+
_this6.loading = false;
|
|
11589
11624
|
} else {
|
|
11590
|
-
|
|
11625
|
+
_this6.allLoading.close();
|
|
11591
11626
|
}
|
|
11592
11627
|
if (status === 'success') {
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11628
|
+
_this6.nextNode.userInfo = nextUserList;
|
|
11629
|
+
_this6.countersignaturetypeCode = countersignaturetypeCode;
|
|
11630
|
+
_this6.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
11631
|
+
_this6.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
11632
|
+
_this6.isTaskread = nodeExtAttr.isTaskread;
|
|
11633
|
+
_this6.isHandleExplain = nodeExtAttr.isHandleExplain;
|
|
11634
|
+
_this6.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
|
|
11635
|
+
_this6.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
|
|
11636
|
+
_this6.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
|
|
11602
11637
|
if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
|
|
11603
|
-
|
|
11638
|
+
_this6.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
|
|
11604
11639
|
} else {
|
|
11605
|
-
var _isMultiple =
|
|
11640
|
+
var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
|
|
11606
11641
|
multiple = _isMultiple.multiple,
|
|
11607
11642
|
_params = _isMultiple.params;
|
|
11608
11643
|
|
|
11609
|
-
|
|
11610
|
-
|
|
11644
|
+
_this6.multiple = multiple;
|
|
11645
|
+
_this6.params = _params;
|
|
11611
11646
|
}
|
|
11612
11647
|
// this.isReadMultiple(nodeExtAttr.userSelectionType);
|
|
11613
11648
|
|
|
11614
11649
|
nextUserList.map(function (item) {
|
|
11615
|
-
if (
|
|
11616
|
-
|
|
11617
|
-
|
|
11650
|
+
if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
|
|
11651
|
+
_this6.nextNode.nextUser.push(item.userId);
|
|
11652
|
+
_this6.selectUserList.push({
|
|
11618
11653
|
showname: item.username,
|
|
11619
11654
|
showid: item.userId
|
|
11620
11655
|
});
|
|
11621
11656
|
}
|
|
11622
11657
|
|
|
11623
|
-
|
|
11658
|
+
_this6.options.push({
|
|
11624
11659
|
showname: item.username,
|
|
11625
11660
|
showid: item.userId
|
|
11626
11661
|
});
|
|
11627
11662
|
});
|
|
11628
|
-
if (
|
|
11629
|
-
|
|
11663
|
+
if (_this6.multiple) {
|
|
11664
|
+
_this6.nextNode.nextReadUserId = [];
|
|
11630
11665
|
} else {
|
|
11631
|
-
|
|
11666
|
+
_this6.nextNode.nextReadUserId = '';
|
|
11632
11667
|
}
|
|
11633
|
-
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !
|
|
11634
|
-
|
|
11635
|
-
|
|
11668
|
+
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
|
|
11669
|
+
_this6.nextNode.nextUser = nextUserList[0].userId;
|
|
11670
|
+
_this6.selectUserList.push({
|
|
11636
11671
|
showname: nextUserList[0].username,
|
|
11637
11672
|
showid: nextUserList[0].userId
|
|
11638
11673
|
});
|
|
11639
11674
|
}
|
|
11640
|
-
|
|
11675
|
+
_this6.radioList = _this6.options;
|
|
11641
11676
|
} else {
|
|
11642
|
-
|
|
11677
|
+
_this6.$message.error(message || '系统错误,请联系管理员!');
|
|
11643
11678
|
}
|
|
11644
|
-
nodeId &&
|
|
11679
|
+
nodeId && _this6.$refs.selectUser[index].changeInfo();
|
|
11645
11680
|
}).catch(function (err) {
|
|
11646
|
-
if (
|
|
11647
|
-
|
|
11681
|
+
if (_this6.showBtn) {
|
|
11682
|
+
_this6.loading = false;
|
|
11648
11683
|
} else {
|
|
11649
|
-
|
|
11684
|
+
_this6.allLoading.close();
|
|
11650
11685
|
}
|
|
11651
11686
|
if (err.message && err.message !== 'canceled') {
|
|
11652
|
-
|
|
11687
|
+
_this6.$message.error(err.message);
|
|
11653
11688
|
}
|
|
11654
11689
|
});
|
|
11655
11690
|
},
|
|
@@ -11672,7 +11707,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11672
11707
|
this.$emit('cancel', false);
|
|
11673
11708
|
},
|
|
11674
11709
|
getFind: function getFind() {
|
|
11675
|
-
var
|
|
11710
|
+
var _this7 = this;
|
|
11676
11711
|
|
|
11677
11712
|
util["a" /* default */].ajax({
|
|
11678
11713
|
url: api["B" /* findSysCodes */]
|
|
@@ -11681,27 +11716,27 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11681
11716
|
message = res.message;
|
|
11682
11717
|
|
|
11683
11718
|
if (status === 'success') {
|
|
11684
|
-
|
|
11719
|
+
_this7.nextNode.noticeType = message.split(',');
|
|
11685
11720
|
var arr = [];
|
|
11686
|
-
|
|
11687
|
-
|
|
11721
|
+
_this7.nextNode.noticeList.map(function (item) {
|
|
11722
|
+
_this7.nextNode.noticeType.map(function (x) {
|
|
11688
11723
|
if (x == item.cciValue) {
|
|
11689
11724
|
arr.push(x);
|
|
11690
11725
|
}
|
|
11691
11726
|
});
|
|
11692
11727
|
});
|
|
11693
|
-
|
|
11728
|
+
_this7.nextNode.noticeType = arr;
|
|
11694
11729
|
} else {
|
|
11695
|
-
|
|
11730
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
11696
11731
|
}
|
|
11697
11732
|
}).catch(function (err) {
|
|
11698
|
-
if (
|
|
11699
|
-
|
|
11733
|
+
if (_this7.showBtn) {
|
|
11734
|
+
_this7.loading = false;
|
|
11700
11735
|
} else {
|
|
11701
|
-
|
|
11736
|
+
_this7.allLoading.close();
|
|
11702
11737
|
}
|
|
11703
11738
|
if (err.message && err.message !== 'canceled') {
|
|
11704
|
-
|
|
11739
|
+
_this7.$message.error(err.message);
|
|
11705
11740
|
}
|
|
11706
11741
|
});
|
|
11707
11742
|
},
|
|
@@ -11744,7 +11779,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11744
11779
|
return { multiple: multiple, params: params };
|
|
11745
11780
|
},
|
|
11746
11781
|
getStartFlow: function getStartFlow(processId) {
|
|
11747
|
-
var
|
|
11782
|
+
var _this8 = this;
|
|
11748
11783
|
|
|
11749
11784
|
if (!processId) {
|
|
11750
11785
|
return false;
|
|
@@ -11761,100 +11796,100 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11761
11796
|
businessId: this.businessId
|
|
11762
11797
|
};
|
|
11763
11798
|
// 获取节点
|
|
11764
|
-
util["a" /* default */].ajax({ url: api["
|
|
11799
|
+
util["a" /* default */].ajax({ url: api["cc" /* toStartFlow */], params: params }).then(function (res) {
|
|
11765
11800
|
//pc接口返回数据处理
|
|
11766
11801
|
var status = res.status,
|
|
11767
11802
|
message = res.message,
|
|
11768
11803
|
data = res.data;
|
|
11769
11804
|
|
|
11770
11805
|
if (status == 'success') {
|
|
11771
|
-
data.nodeInfoMap.nodeExtAttr.submitTipsMsg &&
|
|
11806
|
+
data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
|
|
11772
11807
|
confirmButtonText: '确定',
|
|
11773
11808
|
cancelButtonText: '取消',
|
|
11774
11809
|
type: 'warning'
|
|
11775
11810
|
}).then(function () {}).catch(function () {
|
|
11776
|
-
|
|
11811
|
+
_this8.quit();
|
|
11777
11812
|
});
|
|
11778
|
-
data.nextNodeCheckType && (
|
|
11779
|
-
data.nextOperateCheckType && (
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
if (
|
|
11791
|
-
|
|
11813
|
+
data.nextNodeCheckType && (_this8.nextNodeCheckType = data.nextNodeCheckType);
|
|
11814
|
+
data.nextOperateCheckType && (_this8.nextOperateCheckType = data.nextOperateCheckType);
|
|
11815
|
+
_this8.customPresetHintMessage = data.customPresetHintMessage;
|
|
11816
|
+
_this8.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
11817
|
+
_this8.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
11818
|
+
_this8.nextNode.nodeInfo = data.nextNodeList;
|
|
11819
|
+
_this8.nextNode.nextNode = data.nextNodeList[0].nodeId;
|
|
11820
|
+
_this8.isPreset = data.isPreset;
|
|
11821
|
+
_this8.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
|
|
11822
|
+
_this8.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
11823
|
+
_this8.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
11824
|
+
_this8.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
|
|
11825
|
+
if (_this8.isChooseNextNode == 1) {
|
|
11826
|
+
_this8.operationList = [{ key: 0, value: '默认', list: [] }, { key: 1, value: '自定义', list: [] }];
|
|
11792
11827
|
var arr = [];
|
|
11793
11828
|
for (var key in data.taskNodeMap) {
|
|
11794
11829
|
arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
|
|
11795
11830
|
}
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
if (
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
if (
|
|
11831
|
+
_this8.operationList[0].list = data.nextNodeList;
|
|
11832
|
+
_this8.operationList[1].list = arr;
|
|
11833
|
+
if (_this8.isHideDefaultOperation != 1) {
|
|
11834
|
+
_this8.nextNode.nextOperate = 0;
|
|
11835
|
+
_this8.nextNode.nodeInfo = _this8.operationList[0].list;
|
|
11836
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
11802
11837
|
var defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
11803
|
-
return x.nodeId ==
|
|
11838
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
11804
11839
|
});
|
|
11805
|
-
|
|
11840
|
+
_this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
11806
11841
|
}
|
|
11807
11842
|
} else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
|
|
11808
11843
|
// this.nextNode.nodeInfo = data.nextNodeList
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
if (
|
|
11844
|
+
_this8.nextNode.nextOperate = 1;
|
|
11845
|
+
_this8.nextNode.nodeInfo = _this8.operationList[1].list;
|
|
11846
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
11812
11847
|
var _defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
11813
|
-
return x.nodeId ==
|
|
11848
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
11814
11849
|
});
|
|
11815
|
-
|
|
11850
|
+
_this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
11816
11851
|
}
|
|
11817
11852
|
}
|
|
11818
11853
|
}
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11854
|
+
_this8.isCustomPreset = data.isCustomPreset;
|
|
11855
|
+
_this8.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
|
|
11856
|
+
_this8.presetTaskNodeMap = data.presetTaskNodeMap;
|
|
11857
|
+
_this8.isSinglePage = data.taskExamine.isSinglePage;
|
|
11858
|
+
_this8.isSinglePage && (_this8.nextNode.opinion = data.taskExamine.opinion);
|
|
11824
11859
|
// this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
|
|
11825
|
-
|
|
11826
|
-
|
|
11860
|
+
_this8.nextNode.nodeName = data.taskExamine.nodeName;
|
|
11861
|
+
_this8.canPresetRead = data.canPresetRead;
|
|
11827
11862
|
if (data.canPresetRead) {
|
|
11828
11863
|
var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
11829
11864
|
var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
11830
11865
|
ids.map(function (item, index) {
|
|
11831
|
-
|
|
11866
|
+
_this8.presetReadUserId.push({
|
|
11832
11867
|
showid: item,
|
|
11833
11868
|
showname: names[index]
|
|
11834
11869
|
});
|
|
11835
|
-
|
|
11870
|
+
_this8.selectPresetUserList.push({
|
|
11836
11871
|
showid: item,
|
|
11837
11872
|
showname: names[index]
|
|
11838
11873
|
});
|
|
11839
|
-
|
|
11874
|
+
_this8.nextNode.presetReadUserId.push(item);
|
|
11840
11875
|
});
|
|
11841
11876
|
}
|
|
11842
|
-
|
|
11877
|
+
_this8.getNodeInfos();
|
|
11843
11878
|
// this.getPresetFlowInfo();
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11879
|
+
_this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
|
|
11880
|
+
_this8.getFind();
|
|
11881
|
+
_this8.getMessage();
|
|
11847
11882
|
} else {
|
|
11848
|
-
|
|
11883
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
11849
11884
|
}
|
|
11850
11885
|
}).catch(function (err) {
|
|
11851
|
-
if (
|
|
11852
|
-
|
|
11886
|
+
if (_this8.showBtn) {
|
|
11887
|
+
_this8.loading = false;
|
|
11853
11888
|
} else {
|
|
11854
|
-
|
|
11889
|
+
_this8.allLoading.close();
|
|
11855
11890
|
}
|
|
11856
11891
|
if (err.message && err.message !== 'canceled') {
|
|
11857
|
-
|
|
11892
|
+
_this8.$message.error(err.message);
|
|
11858
11893
|
}
|
|
11859
11894
|
});
|
|
11860
11895
|
}
|
|
@@ -11872,8 +11907,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11872
11907
|
|
|
11873
11908
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
11874
11909
|
src_processFormvue_type_script_lang_js_,
|
|
11875
|
-
|
|
11876
|
-
|
|
11910
|
+
processFormvue_type_template_id_1672698e_render,
|
|
11911
|
+
processFormvue_type_template_id_1672698e_staticRenderFns,
|
|
11877
11912
|
false,
|
|
11878
11913
|
null,
|
|
11879
11914
|
null,
|
|
@@ -12246,7 +12281,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12246
12281
|
notificationType = _sendInfo.notificationType;
|
|
12247
12282
|
|
|
12248
12283
|
var params = {
|
|
12249
|
-
url: api["
|
|
12284
|
+
url: api["Jb" /* sendMsg */],
|
|
12250
12285
|
headers: { Accept: 'application/json,text/plain' },
|
|
12251
12286
|
method: 'post',
|
|
12252
12287
|
data: {
|
|
@@ -12308,7 +12343,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12308
12343
|
|
|
12309
12344
|
this.loading = true;
|
|
12310
12345
|
util["a" /* default */].ajax({
|
|
12311
|
-
url: api["
|
|
12346
|
+
url: api["bc" /* toSendMsg */],
|
|
12312
12347
|
params: { pendingId: this.$attrs.pendingId }
|
|
12313
12348
|
}).then(function (res) {
|
|
12314
12349
|
var status = res.status,
|
|
@@ -13179,7 +13214,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13179
13214
|
userId: util["a" /* default */].getStorage('userId'),
|
|
13180
13215
|
nextNodeId: _this2.nextNode.nextNodeId
|
|
13181
13216
|
};
|
|
13182
|
-
util["a" /* default */].ajax({ url: api["
|
|
13217
|
+
util["a" /* default */].ajax({ url: api["Rb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
|
|
13183
13218
|
var status = res.status,
|
|
13184
13219
|
message = res.message;
|
|
13185
13220
|
|
|
@@ -13243,7 +13278,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13243
13278
|
isSinglePage: false,
|
|
13244
13279
|
opinion: this.option
|
|
13245
13280
|
};
|
|
13246
|
-
util["a" /* default */].ajax({ url: api["
|
|
13281
|
+
util["a" /* default */].ajax({ url: api["gc" /* toTaskRejectHtml */], params: params }).then(function (res) {
|
|
13247
13282
|
var status = res.status,
|
|
13248
13283
|
message = res.message,
|
|
13249
13284
|
_res$data = res.data,
|
|
@@ -14054,7 +14089,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14054
14089
|
taskExamine = this.taskExamine;
|
|
14055
14090
|
|
|
14056
14091
|
var params = {
|
|
14057
|
-
url: api["
|
|
14092
|
+
url: api["mc" /* toTaskTransferIndex */],
|
|
14058
14093
|
params: {
|
|
14059
14094
|
opinion: opinion,
|
|
14060
14095
|
pendingId: pendingId,
|
|
@@ -14179,7 +14214,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14179
14214
|
var _this4 = this;
|
|
14180
14215
|
|
|
14181
14216
|
var params = {
|
|
14182
|
-
url: api["
|
|
14217
|
+
url: api["dc" /* toStartTaskRead */],
|
|
14183
14218
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
14184
14219
|
pendingId: this.pendingId,
|
|
14185
14220
|
taskAction: this.type
|
|
@@ -14272,7 +14307,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14272
14307
|
type = this.type;
|
|
14273
14308
|
|
|
14274
14309
|
var params = {
|
|
14275
|
-
url: api["
|
|
14310
|
+
url: api["Vb" /* taskTransfer */],
|
|
14276
14311
|
data: {
|
|
14277
14312
|
choiceDeptId: choiceDeptId,
|
|
14278
14313
|
choiceOrgId: choiceOrgId,
|
|
@@ -14374,7 +14409,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14374
14409
|
params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
|
|
14375
14410
|
}
|
|
14376
14411
|
util["a" /* default */].ajax({
|
|
14377
|
-
url: api["
|
|
14412
|
+
url: api["Pb" /* taskReadHtml */],
|
|
14378
14413
|
params: { taskAction: _this8.type },
|
|
14379
14414
|
headers: {
|
|
14380
14415
|
Accept: 'application/json,text/plain'
|
|
@@ -15331,7 +15366,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15331
15366
|
if (mainConfig) {
|
|
15332
15367
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
15333
15368
|
} else {
|
|
15334
|
-
util["a" /* default */].ajax({ url: api["
|
|
15369
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
15335
15370
|
var status = res.status,
|
|
15336
15371
|
data = res.data;
|
|
15337
15372
|
|
|
@@ -15544,7 +15579,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15544
15579
|
}
|
|
15545
15580
|
if (_this4.activeNames != '1') delete params.customPresetUserJson;
|
|
15546
15581
|
util["a" /* default */].ajax({
|
|
15547
|
-
url: _this4.type == 'reset' ? api["
|
|
15582
|
+
url: _this4.type == 'reset' ? api["Cb" /* resetProcess */] : api["Nb" /* taskContinuation */],
|
|
15548
15583
|
method: 'post',
|
|
15549
15584
|
data: params
|
|
15550
15585
|
}).then(function (res) {
|
|
@@ -15751,7 +15786,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15751
15786
|
var _this7 = this;
|
|
15752
15787
|
|
|
15753
15788
|
var params = {
|
|
15754
|
-
url: this.type == 'continuation' ? api["
|
|
15789
|
+
url: this.type == 'continuation' ? api["fc" /* toTaskContinuationIndex */] : api["ac" /* toResetProcessIndex */],
|
|
15755
15790
|
params: resetvue_type_script_lang_js_extends({
|
|
15756
15791
|
appId: this.appId
|
|
15757
15792
|
}, this.flowParams)
|
|
@@ -16344,7 +16379,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16344
16379
|
pendingId = this.pendingId;
|
|
16345
16380
|
|
|
16346
16381
|
var params = {
|
|
16347
|
-
url: api["
|
|
16382
|
+
url: api["Sb" /* taskReview */],
|
|
16348
16383
|
data: {
|
|
16349
16384
|
nextUserId: nextOtherOrgObj.join(','),
|
|
16350
16385
|
notificationType: noticeType.join(','),
|
|
@@ -16380,7 +16415,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16380
16415
|
var _this2 = this;
|
|
16381
16416
|
|
|
16382
16417
|
var params = {
|
|
16383
|
-
url: api["
|
|
16418
|
+
url: api["hc" /* toTaskReview */],
|
|
16384
16419
|
params: { pendingId: this.pendingId }
|
|
16385
16420
|
};
|
|
16386
16421
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
@@ -16416,7 +16451,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16416
16451
|
var _this3 = this;
|
|
16417
16452
|
|
|
16418
16453
|
var params = {
|
|
16419
|
-
url: this.type == 'takeAdvice' ? api["
|
|
16454
|
+
url: this.type == 'takeAdvice' ? api["lc" /* toTaskTakeAdvice */] : this.type === 'startDraf' ? api["ic" /* toTaskStartDraft */] : this.type == 'unionSeal' ? api["oc" /* toTaskUnionSeal */] : this.type == 'twoOfficesDispatch' ? api["pc" /* toTwoOfficesDispatch */] : api["nc" /* toTaskUnionExamine */],
|
|
16420
16455
|
params: { pendingId: this.pendingId },
|
|
16421
16456
|
headers: { Accept: 'application/json,text/plain' }
|
|
16422
16457
|
};
|
|
@@ -16554,7 +16589,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16554
16589
|
// if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
|
|
16555
16590
|
// return this.$message.warning('暂未开放,敬请期待!');
|
|
16556
16591
|
var param = {
|
|
16557
|
-
url: this.type === 'startDraf' ? api["
|
|
16592
|
+
url: this.type === 'startDraf' ? api["Tb" /* taskStartDraft */] : this.type == 'unionSeal' ? api["Xb" /* taskUnionSeal */] : this.type === 'twoOfficesDispatch' ? api["rc" /* twoOfficesDispatch */] : this.type == 'takeAdvice' ? api["Ub" /* taskTakeAdvice */] : api["Wb" /* taskUnionExamine */],
|
|
16558
16593
|
data: {
|
|
16559
16594
|
opinion: opinion,
|
|
16560
16595
|
pendingId: pendingId,
|
|
@@ -19993,7 +20028,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19993
20028
|
taskAction: 'complete'
|
|
19994
20029
|
};
|
|
19995
20030
|
util["a" /* default */].ajax({
|
|
19996
|
-
url: api["
|
|
20031
|
+
url: api["Pb" /* taskReadHtml */],
|
|
19997
20032
|
params: { taskAction: 'complete' },
|
|
19998
20033
|
headers: {
|
|
19999
20034
|
Accept: 'application/json,text/plain'
|
|
@@ -20025,7 +20060,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20025
20060
|
|
|
20026
20061
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
20027
20062
|
util["a" /* default */].ajax({
|
|
20028
|
-
url: api["
|
|
20063
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
20029
20064
|
params: { pendingId: this.pendingId }
|
|
20030
20065
|
}).then(function (res) {
|
|
20031
20066
|
var status = res.status,
|
|
@@ -20061,7 +20096,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20061
20096
|
if (mainConfig) {
|
|
20062
20097
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
20063
20098
|
} else {
|
|
20064
|
-
util["a" /* default */].ajax({ url: api["
|
|
20099
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
20065
20100
|
var status = res.status,
|
|
20066
20101
|
data = res.data;
|
|
20067
20102
|
|
|
@@ -20163,7 +20198,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20163
20198
|
pendingId: this.pendingId
|
|
20164
20199
|
};
|
|
20165
20200
|
this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
|
|
20166
|
-
util["a" /* default */].ajax({ url: api["
|
|
20201
|
+
util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], params: params }).then(function (res) {
|
|
20167
20202
|
var status = res.status,
|
|
20168
20203
|
message = res.message;
|
|
20169
20204
|
|
|
@@ -20457,7 +20492,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20457
20492
|
var _this15 = this;
|
|
20458
20493
|
|
|
20459
20494
|
var params = {
|
|
20460
|
-
url: api["
|
|
20495
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
20461
20496
|
data: {
|
|
20462
20497
|
appId: this.taskExamineInfo.appId,
|
|
20463
20498
|
inevitableNode: res.inevitableNode
|
|
@@ -20567,7 +20602,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20567
20602
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
20568
20603
|
// return this.$message.warning('请填写意见');
|
|
20569
20604
|
var params = {
|
|
20570
|
-
url: api["
|
|
20605
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
20571
20606
|
headers: { Accept: 'application/json,text/plain' },
|
|
20572
20607
|
method: 'post',
|
|
20573
20608
|
data: {
|
|
@@ -21232,7 +21267,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21232
21267
|
userId: util["a" /* default */].getStorage('userId'),
|
|
21233
21268
|
type: 2
|
|
21234
21269
|
};
|
|
21235
|
-
util["a" /* default */].ajax({ url: api["
|
|
21270
|
+
util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
21236
21271
|
var rCode = res.rCode,
|
|
21237
21272
|
msg = res.msg,
|
|
21238
21273
|
results = res.results;
|
|
@@ -21428,7 +21463,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21428
21463
|
params.isSubFlow = taskExamineInfo.isSubFlow;
|
|
21429
21464
|
params.nodeId = taskExamineInfo.nodeId;
|
|
21430
21465
|
params.needRetrialAuth = needRetrialAuth;
|
|
21431
|
-
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["
|
|
21466
|
+
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
21432
21467
|
var status = res.status,
|
|
21433
21468
|
message = res.message;
|
|
21434
21469
|
|
|
@@ -21788,7 +21823,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21788
21823
|
pendingUserIds = _nextNode.pendingUserIds;
|
|
21789
21824
|
|
|
21790
21825
|
var params = {
|
|
21791
|
-
url: api["
|
|
21826
|
+
url: api["kc" /* toTaskSuperviseSub */],
|
|
21792
21827
|
params: {
|
|
21793
21828
|
userId: util["a" /* default */].getStorage('userId'),
|
|
21794
21829
|
urgeUserIds: pendingUserIds,
|
|
@@ -21814,7 +21849,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21814
21849
|
|
|
21815
21850
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
21816
21851
|
util["a" /* default */].ajax({
|
|
21817
|
-
url: api["
|
|
21852
|
+
url: api["jc" /* toTaskSupervise */],
|
|
21818
21853
|
params: {
|
|
21819
21854
|
businessId: this.businessId,
|
|
21820
21855
|
appId: this.appId,
|
|
@@ -23587,6 +23622,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23587
23622
|
//
|
|
23588
23623
|
//
|
|
23589
23624
|
//
|
|
23625
|
+
//
|
|
23626
|
+
//
|
|
23627
|
+
//
|
|
23590
23628
|
|
|
23591
23629
|
|
|
23592
23630
|
|
|
@@ -23641,6 +23679,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23641
23679
|
callBack();
|
|
23642
23680
|
}
|
|
23643
23681
|
},
|
|
23682
|
+
urgencyLevel: {
|
|
23683
|
+
type: [String, Number],
|
|
23684
|
+
default: ''
|
|
23685
|
+
},
|
|
23644
23686
|
beforeSubmit: Function,
|
|
23645
23687
|
title: { type: String, default: '流程办理' },
|
|
23646
23688
|
formTitle: { type: String, default: '' },
|
|
@@ -23819,7 +23861,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23819
23861
|
notificationType: [], // 通知方式
|
|
23820
23862
|
isLimitedTime: '2', // 是否限时办理
|
|
23821
23863
|
mainSubId: ''
|
|
23822
|
-
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.nodeInfo = {
|
|
23864
|
+
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.msgTypeCount = 0, _ref.nodeInfo = {
|
|
23823
23865
|
nextNode: '',
|
|
23824
23866
|
nextUser: '',
|
|
23825
23867
|
option: []
|
|
@@ -23841,6 +23883,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23841
23883
|
},
|
|
23842
23884
|
|
|
23843
23885
|
watch: {
|
|
23886
|
+
urgencyLevel: {
|
|
23887
|
+
handler: function handler(val) {
|
|
23888
|
+
if (val && this.msgTypeCount != 0) {
|
|
23889
|
+
this.getAdminMsgType();
|
|
23890
|
+
} else {
|
|
23891
|
+
this.msgTypeCount++;
|
|
23892
|
+
}
|
|
23893
|
+
},
|
|
23894
|
+
|
|
23895
|
+
deep: true,
|
|
23896
|
+
immediate: true
|
|
23897
|
+
},
|
|
23844
23898
|
isCirculate: {
|
|
23845
23899
|
handler: function handler(val) {
|
|
23846
23900
|
if (!val && this.showCirculate != undefined) {
|
|
@@ -23945,6 +23999,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23945
23999
|
}
|
|
23946
24000
|
},
|
|
23947
24001
|
methods: {
|
|
24002
|
+
getAdminMsgType: function getAdminMsgType() {
|
|
24003
|
+
var _this = this;
|
|
24004
|
+
|
|
24005
|
+
var params = {
|
|
24006
|
+
url: api["db" /* getUrgencyLevelChangedNotificationType */],
|
|
24007
|
+
params: { urgencyLevel: this.urgencyLevel }
|
|
24008
|
+
};
|
|
24009
|
+
util["a" /* default */].ajax(params).then(function (res) {
|
|
24010
|
+
if (res.rCode == 0) {
|
|
24011
|
+
_this.newsList = res.results.latestChangedNotificationType;
|
|
24012
|
+
var arr = [];
|
|
24013
|
+
_this.newsList.map(function (item) {
|
|
24014
|
+
_this.nextNode.notificationType.map(function (x) {
|
|
24015
|
+
if (x == item.cciValue) {
|
|
24016
|
+
arr.push(x);
|
|
24017
|
+
}
|
|
24018
|
+
});
|
|
24019
|
+
});
|
|
24020
|
+
_this.nextNode.notificationType = arr;
|
|
24021
|
+
}
|
|
24022
|
+
});
|
|
24023
|
+
},
|
|
23948
24024
|
handleEndMessageChange: function handleEndMessageChange() {
|
|
23949
24025
|
this.$emit('endMessageChange', this.endMessage);
|
|
23950
24026
|
},
|
|
@@ -23964,7 +24040,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23964
24040
|
this.$refs.circulate.subMit();
|
|
23965
24041
|
},
|
|
23966
24042
|
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
23967
|
-
var
|
|
24043
|
+
var _this2 = this;
|
|
23968
24044
|
|
|
23969
24045
|
var params = {
|
|
23970
24046
|
url: api["R" /* getNodeInfoForStart */],
|
|
@@ -23972,9 +24048,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23972
24048
|
};
|
|
23973
24049
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
23974
24050
|
if (res.status == 'success') {
|
|
23975
|
-
|
|
23976
|
-
|
|
23977
|
-
|
|
24051
|
+
_this2.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
24052
|
+
_this2.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
24053
|
+
_this2.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
23978
24054
|
|
|
23979
24055
|
// if (this.directCreateCircularReadWhenFlowStarted) {
|
|
23980
24056
|
// this.nodeInfo.option.map((item) => {
|
|
@@ -23985,8 +24061,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23985
24061
|
// item.disabled = false;
|
|
23986
24062
|
// });
|
|
23987
24063
|
// }
|
|
23988
|
-
|
|
23989
|
-
|
|
24064
|
+
_this2.optionsKey++;
|
|
24065
|
+
_this2.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
|
|
23990
24066
|
}
|
|
23991
24067
|
});
|
|
23992
24068
|
},
|
|
@@ -24023,12 +24099,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24023
24099
|
this.handleVisible = true;
|
|
24024
24100
|
},
|
|
24025
24101
|
showMessage: function showMessage() {
|
|
24026
|
-
var
|
|
24102
|
+
var _this3 = this;
|
|
24027
24103
|
|
|
24028
24104
|
this.showNews = !this.showNews;
|
|
24029
24105
|
if (!this.showNews) return;
|
|
24030
24106
|
this.$nextTick(function () {
|
|
24031
|
-
|
|
24107
|
+
_this3.$refs.esContent.scrollTop += _this3.$refs.messagebox.clientHeight;
|
|
24032
24108
|
});
|
|
24033
24109
|
},
|
|
24034
24110
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
@@ -24102,7 +24178,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24102
24178
|
|
|
24103
24179
|
//获取附件
|
|
24104
24180
|
getFile: function getFile(ownId, code) {
|
|
24105
|
-
var
|
|
24181
|
+
var _this4 = this;
|
|
24106
24182
|
|
|
24107
24183
|
var params = {
|
|
24108
24184
|
url: api["H" /* getAdjunctFileInfos */],
|
|
@@ -24114,13 +24190,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24114
24190
|
msg = res.msg;
|
|
24115
24191
|
|
|
24116
24192
|
if (rCode == 0) {
|
|
24117
|
-
results && (
|
|
24193
|
+
results && (_this4.fileNum = results.length);
|
|
24118
24194
|
} else {
|
|
24119
|
-
|
|
24195
|
+
_this4.$message.error(msg || '系统错误,请联系管理员!');
|
|
24120
24196
|
}
|
|
24121
24197
|
}).catch(function (err) {
|
|
24122
24198
|
if (err.message && err.message !== 'canceled') {
|
|
24123
|
-
|
|
24199
|
+
_this4.$message.error(err.message);
|
|
24124
24200
|
}
|
|
24125
24201
|
});
|
|
24126
24202
|
},
|
|
@@ -24167,7 +24243,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24167
24243
|
}
|
|
24168
24244
|
},
|
|
24169
24245
|
taskRead: function taskRead() {
|
|
24170
|
-
var
|
|
24246
|
+
var _this5 = this;
|
|
24171
24247
|
|
|
24172
24248
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
24173
24249
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
@@ -24177,8 +24253,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24177
24253
|
cancelButtonText: '取消',
|
|
24178
24254
|
type: 'warning'
|
|
24179
24255
|
}).then(function () {
|
|
24180
|
-
|
|
24181
|
-
var _taskExamineInfo2 =
|
|
24256
|
+
_this5.loading = util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
24257
|
+
var _taskExamineInfo2 = _this5.taskExamineInfo,
|
|
24182
24258
|
businessId = _taskExamineInfo2.businessId,
|
|
24183
24259
|
appId = _taskExamineInfo2.appId,
|
|
24184
24260
|
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
@@ -24189,11 +24265,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24189
24265
|
appId: appId,
|
|
24190
24266
|
processDefinitionId: processDefinitionId,
|
|
24191
24267
|
pendingId: pendingId,
|
|
24192
|
-
opinion:
|
|
24268
|
+
opinion: _this5.value,
|
|
24193
24269
|
taskAction: 'complete'
|
|
24194
24270
|
};
|
|
24195
24271
|
util["a" /* default */].ajax({
|
|
24196
|
-
url: api["
|
|
24272
|
+
url: api["Pb" /* taskReadHtml */],
|
|
24197
24273
|
params: { taskAction: 'complete' },
|
|
24198
24274
|
headers: {
|
|
24199
24275
|
Accept: 'application/json,text/plain'
|
|
@@ -24204,25 +24280,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24204
24280
|
var status = res.status,
|
|
24205
24281
|
message = res.message;
|
|
24206
24282
|
|
|
24207
|
-
|
|
24283
|
+
_this5.loading.close();
|
|
24208
24284
|
if (status === 'success') {
|
|
24209
|
-
|
|
24285
|
+
_this5.flowSuccess();
|
|
24210
24286
|
// this.$message.success('提交成功');
|
|
24211
24287
|
// this.$emit('success');
|
|
24212
24288
|
} else {
|
|
24213
|
-
|
|
24214
|
-
|
|
24289
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
24290
|
+
_this5.$emit('error');
|
|
24215
24291
|
}
|
|
24216
24292
|
}).catch(function (err) {
|
|
24217
|
-
|
|
24293
|
+
_this5.loading.close();
|
|
24218
24294
|
if (err.message && err.message !== 'canceled') {
|
|
24219
|
-
|
|
24295
|
+
_this5.$message.error(err.message);
|
|
24220
24296
|
}
|
|
24221
24297
|
});
|
|
24222
24298
|
}).catch(function () {});
|
|
24223
24299
|
},
|
|
24224
24300
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
24225
|
-
var
|
|
24301
|
+
var _this6 = this;
|
|
24226
24302
|
|
|
24227
24303
|
var params = {
|
|
24228
24304
|
url: api["d" /* checkBusinessIdStartedReadTransferHandle */],
|
|
@@ -24233,18 +24309,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24233
24309
|
}
|
|
24234
24310
|
};
|
|
24235
24311
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24236
|
-
|
|
24312
|
+
_this6.loading.close();
|
|
24237
24313
|
if (res.rCode == 0) {
|
|
24238
|
-
|
|
24314
|
+
_this6.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
24239
24315
|
}
|
|
24240
24316
|
});
|
|
24241
24317
|
},
|
|
24242
24318
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
24243
|
-
var
|
|
24319
|
+
var _this7 = this;
|
|
24244
24320
|
|
|
24245
24321
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24246
24322
|
util["a" /* default */].ajax({
|
|
24247
|
-
url: api["
|
|
24323
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
24248
24324
|
params: { pendingId: this.pendingId }
|
|
24249
24325
|
}).then(function (res) {
|
|
24250
24326
|
var status = res.status,
|
|
@@ -24257,50 +24333,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24257
24333
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
24258
24334
|
|
|
24259
24335
|
if (status === 'success') {
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
if (
|
|
24267
|
-
|
|
24336
|
+
_this7.taskExamineInfo = taskExamine;
|
|
24337
|
+
_this7.nodeName = _this7.nodename || taskExamine.nodeName || '分阅';
|
|
24338
|
+
_this7.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
24339
|
+
_this7.nextNode.notificationMsg = defaultNotificationMessage;
|
|
24340
|
+
_this7.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
24341
|
+
_this7.isCanFenyue = isCanFenyue;
|
|
24342
|
+
if (_this7.nodeName) {
|
|
24343
|
+
_this7.NodeName = _this7.nodeName;
|
|
24268
24344
|
}
|
|
24269
|
-
if (
|
|
24270
|
-
|
|
24345
|
+
if (_this7.isCanReadTransferHandle) {
|
|
24346
|
+
_this7.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
24271
24347
|
}
|
|
24272
|
-
|
|
24348
|
+
_this7.getNodeType();
|
|
24273
24349
|
} else {
|
|
24274
|
-
|
|
24350
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
24275
24351
|
}
|
|
24276
|
-
|
|
24352
|
+
_this7.loading.close();
|
|
24277
24353
|
}).catch(function (err) {
|
|
24278
|
-
|
|
24354
|
+
_this7.loading.close();
|
|
24279
24355
|
if (err.message && err.message !== 'canceled') {
|
|
24280
|
-
|
|
24356
|
+
_this7.$message.error(err.message);
|
|
24281
24357
|
}
|
|
24282
24358
|
});
|
|
24283
24359
|
},
|
|
24284
24360
|
getUserInfo: function getUserInfo() {
|
|
24285
|
-
var
|
|
24361
|
+
var _this8 = this;
|
|
24286
24362
|
|
|
24287
24363
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
24288
24364
|
if (mainConfig) {
|
|
24289
24365
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
24290
24366
|
} else {
|
|
24291
|
-
util["a" /* default */].ajax({ url: api["
|
|
24367
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
24292
24368
|
var status = res.status,
|
|
24293
24369
|
data = res.data;
|
|
24294
24370
|
|
|
24295
24371
|
if (status == 'success') {
|
|
24296
|
-
|
|
24372
|
+
_this8.userModel = data;
|
|
24297
24373
|
} else {
|
|
24298
24374
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
24299
|
-
|
|
24375
|
+
_this8.$message.error(msg);
|
|
24300
24376
|
}
|
|
24301
24377
|
}).catch(function (err) {
|
|
24302
24378
|
if (err.message && err.message !== 'canceled') {
|
|
24303
|
-
|
|
24379
|
+
_this8.$message.error(err.message);
|
|
24304
24380
|
}
|
|
24305
24381
|
});
|
|
24306
24382
|
}
|
|
@@ -24320,7 +24396,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24320
24396
|
}
|
|
24321
24397
|
},
|
|
24322
24398
|
getNodeType: function getNodeType() {
|
|
24323
|
-
var
|
|
24399
|
+
var _this9 = this;
|
|
24324
24400
|
|
|
24325
24401
|
util["a" /* default */].ajax({
|
|
24326
24402
|
url: api["z" /* findCodeValues */],
|
|
@@ -24334,11 +24410,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24334
24410
|
data = res.data;
|
|
24335
24411
|
|
|
24336
24412
|
if (status === 'success') {
|
|
24337
|
-
|
|
24413
|
+
_this9.newsList = data;
|
|
24338
24414
|
}
|
|
24339
24415
|
}).catch(function (err) {
|
|
24340
24416
|
if (err.message && err.message !== 'canceled') {
|
|
24341
|
-
|
|
24417
|
+
_this9.$message.error(err.message);
|
|
24342
24418
|
}
|
|
24343
24419
|
});
|
|
24344
24420
|
},
|
|
@@ -24350,17 +24426,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24350
24426
|
* @date 2022年9月9日
|
|
24351
24427
|
**/
|
|
24352
24428
|
saveInfo: function saveInfo(type, btn) {
|
|
24353
|
-
var
|
|
24429
|
+
var _this10 = this;
|
|
24354
24430
|
|
|
24355
24431
|
if (this.isFlow) {
|
|
24356
24432
|
if (!type) {
|
|
24357
24433
|
if (btn && btn.before) {
|
|
24358
24434
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24359
|
-
|
|
24435
|
+
_this10.$emit('save', _this10.businessIds);
|
|
24360
24436
|
}).catch(function (e) {});
|
|
24361
24437
|
} else if (this.beforeSubmit != undefined) {
|
|
24362
24438
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24363
|
-
|
|
24439
|
+
_this10.$emit('save', _this10.businessIds);
|
|
24364
24440
|
}).catch(function (e) {});
|
|
24365
24441
|
} else {
|
|
24366
24442
|
this.$emit('save', this.businessIds);
|
|
@@ -24369,13 +24445,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24369
24445
|
} else {
|
|
24370
24446
|
if (btn && btn.before && !type) {
|
|
24371
24447
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24372
|
-
|
|
24448
|
+
_this10.saveFlowInfo();
|
|
24373
24449
|
}).catch(function (e) {});
|
|
24374
24450
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
24375
24451
|
this.subFun(this.saveFlowInfo);
|
|
24376
24452
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
24377
24453
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24378
|
-
|
|
24454
|
+
_this10.saveFlowInfo();
|
|
24379
24455
|
}).catch(function (e) {});
|
|
24380
24456
|
} else {
|
|
24381
24457
|
this.saveFlowInfo(type);
|
|
@@ -24383,28 +24459,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24383
24459
|
}
|
|
24384
24460
|
},
|
|
24385
24461
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
24386
|
-
var
|
|
24462
|
+
var _this11 = this;
|
|
24387
24463
|
|
|
24388
24464
|
var params = {
|
|
24389
24465
|
opinion: this.value,
|
|
24390
24466
|
pendingId: this.pendingId
|
|
24391
24467
|
};
|
|
24392
24468
|
this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
|
|
24393
|
-
util["a" /* default */].ajax({ url: api["
|
|
24469
|
+
util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], data: params, method: 'post' }).then(function (res) {
|
|
24394
24470
|
var status = res.status,
|
|
24395
24471
|
message = res.message;
|
|
24396
24472
|
|
|
24397
|
-
if (!isSave)
|
|
24473
|
+
if (!isSave) _this11.loading.close();
|
|
24398
24474
|
if (status == 'success') {
|
|
24399
24475
|
// this.$message.success('暂存成功');
|
|
24400
|
-
!isSave &&
|
|
24476
|
+
!isSave && _this11.$emit('save', _this11.businessIds);
|
|
24401
24477
|
} else {
|
|
24402
|
-
|
|
24478
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
24403
24479
|
}
|
|
24404
24480
|
}).catch(function (err) {
|
|
24405
|
-
if (!isSave)
|
|
24481
|
+
if (!isSave) _this11.loading.close();
|
|
24406
24482
|
if (err.message && err.message !== 'canceled') {
|
|
24407
|
-
|
|
24483
|
+
_this11.$message.error(err.message);
|
|
24408
24484
|
}
|
|
24409
24485
|
});
|
|
24410
24486
|
},
|
|
@@ -24416,7 +24492,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24416
24492
|
* @date 2022年5月25日
|
|
24417
24493
|
**/
|
|
24418
24494
|
rejectBtn: function rejectBtn() {
|
|
24419
|
-
var
|
|
24495
|
+
var _this12 = this;
|
|
24420
24496
|
|
|
24421
24497
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
24422
24498
|
if (!this.value) {
|
|
@@ -24424,7 +24500,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24424
24500
|
}
|
|
24425
24501
|
if (this.beforeSubmit != undefined) {
|
|
24426
24502
|
this.beforeSubmit(0).then(function (next) {
|
|
24427
|
-
|
|
24503
|
+
_this12.showReject = true;
|
|
24428
24504
|
}).catch(function (e) {});
|
|
24429
24505
|
} else {
|
|
24430
24506
|
this.showReject = true;
|
|
@@ -24438,14 +24514,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24438
24514
|
* @date 2022年5月25日
|
|
24439
24515
|
**/
|
|
24440
24516
|
taskReadBtn: function taskReadBtn() {
|
|
24441
|
-
var
|
|
24517
|
+
var _this13 = this;
|
|
24442
24518
|
|
|
24443
24519
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24444
24520
|
if (this.beforeSubmit != undefined) {
|
|
24445
24521
|
this.beforeSubmit().then(function (next) {
|
|
24446
|
-
if (
|
|
24447
|
-
|
|
24448
|
-
|
|
24522
|
+
if (_this13.value === '') _this13.value = _this13.nodeDefaultRejectOpinion;
|
|
24523
|
+
_this13.taskReadType = 'create';
|
|
24524
|
+
_this13.showTaskRead = true;
|
|
24449
24525
|
}).catch(function (e) {});
|
|
24450
24526
|
} else {
|
|
24451
24527
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24461,7 +24537,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24461
24537
|
* @date 2022年5月25日
|
|
24462
24538
|
**/
|
|
24463
24539
|
getFind: function getFind() {
|
|
24464
|
-
var
|
|
24540
|
+
var _this14 = this;
|
|
24465
24541
|
|
|
24466
24542
|
util["a" /* default */].ajax({
|
|
24467
24543
|
url: api["B" /* findSysCodes */]
|
|
@@ -24470,25 +24546,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24470
24546
|
message = res.message;
|
|
24471
24547
|
|
|
24472
24548
|
if (status === 'success') {
|
|
24473
|
-
|
|
24549
|
+
_this14.nextNode.notificationType = message.split(',');
|
|
24474
24550
|
var arr = [];
|
|
24475
|
-
|
|
24476
|
-
|
|
24551
|
+
_this14.newsList.map(function (item) {
|
|
24552
|
+
_this14.nextNode.notificationType.map(function (x) {
|
|
24477
24553
|
if (x == item.cciValue) {
|
|
24478
24554
|
arr.push(x);
|
|
24479
24555
|
}
|
|
24480
24556
|
});
|
|
24481
24557
|
});
|
|
24482
|
-
|
|
24558
|
+
_this14.nextNode.notificationType = arr;
|
|
24483
24559
|
}
|
|
24484
24560
|
}).catch(function (err) {
|
|
24485
24561
|
if (err.message && err.message !== 'canceled') {
|
|
24486
|
-
|
|
24562
|
+
_this14.$message.error(err.message);
|
|
24487
24563
|
}
|
|
24488
24564
|
});
|
|
24489
24565
|
},
|
|
24490
24566
|
getFreeStartParams: function getFreeStartParams() {
|
|
24491
|
-
var
|
|
24567
|
+
var _this15 = this;
|
|
24492
24568
|
|
|
24493
24569
|
var _endFlowInfo = this.endFlowInfo,
|
|
24494
24570
|
businessId = _endFlowInfo.businessId,
|
|
@@ -24506,20 +24582,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24506
24582
|
};
|
|
24507
24583
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24508
24584
|
util["a" /* default */].ajax(param).then(function (res) {
|
|
24509
|
-
|
|
24585
|
+
_this15.loading.close();
|
|
24510
24586
|
if (res.rCode == 0 || res.status == 'success') {
|
|
24511
|
-
|
|
24512
|
-
if (res.results.useScene === 'multiInsMidwayWithSubmitScene')
|
|
24513
|
-
if (!
|
|
24514
|
-
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return
|
|
24587
|
+
_this15.freeStartFlowParams = res.results;
|
|
24588
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this15.subProcess('同意。', res.results.useScene);
|
|
24589
|
+
if (!_this15.freeValid) return;
|
|
24590
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this15.$message.warning('未找到流程定义!');
|
|
24515
24591
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
24516
|
-
|
|
24517
|
-
|
|
24592
|
+
_this15.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
24593
|
+
_this15.handleVisible = true;
|
|
24518
24594
|
} else {
|
|
24519
|
-
|
|
24595
|
+
_this15.showFreeStartFlow = true;
|
|
24520
24596
|
}
|
|
24521
24597
|
} else {
|
|
24522
|
-
|
|
24598
|
+
_this15.$message.error(res.message || '系统错误,请联系管理员!');
|
|
24523
24599
|
}
|
|
24524
24600
|
});
|
|
24525
24601
|
},
|
|
@@ -24532,53 +24608,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24532
24608
|
* @date 2022年5月25日
|
|
24533
24609
|
**/
|
|
24534
24610
|
endFlows: function endFlows(res) {
|
|
24535
|
-
var
|
|
24611
|
+
var _this16 = this;
|
|
24536
24612
|
|
|
24537
24613
|
if (this.beforeSubmit != undefined) {
|
|
24538
24614
|
this.beforeSubmit().then(function (next) {
|
|
24539
|
-
|
|
24615
|
+
_this16.saveEndFlows(res);
|
|
24540
24616
|
}).catch(function (e) {});
|
|
24541
24617
|
} else {
|
|
24542
24618
|
this.saveEndFlows(res);
|
|
24543
24619
|
}
|
|
24544
24620
|
},
|
|
24545
24621
|
saveEndFlows: function saveEndFlows(res) {
|
|
24546
|
-
var
|
|
24622
|
+
var _this17 = this;
|
|
24547
24623
|
|
|
24548
24624
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24549
24625
|
var params = {
|
|
24550
24626
|
url: api["y" /* endFlowHtml */],
|
|
24551
24627
|
headers: { Accept: 'application/json,text/plain' },
|
|
24552
24628
|
method: 'post',
|
|
24553
|
-
data: mainvue_type_script_lang_js_extends({},
|
|
24554
|
-
opinion:
|
|
24629
|
+
data: mainvue_type_script_lang_js_extends({}, _this17.endFlowInfo, _this17.nextNode, {
|
|
24630
|
+
opinion: _this17.value,
|
|
24555
24631
|
userId: util["a" /* default */].getStorage('userId'),
|
|
24556
|
-
nextUserId:
|
|
24557
|
-
addSignUserId:
|
|
24558
|
-
customPresetUserJson: JSON.stringify(
|
|
24559
|
-
presetUserJson: JSON.stringify(
|
|
24560
|
-
removeSignUserId:
|
|
24561
|
-
notificationType:
|
|
24632
|
+
nextUserId: _this17.multiple ? _this17.nextNode.nextUserId.join(',') : _this17.nextNode.nextUserId,
|
|
24633
|
+
addSignUserId: _this17.nextNode.addSignUserId.join(','),
|
|
24634
|
+
customPresetUserJson: JSON.stringify(_this17.presetList),
|
|
24635
|
+
presetUserJson: JSON.stringify(_this17.presetUserJson),
|
|
24636
|
+
removeSignUserId: _this17.nextNode.removeSignUserId.join(','),
|
|
24637
|
+
notificationType: _this17.nextNode.notificationType.join(',')
|
|
24562
24638
|
})
|
|
24563
24639
|
};
|
|
24564
|
-
|
|
24640
|
+
_this17.loading = util["a" /* default */].loading(_this17.$loading, '加载中...');
|
|
24565
24641
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24566
24642
|
var status = res.status,
|
|
24567
24643
|
message = res.message;
|
|
24568
24644
|
|
|
24569
|
-
|
|
24645
|
+
_this17.loading.close();
|
|
24570
24646
|
if (status === 'success') {
|
|
24571
|
-
|
|
24647
|
+
_this17.flowSuccess();
|
|
24572
24648
|
// this.$message.success('提交成功');
|
|
24573
24649
|
// this.$emit('success');
|
|
24574
24650
|
} else {
|
|
24575
|
-
|
|
24576
|
-
|
|
24651
|
+
_this17.$message.error(message || '系统错误,请联系管理员!');
|
|
24652
|
+
_this17.$emit('error');
|
|
24577
24653
|
}
|
|
24578
24654
|
}).catch(function (err) {
|
|
24579
|
-
|
|
24655
|
+
_this17.loading.close();
|
|
24580
24656
|
if (err.message && err.message !== 'canceled') {
|
|
24581
|
-
|
|
24657
|
+
_this17.$message.error(err.message);
|
|
24582
24658
|
}
|
|
24583
24659
|
});
|
|
24584
24660
|
}).catch(function (e) {});
|
|
@@ -24681,11 +24757,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24681
24757
|
* @date 2022年9月29日
|
|
24682
24758
|
**/
|
|
24683
24759
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
24684
|
-
var
|
|
24760
|
+
var _this18 = this;
|
|
24685
24761
|
|
|
24686
24762
|
if (this.beforeSubmit != undefined) {
|
|
24687
24763
|
this.beforeSubmit().then(function (next) {
|
|
24688
|
-
|
|
24764
|
+
_this18.saveToTakeAdvice(res);
|
|
24689
24765
|
}).catch(function (e) {});
|
|
24690
24766
|
} else {
|
|
24691
24767
|
this.saveToTakeAdvice(res);
|
|
@@ -24693,10 +24769,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24693
24769
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24694
24770
|
},
|
|
24695
24771
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
24696
|
-
var
|
|
24772
|
+
var _this19 = this;
|
|
24697
24773
|
|
|
24698
24774
|
var params = {
|
|
24699
|
-
url: api["
|
|
24775
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
24700
24776
|
data: {
|
|
24701
24777
|
appId: this.taskExamineInfo.appId,
|
|
24702
24778
|
inevitableNode: res.inevitableNode
|
|
@@ -24708,16 +24784,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24708
24784
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24709
24785
|
var message = res.message;
|
|
24710
24786
|
|
|
24711
|
-
|
|
24787
|
+
_this19.loading.close();
|
|
24712
24788
|
if (message == 'success') {
|
|
24713
|
-
|
|
24789
|
+
_this19.showTaskUnionExamine = true;
|
|
24714
24790
|
} else {
|
|
24715
|
-
|
|
24791
|
+
_this19.$message.error(message || '系统错误,请联系管理员!');
|
|
24716
24792
|
}
|
|
24717
24793
|
}).catch(function (err) {
|
|
24718
|
-
|
|
24794
|
+
_this19.loading.close();
|
|
24719
24795
|
if (err.message && err.message !== 'canceled') {
|
|
24720
|
-
|
|
24796
|
+
_this19.$message.error(err.message);
|
|
24721
24797
|
}
|
|
24722
24798
|
});
|
|
24723
24799
|
},
|
|
@@ -24729,11 +24805,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24729
24805
|
* @date 2022年9月29日
|
|
24730
24806
|
**/
|
|
24731
24807
|
toStartDraf: function toStartDraf(res) {
|
|
24732
|
-
var
|
|
24808
|
+
var _this20 = this;
|
|
24733
24809
|
|
|
24734
24810
|
if (this.beforeSubmit != undefined) {
|
|
24735
24811
|
this.beforeSubmit().then(function (next) {
|
|
24736
|
-
|
|
24812
|
+
_this20.showTaskUnionExamine = true;
|
|
24737
24813
|
}).catch(function (e) {});
|
|
24738
24814
|
} else {
|
|
24739
24815
|
this.showTaskUnionExamine = true;
|
|
@@ -24747,11 +24823,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24747
24823
|
* @date 2022年9月29日
|
|
24748
24824
|
**/
|
|
24749
24825
|
toSendMsg: function toSendMsg(res) {
|
|
24750
|
-
var
|
|
24826
|
+
var _this21 = this;
|
|
24751
24827
|
|
|
24752
24828
|
if (this.beforeSubmit != undefined) {
|
|
24753
24829
|
this.beforeSubmit().then(function (next) {
|
|
24754
|
-
|
|
24830
|
+
_this21.showSendMsg = true;
|
|
24755
24831
|
}).catch(function (e) {});
|
|
24756
24832
|
} else {
|
|
24757
24833
|
this.showSendMsg = true;
|
|
@@ -24765,13 +24841,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24765
24841
|
* @date 2022年9月29日
|
|
24766
24842
|
**/
|
|
24767
24843
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
24768
|
-
var
|
|
24844
|
+
var _this22 = this;
|
|
24769
24845
|
|
|
24770
24846
|
if (this.beforeSubmit != undefined) {
|
|
24771
24847
|
this.beforeSubmit().then(function (next) {
|
|
24772
|
-
if (
|
|
24773
|
-
|
|
24774
|
-
|
|
24848
|
+
if (_this22.value === '') _this22.value = _this22.nodeDefaultRejectOpinion;
|
|
24849
|
+
_this22.taskReadType = 'taskReadAndEnd';
|
|
24850
|
+
_this22.showTaskRead = true;
|
|
24775
24851
|
}).catch(function (e) {});
|
|
24776
24852
|
} else {
|
|
24777
24853
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24787,52 +24863,52 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24787
24863
|
* @date 2022年9月29日
|
|
24788
24864
|
**/
|
|
24789
24865
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
24790
|
-
var
|
|
24866
|
+
var _this23 = this;
|
|
24791
24867
|
|
|
24792
24868
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
24793
24869
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
24794
24870
|
}
|
|
24795
24871
|
if (this.beforeSubmit != undefined) {
|
|
24796
24872
|
this.beforeSubmit().then(function (next) {
|
|
24797
|
-
|
|
24873
|
+
_this23.saveRejectAndEnd(res);
|
|
24798
24874
|
}).catch(function (e) {});
|
|
24799
24875
|
} else {
|
|
24800
24876
|
this.saveRejectAndEnd(res);
|
|
24801
24877
|
}
|
|
24802
24878
|
},
|
|
24803
24879
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
24804
|
-
var
|
|
24880
|
+
var _this24 = this;
|
|
24805
24881
|
|
|
24806
24882
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24807
24883
|
// return this.$message.warning('请填写意见');
|
|
24808
24884
|
var params = {
|
|
24809
|
-
url: api["
|
|
24885
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
24810
24886
|
headers: { Accept: 'application/json,text/plain' },
|
|
24811
24887
|
method: 'post',
|
|
24812
24888
|
data: {
|
|
24813
|
-
opinion:
|
|
24814
|
-
pendingId:
|
|
24889
|
+
opinion: _this24.value,
|
|
24890
|
+
pendingId: _this24.pendingId,
|
|
24815
24891
|
isSinglePage: false
|
|
24816
24892
|
}
|
|
24817
24893
|
};
|
|
24818
|
-
|
|
24894
|
+
_this24.loading = util["a" /* default */].loading(_this24.$loading, '加载中...');
|
|
24819
24895
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24820
24896
|
var status = res.status,
|
|
24821
24897
|
message = res.message;
|
|
24822
24898
|
|
|
24823
|
-
|
|
24899
|
+
_this24.loading.close();
|
|
24824
24900
|
if (status === 'success') {
|
|
24825
|
-
|
|
24901
|
+
_this24.flowSuccess();
|
|
24826
24902
|
// this.$message.success('提交成功');
|
|
24827
24903
|
// this.$emit('success');
|
|
24828
24904
|
} else {
|
|
24829
|
-
|
|
24830
|
-
|
|
24905
|
+
_this24.$message.error(message || '系统错误,请联系管理员!');
|
|
24906
|
+
_this24.$emit('error');
|
|
24831
24907
|
}
|
|
24832
24908
|
}).catch(function (err) {
|
|
24833
|
-
|
|
24909
|
+
_this24.loading.close();
|
|
24834
24910
|
if (err.message && err.message !== 'canceled') {
|
|
24835
|
-
|
|
24911
|
+
_this24.$message.error(err.message);
|
|
24836
24912
|
}
|
|
24837
24913
|
});
|
|
24838
24914
|
}).catch(function () {
|
|
@@ -24847,12 +24923,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24847
24923
|
* @date 2022年9月29日
|
|
24848
24924
|
**/
|
|
24849
24925
|
toTransfer: function toTransfer(res) {
|
|
24850
|
-
var
|
|
24926
|
+
var _this25 = this;
|
|
24851
24927
|
|
|
24852
24928
|
if (this.beforeSubmit != undefined) {
|
|
24853
24929
|
this.beforeSubmit(0).then(function (next) {
|
|
24854
|
-
|
|
24855
|
-
|
|
24930
|
+
_this25.taskReadType = 'transfer';
|
|
24931
|
+
_this25.showTaskRead = true;
|
|
24856
24932
|
}).catch(function (e) {});
|
|
24857
24933
|
} else {
|
|
24858
24934
|
this.taskReadType = 'transfer';
|
|
@@ -24867,7 +24943,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24867
24943
|
* @date 2022年5月25日
|
|
24868
24944
|
**/
|
|
24869
24945
|
getNodeInfo: function getNodeInfo() {
|
|
24870
|
-
var
|
|
24946
|
+
var _this26 = this;
|
|
24871
24947
|
|
|
24872
24948
|
var params = {
|
|
24873
24949
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -24882,46 +24958,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24882
24958
|
message = res.message,
|
|
24883
24959
|
data = res.data;
|
|
24884
24960
|
|
|
24885
|
-
|
|
24961
|
+
_this26.loading.close();
|
|
24886
24962
|
if (status === 'success') {
|
|
24887
|
-
|
|
24888
|
-
|
|
24889
|
-
data.otherOrgDisabledObjId && (
|
|
24890
|
-
data.currentOrgDisabledObjId && (
|
|
24963
|
+
_this26.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
24964
|
+
_this26.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
24965
|
+
data.otherOrgDisabledObjId && (_this26.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
24966
|
+
data.currentOrgDisabledObjId && (_this26.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
24891
24967
|
if (data != null) {
|
|
24892
24968
|
if (data.nodeExtAttr.userSelectionType == 7 || data.nodeExtAttr.userSelectionType == 8 || data.nodeExtAttr.userSelectionType == 9 || data.nodeExtAttr.userSelectionType == 10 || data.nodeExtAttr.userSelectionType == 11 || data.nodeExtAttr.userSelectionType == 12) {
|
|
24893
|
-
|
|
24969
|
+
_this26.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
24894
24970
|
} else {
|
|
24895
|
-
|
|
24971
|
+
_this26.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this26.choiceOrgId, _this26.choiceDeptId, _this26.pOrgId);
|
|
24896
24972
|
}
|
|
24897
|
-
|
|
24898
|
-
|
|
24899
|
-
|
|
24900
|
-
|
|
24901
|
-
|
|
24973
|
+
_this26.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
24974
|
+
_this26.isTaskread = data.nodeExtAttr.isTaskread;
|
|
24975
|
+
_this26.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
24976
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
24977
|
+
_this26.nodeType = data.nodeExtAttr.nodeType;
|
|
24902
24978
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
24903
|
-
if (
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
24979
|
+
if (_this26.nodeType === 1 || _this26.nodeType === 2) {
|
|
24980
|
+
_this26.isMainSubProcess === true ? _this26.isNodeShowProcess = true : _this26.isNodeShowProcess = false;
|
|
24981
|
+
_this26.isMainSubProcess === true ? _this26.isMainSubProcess = true : _this26.isMainSubProcess = false;
|
|
24982
|
+
_this26.isNextUser = false;
|
|
24983
|
+
_this26.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
24984
|
+
_this26.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
24909
24985
|
} else {
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
24986
|
+
_this26.isHideCurrentOrg = false;
|
|
24987
|
+
_this26.isHideOtherOrg = false;
|
|
24988
|
+
_this26.isNodeShowProcess = false;
|
|
24989
|
+
_this26.isMainSubProcess = false;
|
|
24990
|
+
_this26.isNextUser = _this26.nextNode.nextOperate != 9;
|
|
24915
24991
|
// this.isMainSubProcess === true
|
|
24916
24992
|
// ? (this.isMainSubProcess = true)
|
|
24917
24993
|
// : (this.isMainSubProcess = false);
|
|
24918
24994
|
}
|
|
24919
|
-
|
|
24920
|
-
if (
|
|
24995
|
+
_this26.multiple ? _this26.nextNode.nextUserId = [] : _this26.nextNode.nextUserId = '';
|
|
24996
|
+
if (_this26.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
24921
24997
|
data.nextUserList.map(function (item) {
|
|
24922
24998
|
if (item.userId && item.username) {
|
|
24923
|
-
|
|
24924
|
-
|
|
24999
|
+
_this26.nextNode.nextUserId.push(item.userId);
|
|
25000
|
+
_this26.selectUserList.push({
|
|
24925
25001
|
showname: item.username,
|
|
24926
25002
|
showid: item.userId
|
|
24927
25003
|
});
|
|
@@ -24930,40 +25006,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24930
25006
|
}
|
|
24931
25007
|
data.nextUserList.map(function (item) {
|
|
24932
25008
|
if (item.userId && item.username) {
|
|
24933
|
-
|
|
25009
|
+
_this26.options.push({
|
|
24934
25010
|
showname: item.username,
|
|
24935
25011
|
showid: item.userId
|
|
24936
25012
|
});
|
|
24937
25013
|
}
|
|
24938
25014
|
});
|
|
24939
25015
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
24940
|
-
|
|
25016
|
+
_this26.radioList = _this26.options;
|
|
24941
25017
|
}
|
|
24942
|
-
if (!
|
|
24943
|
-
|
|
24944
|
-
|
|
25018
|
+
if (!_this26.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
25019
|
+
_this26.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
25020
|
+
_this26.selectUserList.push({
|
|
24945
25021
|
showname: data.nextUserList[0].username,
|
|
24946
25022
|
showid: data.nextUserList[0].userId
|
|
24947
25023
|
});
|
|
24948
25024
|
}
|
|
24949
|
-
|
|
24950
|
-
|
|
24951
|
-
|
|
24952
|
-
|
|
24953
|
-
|
|
25025
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
25026
|
+
_this26.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
25027
|
+
_this26.presetEdit = data.nodeExtAttr.presetEdit;
|
|
25028
|
+
_this26.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
25029
|
+
_this26.handleMode = data.countersignaturetypeText;
|
|
24954
25030
|
if (data.globalNodeType === 'endEvent') {
|
|
24955
|
-
|
|
24956
|
-
data.globalNodeType === 'endEvent' ?
|
|
25031
|
+
_this26.isNextUser = data.globalNodeType != 'endEvent';
|
|
25032
|
+
data.globalNodeType === 'endEvent' ? _this26.endFlow = true : '';
|
|
24957
25033
|
}
|
|
24958
25034
|
}
|
|
24959
|
-
|
|
25035
|
+
_this26.isCustomPreset && _this26.$refs.customPreset.getPresetFlowInfo(_this26.nextNode.nextNodeId, _this26.nodeInfo.nextNode, true);
|
|
24960
25036
|
} else {
|
|
24961
|
-
|
|
25037
|
+
_this26.$message.error(message || '系统错误,请联系管理员!');
|
|
24962
25038
|
}
|
|
24963
25039
|
}).catch(function (err) {
|
|
24964
|
-
|
|
25040
|
+
_this26.loading.close();
|
|
24965
25041
|
if (err.message && err.message !== 'canceled') {
|
|
24966
|
-
|
|
25042
|
+
_this26.$message.error(err.message);
|
|
24967
25043
|
}
|
|
24968
25044
|
});
|
|
24969
25045
|
},
|
|
@@ -24976,7 +25052,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24976
25052
|
* @date 2022年5月25日
|
|
24977
25053
|
**/
|
|
24978
25054
|
selecNext: function selecNext(val, type, isDef) {
|
|
24979
|
-
var
|
|
25055
|
+
var _this27 = this;
|
|
24980
25056
|
|
|
24981
25057
|
var isNextNode = false;
|
|
24982
25058
|
if (type) {
|
|
@@ -25021,13 +25097,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25021
25097
|
this.operationList.forEach(function (item) {
|
|
25022
25098
|
if (item.key === val) {
|
|
25023
25099
|
if (!item.taskNodeList) {
|
|
25024
|
-
|
|
25100
|
+
_this27.nodeInfos = [];
|
|
25025
25101
|
} else {
|
|
25026
|
-
|
|
25102
|
+
_this27.nodeInfos = item.taskNodeList;
|
|
25027
25103
|
|
|
25028
|
-
if (
|
|
25029
|
-
|
|
25030
|
-
return
|
|
25104
|
+
if (_this27.taskOperationShiftedNodeList) {
|
|
25105
|
+
_this27.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
25106
|
+
return _this27.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
25031
25107
|
});
|
|
25032
25108
|
}
|
|
25033
25109
|
}
|
|
@@ -25036,7 +25112,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25036
25112
|
});
|
|
25037
25113
|
if (this.defaultNextNode) {
|
|
25038
25114
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
25039
|
-
return item.nodeId ==
|
|
25115
|
+
return item.nodeId == _this27.defaultNextNode;
|
|
25040
25116
|
});
|
|
25041
25117
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25042
25118
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -25148,7 +25224,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25148
25224
|
* @date 2022年5月25日
|
|
25149
25225
|
**/
|
|
25150
25226
|
getHedInfo: function getHedInfo() {
|
|
25151
|
-
var
|
|
25227
|
+
var _this28 = this;
|
|
25152
25228
|
|
|
25153
25229
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
25154
25230
|
var params = {
|
|
@@ -25158,7 +25234,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25158
25234
|
util["a" /* default */].ajax({ url: api["N" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
25159
25235
|
//pc返回数据
|
|
25160
25236
|
|
|
25161
|
-
|
|
25237
|
+
_this28.loading.close();
|
|
25162
25238
|
if (res.status === 'success') {
|
|
25163
25239
|
var _res$data2 = res.data,
|
|
25164
25240
|
nextNodeList = _res$data2.nextNodeList,
|
|
@@ -25196,14 +25272,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25196
25272
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
25197
25273
|
|
|
25198
25274
|
if (simpleTips != undefined) {
|
|
25199
|
-
|
|
25275
|
+
_this28.simpleTips = simpleTips;
|
|
25200
25276
|
}
|
|
25201
|
-
|
|
25202
|
-
|
|
25277
|
+
_this28.$emit('startTaskRead', res);
|
|
25278
|
+
_this28.$emit('start-task-read', res);
|
|
25203
25279
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
25204
|
-
|
|
25280
|
+
_this28.taskOperationShiftedNodeList = [];
|
|
25205
25281
|
taskOperationShiftedNodeList.map(function (x) {
|
|
25206
|
-
|
|
25282
|
+
_this28.taskOperationShiftedNodeList.push(x.nodeId);
|
|
25207
25283
|
taskOperations.push({
|
|
25208
25284
|
key: x.nodeId,
|
|
25209
25285
|
value: x.nodeName,
|
|
@@ -25212,143 +25288,143 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25212
25288
|
});
|
|
25213
25289
|
});
|
|
25214
25290
|
}
|
|
25215
|
-
|
|
25216
|
-
|
|
25291
|
+
_this28.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
25292
|
+
_this28.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
25217
25293
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
25218
|
-
|
|
25294
|
+
_this28.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
25219
25295
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
25220
|
-
|
|
25221
|
-
|
|
25296
|
+
_this28.currentOrgSelectorTabs.map(function (x, i) {
|
|
25297
|
+
_this28.currentOrgSelectorParams[x] = {
|
|
25222
25298
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i]
|
|
25223
25299
|
};
|
|
25224
25300
|
});
|
|
25225
25301
|
}
|
|
25226
25302
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
25227
|
-
|
|
25303
|
+
_this28.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
25228
25304
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
25229
|
-
|
|
25230
|
-
|
|
25305
|
+
_this28.foreignOrgSelectorTabs.map(function (x, i) {
|
|
25306
|
+
_this28.foreignOrgSelectorParams[x] = {
|
|
25231
25307
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : foreignOrgparams[i]
|
|
25232
25308
|
};
|
|
25233
25309
|
});
|
|
25234
25310
|
}
|
|
25235
|
-
|
|
25236
|
-
if (
|
|
25237
|
-
|
|
25311
|
+
_this28.circularReadParamsMap = circularReadParamsMap || {};
|
|
25312
|
+
if (_this28.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
25313
|
+
_this28.foreignOrgSelectorParams.roleid = _this28.circularReadParamsMap.circularReadOrgRoleCode;
|
|
25238
25314
|
}
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
nextNodeCheckType && (
|
|
25256
|
-
|
|
25257
|
-
|
|
25315
|
+
_this28.currentOrgName = currentOrgName;
|
|
25316
|
+
_this28.nextOperateCheckType = nextOperateCheckType;
|
|
25317
|
+
_this28.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
25318
|
+
|
|
25319
|
+
_this28.readOnlyNotificationType = readOnlyNotificationType;
|
|
25320
|
+
_this28.isSpecial = isSpecial;
|
|
25321
|
+
_this28.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
25322
|
+
_this28.otherOrgName = otherOrgName;
|
|
25323
|
+
_this28.isCanPreAddSign = isCanPreAddSign;
|
|
25324
|
+
_this28.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
25325
|
+
_this28.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
25326
|
+
_this28.endFlowInfo.pendingId = _this28.pendingId;
|
|
25327
|
+
_this28.attachedCode = attachedCode;
|
|
25328
|
+
_this28.endFlowInfo.pOrgId = pOrgId;
|
|
25329
|
+
_this28.canPresetRead = canPresetRead;
|
|
25330
|
+
_this28.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
25331
|
+
nextNodeCheckType && (_this28.nextNodeCheckType = nextNodeCheckType);
|
|
25332
|
+
_this28.operationList = taskOperations || [];
|
|
25333
|
+
_this28.customPresetHintMessage = customPresetHintMessage;
|
|
25258
25334
|
if (canPresetRead) {
|
|
25259
25335
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
25260
25336
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
25261
25337
|
ids.map(function (item, index) {
|
|
25262
|
-
|
|
25338
|
+
_this28.presetReadUserId.push({
|
|
25263
25339
|
showid: item,
|
|
25264
25340
|
showname: names[index]
|
|
25265
25341
|
});
|
|
25266
|
-
|
|
25342
|
+
_this28.selectPresetUserList.push({
|
|
25267
25343
|
showid: item,
|
|
25268
25344
|
showname: names[index]
|
|
25269
25345
|
});
|
|
25270
|
-
|
|
25346
|
+
_this28.nextNode.presetReadUserId.push(item);
|
|
25271
25347
|
});
|
|
25272
25348
|
}
|
|
25273
|
-
if (!
|
|
25349
|
+
if (!_this28.isFlow) _this28.getFile(_this28.pendingId, attachedCode);
|
|
25274
25350
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
25275
|
-
|
|
25351
|
+
_this28.nextNodeList = nextNodeList;
|
|
25276
25352
|
}
|
|
25277
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
25353
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this28.removeUsers = canRemoveSignUserList;
|
|
25278
25354
|
if (taskOperations && taskOperations.length != 0) {
|
|
25279
25355
|
var isSelected = false;
|
|
25280
25356
|
taskOperations.map(function (item) {
|
|
25281
|
-
if (item.key === 9)
|
|
25357
|
+
if (item.key === 9) _this28.isReject = true;
|
|
25282
25358
|
if (item.isSelected) {
|
|
25283
|
-
|
|
25284
|
-
|
|
25359
|
+
_this28.nodeInfos = [];
|
|
25360
|
+
_this28.nextNode.nextOperate = item.key;
|
|
25285
25361
|
if (item.taskNodeList != null) {
|
|
25286
|
-
|
|
25362
|
+
_this28.nodeInfos = item.taskNodeList;
|
|
25287
25363
|
}
|
|
25288
25364
|
isSelected = true;
|
|
25289
25365
|
}
|
|
25290
25366
|
});
|
|
25291
25367
|
if (taskOperations.length > 0 && !isSelected) {
|
|
25292
|
-
|
|
25293
|
-
|
|
25368
|
+
_this28.nodeInfos = [];
|
|
25369
|
+
_this28.nextNode.nextOperate = taskOperations[0].key;
|
|
25294
25370
|
if (taskOperations[0].taskNodeList != null) {
|
|
25295
|
-
|
|
25371
|
+
_this28.nodeInfos = taskOperations[0].taskNodeList;
|
|
25296
25372
|
}
|
|
25297
25373
|
}
|
|
25298
25374
|
}
|
|
25299
25375
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
25300
|
-
|
|
25376
|
+
_this28.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
25301
25377
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
25302
25378
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
25303
25379
|
notice.map(function (x) {
|
|
25304
|
-
|
|
25380
|
+
_this28.nodeFixedOpinionSelectList.push({ content: x });
|
|
25305
25381
|
});
|
|
25306
25382
|
}
|
|
25307
|
-
|
|
25308
|
-
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
|
|
25312
|
-
|
|
25383
|
+
_this28.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
25384
|
+
_this28.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
25385
|
+
_this28.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
25386
|
+
_this28.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
25387
|
+
_this28.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
25388
|
+
_this28.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
25313
25389
|
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
25314
|
-
|
|
25390
|
+
_this28.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25315
25391
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
25316
|
-
var defaultNode =
|
|
25392
|
+
var defaultNode = _this28.nodeInfos.filter(function (item) {
|
|
25317
25393
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25318
25394
|
});
|
|
25319
|
-
if (
|
|
25320
|
-
|
|
25395
|
+
if (_this28.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25396
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
25321
25397
|
} else {
|
|
25322
|
-
|
|
25398
|
+
_this28.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25323
25399
|
}
|
|
25324
|
-
} else if (
|
|
25325
|
-
|
|
25400
|
+
} else if (_this28.nodeInfos.length > 0) {
|
|
25401
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
25326
25402
|
}
|
|
25327
|
-
|
|
25403
|
+
_this28.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
25328
25404
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
25329
|
-
|
|
25405
|
+
_this28.btnList.map(function (x) {
|
|
25330
25406
|
if (x.event === 'sub') {
|
|
25331
25407
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
25332
25408
|
}
|
|
25333
25409
|
});
|
|
25334
25410
|
}
|
|
25335
25411
|
}
|
|
25336
|
-
|
|
25337
|
-
|
|
25338
|
-
|
|
25412
|
+
_this28.choiceOrgId = choiceOrgId;
|
|
25413
|
+
_this28.choiceDeptId = choiceDeptId;
|
|
25414
|
+
_this28.pOrgId = pOrgId;
|
|
25339
25415
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
25340
|
-
|
|
25416
|
+
_this28.isEndUserTask = res.data.isEndUserTask;
|
|
25341
25417
|
}
|
|
25342
25418
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
25343
|
-
|
|
25344
|
-
|
|
25345
|
-
|
|
25346
|
-
|
|
25347
|
-
|
|
25348
|
-
|
|
25349
|
-
|
|
25350
|
-
|
|
25351
|
-
|
|
25419
|
+
_this28.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
25420
|
+
_this28.NodeName = taskExamine.nodeName;
|
|
25421
|
+
_this28.taskId = taskExamine.taskId;
|
|
25422
|
+
_this28.businessIds = taskExamine.businessId;
|
|
25423
|
+
_this28.appId = taskExamine.appId;
|
|
25424
|
+
_this28.taskExamineInfo = taskExamine;
|
|
25425
|
+
_this28.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
25426
|
+
_this28.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
25427
|
+
_this28.endFlowInfo.processType = taskExamine.processType;
|
|
25352
25428
|
// this.endFlowInfo.isReturnSubmitter =
|
|
25353
25429
|
// taskExamine.isReturnSubmitter;
|
|
25354
25430
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -25360,74 +25436,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25360
25436
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25361
25437
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25362
25438
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25363
|
-
|
|
25364
|
-
|
|
25365
|
-
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
|
|
25371
|
-
|
|
25439
|
+
_this28.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
25440
|
+
_this28.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
25441
|
+
_this28.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
25442
|
+
_this28.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
25443
|
+
_this28.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
25444
|
+
_this28.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25445
|
+
_this28.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
25446
|
+
_this28.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25447
|
+
_this28.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25372
25448
|
// this.endFlowInfo.isReadDealReply =
|
|
25373
25449
|
// taskExamine.isReadDealReplybusinessId;
|
|
25374
|
-
|
|
25375
|
-
|
|
25376
|
-
|
|
25377
|
-
|
|
25450
|
+
_this28.endFlowInfo.appId = taskExamine.appId;
|
|
25451
|
+
_this28.endFlowInfo.businessId = taskExamine.businessId;
|
|
25452
|
+
_this28.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
25453
|
+
_this28.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
25378
25454
|
}
|
|
25379
|
-
if (
|
|
25380
|
-
|
|
25455
|
+
if (_this28.nodeName) {
|
|
25456
|
+
_this28.NodeName = _this28.nodeName;
|
|
25381
25457
|
}
|
|
25382
|
-
|
|
25383
|
-
|
|
25384
|
-
if (
|
|
25385
|
-
|
|
25458
|
+
_this28.isCanAddSign = isCanAddSign;
|
|
25459
|
+
_this28.processObj = res.data;
|
|
25460
|
+
if (_this28.isCanAddSign) {
|
|
25461
|
+
_this28.nextNode.isAddSign = '2';
|
|
25386
25462
|
}
|
|
25387
|
-
|
|
25388
|
-
if (
|
|
25389
|
-
|
|
25463
|
+
_this28.isCanRemoveSign = isCanRemoveSign;
|
|
25464
|
+
if (_this28.isCanRemoveSign) {
|
|
25465
|
+
_this28.nextNode.isRemoveSign = '2';
|
|
25390
25466
|
}
|
|
25391
25467
|
|
|
25392
|
-
if (!
|
|
25393
|
-
|
|
25468
|
+
if (!_this28.isOpinionRequired) {
|
|
25469
|
+
_this28.isOpinionRequired = 0;
|
|
25394
25470
|
}
|
|
25395
25471
|
// opinion && (this.value = opinion);
|
|
25396
|
-
|
|
25397
|
-
|
|
25472
|
+
_this28.nextNode.notificationMsg = defaultNotificationMessage;
|
|
25473
|
+
_this28.moreList = [];
|
|
25398
25474
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
25399
25475
|
taskButtonList.map(function (item) {
|
|
25400
25476
|
if (item.fun === 'reject()') {
|
|
25401
|
-
|
|
25477
|
+
_this28.rejectObj = item;
|
|
25402
25478
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
25403
|
-
|
|
25479
|
+
_this28.pointsReadingObj = item;
|
|
25404
25480
|
} else {
|
|
25405
|
-
|
|
25481
|
+
_this28.moreList.push(item);
|
|
25406
25482
|
}
|
|
25407
25483
|
});
|
|
25408
25484
|
}
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25414
|
-
|
|
25415
|
-
|
|
25485
|
+
_this28.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
25486
|
+
_this28.isCustomPreset = isCustomPreset;
|
|
25487
|
+
_this28.isPreset = isPreset;
|
|
25488
|
+
_this28.presetTaskNodeMap = presetTaskNodeMap;
|
|
25489
|
+
_this28.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
25490
|
+
_this28.getFind();
|
|
25491
|
+
_this28.selecNext(_this28.nextNode.nextOperate, true, true);
|
|
25416
25492
|
// this.getNodeInfo();
|
|
25417
|
-
|
|
25493
|
+
_this28.StartTaskReadKey++;
|
|
25418
25494
|
} else {
|
|
25419
25495
|
if (res.status === 'taskCompleted') {
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
|
|
25496
|
+
_this28.$emit('shrink', true);
|
|
25497
|
+
_this28.shrinkAbled = true;
|
|
25498
|
+
_this28.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
25423
25499
|
} else {
|
|
25424
|
-
|
|
25500
|
+
_this28.$message.error(res.message || '系统错误,请联系管理员!');
|
|
25425
25501
|
}
|
|
25426
25502
|
}
|
|
25427
25503
|
}).catch(function (err) {
|
|
25428
|
-
|
|
25504
|
+
_this28.loading.close();
|
|
25429
25505
|
if (err.message && err.message !== 'canceled') {
|
|
25430
|
-
|
|
25506
|
+
_this28.$message.error(err.message);
|
|
25431
25507
|
}
|
|
25432
25508
|
});
|
|
25433
25509
|
},
|
|
@@ -25489,7 +25565,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25489
25565
|
* @date 2022年5月25日
|
|
25490
25566
|
**/
|
|
25491
25567
|
getProcess: function getProcess(val) {
|
|
25492
|
-
var
|
|
25568
|
+
var _this29 = this;
|
|
25493
25569
|
|
|
25494
25570
|
var params = mainvue_type_script_lang_js_extends({
|
|
25495
25571
|
businessId: this.businessId,
|
|
@@ -25504,40 +25580,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25504
25580
|
message = res.message,
|
|
25505
25581
|
data = res.data;
|
|
25506
25582
|
|
|
25507
|
-
|
|
25583
|
+
_this29.loading.close();
|
|
25508
25584
|
if (status === 'success') {
|
|
25509
25585
|
if (data.simpleTips != undefined) {
|
|
25510
|
-
|
|
25586
|
+
_this29.simpleTips = data.simpleTips;
|
|
25511
25587
|
}
|
|
25512
|
-
|
|
25588
|
+
_this29.isStartFlowChartView = data.isStartFlowChartView;
|
|
25513
25589
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
25514
|
-
|
|
25590
|
+
_this29.$message.error('流程不存在或未关联对应流程!');
|
|
25515
25591
|
} else {
|
|
25516
|
-
|
|
25517
|
-
|
|
25518
|
-
|
|
25519
|
-
return item.processDefKey ==
|
|
25592
|
+
_this29.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
25593
|
+
_this29.nodeInfo.option = data.definitionList;
|
|
25594
|
+
_this29.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
25595
|
+
return item.processDefKey == _this29.defaultProcessKey;
|
|
25520
25596
|
});
|
|
25521
|
-
if (
|
|
25522
|
-
|
|
25597
|
+
if (_this29.nodeInfo.nextNode.length) {
|
|
25598
|
+
_this29.nodeInfo.nextNode = _this29.nodeInfo.nextNode[0].processDefId;
|
|
25523
25599
|
} else {
|
|
25524
25600
|
if (data.definitionList.length != 0) {
|
|
25525
|
-
|
|
25601
|
+
_this29.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
25526
25602
|
} else {
|
|
25527
|
-
|
|
25603
|
+
_this29.nodeInfo.nextNode = '';
|
|
25528
25604
|
}
|
|
25529
25605
|
}
|
|
25530
|
-
if (
|
|
25531
|
-
|
|
25606
|
+
if (_this29.nodeInfo.nextNode) {
|
|
25607
|
+
_this29.handleChange(_this29.nodeInfo.nextNode);
|
|
25532
25608
|
}
|
|
25533
25609
|
}
|
|
25534
25610
|
} else {
|
|
25535
|
-
|
|
25611
|
+
_this29.$message.error(message || '系统错误,请联系管理员!');
|
|
25536
25612
|
}
|
|
25537
25613
|
}).catch(function (err) {
|
|
25538
|
-
|
|
25614
|
+
_this29.loading.close();
|
|
25539
25615
|
if (err.message && err.message !== 'canceled') {
|
|
25540
|
-
|
|
25616
|
+
_this29.$message.error(err.message);
|
|
25541
25617
|
}
|
|
25542
25618
|
});
|
|
25543
25619
|
},
|
|
@@ -25549,35 +25625,35 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25549
25625
|
* @date 2022年5月25日
|
|
25550
25626
|
**/
|
|
25551
25627
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
25552
|
-
var
|
|
25628
|
+
var _this30 = this;
|
|
25553
25629
|
|
|
25554
25630
|
var params = {
|
|
25555
25631
|
apprecordId: this.businessIds,
|
|
25556
25632
|
userId: util["a" /* default */].getStorage('userId'),
|
|
25557
25633
|
type: 2
|
|
25558
25634
|
};
|
|
25559
|
-
util["a" /* default */].ajax({ url: api["
|
|
25635
|
+
util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
25560
25636
|
var rCode = res.rCode,
|
|
25561
25637
|
msg = res.msg,
|
|
25562
25638
|
results = res.results;
|
|
25563
25639
|
|
|
25564
25640
|
if (!rCode) {
|
|
25565
|
-
|
|
25566
|
-
|
|
25567
|
-
|
|
25568
|
-
|
|
25569
|
-
|
|
25641
|
+
_this30.nextNode.nextUserId = [];
|
|
25642
|
+
_this30.showNews = false;
|
|
25643
|
+
_this30.nextNode.notificationType = [];
|
|
25644
|
+
_this30.pendingId = results[results.length - 1].attachId;
|
|
25645
|
+
_this30.getHedInfo();
|
|
25570
25646
|
} else {
|
|
25571
|
-
|
|
25647
|
+
_this30.$message.error(msg || '系统错误,请联系管理员!');
|
|
25572
25648
|
}
|
|
25573
25649
|
}).catch(function (err) {
|
|
25574
25650
|
if (err.message && err.message !== 'canceled') {
|
|
25575
|
-
|
|
25651
|
+
_this30.$message.error(err.message);
|
|
25576
25652
|
}
|
|
25577
25653
|
});
|
|
25578
25654
|
},
|
|
25579
25655
|
reqCircularRead: function reqCircularRead(type) {
|
|
25580
|
-
var
|
|
25656
|
+
var _this31 = this;
|
|
25581
25657
|
|
|
25582
25658
|
var _that = this;
|
|
25583
25659
|
var params = {
|
|
@@ -25591,7 +25667,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25591
25667
|
};
|
|
25592
25668
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
25593
25669
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
25594
|
-
|
|
25670
|
+
_this31.loading.close();
|
|
25595
25671
|
if (res.rCode == 0) {
|
|
25596
25672
|
if (res.results.alert) {
|
|
25597
25673
|
_that.$confirm(res.results.message, {
|
|
@@ -25622,20 +25698,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25622
25698
|
* @date 2022年5月25日
|
|
25623
25699
|
**/
|
|
25624
25700
|
subProcess: function subProcess(val, type) {
|
|
25625
|
-
var
|
|
25701
|
+
var _this32 = this;
|
|
25626
25702
|
|
|
25627
25703
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
25628
25704
|
if (valid) {
|
|
25629
|
-
if (
|
|
25630
|
-
|
|
25631
|
-
|
|
25632
|
-
|
|
25705
|
+
if (_this32.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
25706
|
+
_this32.value = _this32.value.replace(RegExp('不同意。', 'g'), '');
|
|
25707
|
+
_this32.value = _this32.value.replace(RegExp('同意。', 'g'), '');
|
|
25708
|
+
_this32.value = val + _this32.value;
|
|
25633
25709
|
}
|
|
25634
|
-
if (!
|
|
25635
|
-
|
|
25710
|
+
if (!_this32.validInfo()) {
|
|
25711
|
+
_this32.freeValid = false;
|
|
25636
25712
|
return;
|
|
25637
25713
|
} else {
|
|
25638
|
-
|
|
25714
|
+
_this32.freeValid = true;
|
|
25639
25715
|
}
|
|
25640
25716
|
// if (
|
|
25641
25717
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -25645,14 +25721,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25645
25721
|
// return;
|
|
25646
25722
|
// }
|
|
25647
25723
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
25648
|
-
|
|
25724
|
+
_this32.sendData(type);
|
|
25649
25725
|
return;
|
|
25650
25726
|
}
|
|
25651
|
-
if (
|
|
25652
|
-
|
|
25727
|
+
if (_this32.beforeSubmit == undefined) {
|
|
25728
|
+
_this32.subFun(_this32.sendData);
|
|
25653
25729
|
} else {
|
|
25654
|
-
|
|
25655
|
-
|
|
25730
|
+
_this32.beforeSubmit(1).then(function (next) {
|
|
25731
|
+
_this32.sendData();
|
|
25656
25732
|
}).catch(function (e) {});
|
|
25657
25733
|
}
|
|
25658
25734
|
}
|
|
@@ -25697,14 +25773,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25697
25773
|
return true;
|
|
25698
25774
|
},
|
|
25699
25775
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
25700
|
-
var
|
|
25776
|
+
var _this33 = this;
|
|
25701
25777
|
|
|
25702
25778
|
if (!this.simpleTips) {
|
|
25703
25779
|
this.$alert('提交成功', '', {
|
|
25704
25780
|
confirmButtonText: '确定',
|
|
25705
25781
|
type: 'success',
|
|
25706
25782
|
callback: function callback(action) {
|
|
25707
|
-
|
|
25783
|
+
_this33.$emit('success');
|
|
25708
25784
|
}
|
|
25709
25785
|
});
|
|
25710
25786
|
} else {
|
|
@@ -25715,7 +25791,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25715
25791
|
}
|
|
25716
25792
|
},
|
|
25717
25793
|
sendData: function sendData(freetype) {
|
|
25718
|
-
var
|
|
25794
|
+
var _this34 = this;
|
|
25719
25795
|
|
|
25720
25796
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
25721
25797
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
@@ -25737,58 +25813,58 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25737
25813
|
break;
|
|
25738
25814
|
}
|
|
25739
25815
|
|
|
25740
|
-
if (!
|
|
25816
|
+
if (!_this34.isFlow) {
|
|
25741
25817
|
_context.next = 4;
|
|
25742
25818
|
break;
|
|
25743
25819
|
}
|
|
25744
25820
|
|
|
25745
|
-
if (
|
|
25746
|
-
|
|
25821
|
+
if (_this34.directCreateCircularReadWhenFlowStarted) {
|
|
25822
|
+
_this34.circulateVisible = true;
|
|
25747
25823
|
} else {
|
|
25748
|
-
|
|
25824
|
+
_this34.handleVisible = true;
|
|
25749
25825
|
}
|
|
25750
25826
|
return _context.abrupt('return');
|
|
25751
25827
|
|
|
25752
25828
|
case 4:
|
|
25753
25829
|
nextUserId = [];
|
|
25754
25830
|
|
|
25755
|
-
if (
|
|
25756
|
-
|
|
25831
|
+
if (_this34.multiple) {
|
|
25832
|
+
_this34.nextNode.nextUserId && _this34.nextNode.nextUserId.map(function (item) {
|
|
25757
25833
|
return nextUserId.push(item);
|
|
25758
25834
|
});
|
|
25759
25835
|
}
|
|
25760
25836
|
addSignUserId = [];
|
|
25761
25837
|
|
|
25762
|
-
if (
|
|
25763
|
-
|
|
25838
|
+
if (_this34.isCanAddSign && _this34.nextNode.isAddSign == '1') {
|
|
25839
|
+
_this34.nextNode.addSignUserId.map(function (item) {
|
|
25764
25840
|
addSignUserId.push(item);
|
|
25765
25841
|
});
|
|
25766
25842
|
}
|
|
25767
25843
|
removeSignUserId = [];
|
|
25768
25844
|
|
|
25769
|
-
if (
|
|
25770
|
-
|
|
25845
|
+
if (_this34.isCanRemoveSign && _this34.nextNode.isRemoveSign == '1') {
|
|
25846
|
+
_this34.nextNode.removeSignUserId.map(function (item) {
|
|
25771
25847
|
removeSignUserId.push(item);
|
|
25772
25848
|
});
|
|
25773
25849
|
}
|
|
25774
25850
|
str = '';
|
|
25775
25851
|
|
|
25776
|
-
if (
|
|
25777
|
-
str =
|
|
25852
|
+
if (_this34.value) {
|
|
25853
|
+
str = _this34.value.replace(/\s+/g, '');
|
|
25778
25854
|
}
|
|
25779
|
-
if ((!
|
|
25780
|
-
|
|
25855
|
+
if ((!_this34.value || str === '') && _this34.nodeDefaultSubmitOpinion) {
|
|
25856
|
+
_this34.value = _this34.nodeDefaultSubmitOpinion;
|
|
25781
25857
|
}
|
|
25782
|
-
if (!
|
|
25783
|
-
delete
|
|
25784
|
-
delete
|
|
25858
|
+
if (!_this34.isSpecial) {
|
|
25859
|
+
delete _this34.nextNode.nextOperate;
|
|
25860
|
+
delete _this34.nextNode.nextNodeId;
|
|
25785
25861
|
}
|
|
25786
|
-
if (
|
|
25787
|
-
|
|
25788
|
-
|
|
25862
|
+
if (_this34.nextNode.nextOperate === 9 || _this34.oldNextOperate == 9) {
|
|
25863
|
+
_this34.nextNode.isReturnRejectNode = 1;
|
|
25864
|
+
_this34.nextNode.processDefinitionId = _this34.processObj.taskExamine.processDefinitionId;
|
|
25789
25865
|
}
|
|
25790
|
-
if (
|
|
25791
|
-
delete
|
|
25866
|
+
if (_this34.nextNode.nextOperate != 0 && _this34.nextNode.nextOperate != 1 && _this34.oldNextOperate === '' || _this34.oldNextOperate !== '' && _this34.oldNextOperate != 0 && _this34.oldNextOperate != 1) {
|
|
25867
|
+
delete _this34.nextNode.nextNodeId;
|
|
25792
25868
|
}
|
|
25793
25869
|
|
|
25794
25870
|
if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
|
|
@@ -25797,45 +25873,45 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25797
25873
|
}
|
|
25798
25874
|
|
|
25799
25875
|
_context.next = 19;
|
|
25800
|
-
return
|
|
25876
|
+
return _this34.saveInfo('subMit');
|
|
25801
25877
|
|
|
25802
25878
|
case 19:
|
|
25803
|
-
|
|
25879
|
+
_this34.loading = util["a" /* default */].loading(_this34.$loading, '加载中...');
|
|
25804
25880
|
|
|
25805
25881
|
case 20:
|
|
25806
25882
|
notificationType = '';
|
|
25807
25883
|
|
|
25808
|
-
notificationType =
|
|
25884
|
+
notificationType = _this34.nextNode.notificationType.join(',');
|
|
25809
25885
|
addSignUserId = addSignUserId.join(',');
|
|
25810
25886
|
removeSignUserId = removeSignUserId.join(',');
|
|
25811
|
-
if (!
|
|
25812
|
-
delete
|
|
25887
|
+
if (!_this34.isCanPreAddSign || _this34.nextNode.isAddSign != '1') {
|
|
25888
|
+
delete _this34.nextNode.addSignMode;
|
|
25813
25889
|
}
|
|
25814
25890
|
|
|
25815
|
-
params = mainvue_type_script_lang_js_extends({},
|
|
25816
|
-
nextOperate:
|
|
25817
|
-
pendingId:
|
|
25818
|
-
opinion:
|
|
25891
|
+
params = mainvue_type_script_lang_js_extends({}, _this34.nextNode, {
|
|
25892
|
+
nextOperate: _this34.oldNextOperate !== '' ? _this34.oldNextOperate : _this34.nextNode.nextOperate,
|
|
25893
|
+
pendingId: _this34.pendingId,
|
|
25894
|
+
opinion: _this34.isForceDisplayDefaultOptionForPrefix && !_this34.value.startsWith(_this34.nodeDefaultSubmitOpinion) ? _this34.nodeDefaultSubmitOpinion + _this34.value : _this34.value,
|
|
25819
25895
|
userId: util["a" /* default */].getStorage('userId'),
|
|
25820
|
-
nextUserId:
|
|
25896
|
+
nextUserId: _this34.multiple ? nextUserId.join(',') : _this34.nextNode.nextUserId,
|
|
25821
25897
|
addSignUserId: addSignUserId,
|
|
25822
|
-
customPresetUserJson: JSON.stringify(
|
|
25823
|
-
presetUserJson: JSON.stringify(
|
|
25898
|
+
customPresetUserJson: JSON.stringify(_this34.presetList),
|
|
25899
|
+
presetUserJson: JSON.stringify(_this34.presetUserJson),
|
|
25824
25900
|
removeSignUserId: removeSignUserId,
|
|
25825
|
-
nextReadUserId:
|
|
25826
|
-
nextOrgId: !
|
|
25827
|
-
presetReadUserId:
|
|
25901
|
+
nextReadUserId: _this34.readMultiple ? _this34.mixReadList && _this34.mixReadList.join('|') : _this34.nextNode.nextReadUserId,
|
|
25902
|
+
nextOrgId: !_this34.isShowNextUser ? _this34.multiple ? _this34.mixOrgIdList && _this34.mixOrgIdList.join('|') : _this34.nextNode.nextOrgId : '',
|
|
25903
|
+
presetReadUserId: _this34.mixPresetList && _this34.mixPresetList.length > 0 ? _this34.mixPresetList.join('|') : _this34.nextNode.presetReadUserId.join(','),
|
|
25828
25904
|
notificationType: notificationType
|
|
25829
25905
|
});
|
|
25830
25906
|
|
|
25831
|
-
if (
|
|
25832
|
-
if (
|
|
25907
|
+
if (_this34.activeNames != '1') delete params.customPresetUserJson;
|
|
25908
|
+
if (_this34.nextNode.isRemoveSign != '1') {
|
|
25833
25909
|
delete params.removeSignUserId;
|
|
25834
25910
|
}
|
|
25835
|
-
if (
|
|
25911
|
+
if (_this34.nextNode.isAddSign != '1') {
|
|
25836
25912
|
delete params.addSignUserId;
|
|
25837
25913
|
}
|
|
25838
|
-
if (!
|
|
25914
|
+
if (!_this34.isSpecial) {
|
|
25839
25915
|
delete params.nextUserId;
|
|
25840
25916
|
}
|
|
25841
25917
|
|
|
@@ -25844,13 +25920,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25844
25920
|
break;
|
|
25845
25921
|
}
|
|
25846
25922
|
|
|
25847
|
-
params.isSubFlow =
|
|
25848
|
-
|
|
25923
|
+
params.isSubFlow = _this34.taskExamineInfo.isSubFlow;
|
|
25924
|
+
_this34.taskParams = params;
|
|
25849
25925
|
return _context.abrupt('return');
|
|
25850
25926
|
|
|
25851
25927
|
case 34:
|
|
25852
|
-
|
|
25853
|
-
isEndUserTask =
|
|
25928
|
+
_this34.loading = util["a" /* default */].loading(_this34.$loading, '提交中...');
|
|
25929
|
+
isEndUserTask = _this34.isEndUserTask, choiceOrgId = _this34.choiceOrgId, choiceDeptId = _this34.choiceDeptId, pOrgId = _this34.pOrgId, taskExamineInfo = _this34.taskExamineInfo, currentNodeIsCircularReadNode = _this34.currentNodeIsCircularReadNode, needRetrialAuth = _this34.needRetrialAuth, circularReadParamsMap = _this34.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this34.currentNodeEnableItemHandleDescription;
|
|
25854
25930
|
|
|
25855
25931
|
params.isEndUserTask = isEndUserTask;
|
|
25856
25932
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -25870,21 +25946,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25870
25946
|
if (!currentNodeEnableItemHandleDescription) {
|
|
25871
25947
|
delete params.nextItemHandleDescription;
|
|
25872
25948
|
}
|
|
25873
|
-
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["
|
|
25949
|
+
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
25874
25950
|
var status = res.status,
|
|
25875
25951
|
message = res.message;
|
|
25876
25952
|
|
|
25877
|
-
|
|
25953
|
+
_this34.loading.close();
|
|
25878
25954
|
if (status === 'success') {
|
|
25879
|
-
|
|
25955
|
+
_this34.flowSuccess();
|
|
25880
25956
|
} else {
|
|
25881
|
-
|
|
25882
|
-
|
|
25957
|
+
_this34.$message.error(message || '系统错误,请联系管理员!');
|
|
25958
|
+
_this34.$emit('error');
|
|
25883
25959
|
}
|
|
25884
25960
|
}).catch(function (err) {
|
|
25885
|
-
|
|
25961
|
+
_this34.loading.close();
|
|
25886
25962
|
if (err.message && err.message !== 'canceled') {
|
|
25887
|
-
|
|
25963
|
+
_this34.$message.error(err.message);
|
|
25888
25964
|
}
|
|
25889
25965
|
}));
|
|
25890
25966
|
|
|
@@ -25896,7 +25972,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25896
25972
|
return _context.stop();
|
|
25897
25973
|
}
|
|
25898
25974
|
}
|
|
25899
|
-
}, _callee,
|
|
25975
|
+
}, _callee, _this34);
|
|
25900
25976
|
}));
|
|
25901
25977
|
|
|
25902
25978
|
return function (_x) {
|