eoss-ui 0.6.92 → 0.6.94
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 +108 -94
- package/lib/date-picker.js +79 -77
- package/lib/dialog.js +79 -77
- package/lib/eoss-ui.common.js +1086 -941
- package/lib/flow-group.js +79 -77
- package/lib/flow-list.js +84 -82
- package/lib/flow.js +952 -826
- 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 +122 -114
- 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 +86 -80
- 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 +84 -80
- package/lib/upload.js +92 -95
- package/lib/wujie.js +79 -77
- package/lib/wxlogin.js +79 -77
- package/package.json +2 -2
- package/packages/data-table/src/column.vue +0 -2
- package/packages/data-table/src/main.vue +12 -3
- package/packages/flow/src/component/Circulate.vue +7 -4
- package/packages/flow/src/component/SendMsg.vue +5 -4
- package/packages/flow/src/component/taskUnionExamine.vue +4 -3
- package/packages/flow/src/main.vue +125 -61
- package/packages/flow/src/processForm.vue +38 -5
- package/packages/flow/src/processReject.vue +12 -9
- package/packages/flow/src/reset.vue +4 -4
- package/packages/flow/src/startTaskRead.vue +1 -4
- package/packages/flow/src/supervise.vue +16 -9
- package/packages/main/src/public/search.vue +7 -1
- package/packages/select/src/main.vue +7 -3
- package/packages/tree/src/main.vue +2 -1
- package/packages/upload/src/main.vue +1 -6
- 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=531ac436&
|
|
4487
4489
|
var render = function () {
|
|
4488
4490
|
var _vm = this
|
|
4489
4491
|
var _h = _vm.$createElement
|
|
@@ -6298,12 +6300,15 @@ 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":
|
|
6304
6308
|
_vm.freeStartFlowNextNode ||
|
|
6305
6309
|
_vm.nodeInfo.nextNode,
|
|
6306
6310
|
opinion: _vm.value,
|
|
6311
|
+
keyCount: _vm.msgTypeCount,
|
|
6307
6312
|
pendingId: _vm.pendingId,
|
|
6308
6313
|
taskExamineParam:
|
|
6309
6314
|
_vm.freeStartFlowParams
|
|
@@ -6346,7 +6351,7 @@ var render = function () {
|
|
|
6346
6351
|
},
|
|
6347
6352
|
})
|
|
6348
6353
|
: _vm._e(),
|
|
6349
|
-
!_vm.isFlow && _vm.isSpecial
|
|
6354
|
+
!_vm.isFlow && _vm.isSpecial && _vm.newsList.length > 0
|
|
6350
6355
|
? _c(
|
|
6351
6356
|
"div",
|
|
6352
6357
|
{
|
|
@@ -7145,7 +7150,7 @@ var render = function () {
|
|
|
7145
7150
|
},
|
|
7146
7151
|
on: {
|
|
7147
7152
|
cancel: function ($event) {
|
|
7148
|
-
_vm.closeProcess(
|
|
7153
|
+
_vm.closeProcess($event, "showReject")
|
|
7149
7154
|
},
|
|
7150
7155
|
},
|
|
7151
7156
|
}),
|
|
@@ -7369,7 +7374,7 @@ var staticRenderFns = []
|
|
|
7369
7374
|
render._withStripped = true
|
|
7370
7375
|
|
|
7371
7376
|
|
|
7372
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
7377
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=531ac436&
|
|
7373
7378
|
|
|
7374
7379
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7375
7380
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -8371,7 +8376,7 @@ var _components;
|
|
|
8371
8376
|
}
|
|
8372
8377
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
8373
8378
|
util["a" /* default */].ajax({
|
|
8374
|
-
url: data.id ? api["
|
|
8379
|
+
url: data.id ? api["sc" /* updateCommonOpinion */] : api["Db" /* saveCommonOpinion */],
|
|
8375
8380
|
data: info,
|
|
8376
8381
|
header: { 'Content-Type': 'multipart/form-data' },
|
|
8377
8382
|
method: 'post'
|
|
@@ -8422,8 +8427,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8422
8427
|
)
|
|
8423
8428
|
|
|
8424
8429
|
/* 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
|
|
8430
|
+
// 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=e536b88e&
|
|
8431
|
+
var processFormvue_type_template_id_e536b88e_render = function () {
|
|
8427
8432
|
var _vm = this
|
|
8428
8433
|
var _h = _vm.$createElement
|
|
8429
8434
|
var _c = _vm._self._c || _h
|
|
@@ -8895,8 +8900,8 @@ var processFormvue_type_template_id_a60e74a6_render = function () {
|
|
|
8895
8900
|
{
|
|
8896
8901
|
name: "show",
|
|
8897
8902
|
rawName: "v-show",
|
|
8898
|
-
value: _vm.showBtn,
|
|
8899
|
-
expression: "showBtn",
|
|
8903
|
+
value: _vm.showBtn && _vm.nextNode.noticeList.length > 0,
|
|
8904
|
+
expression: "showBtn && nextNode.noticeList.length>0",
|
|
8900
8905
|
},
|
|
8901
8906
|
],
|
|
8902
8907
|
attrs: { prop: "noticeType", label: "通知方式" },
|
|
@@ -9083,7 +9088,7 @@ var processFormvue_type_template_id_a60e74a6_render = function () {
|
|
|
9083
9088
|
],
|
|
9084
9089
|
1
|
|
9085
9090
|
),
|
|
9086
|
-
!_vm.showBtn
|
|
9091
|
+
!_vm.showBtn && _vm.nextNode.noticeList.length > 0
|
|
9087
9092
|
? _c("div", { staticStyle: { padding: "5px", background: "#fff" } }, [
|
|
9088
9093
|
_c(
|
|
9089
9094
|
"div",
|
|
@@ -9180,11 +9185,11 @@ var processFormvue_type_template_id_a60e74a6_render = function () {
|
|
|
9180
9185
|
1
|
|
9181
9186
|
)
|
|
9182
9187
|
}
|
|
9183
|
-
var
|
|
9184
|
-
|
|
9188
|
+
var processFormvue_type_template_id_e536b88e_staticRenderFns = []
|
|
9189
|
+
processFormvue_type_template_id_e536b88e_render._withStripped = true
|
|
9185
9190
|
|
|
9186
9191
|
|
|
9187
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
9192
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
|
|
9188
9193
|
|
|
9189
9194
|
// 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
9195
|
var selectUservue_type_template_id_3d8ca42d_render = function () {
|
|
@@ -9544,7 +9549,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9544
9549
|
classify: true,
|
|
9545
9550
|
newOptions: [],
|
|
9546
9551
|
newSelectUserList: [],
|
|
9547
|
-
url: api["
|
|
9552
|
+
url: api["gb" /* handleInfo */],
|
|
9548
9553
|
newCheckboxList: [],
|
|
9549
9554
|
newPresetEdit: 0,
|
|
9550
9555
|
newMultiple: false,
|
|
@@ -9673,7 +9678,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9673
9678
|
if (query !== '') {
|
|
9674
9679
|
this.searchLoading = true;
|
|
9675
9680
|
util["a" /* default */].ajax({
|
|
9676
|
-
url: api["
|
|
9681
|
+
url: api["gb" /* handleInfo */],
|
|
9677
9682
|
params: { searchKey: query, query: query, type: 'user' }
|
|
9678
9683
|
}).then(function (res) {
|
|
9679
9684
|
var status = res.status,
|
|
@@ -11108,7 +11113,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11108
11113
|
type: String,
|
|
11109
11114
|
default: ''
|
|
11110
11115
|
},
|
|
11111
|
-
showBtn: { type: Boolean, default: true }
|
|
11116
|
+
showBtn: { type: Boolean, default: true },
|
|
11117
|
+
messageType: {
|
|
11118
|
+
type: Array,
|
|
11119
|
+
default: function _default() {
|
|
11120
|
+
return [];
|
|
11121
|
+
}
|
|
11122
|
+
},
|
|
11123
|
+
urgencyLevel: {
|
|
11124
|
+
type: [Number, String],
|
|
11125
|
+
default: ''
|
|
11126
|
+
},
|
|
11127
|
+
keyCount: {
|
|
11128
|
+
type: [Number, String],
|
|
11129
|
+
default: 0
|
|
11130
|
+
}
|
|
11112
11131
|
},
|
|
11113
11132
|
data: function data() {
|
|
11114
11133
|
return {
|
|
@@ -11199,12 +11218,33 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11199
11218
|
nodeInfo: [],
|
|
11200
11219
|
userInfo: [],
|
|
11201
11220
|
handleExplain: '',
|
|
11202
|
-
noticeList: []
|
|
11221
|
+
noticeList: [],
|
|
11222
|
+
msgTypeCount: 0
|
|
11203
11223
|
}
|
|
11204
11224
|
};
|
|
11205
11225
|
},
|
|
11206
11226
|
|
|
11207
11227
|
watch: {
|
|
11228
|
+
messageType: {
|
|
11229
|
+
handler: function handler(val) {
|
|
11230
|
+
var _this = this;
|
|
11231
|
+
|
|
11232
|
+
if (this.urgencyLevel) {
|
|
11233
|
+
this.nextNode.noticeList = val;
|
|
11234
|
+
var arr = [];
|
|
11235
|
+
this.nextNode.noticeList.map(function (item) {
|
|
11236
|
+
_this.nextNode.noticeType.map(function (x) {
|
|
11237
|
+
if (x == item.cciValue) {
|
|
11238
|
+
arr.push(x);
|
|
11239
|
+
}
|
|
11240
|
+
});
|
|
11241
|
+
});
|
|
11242
|
+
this.nextNode.noticeType = arr;
|
|
11243
|
+
} else {
|
|
11244
|
+
this.msgTypeCount++;
|
|
11245
|
+
}
|
|
11246
|
+
}
|
|
11247
|
+
},
|
|
11208
11248
|
processDefinitionId: function processDefinitionId(val) {
|
|
11209
11249
|
Object.assign(this.$data, this.$options.data());
|
|
11210
11250
|
this.getUserInfo();
|
|
@@ -11245,7 +11285,9 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11245
11285
|
this.getUserInfo();
|
|
11246
11286
|
},
|
|
11247
11287
|
mounted: function mounted() {
|
|
11248
|
-
this.
|
|
11288
|
+
if (!this.urgencyLevel) {
|
|
11289
|
+
this.getNodeType();
|
|
11290
|
+
}
|
|
11249
11291
|
this.getStartFlow(this.processDefinitionId);
|
|
11250
11292
|
if (this.copyHistory) {
|
|
11251
11293
|
this.nextNode.newOpinion = this.opinion;
|
|
@@ -11265,25 +11307,25 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11265
11307
|
}
|
|
11266
11308
|
},
|
|
11267
11309
|
getUserInfo: function getUserInfo() {
|
|
11268
|
-
var
|
|
11310
|
+
var _this2 = this;
|
|
11269
11311
|
|
|
11270
11312
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
11271
11313
|
if (mainConfig) {
|
|
11272
11314
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
11273
11315
|
} else {
|
|
11274
|
-
util["a" /* default */].ajax({ url: api["
|
|
11316
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
11275
11317
|
var status = res.status,
|
|
11276
11318
|
data = res.data;
|
|
11277
11319
|
|
|
11278
11320
|
if (status == 'success') {
|
|
11279
|
-
|
|
11321
|
+
_this2.userModel = data;
|
|
11280
11322
|
} else {
|
|
11281
11323
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
11282
|
-
|
|
11324
|
+
_this2.$message.error(msg);
|
|
11283
11325
|
}
|
|
11284
11326
|
}).catch(function (err) {
|
|
11285
11327
|
if (err.message && err.message !== 'canceled') {
|
|
11286
|
-
|
|
11328
|
+
_this2.$message.error(err.message);
|
|
11287
11329
|
}
|
|
11288
11330
|
});
|
|
11289
11331
|
}
|
|
@@ -11377,7 +11419,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11377
11419
|
this.mixOrgIdList = mixList;
|
|
11378
11420
|
},
|
|
11379
11421
|
getNodeType: function getNodeType() {
|
|
11380
|
-
var
|
|
11422
|
+
var _this3 = this;
|
|
11381
11423
|
|
|
11382
11424
|
util["a" /* default */].ajax({
|
|
11383
11425
|
url: api["z" /* findCodeValues */],
|
|
@@ -11390,23 +11432,23 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11390
11432
|
data = res.data;
|
|
11391
11433
|
|
|
11392
11434
|
if (status === 'success') {
|
|
11393
|
-
|
|
11435
|
+
_this3.nextNode.noticeList = data;
|
|
11394
11436
|
}
|
|
11395
11437
|
}).catch(function (err) {
|
|
11396
|
-
if (
|
|
11397
|
-
|
|
11438
|
+
if (_this3.showBtn) {
|
|
11439
|
+
_this3.loading = false;
|
|
11398
11440
|
} else {
|
|
11399
|
-
|
|
11441
|
+
_this3.allLoading.close();
|
|
11400
11442
|
}
|
|
11401
11443
|
if (err.message && err.message !== 'canceled') {
|
|
11402
|
-
|
|
11444
|
+
_this3.$message.error(err.message);
|
|
11403
11445
|
}
|
|
11404
11446
|
});
|
|
11405
11447
|
},
|
|
11406
11448
|
|
|
11407
11449
|
//获取通知信息
|
|
11408
11450
|
getMessage: function getMessage() {
|
|
11409
|
-
var
|
|
11451
|
+
var _this4 = this;
|
|
11410
11452
|
|
|
11411
11453
|
var params = {
|
|
11412
11454
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -11418,21 +11460,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11418
11460
|
}
|
|
11419
11461
|
util["a" /* default */].ajax({ url: api["S" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
11420
11462
|
if (res.status === 'success') {
|
|
11421
|
-
if (!
|
|
11422
|
-
|
|
11423
|
-
|
|
11463
|
+
if (!_this4.showBtn) {
|
|
11464
|
+
_this4.oldMessage = res.message;
|
|
11465
|
+
_this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
|
|
11424
11466
|
} else {
|
|
11425
|
-
|
|
11467
|
+
_this4.nextNode.noticeInfo = res.message;
|
|
11426
11468
|
}
|
|
11427
11469
|
}
|
|
11428
11470
|
}).catch(function (err) {
|
|
11429
|
-
if (
|
|
11430
|
-
|
|
11471
|
+
if (_this4.showBtn) {
|
|
11472
|
+
_this4.loading = false;
|
|
11431
11473
|
} else {
|
|
11432
|
-
|
|
11474
|
+
_this4.allLoading.close();
|
|
11433
11475
|
}
|
|
11434
11476
|
if (err.message && err.message !== 'canceled') {
|
|
11435
|
-
|
|
11477
|
+
_this4.$message.error(err.message);
|
|
11436
11478
|
}
|
|
11437
11479
|
});
|
|
11438
11480
|
},
|
|
@@ -11442,11 +11484,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11442
11484
|
this.saveProcess(formName);
|
|
11443
11485
|
},
|
|
11444
11486
|
saveProcess: function saveProcess(formName) {
|
|
11445
|
-
var
|
|
11487
|
+
var _this5 = this;
|
|
11446
11488
|
|
|
11447
11489
|
this.$refs[formName].validate(function (valid) {
|
|
11448
11490
|
if (valid) {
|
|
11449
|
-
var _nextNode =
|
|
11491
|
+
var _nextNode = _this5.nextNode,
|
|
11450
11492
|
nextNode = _nextNode.nextNode,
|
|
11451
11493
|
nextUser = _nextNode.nextUser,
|
|
11452
11494
|
noticeInfo = _nextNode.noticeInfo,
|
|
@@ -11461,22 +11503,22 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11461
11503
|
// return this.$message.warning('请选择通知方式');
|
|
11462
11504
|
// }
|
|
11463
11505
|
|
|
11464
|
-
if (
|
|
11465
|
-
if (nextUser == '' ||
|
|
11466
|
-
return
|
|
11506
|
+
if (_this5.isShowNextUser) {
|
|
11507
|
+
if (nextUser == '' || _this5.multiple && nextUser.length == 0) {
|
|
11508
|
+
return _this5.$message.warning('请选择下步办理人');
|
|
11467
11509
|
}
|
|
11468
11510
|
} else {
|
|
11469
|
-
if (nextOrgId == '' ||
|
|
11470
|
-
return
|
|
11511
|
+
if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
|
|
11512
|
+
return _this5.$message.warning('请选择办理对象');
|
|
11471
11513
|
}
|
|
11472
11514
|
}
|
|
11473
|
-
if (
|
|
11474
|
-
|
|
11515
|
+
if (_this5.showBtn) {
|
|
11516
|
+
_this5.loading = true;
|
|
11475
11517
|
} else {
|
|
11476
|
-
|
|
11518
|
+
_this5.allLoading = util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
11477
11519
|
}
|
|
11478
11520
|
var newNextUser = [];
|
|
11479
|
-
if (
|
|
11521
|
+
if (_this5.multiple) {
|
|
11480
11522
|
nextUser && nextUser.map(function (item) {
|
|
11481
11523
|
return newNextUser.push(item);
|
|
11482
11524
|
});
|
|
@@ -11486,79 +11528,79 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11486
11528
|
newNoticeType = noticeType.join(',');
|
|
11487
11529
|
}
|
|
11488
11530
|
var params = {
|
|
11489
|
-
processDefinitionId:
|
|
11490
|
-
nextUserId:
|
|
11531
|
+
processDefinitionId: _this5.processDefinitionId,
|
|
11532
|
+
nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
|
|
11491
11533
|
customLimitTime: customLimitTime,
|
|
11492
11534
|
nextNodeId: nextNode,
|
|
11493
|
-
businessId:
|
|
11535
|
+
businessId: _this5.businessId,
|
|
11494
11536
|
notificationType: newNoticeType,
|
|
11495
11537
|
userId: util["a" /* default */].getStorage('userId'),
|
|
11496
11538
|
notificationMsg: noticeInfo,
|
|
11497
|
-
customPresetUserJson: JSON.stringify(
|
|
11498
|
-
presetUserJson: JSON.stringify(
|
|
11499
|
-
nextReadUserId:
|
|
11500
|
-
nextOrgId: !
|
|
11539
|
+
customPresetUserJson: JSON.stringify(_this5.presetList),
|
|
11540
|
+
presetUserJson: JSON.stringify(_this5.presetUserJson),
|
|
11541
|
+
nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
|
|
11542
|
+
nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
|
|
11501
11543
|
handleExplain: handleExplain,
|
|
11502
|
-
presetReadUserId:
|
|
11503
|
-
opinion:
|
|
11544
|
+
presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
11545
|
+
opinion: _this5.newOpinion || newOpinion
|
|
11504
11546
|
};
|
|
11505
|
-
if (
|
|
11506
|
-
if (
|
|
11547
|
+
if (_this5.activeNames != '1') delete params.customPresetUserJson;
|
|
11548
|
+
if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
|
|
11507
11549
|
var newParm = {};
|
|
11508
|
-
newParm.copyHistory =
|
|
11550
|
+
newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
|
|
11509
11551
|
newParm.startFlowParamJson = params;
|
|
11510
11552
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
11511
11553
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
11512
|
-
startFlowFirstNodeName:
|
|
11554
|
+
startFlowFirstNodeName: _this5.taskExamineParam
|
|
11513
11555
|
};
|
|
11514
11556
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
11515
|
-
for (var key in
|
|
11516
|
-
if (Array.isArray(
|
|
11517
|
-
|
|
11557
|
+
for (var key in _this5.taskParams) {
|
|
11558
|
+
if (Array.isArray(_this5.taskParams[key])) {
|
|
11559
|
+
_this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
|
|
11518
11560
|
}
|
|
11519
11561
|
}
|
|
11520
11562
|
|
|
11521
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
11522
|
-
if (
|
|
11563
|
+
newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
|
|
11564
|
+
if (_this5.formType == 'readTransfer') {
|
|
11523
11565
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
11524
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
11566
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
|
|
11525
11567
|
delete newParm.copyHistory;
|
|
11526
11568
|
delete newParm.startFlowParamJson;
|
|
11527
11569
|
delete newParm.submitTaskParamJson;
|
|
11528
11570
|
}
|
|
11529
11571
|
params = newParm;
|
|
11530
11572
|
}
|
|
11531
|
-
if (
|
|
11532
|
-
params.pendingId =
|
|
11573
|
+
if (_this5.copyHistory && !_this5.isFreeStartFlow) {
|
|
11574
|
+
params.pendingId = _this5.pendingId;
|
|
11533
11575
|
delete params.businessId;
|
|
11534
11576
|
}
|
|
11535
11577
|
util["a" /* default */].ajax({
|
|
11536
|
-
url:
|
|
11578
|
+
url: _this5.isFreeStartFlow ? api["F" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["Kb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["E" /* freeStartFlow */] : api["Ab" /* register */],
|
|
11537
11579
|
method: 'post',
|
|
11538
11580
|
data: params
|
|
11539
11581
|
}).then(function (res) {
|
|
11540
11582
|
var status = res.status,
|
|
11541
11583
|
message = res.message;
|
|
11542
11584
|
|
|
11543
|
-
if (
|
|
11544
|
-
|
|
11585
|
+
if (_this5.showBtn) {
|
|
11586
|
+
_this5.loading = false;
|
|
11545
11587
|
} else {
|
|
11546
|
-
|
|
11588
|
+
_this5.allLoading.close();
|
|
11547
11589
|
}
|
|
11548
11590
|
if (status === 'success' || res.rCode == 0) {
|
|
11549
|
-
|
|
11550
|
-
|
|
11591
|
+
_this5.quit(true);
|
|
11592
|
+
_this5.simpleTips && _this5.$message.success('操作成功');
|
|
11551
11593
|
} else {
|
|
11552
|
-
|
|
11594
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
11553
11595
|
}
|
|
11554
11596
|
}).catch(function (err) {
|
|
11555
|
-
if (
|
|
11556
|
-
|
|
11597
|
+
if (_this5.showBtn) {
|
|
11598
|
+
_this5.loading = false;
|
|
11557
11599
|
} else {
|
|
11558
|
-
|
|
11600
|
+
_this5.allLoading.close();
|
|
11559
11601
|
}
|
|
11560
11602
|
if (err.message && err.message !== 'canceled') {
|
|
11561
|
-
|
|
11603
|
+
_this5.$message.error(err.message);
|
|
11562
11604
|
}
|
|
11563
11605
|
});
|
|
11564
11606
|
} else {
|
|
@@ -11567,7 +11609,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11567
11609
|
});
|
|
11568
11610
|
},
|
|
11569
11611
|
getNodeInfos: function getNodeInfos(nodeId, index) {
|
|
11570
|
-
var
|
|
11612
|
+
var _this6 = this;
|
|
11571
11613
|
|
|
11572
11614
|
var params = {
|
|
11573
11615
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -11584,72 +11626,72 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11584
11626
|
countersignaturetypeText = _res$data.countersignaturetypeText,
|
|
11585
11627
|
countersignaturetypeCode = _res$data.countersignaturetypeCode;
|
|
11586
11628
|
|
|
11587
|
-
if (
|
|
11588
|
-
|
|
11629
|
+
if (_this6.showBtn) {
|
|
11630
|
+
_this6.loading = false;
|
|
11589
11631
|
} else {
|
|
11590
|
-
|
|
11632
|
+
_this6.allLoading.close();
|
|
11591
11633
|
}
|
|
11592
11634
|
if (status === 'success') {
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11635
|
+
_this6.nextNode.userInfo = nextUserList;
|
|
11636
|
+
_this6.countersignaturetypeCode = countersignaturetypeCode;
|
|
11637
|
+
_this6.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
11638
|
+
_this6.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
11639
|
+
_this6.isTaskread = nodeExtAttr.isTaskread;
|
|
11640
|
+
_this6.isHandleExplain = nodeExtAttr.isHandleExplain;
|
|
11641
|
+
_this6.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
|
|
11642
|
+
_this6.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
|
|
11643
|
+
_this6.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
|
|
11602
11644
|
if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
|
|
11603
|
-
|
|
11645
|
+
_this6.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
|
|
11604
11646
|
} else {
|
|
11605
|
-
var _isMultiple =
|
|
11647
|
+
var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
|
|
11606
11648
|
multiple = _isMultiple.multiple,
|
|
11607
11649
|
_params = _isMultiple.params;
|
|
11608
11650
|
|
|
11609
|
-
|
|
11610
|
-
|
|
11651
|
+
_this6.multiple = multiple;
|
|
11652
|
+
_this6.params = _params;
|
|
11611
11653
|
}
|
|
11612
11654
|
// this.isReadMultiple(nodeExtAttr.userSelectionType);
|
|
11613
11655
|
|
|
11614
11656
|
nextUserList.map(function (item) {
|
|
11615
|
-
if (
|
|
11616
|
-
|
|
11617
|
-
|
|
11657
|
+
if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
|
|
11658
|
+
_this6.nextNode.nextUser.push(item.userId);
|
|
11659
|
+
_this6.selectUserList.push({
|
|
11618
11660
|
showname: item.username,
|
|
11619
11661
|
showid: item.userId
|
|
11620
11662
|
});
|
|
11621
11663
|
}
|
|
11622
11664
|
|
|
11623
|
-
|
|
11665
|
+
_this6.options.push({
|
|
11624
11666
|
showname: item.username,
|
|
11625
11667
|
showid: item.userId
|
|
11626
11668
|
});
|
|
11627
11669
|
});
|
|
11628
|
-
if (
|
|
11629
|
-
|
|
11670
|
+
if (_this6.multiple) {
|
|
11671
|
+
_this6.nextNode.nextReadUserId = [];
|
|
11630
11672
|
} else {
|
|
11631
|
-
|
|
11673
|
+
_this6.nextNode.nextReadUserId = '';
|
|
11632
11674
|
}
|
|
11633
|
-
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !
|
|
11634
|
-
|
|
11635
|
-
|
|
11675
|
+
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
|
|
11676
|
+
_this6.nextNode.nextUser = nextUserList[0].userId;
|
|
11677
|
+
_this6.selectUserList.push({
|
|
11636
11678
|
showname: nextUserList[0].username,
|
|
11637
11679
|
showid: nextUserList[0].userId
|
|
11638
11680
|
});
|
|
11639
11681
|
}
|
|
11640
|
-
|
|
11682
|
+
_this6.radioList = _this6.options;
|
|
11641
11683
|
} else {
|
|
11642
|
-
|
|
11684
|
+
_this6.$message.error(message || '系统错误,请联系管理员!');
|
|
11643
11685
|
}
|
|
11644
|
-
nodeId &&
|
|
11686
|
+
nodeId && _this6.$refs.selectUser[index].changeInfo();
|
|
11645
11687
|
}).catch(function (err) {
|
|
11646
|
-
if (
|
|
11647
|
-
|
|
11688
|
+
if (_this6.showBtn) {
|
|
11689
|
+
_this6.loading = false;
|
|
11648
11690
|
} else {
|
|
11649
|
-
|
|
11691
|
+
_this6.allLoading.close();
|
|
11650
11692
|
}
|
|
11651
11693
|
if (err.message && err.message !== 'canceled') {
|
|
11652
|
-
|
|
11694
|
+
_this6.$message.error(err.message);
|
|
11653
11695
|
}
|
|
11654
11696
|
});
|
|
11655
11697
|
},
|
|
@@ -11672,7 +11714,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11672
11714
|
this.$emit('cancel', false);
|
|
11673
11715
|
},
|
|
11674
11716
|
getFind: function getFind() {
|
|
11675
|
-
var
|
|
11717
|
+
var _this7 = this;
|
|
11676
11718
|
|
|
11677
11719
|
util["a" /* default */].ajax({
|
|
11678
11720
|
url: api["B" /* findSysCodes */]
|
|
@@ -11681,27 +11723,27 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11681
11723
|
message = res.message;
|
|
11682
11724
|
|
|
11683
11725
|
if (status === 'success') {
|
|
11684
|
-
|
|
11726
|
+
_this7.nextNode.noticeType = message.split(',');
|
|
11685
11727
|
var arr = [];
|
|
11686
|
-
|
|
11687
|
-
|
|
11728
|
+
_this7.nextNode.noticeList.map(function (item) {
|
|
11729
|
+
_this7.nextNode.noticeType.map(function (x) {
|
|
11688
11730
|
if (x == item.cciValue) {
|
|
11689
11731
|
arr.push(x);
|
|
11690
11732
|
}
|
|
11691
11733
|
});
|
|
11692
11734
|
});
|
|
11693
|
-
|
|
11735
|
+
_this7.nextNode.noticeType = arr;
|
|
11694
11736
|
} else {
|
|
11695
|
-
|
|
11737
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
11696
11738
|
}
|
|
11697
11739
|
}).catch(function (err) {
|
|
11698
|
-
if (
|
|
11699
|
-
|
|
11740
|
+
if (_this7.showBtn) {
|
|
11741
|
+
_this7.loading = false;
|
|
11700
11742
|
} else {
|
|
11701
|
-
|
|
11743
|
+
_this7.allLoading.close();
|
|
11702
11744
|
}
|
|
11703
11745
|
if (err.message && err.message !== 'canceled') {
|
|
11704
|
-
|
|
11746
|
+
_this7.$message.error(err.message);
|
|
11705
11747
|
}
|
|
11706
11748
|
});
|
|
11707
11749
|
},
|
|
@@ -11744,7 +11786,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11744
11786
|
return { multiple: multiple, params: params };
|
|
11745
11787
|
},
|
|
11746
11788
|
getStartFlow: function getStartFlow(processId) {
|
|
11747
|
-
var
|
|
11789
|
+
var _this8 = this;
|
|
11748
11790
|
|
|
11749
11791
|
if (!processId) {
|
|
11750
11792
|
return false;
|
|
@@ -11761,100 +11803,100 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11761
11803
|
businessId: this.businessId
|
|
11762
11804
|
};
|
|
11763
11805
|
// 获取节点
|
|
11764
|
-
util["a" /* default */].ajax({ url: api["
|
|
11806
|
+
util["a" /* default */].ajax({ url: api["cc" /* toStartFlow */], params: params }).then(function (res) {
|
|
11765
11807
|
//pc接口返回数据处理
|
|
11766
11808
|
var status = res.status,
|
|
11767
11809
|
message = res.message,
|
|
11768
11810
|
data = res.data;
|
|
11769
11811
|
|
|
11770
11812
|
if (status == 'success') {
|
|
11771
|
-
data.nodeInfoMap.nodeExtAttr.submitTipsMsg &&
|
|
11813
|
+
data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
|
|
11772
11814
|
confirmButtonText: '确定',
|
|
11773
11815
|
cancelButtonText: '取消',
|
|
11774
11816
|
type: 'warning'
|
|
11775
11817
|
}).then(function () {}).catch(function () {
|
|
11776
|
-
|
|
11818
|
+
_this8.quit();
|
|
11777
11819
|
});
|
|
11778
|
-
data.nextNodeCheckType && (
|
|
11779
|
-
data.nextOperateCheckType && (
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
if (
|
|
11791
|
-
|
|
11820
|
+
data.nextNodeCheckType && (_this8.nextNodeCheckType = data.nextNodeCheckType);
|
|
11821
|
+
data.nextOperateCheckType && (_this8.nextOperateCheckType = data.nextOperateCheckType);
|
|
11822
|
+
_this8.customPresetHintMessage = data.customPresetHintMessage;
|
|
11823
|
+
_this8.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
11824
|
+
_this8.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
11825
|
+
_this8.nextNode.nodeInfo = data.nextNodeList;
|
|
11826
|
+
_this8.nextNode.nextNode = data.nextNodeList[0].nodeId;
|
|
11827
|
+
_this8.isPreset = data.isPreset;
|
|
11828
|
+
_this8.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
|
|
11829
|
+
_this8.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
11830
|
+
_this8.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
11831
|
+
_this8.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
|
|
11832
|
+
if (_this8.isChooseNextNode == 1) {
|
|
11833
|
+
_this8.operationList = [{ key: 0, value: '默认', list: [] }, { key: 1, value: '自定义', list: [] }];
|
|
11792
11834
|
var arr = [];
|
|
11793
11835
|
for (var key in data.taskNodeMap) {
|
|
11794
11836
|
arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
|
|
11795
11837
|
}
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
if (
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
if (
|
|
11838
|
+
_this8.operationList[0].list = data.nextNodeList;
|
|
11839
|
+
_this8.operationList[1].list = arr;
|
|
11840
|
+
if (_this8.isHideDefaultOperation != 1) {
|
|
11841
|
+
_this8.nextNode.nextOperate = 0;
|
|
11842
|
+
_this8.nextNode.nodeInfo = _this8.operationList[0].list;
|
|
11843
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
11802
11844
|
var defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
11803
|
-
return x.nodeId ==
|
|
11845
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
11804
11846
|
});
|
|
11805
|
-
|
|
11847
|
+
_this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
11806
11848
|
}
|
|
11807
11849
|
} else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
|
|
11808
11850
|
// this.nextNode.nodeInfo = data.nextNodeList
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
if (
|
|
11851
|
+
_this8.nextNode.nextOperate = 1;
|
|
11852
|
+
_this8.nextNode.nodeInfo = _this8.operationList[1].list;
|
|
11853
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
11812
11854
|
var _defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
11813
|
-
return x.nodeId ==
|
|
11855
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
11814
11856
|
});
|
|
11815
|
-
|
|
11857
|
+
_this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
11816
11858
|
}
|
|
11817
11859
|
}
|
|
11818
11860
|
}
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11861
|
+
_this8.isCustomPreset = data.isCustomPreset;
|
|
11862
|
+
_this8.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
|
|
11863
|
+
_this8.presetTaskNodeMap = data.presetTaskNodeMap;
|
|
11864
|
+
_this8.isSinglePage = data.taskExamine.isSinglePage;
|
|
11865
|
+
_this8.isSinglePage && (_this8.nextNode.opinion = data.taskExamine.opinion);
|
|
11824
11866
|
// this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
|
|
11825
|
-
|
|
11826
|
-
|
|
11867
|
+
_this8.nextNode.nodeName = data.taskExamine.nodeName;
|
|
11868
|
+
_this8.canPresetRead = data.canPresetRead;
|
|
11827
11869
|
if (data.canPresetRead) {
|
|
11828
11870
|
var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
11829
11871
|
var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
11830
11872
|
ids.map(function (item, index) {
|
|
11831
|
-
|
|
11873
|
+
_this8.presetReadUserId.push({
|
|
11832
11874
|
showid: item,
|
|
11833
11875
|
showname: names[index]
|
|
11834
11876
|
});
|
|
11835
|
-
|
|
11877
|
+
_this8.selectPresetUserList.push({
|
|
11836
11878
|
showid: item,
|
|
11837
11879
|
showname: names[index]
|
|
11838
11880
|
});
|
|
11839
|
-
|
|
11881
|
+
_this8.nextNode.presetReadUserId.push(item);
|
|
11840
11882
|
});
|
|
11841
11883
|
}
|
|
11842
|
-
|
|
11884
|
+
_this8.getNodeInfos();
|
|
11843
11885
|
// this.getPresetFlowInfo();
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11886
|
+
_this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
|
|
11887
|
+
_this8.getFind();
|
|
11888
|
+
_this8.getMessage();
|
|
11847
11889
|
} else {
|
|
11848
|
-
|
|
11890
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
11849
11891
|
}
|
|
11850
11892
|
}).catch(function (err) {
|
|
11851
|
-
if (
|
|
11852
|
-
|
|
11893
|
+
if (_this8.showBtn) {
|
|
11894
|
+
_this8.loading = false;
|
|
11853
11895
|
} else {
|
|
11854
|
-
|
|
11896
|
+
_this8.allLoading.close();
|
|
11855
11897
|
}
|
|
11856
11898
|
if (err.message && err.message !== 'canceled') {
|
|
11857
|
-
|
|
11899
|
+
_this8.$message.error(err.message);
|
|
11858
11900
|
}
|
|
11859
11901
|
});
|
|
11860
11902
|
}
|
|
@@ -11872,8 +11914,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
11872
11914
|
|
|
11873
11915
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
11874
11916
|
src_processFormvue_type_script_lang_js_,
|
|
11875
|
-
|
|
11876
|
-
|
|
11917
|
+
processFormvue_type_template_id_e536b88e_render,
|
|
11918
|
+
processFormvue_type_template_id_e536b88e_staticRenderFns,
|
|
11877
11919
|
false,
|
|
11878
11920
|
null,
|
|
11879
11921
|
null,
|
|
@@ -11885,8 +11927,8 @@ var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
|
11885
11927
|
// EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
|
|
11886
11928
|
var FileList = __webpack_require__(18);
|
|
11887
11929
|
|
|
11888
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=template&id=
|
|
11889
|
-
var
|
|
11930
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=template&id=511ef65e&
|
|
11931
|
+
var SendMsgvue_type_template_id_511ef65e_render = function () {
|
|
11890
11932
|
var _vm = this
|
|
11891
11933
|
var _h = _vm.$createElement
|
|
11892
11934
|
var _c = _vm._self._c || _h
|
|
@@ -11917,17 +11959,15 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
|
|
|
11917
11959
|
_c(
|
|
11918
11960
|
"el-form-item",
|
|
11919
11961
|
{
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
],
|
|
11930
|
-
},
|
|
11962
|
+
directives: [
|
|
11963
|
+
{
|
|
11964
|
+
name: "show",
|
|
11965
|
+
rawName: "v-show",
|
|
11966
|
+
value: _vm.notificationList.length != 0,
|
|
11967
|
+
expression: "notificationList.length != 0",
|
|
11968
|
+
},
|
|
11969
|
+
],
|
|
11970
|
+
attrs: { prop: "notificationType", label: "通知方式" },
|
|
11931
11971
|
},
|
|
11932
11972
|
[
|
|
11933
11973
|
_c(
|
|
@@ -11970,7 +12010,17 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
|
|
|
11970
12010
|
),
|
|
11971
12011
|
_c(
|
|
11972
12012
|
"el-form-item",
|
|
11973
|
-
{
|
|
12013
|
+
{
|
|
12014
|
+
directives: [
|
|
12015
|
+
{
|
|
12016
|
+
name: "show",
|
|
12017
|
+
rawName: "v-show",
|
|
12018
|
+
value: _vm.notificationList.length != 0,
|
|
12019
|
+
expression: "notificationList.length != 0",
|
|
12020
|
+
},
|
|
12021
|
+
],
|
|
12022
|
+
attrs: { prop: "nextNode", label: "通知消息" },
|
|
12023
|
+
},
|
|
11974
12024
|
[
|
|
11975
12025
|
_c("el-input", {
|
|
11976
12026
|
attrs: {
|
|
@@ -12091,11 +12141,11 @@ var SendMsgvue_type_template_id_5cb986c6_render = function () {
|
|
|
12091
12141
|
1
|
|
12092
12142
|
)
|
|
12093
12143
|
}
|
|
12094
|
-
var
|
|
12095
|
-
|
|
12144
|
+
var SendMsgvue_type_template_id_511ef65e_staticRenderFns = []
|
|
12145
|
+
SendMsgvue_type_template_id_511ef65e_render._withStripped = true
|
|
12096
12146
|
|
|
12097
12147
|
|
|
12098
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=
|
|
12148
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/SendMsg.vue?vue&type=template&id=511ef65e&
|
|
12099
12149
|
|
|
12100
12150
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/SendMsg.vue?vue&type=script&lang=js&
|
|
12101
12151
|
//
|
|
@@ -12190,6 +12240,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12190
12240
|
//
|
|
12191
12241
|
//
|
|
12192
12242
|
//
|
|
12243
|
+
//
|
|
12193
12244
|
|
|
12194
12245
|
|
|
12195
12246
|
|
|
@@ -12246,7 +12297,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12246
12297
|
notificationType = _sendInfo.notificationType;
|
|
12247
12298
|
|
|
12248
12299
|
var params = {
|
|
12249
|
-
url: api["
|
|
12300
|
+
url: api["Jb" /* sendMsg */],
|
|
12250
12301
|
headers: { Accept: 'application/json,text/plain' },
|
|
12251
12302
|
method: 'post',
|
|
12252
12303
|
data: {
|
|
@@ -12308,7 +12359,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12308
12359
|
|
|
12309
12360
|
this.loading = true;
|
|
12310
12361
|
util["a" /* default */].ajax({
|
|
12311
|
-
url: api["
|
|
12362
|
+
url: api["bc" /* toSendMsg */],
|
|
12312
12363
|
params: { pendingId: this.$attrs.pendingId }
|
|
12313
12364
|
}).then(function (res) {
|
|
12314
12365
|
var status = res.status,
|
|
@@ -12352,8 +12403,8 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
12352
12403
|
|
|
12353
12404
|
var SendMsg_component = Object(componentNormalizer["a" /* default */])(
|
|
12354
12405
|
component_SendMsgvue_type_script_lang_js_,
|
|
12355
|
-
|
|
12356
|
-
|
|
12406
|
+
SendMsgvue_type_template_id_511ef65e_render,
|
|
12407
|
+
SendMsgvue_type_template_id_511ef65e_staticRenderFns,
|
|
12357
12408
|
false,
|
|
12358
12409
|
null,
|
|
12359
12410
|
null,
|
|
@@ -12761,8 +12812,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
12761
12812
|
)
|
|
12762
12813
|
|
|
12763
12814
|
/* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
|
|
12764
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
12765
|
-
var
|
|
12815
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=4cc2d6c6&
|
|
12816
|
+
var processRejectvue_type_template_id_4cc2d6c6_render = function () {
|
|
12766
12817
|
var _vm = this
|
|
12767
12818
|
var _h = _vm.$createElement
|
|
12768
12819
|
var _c = _vm._self._c || _h
|
|
@@ -12872,17 +12923,15 @@ var processRejectvue_type_template_id_9d3463f6_render = function () {
|
|
|
12872
12923
|
_c(
|
|
12873
12924
|
"el-form-item",
|
|
12874
12925
|
{
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
],
|
|
12885
|
-
},
|
|
12926
|
+
directives: [
|
|
12927
|
+
{
|
|
12928
|
+
name: "show",
|
|
12929
|
+
rawName: "v-show",
|
|
12930
|
+
value: _vm.nextNode.noticeList.lemgth != 0,
|
|
12931
|
+
expression: "nextNode.noticeList.lemgth != 0",
|
|
12932
|
+
},
|
|
12933
|
+
],
|
|
12934
|
+
attrs: { prop: "noticeType", label: "通知方式" },
|
|
12886
12935
|
},
|
|
12887
12936
|
[
|
|
12888
12937
|
_c(
|
|
@@ -12987,11 +13036,11 @@ var processRejectvue_type_template_id_9d3463f6_render = function () {
|
|
|
12987
13036
|
1
|
|
12988
13037
|
)
|
|
12989
13038
|
}
|
|
12990
|
-
var
|
|
12991
|
-
|
|
13039
|
+
var processRejectvue_type_template_id_4cc2d6c6_staticRenderFns = []
|
|
13040
|
+
processRejectvue_type_template_id_4cc2d6c6_render._withStripped = true
|
|
12992
13041
|
|
|
12993
13042
|
|
|
12994
|
-
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
13043
|
+
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=4cc2d6c6&
|
|
12995
13044
|
|
|
12996
13045
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
|
|
12997
13046
|
//
|
|
@@ -13080,6 +13129,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13080
13129
|
//
|
|
13081
13130
|
//
|
|
13082
13131
|
//
|
|
13132
|
+
//
|
|
13083
13133
|
|
|
13084
13134
|
|
|
13085
13135
|
|
|
@@ -13179,7 +13229,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13179
13229
|
userId: util["a" /* default */].getStorage('userId'),
|
|
13180
13230
|
nextNodeId: _this2.nextNode.nextNodeId
|
|
13181
13231
|
};
|
|
13182
|
-
util["a" /* default */].ajax({ url: api["
|
|
13232
|
+
util["a" /* default */].ajax({ url: api["Rb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
|
|
13183
13233
|
var status = res.status,
|
|
13184
13234
|
message = res.message;
|
|
13185
13235
|
|
|
@@ -13189,6 +13239,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13189
13239
|
_this2.simpleTips && _this2.$message.success('操作成功');
|
|
13190
13240
|
} else {
|
|
13191
13241
|
_this2.$message.error(message || '系统错误,请联系管理员!');
|
|
13242
|
+
_this2.quit(false);
|
|
13192
13243
|
}
|
|
13193
13244
|
}).catch(function (err) {
|
|
13194
13245
|
_this2.loading = false;
|
|
@@ -13243,18 +13294,18 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13243
13294
|
isSinglePage: false,
|
|
13244
13295
|
opinion: this.option
|
|
13245
13296
|
};
|
|
13246
|
-
util["a" /* default */].ajax({ url: api["
|
|
13247
|
-
var status = res.status,
|
|
13248
|
-
message = res.message,
|
|
13249
|
-
_res$data = res.data,
|
|
13250
|
-
rejectTaskNodes = _res$data.rejectTaskNodes,
|
|
13251
|
-
taskExamine = _res$data.taskExamine,
|
|
13252
|
-
nodeInfoMap = _res$data.nodeInfoMap,
|
|
13253
|
-
notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
|
|
13254
|
-
readOnlyNotificationType = _res$data.readOnlyNotificationType;
|
|
13297
|
+
util["a" /* default */].ajax({ url: api["gc" /* toTaskRejectHtml */], params: params }).then(function (res) {
|
|
13255
13298
|
|
|
13299
|
+
console.log(res, 'resssss');
|
|
13256
13300
|
_this4.loading = false;
|
|
13257
|
-
if (status === 'success') {
|
|
13301
|
+
if (res.status === 'success') {
|
|
13302
|
+
var _res$data = res.data,
|
|
13303
|
+
rejectTaskNodes = _res$data.rejectTaskNodes,
|
|
13304
|
+
taskExamine = _res$data.taskExamine,
|
|
13305
|
+
nodeInfoMap = _res$data.nodeInfoMap,
|
|
13306
|
+
notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
|
|
13307
|
+
readOnlyNotificationType = _res$data.readOnlyNotificationType;
|
|
13308
|
+
|
|
13258
13309
|
_this4.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
13259
13310
|
_this4.readOnlyNotificationType = readOnlyNotificationType;
|
|
13260
13311
|
_this4.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
@@ -13275,7 +13326,8 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13275
13326
|
_this4.rejectObj.length != 0 && (_this4.nextNode.nextNodeId = _this4.rejectObj[0].id);
|
|
13276
13327
|
}
|
|
13277
13328
|
} else {
|
|
13278
|
-
_this4.$message.error(message || '系统错误,请联系管理员!');
|
|
13329
|
+
_this4.$message.error(res.message || '系统错误,请联系管理员!');
|
|
13330
|
+
_this4.quit(false);
|
|
13279
13331
|
}
|
|
13280
13332
|
}).catch(function (err) {
|
|
13281
13333
|
_this4.loading = false;
|
|
@@ -13299,8 +13351,8 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
13299
13351
|
|
|
13300
13352
|
var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
13301
13353
|
src_processRejectvue_type_script_lang_js_,
|
|
13302
|
-
|
|
13303
|
-
|
|
13354
|
+
processRejectvue_type_template_id_4cc2d6c6_render,
|
|
13355
|
+
processRejectvue_type_template_id_4cc2d6c6_staticRenderFns,
|
|
13304
13356
|
false,
|
|
13305
13357
|
null,
|
|
13306
13358
|
null,
|
|
@@ -13309,8 +13361,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
13309
13361
|
)
|
|
13310
13362
|
|
|
13311
13363
|
/* harmony default export */ var processReject = (processReject_component.exports);
|
|
13312
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
13313
|
-
var
|
|
13364
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=709ac034&
|
|
13365
|
+
var startTaskReadvue_type_template_id_709ac034_render = function () {
|
|
13314
13366
|
var _vm = this
|
|
13315
13367
|
var _h = _vm.$createElement
|
|
13316
13368
|
var _c = _vm._self._c || _h
|
|
@@ -13607,22 +13659,11 @@ var startTaskReadvue_type_template_id_4f33d988_render = function () {
|
|
|
13607
13659
|
1
|
|
13608
13660
|
)
|
|
13609
13661
|
: _vm._e(),
|
|
13610
|
-
_vm.configInfo.isCdjxjTaskHandle != "true"
|
|
13662
|
+
_vm.configInfo.isCdjxjTaskHandle != "true" &&
|
|
13663
|
+
_vm.noticeList.length > 0
|
|
13611
13664
|
? _c(
|
|
13612
13665
|
"el-form-item",
|
|
13613
|
-
{
|
|
13614
|
-
attrs: {
|
|
13615
|
-
prop: "noticeType",
|
|
13616
|
-
label: "通知方式",
|
|
13617
|
-
rules: [
|
|
13618
|
-
{
|
|
13619
|
-
required: false,
|
|
13620
|
-
message: "请选择通知方式",
|
|
13621
|
-
trigger: "blur",
|
|
13622
|
-
},
|
|
13623
|
-
],
|
|
13624
|
-
},
|
|
13625
|
-
},
|
|
13666
|
+
{ attrs: { prop: "noticeType", label: "通知方式" } },
|
|
13626
13667
|
[
|
|
13627
13668
|
_c(
|
|
13628
13669
|
"el-checkbox-group",
|
|
@@ -13735,11 +13776,11 @@ var startTaskReadvue_type_template_id_4f33d988_render = function () {
|
|
|
13735
13776
|
1
|
|
13736
13777
|
)
|
|
13737
13778
|
}
|
|
13738
|
-
var
|
|
13739
|
-
|
|
13779
|
+
var startTaskReadvue_type_template_id_709ac034_staticRenderFns = []
|
|
13780
|
+
startTaskReadvue_type_template_id_709ac034_render._withStripped = true
|
|
13740
13781
|
|
|
13741
13782
|
|
|
13742
|
-
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
13783
|
+
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=709ac034&
|
|
13743
13784
|
|
|
13744
13785
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
|
|
13745
13786
|
var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -13912,9 +13953,6 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
13912
13953
|
//
|
|
13913
13954
|
//
|
|
13914
13955
|
//
|
|
13915
|
-
//
|
|
13916
|
-
//
|
|
13917
|
-
//
|
|
13918
13956
|
|
|
13919
13957
|
|
|
13920
13958
|
|
|
@@ -14054,7 +14092,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14054
14092
|
taskExamine = this.taskExamine;
|
|
14055
14093
|
|
|
14056
14094
|
var params = {
|
|
14057
|
-
url: api["
|
|
14095
|
+
url: api["mc" /* toTaskTransferIndex */],
|
|
14058
14096
|
params: {
|
|
14059
14097
|
opinion: opinion,
|
|
14060
14098
|
pendingId: pendingId,
|
|
@@ -14179,7 +14217,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14179
14217
|
var _this4 = this;
|
|
14180
14218
|
|
|
14181
14219
|
var params = {
|
|
14182
|
-
url: api["
|
|
14220
|
+
url: api["dc" /* toStartTaskRead */],
|
|
14183
14221
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
14184
14222
|
pendingId: this.pendingId,
|
|
14185
14223
|
taskAction: this.type
|
|
@@ -14272,7 +14310,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14272
14310
|
type = this.type;
|
|
14273
14311
|
|
|
14274
14312
|
var params = {
|
|
14275
|
-
url: api["
|
|
14313
|
+
url: api["Vb" /* taskTransfer */],
|
|
14276
14314
|
data: {
|
|
14277
14315
|
choiceDeptId: choiceDeptId,
|
|
14278
14316
|
choiceOrgId: choiceOrgId,
|
|
@@ -14374,7 +14412,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14374
14412
|
params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
|
|
14375
14413
|
}
|
|
14376
14414
|
util["a" /* default */].ajax({
|
|
14377
|
-
url: api["
|
|
14415
|
+
url: api["Pb" /* taskReadHtml */],
|
|
14378
14416
|
params: { taskAction: _this8.type },
|
|
14379
14417
|
headers: {
|
|
14380
14418
|
Accept: 'application/json,text/plain'
|
|
@@ -14456,8 +14494,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14456
14494
|
|
|
14457
14495
|
var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
14458
14496
|
src_startTaskReadvue_type_script_lang_js_,
|
|
14459
|
-
|
|
14460
|
-
|
|
14497
|
+
startTaskReadvue_type_template_id_709ac034_render,
|
|
14498
|
+
startTaskReadvue_type_template_id_709ac034_staticRenderFns,
|
|
14461
14499
|
false,
|
|
14462
14500
|
null,
|
|
14463
14501
|
null,
|
|
@@ -14466,8 +14504,8 @@ var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
14466
14504
|
)
|
|
14467
14505
|
|
|
14468
14506
|
/* harmony default export */ var startTaskRead = (startTaskRead_component.exports);
|
|
14469
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=
|
|
14470
|
-
var
|
|
14507
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=template&id=f85d1446&
|
|
14508
|
+
var resetvue_type_template_id_f85d1446_render = function () {
|
|
14471
14509
|
var _vm = this
|
|
14472
14510
|
var _h = _vm.$createElement
|
|
14473
14511
|
var _c = _vm._self._c || _h
|
|
@@ -14828,7 +14866,17 @@ var resetvue_type_template_id_56dca055_render = function () {
|
|
|
14828
14866
|
: _vm._e(),
|
|
14829
14867
|
_c(
|
|
14830
14868
|
"el-form-item",
|
|
14831
|
-
{
|
|
14869
|
+
{
|
|
14870
|
+
directives: [
|
|
14871
|
+
{
|
|
14872
|
+
name: "show",
|
|
14873
|
+
rawName: "v-show",
|
|
14874
|
+
value: _vm.nextNode.noticeList.length != 0,
|
|
14875
|
+
expression: "nextNode.noticeList.length != 0",
|
|
14876
|
+
},
|
|
14877
|
+
],
|
|
14878
|
+
attrs: { prop: "noticeType", label: "通知方式" },
|
|
14879
|
+
},
|
|
14832
14880
|
[
|
|
14833
14881
|
_vm.showNoticeType
|
|
14834
14882
|
? _c(
|
|
@@ -14943,11 +14991,11 @@ var resetvue_type_template_id_56dca055_render = function () {
|
|
|
14943
14991
|
1
|
|
14944
14992
|
)
|
|
14945
14993
|
}
|
|
14946
|
-
var
|
|
14947
|
-
|
|
14994
|
+
var resetvue_type_template_id_f85d1446_staticRenderFns = []
|
|
14995
|
+
resetvue_type_template_id_f85d1446_render._withStripped = true
|
|
14948
14996
|
|
|
14949
14997
|
|
|
14950
|
-
// CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=
|
|
14998
|
+
// CONCATENATED MODULE: ./packages/flow/src/reset.vue?vue&type=template&id=f85d1446&
|
|
14951
14999
|
|
|
14952
15000
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/reset.vue?vue&type=script&lang=js&
|
|
14953
15001
|
var resetvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -15331,7 +15379,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15331
15379
|
if (mainConfig) {
|
|
15332
15380
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
15333
15381
|
} else {
|
|
15334
|
-
util["a" /* default */].ajax({ url: api["
|
|
15382
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
15335
15383
|
var status = res.status,
|
|
15336
15384
|
data = res.data;
|
|
15337
15385
|
|
|
@@ -15487,10 +15535,10 @@ var resetvue_type_script_lang_js_components;
|
|
|
15487
15535
|
nextRoleId = _nextNode.nextRoleId,
|
|
15488
15536
|
nextOperate = _nextNode.nextOperate,
|
|
15489
15537
|
newOpinion = _nextNode.newOpinion;
|
|
15538
|
+
// if (noticeType.length === 0) {
|
|
15539
|
+
// return this.$message.warning('请选择通知方式');
|
|
15540
|
+
// }
|
|
15490
15541
|
|
|
15491
|
-
if (noticeType.length === 0) {
|
|
15492
|
-
return _this4.$message.warning('请选择通知方式');
|
|
15493
|
-
}
|
|
15494
15542
|
if (_this4.nodeInfoExtAttr.nodeType != 1 && _this4.nodeInfoExtAttr.nodeType != 2 && !_this4.showRoleUser) {
|
|
15495
15543
|
if (_this4.isShowNextUser) {
|
|
15496
15544
|
if (nextUser == '' || _this4.multiple && nextUser.length == 0) {
|
|
@@ -15544,7 +15592,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15544
15592
|
}
|
|
15545
15593
|
if (_this4.activeNames != '1') delete params.customPresetUserJson;
|
|
15546
15594
|
util["a" /* default */].ajax({
|
|
15547
|
-
url: _this4.type == 'reset' ? api["
|
|
15595
|
+
url: _this4.type == 'reset' ? api["Cb" /* resetProcess */] : api["Nb" /* taskContinuation */],
|
|
15548
15596
|
method: 'post',
|
|
15549
15597
|
data: params
|
|
15550
15598
|
}).then(function (res) {
|
|
@@ -15751,7 +15799,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
15751
15799
|
var _this7 = this;
|
|
15752
15800
|
|
|
15753
15801
|
var params = {
|
|
15754
|
-
url: this.type == 'continuation' ? api["
|
|
15802
|
+
url: this.type == 'continuation' ? api["fc" /* toTaskContinuationIndex */] : api["ac" /* toResetProcessIndex */],
|
|
15755
15803
|
params: resetvue_type_script_lang_js_extends({
|
|
15756
15804
|
appId: this.appId
|
|
15757
15805
|
}, this.flowParams)
|
|
@@ -15848,8 +15896,8 @@ var resetvue_type_script_lang_js_components;
|
|
|
15848
15896
|
|
|
15849
15897
|
var reset_component = Object(componentNormalizer["a" /* default */])(
|
|
15850
15898
|
src_resetvue_type_script_lang_js_,
|
|
15851
|
-
|
|
15852
|
-
|
|
15899
|
+
resetvue_type_template_id_f85d1446_render,
|
|
15900
|
+
resetvue_type_template_id_f85d1446_staticRenderFns,
|
|
15853
15901
|
false,
|
|
15854
15902
|
null,
|
|
15855
15903
|
null,
|
|
@@ -15858,8 +15906,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15858
15906
|
)
|
|
15859
15907
|
|
|
15860
15908
|
/* harmony default export */ var src_reset = (reset_component.exports);
|
|
15861
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=
|
|
15862
|
-
var
|
|
15909
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=7cff7406&
|
|
15910
|
+
var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
|
|
15863
15911
|
var _vm = this
|
|
15864
15912
|
var _h = _vm.$createElement
|
|
15865
15913
|
var _c = _vm._self._c || _h
|
|
@@ -16004,17 +16052,15 @@ var taskUnionExaminevue_type_template_id_36d478ba_render = function () {
|
|
|
16004
16052
|
_c(
|
|
16005
16053
|
"el-form-item",
|
|
16006
16054
|
{
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
],
|
|
16017
|
-
},
|
|
16055
|
+
directives: [
|
|
16056
|
+
{
|
|
16057
|
+
name: "show",
|
|
16058
|
+
rawName: "v-show",
|
|
16059
|
+
value: _vm.infoList.noticeList.length != 0,
|
|
16060
|
+
expression: "infoList.noticeList.length != 0",
|
|
16061
|
+
},
|
|
16062
|
+
],
|
|
16063
|
+
attrs: { prop: "noticeType", label: "通知方式" },
|
|
16018
16064
|
},
|
|
16019
16065
|
[
|
|
16020
16066
|
_c(
|
|
@@ -16118,11 +16164,11 @@ var taskUnionExaminevue_type_template_id_36d478ba_render = function () {
|
|
|
16118
16164
|
1
|
|
16119
16165
|
)
|
|
16120
16166
|
}
|
|
16121
|
-
var
|
|
16122
|
-
|
|
16167
|
+
var taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns = []
|
|
16168
|
+
taskUnionExaminevue_type_template_id_7cff7406_render._withStripped = true
|
|
16123
16169
|
|
|
16124
16170
|
|
|
16125
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=
|
|
16171
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=7cff7406&
|
|
16126
16172
|
|
|
16127
16173
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
|
|
16128
16174
|
var taskUnionExaminevue_type_script_lang_js_components;
|
|
@@ -16259,6 +16305,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16259
16305
|
//
|
|
16260
16306
|
//
|
|
16261
16307
|
//
|
|
16308
|
+
//
|
|
16262
16309
|
|
|
16263
16310
|
|
|
16264
16311
|
|
|
@@ -16344,7 +16391,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16344
16391
|
pendingId = this.pendingId;
|
|
16345
16392
|
|
|
16346
16393
|
var params = {
|
|
16347
|
-
url: api["
|
|
16394
|
+
url: api["Sb" /* taskReview */],
|
|
16348
16395
|
data: {
|
|
16349
16396
|
nextUserId: nextOtherOrgObj.join(','),
|
|
16350
16397
|
notificationType: noticeType.join(','),
|
|
@@ -16380,7 +16427,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16380
16427
|
var _this2 = this;
|
|
16381
16428
|
|
|
16382
16429
|
var params = {
|
|
16383
|
-
url: api["
|
|
16430
|
+
url: api["hc" /* toTaskReview */],
|
|
16384
16431
|
params: { pendingId: this.pendingId }
|
|
16385
16432
|
};
|
|
16386
16433
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
@@ -16416,7 +16463,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16416
16463
|
var _this3 = this;
|
|
16417
16464
|
|
|
16418
16465
|
var params = {
|
|
16419
|
-
url: this.type == 'takeAdvice' ? api["
|
|
16466
|
+
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
16467
|
params: { pendingId: this.pendingId },
|
|
16421
16468
|
headers: { Accept: 'application/json,text/plain' }
|
|
16422
16469
|
};
|
|
@@ -16554,7 +16601,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16554
16601
|
// if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
|
|
16555
16602
|
// return this.$message.warning('暂未开放,敬请期待!');
|
|
16556
16603
|
var param = {
|
|
16557
|
-
url: this.type === 'startDraf' ? api["
|
|
16604
|
+
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
16605
|
data: {
|
|
16559
16606
|
opinion: opinion,
|
|
16560
16607
|
pendingId: pendingId,
|
|
@@ -16707,8 +16754,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16707
16754
|
|
|
16708
16755
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
16709
16756
|
component_taskUnionExaminevue_type_script_lang_js_,
|
|
16710
|
-
|
|
16711
|
-
|
|
16757
|
+
taskUnionExaminevue_type_template_id_7cff7406_render,
|
|
16758
|
+
taskUnionExaminevue_type_template_id_7cff7406_staticRenderFns,
|
|
16712
16759
|
false,
|
|
16713
16760
|
null,
|
|
16714
16761
|
null,
|
|
@@ -19993,7 +20040,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19993
20040
|
taskAction: 'complete'
|
|
19994
20041
|
};
|
|
19995
20042
|
util["a" /* default */].ajax({
|
|
19996
|
-
url: api["
|
|
20043
|
+
url: api["Pb" /* taskReadHtml */],
|
|
19997
20044
|
params: { taskAction: 'complete' },
|
|
19998
20045
|
headers: {
|
|
19999
20046
|
Accept: 'application/json,text/plain'
|
|
@@ -20025,7 +20072,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20025
20072
|
|
|
20026
20073
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
20027
20074
|
util["a" /* default */].ajax({
|
|
20028
|
-
url: api["
|
|
20075
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
20029
20076
|
params: { pendingId: this.pendingId }
|
|
20030
20077
|
}).then(function (res) {
|
|
20031
20078
|
var status = res.status,
|
|
@@ -20061,7 +20108,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20061
20108
|
if (mainConfig) {
|
|
20062
20109
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
20063
20110
|
} else {
|
|
20064
|
-
util["a" /* default */].ajax({ url: api["
|
|
20111
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
20065
20112
|
var status = res.status,
|
|
20066
20113
|
data = res.data;
|
|
20067
20114
|
|
|
@@ -20163,7 +20210,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20163
20210
|
pendingId: this.pendingId
|
|
20164
20211
|
};
|
|
20165
20212
|
this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
|
|
20166
|
-
util["a" /* default */].ajax({ url: api["
|
|
20213
|
+
util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], params: params }).then(function (res) {
|
|
20167
20214
|
var status = res.status,
|
|
20168
20215
|
message = res.message;
|
|
20169
20216
|
|
|
@@ -20457,7 +20504,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20457
20504
|
var _this15 = this;
|
|
20458
20505
|
|
|
20459
20506
|
var params = {
|
|
20460
|
-
url: api["
|
|
20507
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
20461
20508
|
data: {
|
|
20462
20509
|
appId: this.taskExamineInfo.appId,
|
|
20463
20510
|
inevitableNode: res.inevitableNode
|
|
@@ -20567,7 +20614,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
20567
20614
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
20568
20615
|
// return this.$message.warning('请填写意见');
|
|
20569
20616
|
var params = {
|
|
20570
|
-
url: api["
|
|
20617
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
20571
20618
|
headers: { Accept: 'application/json,text/plain' },
|
|
20572
20619
|
method: 'post',
|
|
20573
20620
|
data: {
|
|
@@ -21232,7 +21279,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21232
21279
|
userId: util["a" /* default */].getStorage('userId'),
|
|
21233
21280
|
type: 2
|
|
21234
21281
|
};
|
|
21235
|
-
util["a" /* default */].ajax({ url: api["
|
|
21282
|
+
util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
21236
21283
|
var rCode = res.rCode,
|
|
21237
21284
|
msg = res.msg,
|
|
21238
21285
|
results = res.results;
|
|
@@ -21428,7 +21475,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
21428
21475
|
params.isSubFlow = taskExamineInfo.isSubFlow;
|
|
21429
21476
|
params.nodeId = taskExamineInfo.nodeId;
|
|
21430
21477
|
params.needRetrialAuth = needRetrialAuth;
|
|
21431
|
-
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["
|
|
21478
|
+
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
21432
21479
|
var status = res.status,
|
|
21433
21480
|
message = res.message;
|
|
21434
21481
|
|
|
@@ -21519,8 +21566,8 @@ var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
21519
21566
|
)
|
|
21520
21567
|
|
|
21521
21568
|
/* harmony default export */ var freeStartFlow = (freeStartFlow_component.exports);
|
|
21522
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=
|
|
21523
|
-
var
|
|
21569
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=8ef7a708&
|
|
21570
|
+
var supervisevue_type_template_id_8ef7a708_render = function () {
|
|
21524
21571
|
var _vm = this
|
|
21525
21572
|
var _h = _vm.$createElement
|
|
21526
21573
|
var _c = _vm._self._c || _h
|
|
@@ -21593,7 +21640,17 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
|
|
|
21593
21640
|
),
|
|
21594
21641
|
_c(
|
|
21595
21642
|
"el-form-item",
|
|
21596
|
-
{
|
|
21643
|
+
{
|
|
21644
|
+
directives: [
|
|
21645
|
+
{
|
|
21646
|
+
name: "show",
|
|
21647
|
+
rawName: "v-show",
|
|
21648
|
+
value: _vm.nextNode.notificationType.length > 0,
|
|
21649
|
+
expression: "nextNode.notificationType.length > 0",
|
|
21650
|
+
},
|
|
21651
|
+
],
|
|
21652
|
+
attrs: { prop: "noticeType", label: "通知方式" },
|
|
21653
|
+
},
|
|
21597
21654
|
[
|
|
21598
21655
|
_c(
|
|
21599
21656
|
"el-checkbox-group",
|
|
@@ -21624,7 +21681,17 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
|
|
|
21624
21681
|
),
|
|
21625
21682
|
_c(
|
|
21626
21683
|
"el-form-item",
|
|
21627
|
-
{
|
|
21684
|
+
{
|
|
21685
|
+
directives: [
|
|
21686
|
+
{
|
|
21687
|
+
name: "show",
|
|
21688
|
+
rawName: "v-show",
|
|
21689
|
+
value: _vm.nextNode.noticeType.length != 0,
|
|
21690
|
+
expression: "nextNode.noticeType.length != 0",
|
|
21691
|
+
},
|
|
21692
|
+
],
|
|
21693
|
+
attrs: { prop: "notifyMessage", label: "通知消息" },
|
|
21694
|
+
},
|
|
21628
21695
|
[
|
|
21629
21696
|
_c("es-input", {
|
|
21630
21697
|
staticStyle: {
|
|
@@ -21673,11 +21740,11 @@ var supervisevue_type_template_id_5fbd4d48_render = function () {
|
|
|
21673
21740
|
1
|
|
21674
21741
|
)
|
|
21675
21742
|
}
|
|
21676
|
-
var
|
|
21677
|
-
|
|
21743
|
+
var supervisevue_type_template_id_8ef7a708_staticRenderFns = []
|
|
21744
|
+
supervisevue_type_template_id_8ef7a708_render._withStripped = true
|
|
21678
21745
|
|
|
21679
21746
|
|
|
21680
|
-
// CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=
|
|
21747
|
+
// CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=8ef7a708&
|
|
21681
21748
|
|
|
21682
21749
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=script&lang=js&
|
|
21683
21750
|
var supervisevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -21774,11 +21841,11 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21774
21841
|
subProcess: function subProcess() {
|
|
21775
21842
|
var _this = this;
|
|
21776
21843
|
|
|
21777
|
-
if (this.nextNode.noticeType.length == 0) {
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
}
|
|
21781
|
-
if (!this.nextNode.notifyMessage) {
|
|
21844
|
+
// if (this.nextNode.noticeType.length == 0) {
|
|
21845
|
+
// this.$message.warning('请选择通知方式');
|
|
21846
|
+
// return;
|
|
21847
|
+
// }
|
|
21848
|
+
if (this.nextNode.noticeType.length != 0 && !this.nextNode.notifyMessage) {
|
|
21782
21849
|
this.$message.warning('请填写通知消息内容');
|
|
21783
21850
|
return;
|
|
21784
21851
|
}
|
|
@@ -21788,7 +21855,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21788
21855
|
pendingUserIds = _nextNode.pendingUserIds;
|
|
21789
21856
|
|
|
21790
21857
|
var params = {
|
|
21791
|
-
url: api["
|
|
21858
|
+
url: api["kc" /* toTaskSuperviseSub */],
|
|
21792
21859
|
params: {
|
|
21793
21860
|
userId: util["a" /* default */].getStorage('userId'),
|
|
21794
21861
|
urgeUserIds: pendingUserIds,
|
|
@@ -21814,7 +21881,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21814
21881
|
|
|
21815
21882
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
21816
21883
|
util["a" /* default */].ajax({
|
|
21817
|
-
url: api["
|
|
21884
|
+
url: api["jc" /* toTaskSupervise */],
|
|
21818
21885
|
params: {
|
|
21819
21886
|
businessId: this.businessId,
|
|
21820
21887
|
appId: this.appId,
|
|
@@ -21822,12 +21889,19 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21822
21889
|
}
|
|
21823
21890
|
}).then(function (res) {
|
|
21824
21891
|
_this2.loading.close();
|
|
21825
|
-
if (res.rCode == 0) {
|
|
21892
|
+
if (res.rCode == 0 || res.status == "success") {
|
|
21826
21893
|
_this2.nextNode = supervisevue_type_script_lang_js_extends({}, _this2.nextNode, res.results);
|
|
21894
|
+
var arr = [];
|
|
21827
21895
|
_this2.nextNode.noticeType = res.results.defaultNotificationType.split(',');
|
|
21896
|
+
_this2.nextNode.notificationType.map(function (x) {
|
|
21897
|
+
if (_this2.nextNode.noticeType.indexOf(x.cciValue) != -1) {
|
|
21898
|
+
arr.push(x.cciValue);
|
|
21899
|
+
}
|
|
21900
|
+
});
|
|
21901
|
+
_this2.nextNode.noticeType = arr;
|
|
21828
21902
|
} else {
|
|
21829
21903
|
_this2.$message({
|
|
21830
|
-
message: res.
|
|
21904
|
+
message: res.msg || res.message,
|
|
21831
21905
|
type: 'error'
|
|
21832
21906
|
});
|
|
21833
21907
|
_this2.$emit('cancel');
|
|
@@ -21848,8 +21922,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21848
21922
|
|
|
21849
21923
|
var supervise_component = Object(componentNormalizer["a" /* default */])(
|
|
21850
21924
|
src_supervisevue_type_script_lang_js_,
|
|
21851
|
-
|
|
21852
|
-
|
|
21925
|
+
supervisevue_type_template_id_8ef7a708_render,
|
|
21926
|
+
supervisevue_type_template_id_8ef7a708_staticRenderFns,
|
|
21853
21927
|
false,
|
|
21854
21928
|
null,
|
|
21855
21929
|
null,
|
|
@@ -21858,8 +21932,8 @@ var supervise_component = Object(componentNormalizer["a" /* default */])(
|
|
|
21858
21932
|
)
|
|
21859
21933
|
|
|
21860
21934
|
/* harmony default export */ var supervise = (supervise_component.exports);
|
|
21861
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=
|
|
21862
|
-
var
|
|
21935
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=46ad7cd0&
|
|
21936
|
+
var Circulatevue_type_template_id_46ad7cd0_render = function () {
|
|
21863
21937
|
var _vm = this
|
|
21864
21938
|
var _h = _vm.$createElement
|
|
21865
21939
|
var _c = _vm._self._c || _h
|
|
@@ -21935,17 +22009,15 @@ var Circulatevue_type_template_id_858cd6e2_render = function () {
|
|
|
21935
22009
|
_c(
|
|
21936
22010
|
"el-form-item",
|
|
21937
22011
|
{
|
|
21938
|
-
|
|
21939
|
-
|
|
21940
|
-
|
|
21941
|
-
|
|
21942
|
-
|
|
21943
|
-
|
|
21944
|
-
|
|
21945
|
-
|
|
21946
|
-
|
|
21947
|
-
],
|
|
21948
|
-
},
|
|
22012
|
+
directives: [
|
|
22013
|
+
{
|
|
22014
|
+
name: "show",
|
|
22015
|
+
rawName: "v-show",
|
|
22016
|
+
value: _vm.infoList.noticeList != 0,
|
|
22017
|
+
expression: "infoList.noticeList != 0",
|
|
22018
|
+
},
|
|
22019
|
+
],
|
|
22020
|
+
attrs: { prop: "noticeType", label: "通知方式" },
|
|
21949
22021
|
},
|
|
21950
22022
|
[
|
|
21951
22023
|
_c(
|
|
@@ -22052,11 +22124,11 @@ var Circulatevue_type_template_id_858cd6e2_render = function () {
|
|
|
22052
22124
|
1
|
|
22053
22125
|
)
|
|
22054
22126
|
}
|
|
22055
|
-
var
|
|
22056
|
-
|
|
22127
|
+
var Circulatevue_type_template_id_46ad7cd0_staticRenderFns = []
|
|
22128
|
+
Circulatevue_type_template_id_46ad7cd0_render._withStripped = true
|
|
22057
22129
|
|
|
22058
22130
|
|
|
22059
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=
|
|
22131
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=46ad7cd0&
|
|
22060
22132
|
|
|
22061
22133
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
|
|
22062
22134
|
var Circulatevue_type_script_lang_js_components;
|
|
@@ -22146,6 +22218,8 @@ var Circulatevue_type_script_lang_js_components;
|
|
|
22146
22218
|
//
|
|
22147
22219
|
//
|
|
22148
22220
|
//
|
|
22221
|
+
//
|
|
22222
|
+
//
|
|
22149
22223
|
|
|
22150
22224
|
|
|
22151
22225
|
|
|
@@ -22370,7 +22444,8 @@ var Circulatevue_type_script_lang_js_components;
|
|
|
22370
22444
|
params: {
|
|
22371
22445
|
ccCode: 'notification_type',
|
|
22372
22446
|
userId: util["a" /* default */].getStorage('userId'),
|
|
22373
|
-
pendingId: this.pendingId
|
|
22447
|
+
pendingId: this.pendingId,
|
|
22448
|
+
startCircularRead: true
|
|
22374
22449
|
}
|
|
22375
22450
|
}).then(function (res) {
|
|
22376
22451
|
var status = res.status,
|
|
@@ -22462,8 +22537,8 @@ var Circulatevue_type_script_lang_js_components;
|
|
|
22462
22537
|
|
|
22463
22538
|
var Circulate_component = Object(componentNormalizer["a" /* default */])(
|
|
22464
22539
|
component_Circulatevue_type_script_lang_js_,
|
|
22465
|
-
|
|
22466
|
-
|
|
22540
|
+
Circulatevue_type_template_id_46ad7cd0_render,
|
|
22541
|
+
Circulatevue_type_template_id_46ad7cd0_staticRenderFns,
|
|
22467
22542
|
false,
|
|
22468
22543
|
null,
|
|
22469
22544
|
null,
|
|
@@ -23587,6 +23662,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23587
23662
|
//
|
|
23588
23663
|
//
|
|
23589
23664
|
//
|
|
23665
|
+
//
|
|
23666
|
+
//
|
|
23667
|
+
//
|
|
23668
|
+
//
|
|
23590
23669
|
|
|
23591
23670
|
|
|
23592
23671
|
|
|
@@ -23641,6 +23720,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23641
23720
|
callBack();
|
|
23642
23721
|
}
|
|
23643
23722
|
},
|
|
23723
|
+
urgencyLevel: {
|
|
23724
|
+
type: [String, Number],
|
|
23725
|
+
default: ''
|
|
23726
|
+
},
|
|
23644
23727
|
beforeSubmit: Function,
|
|
23645
23728
|
title: { type: String, default: '流程办理' },
|
|
23646
23729
|
formTitle: { type: String, default: '' },
|
|
@@ -23819,7 +23902,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23819
23902
|
notificationType: [], // 通知方式
|
|
23820
23903
|
isLimitedTime: '2', // 是否限时办理
|
|
23821
23904
|
mainSubId: ''
|
|
23822
|
-
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.nodeInfo = {
|
|
23905
|
+
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.msgTypeCount = 0, _ref.nodeInfo = {
|
|
23823
23906
|
nextNode: '',
|
|
23824
23907
|
nextUser: '',
|
|
23825
23908
|
option: []
|
|
@@ -23841,9 +23924,22 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23841
23924
|
},
|
|
23842
23925
|
|
|
23843
23926
|
watch: {
|
|
23927
|
+
urgencyLevel: {
|
|
23928
|
+
handler: function handler(val) {
|
|
23929
|
+
if (val && this.msgTypeCount != 0) {
|
|
23930
|
+
this.getAdminMsgType();
|
|
23931
|
+
} else {
|
|
23932
|
+
this.msgTypeCount++;
|
|
23933
|
+
}
|
|
23934
|
+
},
|
|
23935
|
+
|
|
23936
|
+
deep: true,
|
|
23937
|
+
immediate: true
|
|
23938
|
+
},
|
|
23844
23939
|
isCirculate: {
|
|
23845
23940
|
handler: function handler(val) {
|
|
23846
23941
|
if (!val && this.showCirculate != undefined) {
|
|
23942
|
+
this.showCirculate = val;
|
|
23847
23943
|
this.getInfo();
|
|
23848
23944
|
}
|
|
23849
23945
|
this.showCirculate = val;
|
|
@@ -23945,12 +24041,38 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23945
24041
|
}
|
|
23946
24042
|
},
|
|
23947
24043
|
methods: {
|
|
24044
|
+
getAdminMsgType: function getAdminMsgType() {
|
|
24045
|
+
var _this = this;
|
|
24046
|
+
|
|
24047
|
+
var params = {
|
|
24048
|
+
url: api["db" /* getUrgencyLevelChangedNotificationType */],
|
|
24049
|
+
params: { urgencyLevel: this.urgencyLevel }
|
|
24050
|
+
};
|
|
24051
|
+
util["a" /* default */].ajax(params).then(function (res) {
|
|
24052
|
+
if (res.rCode == 0) {
|
|
24053
|
+
_this.newsList = res.results.latestChangedNotificationType;
|
|
24054
|
+
var arr = [];
|
|
24055
|
+
_this.newsList.map(function (item) {
|
|
24056
|
+
_this.nextNode.notificationType.map(function (x) {
|
|
24057
|
+
if (x == item.cciValue) {
|
|
24058
|
+
arr.push(x);
|
|
24059
|
+
}
|
|
24060
|
+
});
|
|
24061
|
+
});
|
|
24062
|
+
_this.nextNode.notificationType = arr;
|
|
24063
|
+
}
|
|
24064
|
+
});
|
|
24065
|
+
},
|
|
23948
24066
|
handleEndMessageChange: function handleEndMessageChange() {
|
|
23949
24067
|
this.$emit('endMessageChange', this.endMessage);
|
|
23950
24068
|
},
|
|
23951
24069
|
getInfo: function getInfo() {
|
|
23952
24070
|
if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
|
|
23953
|
-
this.
|
|
24071
|
+
if (this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel) {
|
|
24072
|
+
this.getAdminMsgType();
|
|
24073
|
+
} else {
|
|
24074
|
+
this.getNodeType();
|
|
24075
|
+
}
|
|
23954
24076
|
!this.isFlow && (this.newTypeCode = this.typeCode || this.$route.query.typecode);
|
|
23955
24077
|
if (this.isFlow) {
|
|
23956
24078
|
this.businessId && this.getProcess();
|
|
@@ -23964,7 +24086,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23964
24086
|
this.$refs.circulate.subMit();
|
|
23965
24087
|
},
|
|
23966
24088
|
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
23967
|
-
var
|
|
24089
|
+
var _this2 = this;
|
|
23968
24090
|
|
|
23969
24091
|
var params = {
|
|
23970
24092
|
url: api["R" /* getNodeInfoForStart */],
|
|
@@ -23972,9 +24094,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23972
24094
|
};
|
|
23973
24095
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
23974
24096
|
if (res.status == 'success') {
|
|
23975
|
-
|
|
23976
|
-
|
|
23977
|
-
|
|
24097
|
+
_this2.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
24098
|
+
_this2.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
24099
|
+
_this2.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
23978
24100
|
|
|
23979
24101
|
// if (this.directCreateCircularReadWhenFlowStarted) {
|
|
23980
24102
|
// this.nodeInfo.option.map((item) => {
|
|
@@ -23985,8 +24107,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
23985
24107
|
// item.disabled = false;
|
|
23986
24108
|
// });
|
|
23987
24109
|
// }
|
|
23988
|
-
|
|
23989
|
-
|
|
24110
|
+
_this2.optionsKey++;
|
|
24111
|
+
_this2.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
|
|
23990
24112
|
}
|
|
23991
24113
|
});
|
|
23992
24114
|
},
|
|
@@ -24023,12 +24145,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24023
24145
|
this.handleVisible = true;
|
|
24024
24146
|
},
|
|
24025
24147
|
showMessage: function showMessage() {
|
|
24026
|
-
var
|
|
24148
|
+
var _this3 = this;
|
|
24027
24149
|
|
|
24028
24150
|
this.showNews = !this.showNews;
|
|
24029
24151
|
if (!this.showNews) return;
|
|
24030
24152
|
this.$nextTick(function () {
|
|
24031
|
-
|
|
24153
|
+
_this3.$refs.esContent.scrollTop += _this3.$refs.messagebox.clientHeight;
|
|
24032
24154
|
});
|
|
24033
24155
|
},
|
|
24034
24156
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
@@ -24102,7 +24224,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24102
24224
|
|
|
24103
24225
|
//获取附件
|
|
24104
24226
|
getFile: function getFile(ownId, code) {
|
|
24105
|
-
var
|
|
24227
|
+
var _this4 = this;
|
|
24106
24228
|
|
|
24107
24229
|
var params = {
|
|
24108
24230
|
url: api["H" /* getAdjunctFileInfos */],
|
|
@@ -24114,13 +24236,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24114
24236
|
msg = res.msg;
|
|
24115
24237
|
|
|
24116
24238
|
if (rCode == 0) {
|
|
24117
|
-
results && (
|
|
24239
|
+
results && (_this4.fileNum = results.length);
|
|
24118
24240
|
} else {
|
|
24119
|
-
|
|
24241
|
+
_this4.$message.error(msg || '系统错误,请联系管理员!');
|
|
24120
24242
|
}
|
|
24121
24243
|
}).catch(function (err) {
|
|
24122
24244
|
if (err.message && err.message !== 'canceled') {
|
|
24123
|
-
|
|
24245
|
+
_this4.$message.error(err.message);
|
|
24124
24246
|
}
|
|
24125
24247
|
});
|
|
24126
24248
|
},
|
|
@@ -24167,7 +24289,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24167
24289
|
}
|
|
24168
24290
|
},
|
|
24169
24291
|
taskRead: function taskRead() {
|
|
24170
|
-
var
|
|
24292
|
+
var _this5 = this;
|
|
24171
24293
|
|
|
24172
24294
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
24173
24295
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
@@ -24177,8 +24299,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24177
24299
|
cancelButtonText: '取消',
|
|
24178
24300
|
type: 'warning'
|
|
24179
24301
|
}).then(function () {
|
|
24180
|
-
|
|
24181
|
-
var _taskExamineInfo2 =
|
|
24302
|
+
_this5.loading = util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
24303
|
+
var _taskExamineInfo2 = _this5.taskExamineInfo,
|
|
24182
24304
|
businessId = _taskExamineInfo2.businessId,
|
|
24183
24305
|
appId = _taskExamineInfo2.appId,
|
|
24184
24306
|
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
@@ -24189,11 +24311,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24189
24311
|
appId: appId,
|
|
24190
24312
|
processDefinitionId: processDefinitionId,
|
|
24191
24313
|
pendingId: pendingId,
|
|
24192
|
-
opinion:
|
|
24314
|
+
opinion: _this5.value,
|
|
24193
24315
|
taskAction: 'complete'
|
|
24194
24316
|
};
|
|
24195
24317
|
util["a" /* default */].ajax({
|
|
24196
|
-
url: api["
|
|
24318
|
+
url: api["Pb" /* taskReadHtml */],
|
|
24197
24319
|
params: { taskAction: 'complete' },
|
|
24198
24320
|
headers: {
|
|
24199
24321
|
Accept: 'application/json,text/plain'
|
|
@@ -24204,25 +24326,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24204
24326
|
var status = res.status,
|
|
24205
24327
|
message = res.message;
|
|
24206
24328
|
|
|
24207
|
-
|
|
24329
|
+
_this5.loading.close();
|
|
24208
24330
|
if (status === 'success') {
|
|
24209
|
-
|
|
24331
|
+
_this5.flowSuccess();
|
|
24210
24332
|
// this.$message.success('提交成功');
|
|
24211
24333
|
// this.$emit('success');
|
|
24212
24334
|
} else {
|
|
24213
|
-
|
|
24214
|
-
|
|
24335
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
24336
|
+
_this5.$emit('error');
|
|
24215
24337
|
}
|
|
24216
24338
|
}).catch(function (err) {
|
|
24217
|
-
|
|
24339
|
+
_this5.loading.close();
|
|
24218
24340
|
if (err.message && err.message !== 'canceled') {
|
|
24219
|
-
|
|
24341
|
+
_this5.$message.error(err.message);
|
|
24220
24342
|
}
|
|
24221
24343
|
});
|
|
24222
24344
|
}).catch(function () {});
|
|
24223
24345
|
},
|
|
24224
24346
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
24225
|
-
var
|
|
24347
|
+
var _this6 = this;
|
|
24226
24348
|
|
|
24227
24349
|
var params = {
|
|
24228
24350
|
url: api["d" /* checkBusinessIdStartedReadTransferHandle */],
|
|
@@ -24233,18 +24355,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24233
24355
|
}
|
|
24234
24356
|
};
|
|
24235
24357
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24236
|
-
|
|
24358
|
+
_this6.loading.close();
|
|
24237
24359
|
if (res.rCode == 0) {
|
|
24238
|
-
|
|
24360
|
+
_this6.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
24239
24361
|
}
|
|
24240
24362
|
});
|
|
24241
24363
|
},
|
|
24242
24364
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
24243
|
-
var
|
|
24365
|
+
var _this7 = this;
|
|
24244
24366
|
|
|
24245
24367
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24246
24368
|
util["a" /* default */].ajax({
|
|
24247
|
-
url: api["
|
|
24369
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
24248
24370
|
params: { pendingId: this.pendingId }
|
|
24249
24371
|
}).then(function (res) {
|
|
24250
24372
|
var status = res.status,
|
|
@@ -24257,50 +24379,50 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24257
24379
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
24258
24380
|
|
|
24259
24381
|
if (status === 'success') {
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
if (
|
|
24267
|
-
|
|
24382
|
+
_this7.taskExamineInfo = taskExamine;
|
|
24383
|
+
_this7.nodeName = _this7.nodename || taskExamine.nodeName || '分阅';
|
|
24384
|
+
_this7.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
24385
|
+
_this7.nextNode.notificationMsg = defaultNotificationMessage;
|
|
24386
|
+
_this7.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
24387
|
+
_this7.isCanFenyue = isCanFenyue;
|
|
24388
|
+
if (_this7.nodeName) {
|
|
24389
|
+
_this7.NodeName = _this7.nodeName;
|
|
24268
24390
|
}
|
|
24269
|
-
if (
|
|
24270
|
-
|
|
24391
|
+
if (_this7.isCanReadTransferHandle) {
|
|
24392
|
+
_this7.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
24271
24393
|
}
|
|
24272
|
-
|
|
24394
|
+
_this7.getNodeType();
|
|
24273
24395
|
} else {
|
|
24274
|
-
|
|
24396
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
24275
24397
|
}
|
|
24276
|
-
|
|
24398
|
+
_this7.loading.close();
|
|
24277
24399
|
}).catch(function (err) {
|
|
24278
|
-
|
|
24400
|
+
_this7.loading.close();
|
|
24279
24401
|
if (err.message && err.message !== 'canceled') {
|
|
24280
|
-
|
|
24402
|
+
_this7.$message.error(err.message);
|
|
24281
24403
|
}
|
|
24282
24404
|
});
|
|
24283
24405
|
},
|
|
24284
24406
|
getUserInfo: function getUserInfo() {
|
|
24285
|
-
var
|
|
24407
|
+
var _this8 = this;
|
|
24286
24408
|
|
|
24287
24409
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
24288
24410
|
if (mainConfig) {
|
|
24289
24411
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
24290
24412
|
} else {
|
|
24291
|
-
util["a" /* default */].ajax({ url: api["
|
|
24413
|
+
util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
24292
24414
|
var status = res.status,
|
|
24293
24415
|
data = res.data;
|
|
24294
24416
|
|
|
24295
24417
|
if (status == 'success') {
|
|
24296
|
-
|
|
24418
|
+
_this8.userModel = data;
|
|
24297
24419
|
} else {
|
|
24298
24420
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
24299
|
-
|
|
24421
|
+
_this8.$message.error(msg);
|
|
24300
24422
|
}
|
|
24301
24423
|
}).catch(function (err) {
|
|
24302
24424
|
if (err.message && err.message !== 'canceled') {
|
|
24303
|
-
|
|
24425
|
+
_this8.$message.error(err.message);
|
|
24304
24426
|
}
|
|
24305
24427
|
});
|
|
24306
24428
|
}
|
|
@@ -24320,25 +24442,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24320
24442
|
}
|
|
24321
24443
|
},
|
|
24322
24444
|
getNodeType: function getNodeType() {
|
|
24323
|
-
var
|
|
24445
|
+
var _this9 = this;
|
|
24324
24446
|
|
|
24325
|
-
|
|
24447
|
+
var params = {
|
|
24326
24448
|
url: api["z" /* findCodeValues */],
|
|
24327
24449
|
params: {
|
|
24328
24450
|
ccCode: 'notification_type',
|
|
24329
24451
|
userId: util["a" /* default */].getStorage('userId'),
|
|
24330
24452
|
pendingId: this.pendingId
|
|
24331
24453
|
}
|
|
24332
|
-
}
|
|
24454
|
+
};
|
|
24455
|
+
util["a" /* default */].ajax(params).then(function (res) {
|
|
24333
24456
|
var status = res.status,
|
|
24334
24457
|
data = res.data;
|
|
24335
24458
|
|
|
24336
24459
|
if (status === 'success') {
|
|
24337
|
-
|
|
24460
|
+
_this9.newsList = data;
|
|
24338
24461
|
}
|
|
24339
24462
|
}).catch(function (err) {
|
|
24340
24463
|
if (err.message && err.message !== 'canceled') {
|
|
24341
|
-
|
|
24464
|
+
_this9.$message.error(err.message);
|
|
24342
24465
|
}
|
|
24343
24466
|
});
|
|
24344
24467
|
},
|
|
@@ -24350,17 +24473,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24350
24473
|
* @date 2022年9月9日
|
|
24351
24474
|
**/
|
|
24352
24475
|
saveInfo: function saveInfo(type, btn) {
|
|
24353
|
-
var
|
|
24476
|
+
var _this10 = this;
|
|
24354
24477
|
|
|
24355
24478
|
if (this.isFlow) {
|
|
24356
24479
|
if (!type) {
|
|
24357
24480
|
if (btn && btn.before) {
|
|
24358
24481
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24359
|
-
|
|
24482
|
+
_this10.$emit('save', _this10.businessIds);
|
|
24360
24483
|
}).catch(function (e) {});
|
|
24361
24484
|
} else if (this.beforeSubmit != undefined) {
|
|
24362
24485
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24363
|
-
|
|
24486
|
+
_this10.$emit('save', _this10.businessIds);
|
|
24364
24487
|
}).catch(function (e) {});
|
|
24365
24488
|
} else {
|
|
24366
24489
|
this.$emit('save', this.businessIds);
|
|
@@ -24369,13 +24492,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24369
24492
|
} else {
|
|
24370
24493
|
if (btn && btn.before && !type) {
|
|
24371
24494
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24372
|
-
|
|
24495
|
+
_this10.saveFlowInfo();
|
|
24373
24496
|
}).catch(function (e) {});
|
|
24374
24497
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
24375
24498
|
this.subFun(this.saveFlowInfo);
|
|
24376
24499
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
24377
24500
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24378
|
-
|
|
24501
|
+
_this10.saveFlowInfo();
|
|
24379
24502
|
}).catch(function (e) {});
|
|
24380
24503
|
} else {
|
|
24381
24504
|
this.saveFlowInfo(type);
|
|
@@ -24383,28 +24506,28 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24383
24506
|
}
|
|
24384
24507
|
},
|
|
24385
24508
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
24386
|
-
var
|
|
24509
|
+
var _this11 = this;
|
|
24387
24510
|
|
|
24388
24511
|
var params = {
|
|
24389
24512
|
opinion: this.value,
|
|
24390
24513
|
pendingId: this.pendingId
|
|
24391
24514
|
};
|
|
24392
24515
|
this.loading = util["a" /* default */].loading(this.$loading, '保存中...');
|
|
24393
|
-
util["a" /* default */].ajax({ url: api["
|
|
24516
|
+
util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], data: params, method: 'post' }).then(function (res) {
|
|
24394
24517
|
var status = res.status,
|
|
24395
24518
|
message = res.message;
|
|
24396
24519
|
|
|
24397
|
-
if (!isSave)
|
|
24520
|
+
if (!isSave) _this11.loading.close();
|
|
24398
24521
|
if (status == 'success') {
|
|
24399
24522
|
// this.$message.success('暂存成功');
|
|
24400
|
-
!isSave &&
|
|
24523
|
+
!isSave && _this11.$emit('save', _this11.businessIds);
|
|
24401
24524
|
} else {
|
|
24402
|
-
|
|
24525
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
24403
24526
|
}
|
|
24404
24527
|
}).catch(function (err) {
|
|
24405
|
-
if (!isSave)
|
|
24528
|
+
if (!isSave) _this11.loading.close();
|
|
24406
24529
|
if (err.message && err.message !== 'canceled') {
|
|
24407
|
-
|
|
24530
|
+
_this11.$message.error(err.message);
|
|
24408
24531
|
}
|
|
24409
24532
|
});
|
|
24410
24533
|
},
|
|
@@ -24416,7 +24539,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24416
24539
|
* @date 2022年5月25日
|
|
24417
24540
|
**/
|
|
24418
24541
|
rejectBtn: function rejectBtn() {
|
|
24419
|
-
var
|
|
24542
|
+
var _this12 = this;
|
|
24420
24543
|
|
|
24421
24544
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
24422
24545
|
if (!this.value) {
|
|
@@ -24424,7 +24547,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24424
24547
|
}
|
|
24425
24548
|
if (this.beforeSubmit != undefined) {
|
|
24426
24549
|
this.beforeSubmit(0).then(function (next) {
|
|
24427
|
-
|
|
24550
|
+
_this12.showReject = true;
|
|
24428
24551
|
}).catch(function (e) {});
|
|
24429
24552
|
} else {
|
|
24430
24553
|
this.showReject = true;
|
|
@@ -24438,14 +24561,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24438
24561
|
* @date 2022年5月25日
|
|
24439
24562
|
**/
|
|
24440
24563
|
taskReadBtn: function taskReadBtn() {
|
|
24441
|
-
var
|
|
24564
|
+
var _this13 = this;
|
|
24442
24565
|
|
|
24443
24566
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24444
24567
|
if (this.beforeSubmit != undefined) {
|
|
24445
24568
|
this.beforeSubmit().then(function (next) {
|
|
24446
|
-
if (
|
|
24447
|
-
|
|
24448
|
-
|
|
24569
|
+
if (_this13.value === '') _this13.value = _this13.nodeDefaultRejectOpinion;
|
|
24570
|
+
_this13.taskReadType = 'create';
|
|
24571
|
+
_this13.showTaskRead = true;
|
|
24449
24572
|
}).catch(function (e) {});
|
|
24450
24573
|
} else {
|
|
24451
24574
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24461,7 +24584,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24461
24584
|
* @date 2022年5月25日
|
|
24462
24585
|
**/
|
|
24463
24586
|
getFind: function getFind() {
|
|
24464
|
-
var
|
|
24587
|
+
var _this14 = this;
|
|
24465
24588
|
|
|
24466
24589
|
util["a" /* default */].ajax({
|
|
24467
24590
|
url: api["B" /* findSysCodes */]
|
|
@@ -24470,25 +24593,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24470
24593
|
message = res.message;
|
|
24471
24594
|
|
|
24472
24595
|
if (status === 'success') {
|
|
24473
|
-
|
|
24596
|
+
_this14.nextNode.notificationType = message.split(',');
|
|
24474
24597
|
var arr = [];
|
|
24475
|
-
|
|
24476
|
-
|
|
24598
|
+
_this14.newsList.map(function (item) {
|
|
24599
|
+
_this14.nextNode.notificationType.map(function (x) {
|
|
24477
24600
|
if (x == item.cciValue) {
|
|
24478
24601
|
arr.push(x);
|
|
24479
24602
|
}
|
|
24480
24603
|
});
|
|
24481
24604
|
});
|
|
24482
|
-
|
|
24605
|
+
_this14.nextNode.notificationType = arr;
|
|
24483
24606
|
}
|
|
24484
24607
|
}).catch(function (err) {
|
|
24485
24608
|
if (err.message && err.message !== 'canceled') {
|
|
24486
|
-
|
|
24609
|
+
_this14.$message.error(err.message);
|
|
24487
24610
|
}
|
|
24488
24611
|
});
|
|
24489
24612
|
},
|
|
24490
24613
|
getFreeStartParams: function getFreeStartParams() {
|
|
24491
|
-
var
|
|
24614
|
+
var _this15 = this;
|
|
24492
24615
|
|
|
24493
24616
|
var _endFlowInfo = this.endFlowInfo,
|
|
24494
24617
|
businessId = _endFlowInfo.businessId,
|
|
@@ -24506,20 +24629,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24506
24629
|
};
|
|
24507
24630
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24508
24631
|
util["a" /* default */].ajax(param).then(function (res) {
|
|
24509
|
-
|
|
24632
|
+
_this15.loading.close();
|
|
24510
24633
|
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
|
|
24634
|
+
_this15.freeStartFlowParams = res.results;
|
|
24635
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this15.subProcess('同意。', res.results.useScene);
|
|
24636
|
+
if (!_this15.freeValid) return;
|
|
24637
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this15.$message.warning('未找到流程定义!');
|
|
24515
24638
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
24516
|
-
|
|
24517
|
-
|
|
24639
|
+
_this15.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
24640
|
+
_this15.handleVisible = true;
|
|
24518
24641
|
} else {
|
|
24519
|
-
|
|
24642
|
+
_this15.showFreeStartFlow = true;
|
|
24520
24643
|
}
|
|
24521
24644
|
} else {
|
|
24522
|
-
|
|
24645
|
+
_this15.$message.error(res.message || '系统错误,请联系管理员!');
|
|
24523
24646
|
}
|
|
24524
24647
|
});
|
|
24525
24648
|
},
|
|
@@ -24532,53 +24655,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24532
24655
|
* @date 2022年5月25日
|
|
24533
24656
|
**/
|
|
24534
24657
|
endFlows: function endFlows(res) {
|
|
24535
|
-
var
|
|
24658
|
+
var _this16 = this;
|
|
24536
24659
|
|
|
24537
24660
|
if (this.beforeSubmit != undefined) {
|
|
24538
24661
|
this.beforeSubmit().then(function (next) {
|
|
24539
|
-
|
|
24662
|
+
_this16.saveEndFlows(res);
|
|
24540
24663
|
}).catch(function (e) {});
|
|
24541
24664
|
} else {
|
|
24542
24665
|
this.saveEndFlows(res);
|
|
24543
24666
|
}
|
|
24544
24667
|
},
|
|
24545
24668
|
saveEndFlows: function saveEndFlows(res) {
|
|
24546
|
-
var
|
|
24669
|
+
var _this17 = this;
|
|
24547
24670
|
|
|
24548
24671
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24549
24672
|
var params = {
|
|
24550
24673
|
url: api["y" /* endFlowHtml */],
|
|
24551
24674
|
headers: { Accept: 'application/json,text/plain' },
|
|
24552
24675
|
method: 'post',
|
|
24553
|
-
data: mainvue_type_script_lang_js_extends({},
|
|
24554
|
-
opinion:
|
|
24676
|
+
data: mainvue_type_script_lang_js_extends({}, _this17.endFlowInfo, _this17.nextNode, {
|
|
24677
|
+
opinion: _this17.value,
|
|
24555
24678
|
userId: util["a" /* default */].getStorage('userId'),
|
|
24556
|
-
nextUserId:
|
|
24557
|
-
addSignUserId:
|
|
24558
|
-
customPresetUserJson: JSON.stringify(
|
|
24559
|
-
presetUserJson: JSON.stringify(
|
|
24560
|
-
removeSignUserId:
|
|
24561
|
-
notificationType:
|
|
24679
|
+
nextUserId: _this17.multiple ? _this17.nextNode.nextUserId.join(',') : _this17.nextNode.nextUserId,
|
|
24680
|
+
addSignUserId: _this17.nextNode.addSignUserId.join(','),
|
|
24681
|
+
customPresetUserJson: JSON.stringify(_this17.presetList),
|
|
24682
|
+
presetUserJson: JSON.stringify(_this17.presetUserJson),
|
|
24683
|
+
removeSignUserId: _this17.nextNode.removeSignUserId.join(','),
|
|
24684
|
+
notificationType: _this17.nextNode.notificationType.join(',')
|
|
24562
24685
|
})
|
|
24563
24686
|
};
|
|
24564
|
-
|
|
24687
|
+
_this17.loading = util["a" /* default */].loading(_this17.$loading, '加载中...');
|
|
24565
24688
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24566
24689
|
var status = res.status,
|
|
24567
24690
|
message = res.message;
|
|
24568
24691
|
|
|
24569
|
-
|
|
24692
|
+
_this17.loading.close();
|
|
24570
24693
|
if (status === 'success') {
|
|
24571
|
-
|
|
24694
|
+
_this17.flowSuccess();
|
|
24572
24695
|
// this.$message.success('提交成功');
|
|
24573
24696
|
// this.$emit('success');
|
|
24574
24697
|
} else {
|
|
24575
|
-
|
|
24576
|
-
|
|
24698
|
+
_this17.$message.error(message || '系统错误,请联系管理员!');
|
|
24699
|
+
_this17.$emit('error');
|
|
24577
24700
|
}
|
|
24578
24701
|
}).catch(function (err) {
|
|
24579
|
-
|
|
24702
|
+
_this17.loading.close();
|
|
24580
24703
|
if (err.message && err.message !== 'canceled') {
|
|
24581
|
-
|
|
24704
|
+
_this17.$message.error(err.message);
|
|
24582
24705
|
}
|
|
24583
24706
|
});
|
|
24584
24707
|
}).catch(function (e) {});
|
|
@@ -24681,11 +24804,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24681
24804
|
* @date 2022年9月29日
|
|
24682
24805
|
**/
|
|
24683
24806
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
24684
|
-
var
|
|
24807
|
+
var _this18 = this;
|
|
24685
24808
|
|
|
24686
24809
|
if (this.beforeSubmit != undefined) {
|
|
24687
24810
|
this.beforeSubmit().then(function (next) {
|
|
24688
|
-
|
|
24811
|
+
_this18.saveToTakeAdvice(res);
|
|
24689
24812
|
}).catch(function (e) {});
|
|
24690
24813
|
} else {
|
|
24691
24814
|
this.saveToTakeAdvice(res);
|
|
@@ -24693,10 +24816,10 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24693
24816
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24694
24817
|
},
|
|
24695
24818
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
24696
|
-
var
|
|
24819
|
+
var _this19 = this;
|
|
24697
24820
|
|
|
24698
24821
|
var params = {
|
|
24699
|
-
url: api["
|
|
24822
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
24700
24823
|
data: {
|
|
24701
24824
|
appId: this.taskExamineInfo.appId,
|
|
24702
24825
|
inevitableNode: res.inevitableNode
|
|
@@ -24708,16 +24831,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24708
24831
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24709
24832
|
var message = res.message;
|
|
24710
24833
|
|
|
24711
|
-
|
|
24834
|
+
_this19.loading.close();
|
|
24712
24835
|
if (message == 'success') {
|
|
24713
|
-
|
|
24836
|
+
_this19.showTaskUnionExamine = true;
|
|
24714
24837
|
} else {
|
|
24715
|
-
|
|
24838
|
+
_this19.$message.error(message || '系统错误,请联系管理员!');
|
|
24716
24839
|
}
|
|
24717
24840
|
}).catch(function (err) {
|
|
24718
|
-
|
|
24841
|
+
_this19.loading.close();
|
|
24719
24842
|
if (err.message && err.message !== 'canceled') {
|
|
24720
|
-
|
|
24843
|
+
_this19.$message.error(err.message);
|
|
24721
24844
|
}
|
|
24722
24845
|
});
|
|
24723
24846
|
},
|
|
@@ -24729,11 +24852,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24729
24852
|
* @date 2022年9月29日
|
|
24730
24853
|
**/
|
|
24731
24854
|
toStartDraf: function toStartDraf(res) {
|
|
24732
|
-
var
|
|
24855
|
+
var _this20 = this;
|
|
24733
24856
|
|
|
24734
24857
|
if (this.beforeSubmit != undefined) {
|
|
24735
24858
|
this.beforeSubmit().then(function (next) {
|
|
24736
|
-
|
|
24859
|
+
_this20.showTaskUnionExamine = true;
|
|
24737
24860
|
}).catch(function (e) {});
|
|
24738
24861
|
} else {
|
|
24739
24862
|
this.showTaskUnionExamine = true;
|
|
@@ -24747,11 +24870,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24747
24870
|
* @date 2022年9月29日
|
|
24748
24871
|
**/
|
|
24749
24872
|
toSendMsg: function toSendMsg(res) {
|
|
24750
|
-
var
|
|
24873
|
+
var _this21 = this;
|
|
24751
24874
|
|
|
24752
24875
|
if (this.beforeSubmit != undefined) {
|
|
24753
24876
|
this.beforeSubmit().then(function (next) {
|
|
24754
|
-
|
|
24877
|
+
_this21.showSendMsg = true;
|
|
24755
24878
|
}).catch(function (e) {});
|
|
24756
24879
|
} else {
|
|
24757
24880
|
this.showSendMsg = true;
|
|
@@ -24765,13 +24888,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24765
24888
|
* @date 2022年9月29日
|
|
24766
24889
|
**/
|
|
24767
24890
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
24768
|
-
var
|
|
24891
|
+
var _this22 = this;
|
|
24769
24892
|
|
|
24770
24893
|
if (this.beforeSubmit != undefined) {
|
|
24771
24894
|
this.beforeSubmit().then(function (next) {
|
|
24772
|
-
if (
|
|
24773
|
-
|
|
24774
|
-
|
|
24895
|
+
if (_this22.value === '') _this22.value = _this22.nodeDefaultRejectOpinion;
|
|
24896
|
+
_this22.taskReadType = 'taskReadAndEnd';
|
|
24897
|
+
_this22.showTaskRead = true;
|
|
24775
24898
|
}).catch(function (e) {});
|
|
24776
24899
|
} else {
|
|
24777
24900
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24787,52 +24910,52 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24787
24910
|
* @date 2022年9月29日
|
|
24788
24911
|
**/
|
|
24789
24912
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
24790
|
-
var
|
|
24913
|
+
var _this23 = this;
|
|
24791
24914
|
|
|
24792
24915
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
24793
24916
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
24794
24917
|
}
|
|
24795
24918
|
if (this.beforeSubmit != undefined) {
|
|
24796
24919
|
this.beforeSubmit().then(function (next) {
|
|
24797
|
-
|
|
24920
|
+
_this23.saveRejectAndEnd(res);
|
|
24798
24921
|
}).catch(function (e) {});
|
|
24799
24922
|
} else {
|
|
24800
24923
|
this.saveRejectAndEnd(res);
|
|
24801
24924
|
}
|
|
24802
24925
|
},
|
|
24803
24926
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
24804
|
-
var
|
|
24927
|
+
var _this24 = this;
|
|
24805
24928
|
|
|
24806
24929
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24807
24930
|
// return this.$message.warning('请填写意见');
|
|
24808
24931
|
var params = {
|
|
24809
|
-
url: api["
|
|
24932
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
24810
24933
|
headers: { Accept: 'application/json,text/plain' },
|
|
24811
24934
|
method: 'post',
|
|
24812
24935
|
data: {
|
|
24813
|
-
opinion:
|
|
24814
|
-
pendingId:
|
|
24936
|
+
opinion: _this24.value,
|
|
24937
|
+
pendingId: _this24.pendingId,
|
|
24815
24938
|
isSinglePage: false
|
|
24816
24939
|
}
|
|
24817
24940
|
};
|
|
24818
|
-
|
|
24941
|
+
_this24.loading = util["a" /* default */].loading(_this24.$loading, '加载中...');
|
|
24819
24942
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24820
24943
|
var status = res.status,
|
|
24821
24944
|
message = res.message;
|
|
24822
24945
|
|
|
24823
|
-
|
|
24946
|
+
_this24.loading.close();
|
|
24824
24947
|
if (status === 'success') {
|
|
24825
|
-
|
|
24948
|
+
_this24.flowSuccess();
|
|
24826
24949
|
// this.$message.success('提交成功');
|
|
24827
24950
|
// this.$emit('success');
|
|
24828
24951
|
} else {
|
|
24829
|
-
|
|
24830
|
-
|
|
24952
|
+
_this24.$message.error(message || '系统错误,请联系管理员!');
|
|
24953
|
+
_this24.$emit('error');
|
|
24831
24954
|
}
|
|
24832
24955
|
}).catch(function (err) {
|
|
24833
|
-
|
|
24956
|
+
_this24.loading.close();
|
|
24834
24957
|
if (err.message && err.message !== 'canceled') {
|
|
24835
|
-
|
|
24958
|
+
_this24.$message.error(err.message);
|
|
24836
24959
|
}
|
|
24837
24960
|
});
|
|
24838
24961
|
}).catch(function () {
|
|
@@ -24847,12 +24970,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24847
24970
|
* @date 2022年9月29日
|
|
24848
24971
|
**/
|
|
24849
24972
|
toTransfer: function toTransfer(res) {
|
|
24850
|
-
var
|
|
24973
|
+
var _this25 = this;
|
|
24851
24974
|
|
|
24852
24975
|
if (this.beforeSubmit != undefined) {
|
|
24853
24976
|
this.beforeSubmit(0).then(function (next) {
|
|
24854
|
-
|
|
24855
|
-
|
|
24977
|
+
_this25.taskReadType = 'transfer';
|
|
24978
|
+
_this25.showTaskRead = true;
|
|
24856
24979
|
}).catch(function (e) {});
|
|
24857
24980
|
} else {
|
|
24858
24981
|
this.taskReadType = 'transfer';
|
|
@@ -24867,7 +24990,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24867
24990
|
* @date 2022年5月25日
|
|
24868
24991
|
**/
|
|
24869
24992
|
getNodeInfo: function getNodeInfo() {
|
|
24870
|
-
var
|
|
24993
|
+
var _this26 = this;
|
|
24871
24994
|
|
|
24872
24995
|
var params = {
|
|
24873
24996
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -24882,46 +25005,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24882
25005
|
message = res.message,
|
|
24883
25006
|
data = res.data;
|
|
24884
25007
|
|
|
24885
|
-
|
|
25008
|
+
_this26.loading.close();
|
|
24886
25009
|
if (status === 'success') {
|
|
24887
|
-
|
|
24888
|
-
|
|
24889
|
-
data.otherOrgDisabledObjId && (
|
|
24890
|
-
data.currentOrgDisabledObjId && (
|
|
25010
|
+
_this26.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
25011
|
+
_this26.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
25012
|
+
data.otherOrgDisabledObjId && (_this26.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
25013
|
+
data.currentOrgDisabledObjId && (_this26.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
24891
25014
|
if (data != null) {
|
|
24892
25015
|
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
|
-
|
|
25016
|
+
_this26.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
24894
25017
|
} else {
|
|
24895
|
-
|
|
25018
|
+
_this26.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this26.choiceOrgId, _this26.choiceDeptId, _this26.pOrgId);
|
|
24896
25019
|
}
|
|
24897
|
-
|
|
24898
|
-
|
|
24899
|
-
|
|
24900
|
-
|
|
24901
|
-
|
|
25020
|
+
_this26.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
25021
|
+
_this26.isTaskread = data.nodeExtAttr.isTaskread;
|
|
25022
|
+
_this26.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
25023
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
25024
|
+
_this26.nodeType = data.nodeExtAttr.nodeType;
|
|
24902
25025
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
24903
|
-
if (
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
25026
|
+
if (_this26.nodeType === 1 || _this26.nodeType === 2) {
|
|
25027
|
+
_this26.isMainSubProcess === true ? _this26.isNodeShowProcess = true : _this26.isNodeShowProcess = false;
|
|
25028
|
+
_this26.isMainSubProcess === true ? _this26.isMainSubProcess = true : _this26.isMainSubProcess = false;
|
|
25029
|
+
_this26.isNextUser = false;
|
|
25030
|
+
_this26.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
25031
|
+
_this26.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
24909
25032
|
} else {
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
25033
|
+
_this26.isHideCurrentOrg = false;
|
|
25034
|
+
_this26.isHideOtherOrg = false;
|
|
25035
|
+
_this26.isNodeShowProcess = false;
|
|
25036
|
+
_this26.isMainSubProcess = false;
|
|
25037
|
+
_this26.isNextUser = _this26.nextNode.nextOperate != 9;
|
|
24915
25038
|
// this.isMainSubProcess === true
|
|
24916
25039
|
// ? (this.isMainSubProcess = true)
|
|
24917
25040
|
// : (this.isMainSubProcess = false);
|
|
24918
25041
|
}
|
|
24919
|
-
|
|
24920
|
-
if (
|
|
25042
|
+
_this26.multiple ? _this26.nextNode.nextUserId = [] : _this26.nextNode.nextUserId = '';
|
|
25043
|
+
if (_this26.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
24921
25044
|
data.nextUserList.map(function (item) {
|
|
24922
25045
|
if (item.userId && item.username) {
|
|
24923
|
-
|
|
24924
|
-
|
|
25046
|
+
_this26.nextNode.nextUserId.push(item.userId);
|
|
25047
|
+
_this26.selectUserList.push({
|
|
24925
25048
|
showname: item.username,
|
|
24926
25049
|
showid: item.userId
|
|
24927
25050
|
});
|
|
@@ -24930,40 +25053,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24930
25053
|
}
|
|
24931
25054
|
data.nextUserList.map(function (item) {
|
|
24932
25055
|
if (item.userId && item.username) {
|
|
24933
|
-
|
|
25056
|
+
_this26.options.push({
|
|
24934
25057
|
showname: item.username,
|
|
24935
25058
|
showid: item.userId
|
|
24936
25059
|
});
|
|
24937
25060
|
}
|
|
24938
25061
|
});
|
|
24939
25062
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
24940
|
-
|
|
25063
|
+
_this26.radioList = _this26.options;
|
|
24941
25064
|
}
|
|
24942
|
-
if (!
|
|
24943
|
-
|
|
24944
|
-
|
|
25065
|
+
if (!_this26.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
25066
|
+
_this26.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
25067
|
+
_this26.selectUserList.push({
|
|
24945
25068
|
showname: data.nextUserList[0].username,
|
|
24946
25069
|
showid: data.nextUserList[0].userId
|
|
24947
25070
|
});
|
|
24948
25071
|
}
|
|
24949
|
-
|
|
24950
|
-
|
|
24951
|
-
|
|
24952
|
-
|
|
24953
|
-
|
|
25072
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
25073
|
+
_this26.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
25074
|
+
_this26.presetEdit = data.nodeExtAttr.presetEdit;
|
|
25075
|
+
_this26.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
25076
|
+
_this26.handleMode = data.countersignaturetypeText;
|
|
24954
25077
|
if (data.globalNodeType === 'endEvent') {
|
|
24955
|
-
|
|
24956
|
-
data.globalNodeType === 'endEvent' ?
|
|
25078
|
+
_this26.isNextUser = data.globalNodeType != 'endEvent';
|
|
25079
|
+
data.globalNodeType === 'endEvent' ? _this26.endFlow = true : '';
|
|
24957
25080
|
}
|
|
24958
25081
|
}
|
|
24959
|
-
|
|
25082
|
+
_this26.isCustomPreset && _this26.$refs.customPreset.getPresetFlowInfo(_this26.nextNode.nextNodeId, _this26.nodeInfo.nextNode, true);
|
|
24960
25083
|
} else {
|
|
24961
|
-
|
|
25084
|
+
_this26.$message.error(message || '系统错误,请联系管理员!');
|
|
24962
25085
|
}
|
|
24963
25086
|
}).catch(function (err) {
|
|
24964
|
-
|
|
25087
|
+
_this26.loading.close();
|
|
24965
25088
|
if (err.message && err.message !== 'canceled') {
|
|
24966
|
-
|
|
25089
|
+
_this26.$message.error(err.message);
|
|
24967
25090
|
}
|
|
24968
25091
|
});
|
|
24969
25092
|
},
|
|
@@ -24976,7 +25099,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24976
25099
|
* @date 2022年5月25日
|
|
24977
25100
|
**/
|
|
24978
25101
|
selecNext: function selecNext(val, type, isDef) {
|
|
24979
|
-
var
|
|
25102
|
+
var _this27 = this;
|
|
24980
25103
|
|
|
24981
25104
|
var isNextNode = false;
|
|
24982
25105
|
if (type) {
|
|
@@ -25021,13 +25144,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25021
25144
|
this.operationList.forEach(function (item) {
|
|
25022
25145
|
if (item.key === val) {
|
|
25023
25146
|
if (!item.taskNodeList) {
|
|
25024
|
-
|
|
25147
|
+
_this27.nodeInfos = [];
|
|
25025
25148
|
} else {
|
|
25026
|
-
|
|
25149
|
+
_this27.nodeInfos = item.taskNodeList;
|
|
25027
25150
|
|
|
25028
|
-
if (
|
|
25029
|
-
|
|
25030
|
-
return
|
|
25151
|
+
if (_this27.taskOperationShiftedNodeList) {
|
|
25152
|
+
_this27.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
25153
|
+
return _this27.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
25031
25154
|
});
|
|
25032
25155
|
}
|
|
25033
25156
|
}
|
|
@@ -25036,7 +25159,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25036
25159
|
});
|
|
25037
25160
|
if (this.defaultNextNode) {
|
|
25038
25161
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
25039
|
-
return item.nodeId ==
|
|
25162
|
+
return item.nodeId == _this27.defaultNextNode;
|
|
25040
25163
|
});
|
|
25041
25164
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25042
25165
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -25148,7 +25271,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25148
25271
|
* @date 2022年5月25日
|
|
25149
25272
|
**/
|
|
25150
25273
|
getHedInfo: function getHedInfo() {
|
|
25151
|
-
var
|
|
25274
|
+
var _this28 = this;
|
|
25152
25275
|
|
|
25153
25276
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
25154
25277
|
var params = {
|
|
@@ -25158,7 +25281,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25158
25281
|
util["a" /* default */].ajax({ url: api["N" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
25159
25282
|
//pc返回数据
|
|
25160
25283
|
|
|
25161
|
-
|
|
25284
|
+
_this28.loading.close();
|
|
25162
25285
|
if (res.status === 'success') {
|
|
25163
25286
|
var _res$data2 = res.data,
|
|
25164
25287
|
nextNodeList = _res$data2.nextNodeList,
|
|
@@ -25196,14 +25319,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25196
25319
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
25197
25320
|
|
|
25198
25321
|
if (simpleTips != undefined) {
|
|
25199
|
-
|
|
25322
|
+
_this28.simpleTips = simpleTips;
|
|
25200
25323
|
}
|
|
25201
|
-
|
|
25202
|
-
|
|
25324
|
+
_this28.$emit('startTaskRead', res);
|
|
25325
|
+
_this28.$emit('start-task-read', res);
|
|
25203
25326
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
25204
|
-
|
|
25327
|
+
_this28.taskOperationShiftedNodeList = [];
|
|
25205
25328
|
taskOperationShiftedNodeList.map(function (x) {
|
|
25206
|
-
|
|
25329
|
+
_this28.taskOperationShiftedNodeList.push(x.nodeId);
|
|
25207
25330
|
taskOperations.push({
|
|
25208
25331
|
key: x.nodeId,
|
|
25209
25332
|
value: x.nodeName,
|
|
@@ -25212,143 +25335,143 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25212
25335
|
});
|
|
25213
25336
|
});
|
|
25214
25337
|
}
|
|
25215
|
-
|
|
25216
|
-
|
|
25338
|
+
_this28.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
25339
|
+
_this28.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
25217
25340
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
25218
|
-
|
|
25341
|
+
_this28.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
25219
25342
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
25220
|
-
|
|
25221
|
-
|
|
25343
|
+
_this28.currentOrgSelectorTabs.map(function (x, i) {
|
|
25344
|
+
_this28.currentOrgSelectorParams[x] = {
|
|
25222
25345
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i]
|
|
25223
25346
|
};
|
|
25224
25347
|
});
|
|
25225
25348
|
}
|
|
25226
25349
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
25227
|
-
|
|
25350
|
+
_this28.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
25228
25351
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
25229
|
-
|
|
25230
|
-
|
|
25352
|
+
_this28.foreignOrgSelectorTabs.map(function (x, i) {
|
|
25353
|
+
_this28.foreignOrgSelectorParams[x] = {
|
|
25231
25354
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : foreignOrgparams[i]
|
|
25232
25355
|
};
|
|
25233
25356
|
});
|
|
25234
25357
|
}
|
|
25235
|
-
|
|
25236
|
-
if (
|
|
25237
|
-
|
|
25358
|
+
_this28.circularReadParamsMap = circularReadParamsMap || {};
|
|
25359
|
+
if (_this28.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
25360
|
+
_this28.foreignOrgSelectorParams.roleid = _this28.circularReadParamsMap.circularReadOrgRoleCode;
|
|
25238
25361
|
}
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
nextNodeCheckType && (
|
|
25256
|
-
|
|
25257
|
-
|
|
25362
|
+
_this28.currentOrgName = currentOrgName;
|
|
25363
|
+
_this28.nextOperateCheckType = nextOperateCheckType;
|
|
25364
|
+
_this28.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
25365
|
+
|
|
25366
|
+
_this28.readOnlyNotificationType = readOnlyNotificationType;
|
|
25367
|
+
_this28.isSpecial = isSpecial;
|
|
25368
|
+
_this28.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
25369
|
+
_this28.otherOrgName = otherOrgName;
|
|
25370
|
+
_this28.isCanPreAddSign = isCanPreAddSign;
|
|
25371
|
+
_this28.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
25372
|
+
_this28.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
25373
|
+
_this28.endFlowInfo.pendingId = _this28.pendingId;
|
|
25374
|
+
_this28.attachedCode = attachedCode;
|
|
25375
|
+
_this28.endFlowInfo.pOrgId = pOrgId;
|
|
25376
|
+
_this28.canPresetRead = canPresetRead;
|
|
25377
|
+
_this28.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
25378
|
+
nextNodeCheckType && (_this28.nextNodeCheckType = nextNodeCheckType);
|
|
25379
|
+
_this28.operationList = taskOperations || [];
|
|
25380
|
+
_this28.customPresetHintMessage = customPresetHintMessage;
|
|
25258
25381
|
if (canPresetRead) {
|
|
25259
25382
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
25260
25383
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
25261
25384
|
ids.map(function (item, index) {
|
|
25262
|
-
|
|
25385
|
+
_this28.presetReadUserId.push({
|
|
25263
25386
|
showid: item,
|
|
25264
25387
|
showname: names[index]
|
|
25265
25388
|
});
|
|
25266
|
-
|
|
25389
|
+
_this28.selectPresetUserList.push({
|
|
25267
25390
|
showid: item,
|
|
25268
25391
|
showname: names[index]
|
|
25269
25392
|
});
|
|
25270
|
-
|
|
25393
|
+
_this28.nextNode.presetReadUserId.push(item);
|
|
25271
25394
|
});
|
|
25272
25395
|
}
|
|
25273
|
-
if (!
|
|
25396
|
+
if (!_this28.isFlow) _this28.getFile(_this28.pendingId, attachedCode);
|
|
25274
25397
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
25275
|
-
|
|
25398
|
+
_this28.nextNodeList = nextNodeList;
|
|
25276
25399
|
}
|
|
25277
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
25400
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this28.removeUsers = canRemoveSignUserList;
|
|
25278
25401
|
if (taskOperations && taskOperations.length != 0) {
|
|
25279
25402
|
var isSelected = false;
|
|
25280
25403
|
taskOperations.map(function (item) {
|
|
25281
|
-
if (item.key === 9)
|
|
25404
|
+
if (item.key === 9) _this28.isReject = true;
|
|
25282
25405
|
if (item.isSelected) {
|
|
25283
|
-
|
|
25284
|
-
|
|
25406
|
+
_this28.nodeInfos = [];
|
|
25407
|
+
_this28.nextNode.nextOperate = item.key;
|
|
25285
25408
|
if (item.taskNodeList != null) {
|
|
25286
|
-
|
|
25409
|
+
_this28.nodeInfos = item.taskNodeList;
|
|
25287
25410
|
}
|
|
25288
25411
|
isSelected = true;
|
|
25289
25412
|
}
|
|
25290
25413
|
});
|
|
25291
25414
|
if (taskOperations.length > 0 && !isSelected) {
|
|
25292
|
-
|
|
25293
|
-
|
|
25415
|
+
_this28.nodeInfos = [];
|
|
25416
|
+
_this28.nextNode.nextOperate = taskOperations[0].key;
|
|
25294
25417
|
if (taskOperations[0].taskNodeList != null) {
|
|
25295
|
-
|
|
25418
|
+
_this28.nodeInfos = taskOperations[0].taskNodeList;
|
|
25296
25419
|
}
|
|
25297
25420
|
}
|
|
25298
25421
|
}
|
|
25299
25422
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
25300
|
-
|
|
25423
|
+
_this28.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
25301
25424
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
25302
25425
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
25303
25426
|
notice.map(function (x) {
|
|
25304
|
-
|
|
25427
|
+
_this28.nodeFixedOpinionSelectList.push({ content: x });
|
|
25305
25428
|
});
|
|
25306
25429
|
}
|
|
25307
|
-
|
|
25308
|
-
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
|
|
25312
|
-
|
|
25430
|
+
_this28.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
25431
|
+
_this28.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
25432
|
+
_this28.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
25433
|
+
_this28.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
25434
|
+
_this28.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
25435
|
+
_this28.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
25313
25436
|
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
25314
|
-
|
|
25437
|
+
_this28.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25315
25438
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
25316
|
-
var defaultNode =
|
|
25439
|
+
var defaultNode = _this28.nodeInfos.filter(function (item) {
|
|
25317
25440
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25318
25441
|
});
|
|
25319
|
-
if (
|
|
25320
|
-
|
|
25442
|
+
if (_this28.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25443
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
25321
25444
|
} else {
|
|
25322
|
-
|
|
25445
|
+
_this28.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25323
25446
|
}
|
|
25324
|
-
} else if (
|
|
25325
|
-
|
|
25447
|
+
} else if (_this28.nodeInfos.length > 0) {
|
|
25448
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
25326
25449
|
}
|
|
25327
|
-
|
|
25450
|
+
_this28.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
25328
25451
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
25329
|
-
|
|
25452
|
+
_this28.btnList.map(function (x) {
|
|
25330
25453
|
if (x.event === 'sub') {
|
|
25331
25454
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
25332
25455
|
}
|
|
25333
25456
|
});
|
|
25334
25457
|
}
|
|
25335
25458
|
}
|
|
25336
|
-
|
|
25337
|
-
|
|
25338
|
-
|
|
25459
|
+
_this28.choiceOrgId = choiceOrgId;
|
|
25460
|
+
_this28.choiceDeptId = choiceDeptId;
|
|
25461
|
+
_this28.pOrgId = pOrgId;
|
|
25339
25462
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
25340
|
-
|
|
25463
|
+
_this28.isEndUserTask = res.data.isEndUserTask;
|
|
25341
25464
|
}
|
|
25342
25465
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
25343
|
-
|
|
25344
|
-
|
|
25345
|
-
|
|
25346
|
-
|
|
25347
|
-
|
|
25348
|
-
|
|
25349
|
-
|
|
25350
|
-
|
|
25351
|
-
|
|
25466
|
+
_this28.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
25467
|
+
_this28.NodeName = taskExamine.nodeName;
|
|
25468
|
+
_this28.taskId = taskExamine.taskId;
|
|
25469
|
+
_this28.businessIds = taskExamine.businessId;
|
|
25470
|
+
_this28.appId = taskExamine.appId;
|
|
25471
|
+
_this28.taskExamineInfo = taskExamine;
|
|
25472
|
+
_this28.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
25473
|
+
_this28.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
25474
|
+
_this28.endFlowInfo.processType = taskExamine.processType;
|
|
25352
25475
|
// this.endFlowInfo.isReturnSubmitter =
|
|
25353
25476
|
// taskExamine.isReturnSubmitter;
|
|
25354
25477
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -25360,74 +25483,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25360
25483
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25361
25484
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25362
25485
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25363
|
-
|
|
25364
|
-
|
|
25365
|
-
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
|
|
25371
|
-
|
|
25486
|
+
_this28.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
25487
|
+
_this28.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
25488
|
+
_this28.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
25489
|
+
_this28.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
25490
|
+
_this28.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
25491
|
+
_this28.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25492
|
+
_this28.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
25493
|
+
_this28.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25494
|
+
_this28.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25372
25495
|
// this.endFlowInfo.isReadDealReply =
|
|
25373
25496
|
// taskExamine.isReadDealReplybusinessId;
|
|
25374
|
-
|
|
25375
|
-
|
|
25376
|
-
|
|
25377
|
-
|
|
25497
|
+
_this28.endFlowInfo.appId = taskExamine.appId;
|
|
25498
|
+
_this28.endFlowInfo.businessId = taskExamine.businessId;
|
|
25499
|
+
_this28.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
25500
|
+
_this28.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
25378
25501
|
}
|
|
25379
|
-
if (
|
|
25380
|
-
|
|
25502
|
+
if (_this28.nodeName) {
|
|
25503
|
+
_this28.NodeName = _this28.nodeName;
|
|
25381
25504
|
}
|
|
25382
|
-
|
|
25383
|
-
|
|
25384
|
-
if (
|
|
25385
|
-
|
|
25505
|
+
_this28.isCanAddSign = isCanAddSign;
|
|
25506
|
+
_this28.processObj = res.data;
|
|
25507
|
+
if (_this28.isCanAddSign) {
|
|
25508
|
+
_this28.nextNode.isAddSign = '2';
|
|
25386
25509
|
}
|
|
25387
|
-
|
|
25388
|
-
if (
|
|
25389
|
-
|
|
25510
|
+
_this28.isCanRemoveSign = isCanRemoveSign;
|
|
25511
|
+
if (_this28.isCanRemoveSign) {
|
|
25512
|
+
_this28.nextNode.isRemoveSign = '2';
|
|
25390
25513
|
}
|
|
25391
25514
|
|
|
25392
|
-
if (!
|
|
25393
|
-
|
|
25515
|
+
if (!_this28.isOpinionRequired) {
|
|
25516
|
+
_this28.isOpinionRequired = 0;
|
|
25394
25517
|
}
|
|
25395
25518
|
// opinion && (this.value = opinion);
|
|
25396
|
-
|
|
25397
|
-
|
|
25519
|
+
_this28.nextNode.notificationMsg = defaultNotificationMessage;
|
|
25520
|
+
_this28.moreList = [];
|
|
25398
25521
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
25399
25522
|
taskButtonList.map(function (item) {
|
|
25400
25523
|
if (item.fun === 'reject()') {
|
|
25401
|
-
|
|
25524
|
+
_this28.rejectObj = item;
|
|
25402
25525
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
25403
|
-
|
|
25526
|
+
_this28.pointsReadingObj = item;
|
|
25404
25527
|
} else {
|
|
25405
|
-
|
|
25528
|
+
_this28.moreList.push(item);
|
|
25406
25529
|
}
|
|
25407
25530
|
});
|
|
25408
25531
|
}
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25414
|
-
|
|
25415
|
-
|
|
25532
|
+
_this28.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
25533
|
+
_this28.isCustomPreset = isCustomPreset;
|
|
25534
|
+
_this28.isPreset = isPreset;
|
|
25535
|
+
_this28.presetTaskNodeMap = presetTaskNodeMap;
|
|
25536
|
+
_this28.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
25537
|
+
_this28.getFind();
|
|
25538
|
+
_this28.selecNext(_this28.nextNode.nextOperate, true, true);
|
|
25416
25539
|
// this.getNodeInfo();
|
|
25417
|
-
|
|
25540
|
+
_this28.StartTaskReadKey++;
|
|
25418
25541
|
} else {
|
|
25419
25542
|
if (res.status === 'taskCompleted') {
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
|
|
25543
|
+
_this28.$emit('shrink', true);
|
|
25544
|
+
_this28.shrinkAbled = true;
|
|
25545
|
+
_this28.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
25423
25546
|
} else {
|
|
25424
|
-
|
|
25547
|
+
_this28.$message.error(res.message || '系统错误,请联系管理员!');
|
|
25425
25548
|
}
|
|
25426
25549
|
}
|
|
25427
25550
|
}).catch(function (err) {
|
|
25428
|
-
|
|
25551
|
+
_this28.loading.close();
|
|
25429
25552
|
if (err.message && err.message !== 'canceled') {
|
|
25430
|
-
|
|
25553
|
+
_this28.$message.error(err.message);
|
|
25431
25554
|
}
|
|
25432
25555
|
});
|
|
25433
25556
|
},
|
|
@@ -25489,7 +25612,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25489
25612
|
* @date 2022年5月25日
|
|
25490
25613
|
**/
|
|
25491
25614
|
getProcess: function getProcess(val) {
|
|
25492
|
-
var
|
|
25615
|
+
var _this29 = this;
|
|
25493
25616
|
|
|
25494
25617
|
var params = mainvue_type_script_lang_js_extends({
|
|
25495
25618
|
businessId: this.businessId,
|
|
@@ -25504,40 +25627,43 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25504
25627
|
message = res.message,
|
|
25505
25628
|
data = res.data;
|
|
25506
25629
|
|
|
25507
|
-
|
|
25630
|
+
_this29.loading.close();
|
|
25508
25631
|
if (status === 'success') {
|
|
25509
25632
|
if (data.simpleTips != undefined) {
|
|
25510
|
-
|
|
25633
|
+
_this29.simpleTips = data.simpleTips;
|
|
25511
25634
|
}
|
|
25512
|
-
|
|
25635
|
+
_this29.isStartFlowChartView = data.isStartFlowChartView;
|
|
25513
25636
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
25514
|
-
|
|
25637
|
+
_this29.$message.error('流程不存在或未关联对应流程!');
|
|
25515
25638
|
} else {
|
|
25516
|
-
|
|
25517
|
-
|
|
25518
|
-
|
|
25519
|
-
return item.processDefKey ==
|
|
25639
|
+
_this29.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
25640
|
+
_this29.nodeInfo.option = data.definitionList;
|
|
25641
|
+
_this29.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
25642
|
+
return item.processDefKey == _this29.defaultProcessKey;
|
|
25520
25643
|
});
|
|
25521
|
-
if (
|
|
25522
|
-
|
|
25644
|
+
if (_this29.nodeInfo.nextNode.length) {
|
|
25645
|
+
_this29.nodeInfo.nextNode = _this29.nodeInfo.nextNode[0].processDefId;
|
|
25523
25646
|
} else {
|
|
25524
25647
|
if (data.definitionList.length != 0) {
|
|
25525
|
-
|
|
25648
|
+
_this29.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
25526
25649
|
} else {
|
|
25527
|
-
|
|
25650
|
+
_this29.nodeInfo.nextNode = '';
|
|
25528
25651
|
}
|
|
25529
25652
|
}
|
|
25530
|
-
if (
|
|
25531
|
-
|
|
25653
|
+
if (_this29.nodeInfo.nextNode) {
|
|
25654
|
+
_this29.handleChange(_this29.nodeInfo.nextNode);
|
|
25655
|
+
}
|
|
25656
|
+
if (_this29.showCirculate != undefined && !_this29.showCirculate && _this29.urgencyLevel) {
|
|
25657
|
+
_this29.getAdminMsgType();
|
|
25532
25658
|
}
|
|
25533
25659
|
}
|
|
25534
25660
|
} else {
|
|
25535
|
-
|
|
25661
|
+
_this29.$message.error(message || '系统错误,请联系管理员!');
|
|
25536
25662
|
}
|
|
25537
25663
|
}).catch(function (err) {
|
|
25538
|
-
|
|
25664
|
+
_this29.loading.close();
|
|
25539
25665
|
if (err.message && err.message !== 'canceled') {
|
|
25540
|
-
|
|
25666
|
+
_this29.$message.error(err.message);
|
|
25541
25667
|
}
|
|
25542
25668
|
});
|
|
25543
25669
|
},
|
|
@@ -25549,35 +25675,35 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25549
25675
|
* @date 2022年5月25日
|
|
25550
25676
|
**/
|
|
25551
25677
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
25552
|
-
var
|
|
25678
|
+
var _this30 = this;
|
|
25553
25679
|
|
|
25554
25680
|
var params = {
|
|
25555
25681
|
apprecordId: this.businessIds,
|
|
25556
25682
|
userId: util["a" /* default */].getStorage('userId'),
|
|
25557
25683
|
type: 2
|
|
25558
25684
|
};
|
|
25559
|
-
util["a" /* default */].ajax({ url: api["
|
|
25685
|
+
util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
25560
25686
|
var rCode = res.rCode,
|
|
25561
25687
|
msg = res.msg,
|
|
25562
25688
|
results = res.results;
|
|
25563
25689
|
|
|
25564
25690
|
if (!rCode) {
|
|
25565
|
-
|
|
25566
|
-
|
|
25567
|
-
|
|
25568
|
-
|
|
25569
|
-
|
|
25691
|
+
_this30.nextNode.nextUserId = [];
|
|
25692
|
+
_this30.showNews = false;
|
|
25693
|
+
_this30.nextNode.notificationType = [];
|
|
25694
|
+
_this30.pendingId = results[results.length - 1].attachId;
|
|
25695
|
+
_this30.getHedInfo();
|
|
25570
25696
|
} else {
|
|
25571
|
-
|
|
25697
|
+
_this30.$message.error(msg || '系统错误,请联系管理员!');
|
|
25572
25698
|
}
|
|
25573
25699
|
}).catch(function (err) {
|
|
25574
25700
|
if (err.message && err.message !== 'canceled') {
|
|
25575
|
-
|
|
25701
|
+
_this30.$message.error(err.message);
|
|
25576
25702
|
}
|
|
25577
25703
|
});
|
|
25578
25704
|
},
|
|
25579
25705
|
reqCircularRead: function reqCircularRead(type) {
|
|
25580
|
-
var
|
|
25706
|
+
var _this31 = this;
|
|
25581
25707
|
|
|
25582
25708
|
var _that = this;
|
|
25583
25709
|
var params = {
|
|
@@ -25591,7 +25717,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25591
25717
|
};
|
|
25592
25718
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
25593
25719
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
25594
|
-
|
|
25720
|
+
_this31.loading.close();
|
|
25595
25721
|
if (res.rCode == 0) {
|
|
25596
25722
|
if (res.results.alert) {
|
|
25597
25723
|
_that.$confirm(res.results.message, {
|
|
@@ -25622,20 +25748,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25622
25748
|
* @date 2022年5月25日
|
|
25623
25749
|
**/
|
|
25624
25750
|
subProcess: function subProcess(val, type) {
|
|
25625
|
-
var
|
|
25751
|
+
var _this32 = this;
|
|
25626
25752
|
|
|
25627
25753
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
25628
25754
|
if (valid) {
|
|
25629
|
-
if (
|
|
25630
|
-
|
|
25631
|
-
|
|
25632
|
-
|
|
25755
|
+
if (_this32.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
25756
|
+
_this32.value = _this32.value.replace(RegExp('不同意。', 'g'), '');
|
|
25757
|
+
_this32.value = _this32.value.replace(RegExp('同意。', 'g'), '');
|
|
25758
|
+
_this32.value = val + _this32.value;
|
|
25633
25759
|
}
|
|
25634
|
-
if (!
|
|
25635
|
-
|
|
25760
|
+
if (!_this32.validInfo()) {
|
|
25761
|
+
_this32.freeValid = false;
|
|
25636
25762
|
return;
|
|
25637
25763
|
} else {
|
|
25638
|
-
|
|
25764
|
+
_this32.freeValid = true;
|
|
25639
25765
|
}
|
|
25640
25766
|
// if (
|
|
25641
25767
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -25645,14 +25771,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25645
25771
|
// return;
|
|
25646
25772
|
// }
|
|
25647
25773
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
25648
|
-
|
|
25774
|
+
_this32.sendData(type);
|
|
25649
25775
|
return;
|
|
25650
25776
|
}
|
|
25651
|
-
if (
|
|
25652
|
-
|
|
25777
|
+
if (_this32.beforeSubmit == undefined) {
|
|
25778
|
+
_this32.subFun(_this32.sendData);
|
|
25653
25779
|
} else {
|
|
25654
|
-
|
|
25655
|
-
|
|
25780
|
+
_this32.beforeSubmit(1).then(function (next) {
|
|
25781
|
+
_this32.sendData();
|
|
25656
25782
|
}).catch(function (e) {});
|
|
25657
25783
|
}
|
|
25658
25784
|
}
|
|
@@ -25697,14 +25823,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25697
25823
|
return true;
|
|
25698
25824
|
},
|
|
25699
25825
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
25700
|
-
var
|
|
25826
|
+
var _this33 = this;
|
|
25701
25827
|
|
|
25702
25828
|
if (!this.simpleTips) {
|
|
25703
25829
|
this.$alert('提交成功', '', {
|
|
25704
25830
|
confirmButtonText: '确定',
|
|
25705
25831
|
type: 'success',
|
|
25706
25832
|
callback: function callback(action) {
|
|
25707
|
-
|
|
25833
|
+
_this33.$emit('success');
|
|
25708
25834
|
}
|
|
25709
25835
|
});
|
|
25710
25836
|
} else {
|
|
@@ -25715,7 +25841,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25715
25841
|
}
|
|
25716
25842
|
},
|
|
25717
25843
|
sendData: function sendData(freetype) {
|
|
25718
|
-
var
|
|
25844
|
+
var _this34 = this;
|
|
25719
25845
|
|
|
25720
25846
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
25721
25847
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
@@ -25737,58 +25863,58 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25737
25863
|
break;
|
|
25738
25864
|
}
|
|
25739
25865
|
|
|
25740
|
-
if (!
|
|
25866
|
+
if (!_this34.isFlow) {
|
|
25741
25867
|
_context.next = 4;
|
|
25742
25868
|
break;
|
|
25743
25869
|
}
|
|
25744
25870
|
|
|
25745
|
-
if (
|
|
25746
|
-
|
|
25871
|
+
if (_this34.directCreateCircularReadWhenFlowStarted) {
|
|
25872
|
+
_this34.circulateVisible = true;
|
|
25747
25873
|
} else {
|
|
25748
|
-
|
|
25874
|
+
_this34.handleVisible = true;
|
|
25749
25875
|
}
|
|
25750
25876
|
return _context.abrupt('return');
|
|
25751
25877
|
|
|
25752
25878
|
case 4:
|
|
25753
25879
|
nextUserId = [];
|
|
25754
25880
|
|
|
25755
|
-
if (
|
|
25756
|
-
|
|
25881
|
+
if (_this34.multiple) {
|
|
25882
|
+
_this34.nextNode.nextUserId && _this34.nextNode.nextUserId.map(function (item) {
|
|
25757
25883
|
return nextUserId.push(item);
|
|
25758
25884
|
});
|
|
25759
25885
|
}
|
|
25760
25886
|
addSignUserId = [];
|
|
25761
25887
|
|
|
25762
|
-
if (
|
|
25763
|
-
|
|
25888
|
+
if (_this34.isCanAddSign && _this34.nextNode.isAddSign == '1') {
|
|
25889
|
+
_this34.nextNode.addSignUserId.map(function (item) {
|
|
25764
25890
|
addSignUserId.push(item);
|
|
25765
25891
|
});
|
|
25766
25892
|
}
|
|
25767
25893
|
removeSignUserId = [];
|
|
25768
25894
|
|
|
25769
|
-
if (
|
|
25770
|
-
|
|
25895
|
+
if (_this34.isCanRemoveSign && _this34.nextNode.isRemoveSign == '1') {
|
|
25896
|
+
_this34.nextNode.removeSignUserId.map(function (item) {
|
|
25771
25897
|
removeSignUserId.push(item);
|
|
25772
25898
|
});
|
|
25773
25899
|
}
|
|
25774
25900
|
str = '';
|
|
25775
25901
|
|
|
25776
|
-
if (
|
|
25777
|
-
str =
|
|
25902
|
+
if (_this34.value) {
|
|
25903
|
+
str = _this34.value.replace(/\s+/g, '');
|
|
25778
25904
|
}
|
|
25779
|
-
if ((!
|
|
25780
|
-
|
|
25905
|
+
if ((!_this34.value || str === '') && _this34.nodeDefaultSubmitOpinion) {
|
|
25906
|
+
_this34.value = _this34.nodeDefaultSubmitOpinion;
|
|
25781
25907
|
}
|
|
25782
|
-
if (!
|
|
25783
|
-
delete
|
|
25784
|
-
delete
|
|
25908
|
+
if (!_this34.isSpecial) {
|
|
25909
|
+
delete _this34.nextNode.nextOperate;
|
|
25910
|
+
delete _this34.nextNode.nextNodeId;
|
|
25785
25911
|
}
|
|
25786
|
-
if (
|
|
25787
|
-
|
|
25788
|
-
|
|
25912
|
+
if (_this34.nextNode.nextOperate === 9 || _this34.oldNextOperate == 9) {
|
|
25913
|
+
_this34.nextNode.isReturnRejectNode = 1;
|
|
25914
|
+
_this34.nextNode.processDefinitionId = _this34.processObj.taskExamine.processDefinitionId;
|
|
25789
25915
|
}
|
|
25790
|
-
if (
|
|
25791
|
-
delete
|
|
25916
|
+
if (_this34.nextNode.nextOperate != 0 && _this34.nextNode.nextOperate != 1 && _this34.oldNextOperate === '' || _this34.oldNextOperate !== '' && _this34.oldNextOperate != 0 && _this34.oldNextOperate != 1) {
|
|
25917
|
+
delete _this34.nextNode.nextNodeId;
|
|
25792
25918
|
}
|
|
25793
25919
|
|
|
25794
25920
|
if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
|
|
@@ -25797,45 +25923,45 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25797
25923
|
}
|
|
25798
25924
|
|
|
25799
25925
|
_context.next = 19;
|
|
25800
|
-
return
|
|
25926
|
+
return _this34.saveInfo('subMit');
|
|
25801
25927
|
|
|
25802
25928
|
case 19:
|
|
25803
|
-
|
|
25929
|
+
_this34.loading = util["a" /* default */].loading(_this34.$loading, '加载中...');
|
|
25804
25930
|
|
|
25805
25931
|
case 20:
|
|
25806
25932
|
notificationType = '';
|
|
25807
25933
|
|
|
25808
|
-
notificationType =
|
|
25934
|
+
notificationType = _this34.nextNode.notificationType.join(',');
|
|
25809
25935
|
addSignUserId = addSignUserId.join(',');
|
|
25810
25936
|
removeSignUserId = removeSignUserId.join(',');
|
|
25811
|
-
if (!
|
|
25812
|
-
delete
|
|
25937
|
+
if (!_this34.isCanPreAddSign || _this34.nextNode.isAddSign != '1') {
|
|
25938
|
+
delete _this34.nextNode.addSignMode;
|
|
25813
25939
|
}
|
|
25814
25940
|
|
|
25815
|
-
params = mainvue_type_script_lang_js_extends({},
|
|
25816
|
-
nextOperate:
|
|
25817
|
-
pendingId:
|
|
25818
|
-
opinion:
|
|
25941
|
+
params = mainvue_type_script_lang_js_extends({}, _this34.nextNode, {
|
|
25942
|
+
nextOperate: _this34.oldNextOperate !== '' ? _this34.oldNextOperate : _this34.nextNode.nextOperate,
|
|
25943
|
+
pendingId: _this34.pendingId,
|
|
25944
|
+
opinion: _this34.isForceDisplayDefaultOptionForPrefix && !_this34.value.startsWith(_this34.nodeDefaultSubmitOpinion) ? _this34.nodeDefaultSubmitOpinion + _this34.value : _this34.value,
|
|
25819
25945
|
userId: util["a" /* default */].getStorage('userId'),
|
|
25820
|
-
nextUserId:
|
|
25946
|
+
nextUserId: _this34.multiple ? nextUserId.join(',') : _this34.nextNode.nextUserId,
|
|
25821
25947
|
addSignUserId: addSignUserId,
|
|
25822
|
-
customPresetUserJson: JSON.stringify(
|
|
25823
|
-
presetUserJson: JSON.stringify(
|
|
25948
|
+
customPresetUserJson: JSON.stringify(_this34.presetList),
|
|
25949
|
+
presetUserJson: JSON.stringify(_this34.presetUserJson),
|
|
25824
25950
|
removeSignUserId: removeSignUserId,
|
|
25825
|
-
nextReadUserId:
|
|
25826
|
-
nextOrgId: !
|
|
25827
|
-
presetReadUserId:
|
|
25951
|
+
nextReadUserId: _this34.readMultiple ? _this34.mixReadList && _this34.mixReadList.join('|') : _this34.nextNode.nextReadUserId,
|
|
25952
|
+
nextOrgId: !_this34.isShowNextUser ? _this34.multiple ? _this34.mixOrgIdList && _this34.mixOrgIdList.join('|') : _this34.nextNode.nextOrgId : '',
|
|
25953
|
+
presetReadUserId: _this34.mixPresetList && _this34.mixPresetList.length > 0 ? _this34.mixPresetList.join('|') : _this34.nextNode.presetReadUserId.join(','),
|
|
25828
25954
|
notificationType: notificationType
|
|
25829
25955
|
});
|
|
25830
25956
|
|
|
25831
|
-
if (
|
|
25832
|
-
if (
|
|
25957
|
+
if (_this34.activeNames != '1') delete params.customPresetUserJson;
|
|
25958
|
+
if (_this34.nextNode.isRemoveSign != '1') {
|
|
25833
25959
|
delete params.removeSignUserId;
|
|
25834
25960
|
}
|
|
25835
|
-
if (
|
|
25961
|
+
if (_this34.nextNode.isAddSign != '1') {
|
|
25836
25962
|
delete params.addSignUserId;
|
|
25837
25963
|
}
|
|
25838
|
-
if (!
|
|
25964
|
+
if (!_this34.isSpecial) {
|
|
25839
25965
|
delete params.nextUserId;
|
|
25840
25966
|
}
|
|
25841
25967
|
|
|
@@ -25844,13 +25970,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25844
25970
|
break;
|
|
25845
25971
|
}
|
|
25846
25972
|
|
|
25847
|
-
params.isSubFlow =
|
|
25848
|
-
|
|
25973
|
+
params.isSubFlow = _this34.taskExamineInfo.isSubFlow;
|
|
25974
|
+
_this34.taskParams = params;
|
|
25849
25975
|
return _context.abrupt('return');
|
|
25850
25976
|
|
|
25851
25977
|
case 34:
|
|
25852
|
-
|
|
25853
|
-
isEndUserTask =
|
|
25978
|
+
_this34.loading = util["a" /* default */].loading(_this34.$loading, '提交中...');
|
|
25979
|
+
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
25980
|
|
|
25855
25981
|
params.isEndUserTask = isEndUserTask;
|
|
25856
25982
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -25870,21 +25996,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25870
25996
|
if (!currentNodeEnableItemHandleDescription) {
|
|
25871
25997
|
delete params.nextItemHandleDescription;
|
|
25872
25998
|
}
|
|
25873
|
-
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["
|
|
25999
|
+
return _context.abrupt('return', util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
25874
26000
|
var status = res.status,
|
|
25875
26001
|
message = res.message;
|
|
25876
26002
|
|
|
25877
|
-
|
|
26003
|
+
_this34.loading.close();
|
|
25878
26004
|
if (status === 'success') {
|
|
25879
|
-
|
|
26005
|
+
_this34.flowSuccess();
|
|
25880
26006
|
} else {
|
|
25881
|
-
|
|
25882
|
-
|
|
26007
|
+
_this34.$message.error(message || '系统错误,请联系管理员!');
|
|
26008
|
+
_this34.$emit('error');
|
|
25883
26009
|
}
|
|
25884
26010
|
}).catch(function (err) {
|
|
25885
|
-
|
|
26011
|
+
_this34.loading.close();
|
|
25886
26012
|
if (err.message && err.message !== 'canceled') {
|
|
25887
|
-
|
|
26013
|
+
_this34.$message.error(err.message);
|
|
25888
26014
|
}
|
|
25889
26015
|
}));
|
|
25890
26016
|
|
|
@@ -25896,7 +26022,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25896
26022
|
return _context.stop();
|
|
25897
26023
|
}
|
|
25898
26024
|
}
|
|
25899
|
-
}, _callee,
|
|
26025
|
+
}, _callee, _this34);
|
|
25900
26026
|
}));
|
|
25901
26027
|
|
|
25902
26028
|
return function (_x) {
|