eoss-ui 0.6.92 → 0.6.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button-group.js +79 -77
- package/lib/button.js +79 -77
- package/lib/calogin.js +79 -77
- package/lib/checkbox-group.js +79 -77
- package/lib/config/api.js +2 -1
- package/lib/data-table-form.js +79 -77
- package/lib/data-table.js +79 -77
- package/lib/date-picker.js +79 -77
- package/lib/dialog.js +79 -77
- package/lib/eoss-ui.common.js +832 -754
- package/lib/flow-group.js +79 -77
- package/lib/flow-list.js +84 -82
- package/lib/flow.js +758 -682
- package/lib/form.js +79 -77
- package/lib/handle-user.js +80 -78
- package/lib/handler.js +80 -78
- package/lib/icon.js +80 -78
- package/lib/index.js +1 -1
- package/lib/input-number.js +79 -77
- package/lib/input.js +79 -77
- package/lib/login.js +82 -80
- package/lib/main.js +108 -106
- package/lib/nav.js +79 -77
- package/lib/notify.js +82 -80
- package/lib/page.js +79 -77
- package/lib/pagination.js +79 -77
- package/lib/player.js +79 -77
- package/lib/qr-code.js +79 -77
- package/lib/radio-group.js +79 -77
- package/lib/retrial-auth.js +81 -79
- package/lib/select-ganged.js +79 -77
- package/lib/select.js +80 -78
- package/lib/selector-panel.js +79 -77
- package/lib/selector.js +79 -77
- package/lib/sizer.js +79 -77
- package/lib/steps.js +79 -77
- package/lib/switch.js +79 -77
- package/lib/table-form.js +79 -77
- package/lib/tabs.js +79 -77
- package/lib/tips.js +80 -78
- package/lib/tree-group.js +79 -77
- package/lib/tree.js +83 -79
- package/lib/upload.js +86 -84
- package/lib/wujie.js +79 -77
- package/lib/wxlogin.js +79 -77
- package/package.json +1 -1
- package/packages/flow/src/main.vue +105 -51
- package/packages/flow/src/processForm.vue +29 -2
- package/packages/select/src/main.vue +1 -1
- package/packages/tree/src/main.vue +1 -0
- package/src/config/api.js +1 -0
- package/src/index.js +1 -1
package/lib/eoss-ui.common.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 */
|
|
@@ -27141,8 +27143,8 @@ form_src_main.install = function (Vue) {
|
|
|
27141
27143
|
};
|
|
27142
27144
|
|
|
27143
27145
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
27144
|
-
// 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=
|
|
27145
|
-
var
|
|
27146
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=2181006a&
|
|
27147
|
+
var mainvue_type_template_id_2181006a_render = function () {
|
|
27146
27148
|
var _vm = this
|
|
27147
27149
|
var _h = _vm.$createElement
|
|
27148
27150
|
var _c = _vm._self._c || _h
|
|
@@ -28956,6 +28958,8 @@ var mainvue_type_template_id_27037024_render = function () {
|
|
|
28956
28958
|
"label-position": _vm.formLabelPosition,
|
|
28957
28959
|
showBtn: false,
|
|
28958
28960
|
formTitle: _vm.formTitle,
|
|
28961
|
+
urgencyLevel: _vm.urgencyLevel,
|
|
28962
|
+
messageType: _vm.newsList,
|
|
28959
28963
|
"copy-history":
|
|
28960
28964
|
_vm.freeStartFlowParams.pendedHistoryHandle,
|
|
28961
28965
|
"process-definition-id":
|
|
@@ -30023,11 +30027,11 @@ var mainvue_type_template_id_27037024_render = function () {
|
|
|
30023
30027
|
)
|
|
30024
30028
|
: _vm._e()
|
|
30025
30029
|
}
|
|
30026
|
-
var
|
|
30027
|
-
|
|
30030
|
+
var mainvue_type_template_id_2181006a_staticRenderFns = []
|
|
30031
|
+
mainvue_type_template_id_2181006a_render._withStripped = true
|
|
30028
30032
|
|
|
30029
30033
|
|
|
30030
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
30034
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2181006a&
|
|
30031
30035
|
|
|
30032
30036
|
// 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/CommonOpinions.vue?vue&type=template&id=19364a89&
|
|
30033
30037
|
var CommonOpinionsvue_type_template_id_19364a89_render = function () {
|
|
@@ -31016,7 +31020,7 @@ var CommonOpinionsvue_type_script_lang_js_components;
|
|
|
31016
31020
|
}
|
|
31017
31021
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '提交中...');
|
|
31018
31022
|
utils_util["a" /* default */].ajax({
|
|
31019
|
-
url: data.id ? api["
|
|
31023
|
+
url: data.id ? api["sc" /* updateCommonOpinion */] : api["Db" /* saveCommonOpinion */],
|
|
31020
31024
|
data: info,
|
|
31021
31025
|
header: { 'Content-Type': 'multipart/form-data' },
|
|
31022
31026
|
method: 'post'
|
|
@@ -31067,8 +31071,8 @@ var CommonOpinions_component = normalizeComponent(
|
|
|
31067
31071
|
)
|
|
31068
31072
|
|
|
31069
31073
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
31070
|
-
// 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=
|
|
31071
|
-
var
|
|
31074
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
|
|
31075
|
+
var processFormvue_type_template_id_1672698e_render = function () {
|
|
31072
31076
|
var _vm = this
|
|
31073
31077
|
var _h = _vm.$createElement
|
|
31074
31078
|
var _c = _vm._self._c || _h
|
|
@@ -31825,11 +31829,11 @@ var processFormvue_type_template_id_a60e74a6_render = function () {
|
|
|
31825
31829
|
1
|
|
31826
31830
|
)
|
|
31827
31831
|
}
|
|
31828
|
-
var
|
|
31829
|
-
|
|
31832
|
+
var processFormvue_type_template_id_1672698e_staticRenderFns = []
|
|
31833
|
+
processFormvue_type_template_id_1672698e_render._withStripped = true
|
|
31830
31834
|
|
|
31831
31835
|
|
|
31832
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
31836
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1672698e&
|
|
31833
31837
|
|
|
31834
31838
|
// 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&
|
|
31835
31839
|
var selectUservue_type_template_id_3d8ca42d_render = function () {
|
|
@@ -32189,7 +32193,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
32189
32193
|
classify: true,
|
|
32190
32194
|
newOptions: [],
|
|
32191
32195
|
newSelectUserList: [],
|
|
32192
|
-
url: api["
|
|
32196
|
+
url: api["gb" /* handleInfo */],
|
|
32193
32197
|
newCheckboxList: [],
|
|
32194
32198
|
newPresetEdit: 0,
|
|
32195
32199
|
newMultiple: false,
|
|
@@ -32318,7 +32322,7 @@ var selectUservue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
32318
32322
|
if (query !== '') {
|
|
32319
32323
|
this.searchLoading = true;
|
|
32320
32324
|
utils_util["a" /* default */].ajax({
|
|
32321
|
-
url: api["
|
|
32325
|
+
url: api["gb" /* handleInfo */],
|
|
32322
32326
|
params: { searchKey: query, query: query, type: 'user' }
|
|
32323
32327
|
}).then(function (res) {
|
|
32324
32328
|
var status = res.status,
|
|
@@ -33753,7 +33757,17 @@ var processFormvue_type_script_lang_js_components;
|
|
|
33753
33757
|
type: String,
|
|
33754
33758
|
default: ''
|
|
33755
33759
|
},
|
|
33756
|
-
showBtn: { type: Boolean, default: true }
|
|
33760
|
+
showBtn: { type: Boolean, default: true },
|
|
33761
|
+
messageType: {
|
|
33762
|
+
type: Array,
|
|
33763
|
+
default: function _default() {
|
|
33764
|
+
return [];
|
|
33765
|
+
}
|
|
33766
|
+
},
|
|
33767
|
+
urgencyLevel: {
|
|
33768
|
+
type: [Number, String],
|
|
33769
|
+
default: ''
|
|
33770
|
+
}
|
|
33757
33771
|
},
|
|
33758
33772
|
data: function data() {
|
|
33759
33773
|
return {
|
|
@@ -33844,12 +33858,33 @@ var processFormvue_type_script_lang_js_components;
|
|
|
33844
33858
|
nodeInfo: [],
|
|
33845
33859
|
userInfo: [],
|
|
33846
33860
|
handleExplain: '',
|
|
33847
|
-
noticeList: []
|
|
33861
|
+
noticeList: [],
|
|
33862
|
+
msgTypeCount: 0
|
|
33848
33863
|
}
|
|
33849
33864
|
};
|
|
33850
33865
|
},
|
|
33851
33866
|
|
|
33852
33867
|
watch: {
|
|
33868
|
+
messageType: {
|
|
33869
|
+
handler: function handler(val) {
|
|
33870
|
+
var _this = this;
|
|
33871
|
+
|
|
33872
|
+
if (val.length > 0 && this.urgencyLevel && this.msgTypeCount != 0) {
|
|
33873
|
+
this.nextNode.noticeList = val;
|
|
33874
|
+
var arr = [];
|
|
33875
|
+
this.nextNode.noticeList.map(function (item) {
|
|
33876
|
+
_this.nextNode.noticeType.map(function (x) {
|
|
33877
|
+
if (x == item.cciValue) {
|
|
33878
|
+
arr.push(x);
|
|
33879
|
+
}
|
|
33880
|
+
});
|
|
33881
|
+
});
|
|
33882
|
+
this.nextNode.noticeType = arr;
|
|
33883
|
+
} else {
|
|
33884
|
+
this.msgTypeCount++;
|
|
33885
|
+
}
|
|
33886
|
+
}
|
|
33887
|
+
},
|
|
33853
33888
|
processDefinitionId: function processDefinitionId(val) {
|
|
33854
33889
|
Object.assign(this.$data, this.$options.data());
|
|
33855
33890
|
this.getUserInfo();
|
|
@@ -33910,25 +33945,25 @@ var processFormvue_type_script_lang_js_components;
|
|
|
33910
33945
|
}
|
|
33911
33946
|
},
|
|
33912
33947
|
getUserInfo: function getUserInfo() {
|
|
33913
|
-
var
|
|
33948
|
+
var _this2 = this;
|
|
33914
33949
|
|
|
33915
33950
|
var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
|
|
33916
33951
|
if (mainConfig) {
|
|
33917
33952
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
33918
33953
|
} else {
|
|
33919
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
33954
|
+
utils_util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
33920
33955
|
var status = res.status,
|
|
33921
33956
|
data = res.data;
|
|
33922
33957
|
|
|
33923
33958
|
if (status == 'success') {
|
|
33924
|
-
|
|
33959
|
+
_this2.userModel = data;
|
|
33925
33960
|
} else {
|
|
33926
33961
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
33927
|
-
|
|
33962
|
+
_this2.$message.error(msg);
|
|
33928
33963
|
}
|
|
33929
33964
|
}).catch(function (err) {
|
|
33930
33965
|
if (err.message && err.message !== 'canceled') {
|
|
33931
|
-
|
|
33966
|
+
_this2.$message.error(err.message);
|
|
33932
33967
|
}
|
|
33933
33968
|
});
|
|
33934
33969
|
}
|
|
@@ -34022,7 +34057,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34022
34057
|
this.mixOrgIdList = mixList;
|
|
34023
34058
|
},
|
|
34024
34059
|
getNodeType: function getNodeType() {
|
|
34025
|
-
var
|
|
34060
|
+
var _this3 = this;
|
|
34026
34061
|
|
|
34027
34062
|
utils_util["a" /* default */].ajax({
|
|
34028
34063
|
url: api["z" /* findCodeValues */],
|
|
@@ -34035,23 +34070,23 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34035
34070
|
data = res.data;
|
|
34036
34071
|
|
|
34037
34072
|
if (status === 'success') {
|
|
34038
|
-
|
|
34073
|
+
_this3.nextNode.noticeList = data;
|
|
34039
34074
|
}
|
|
34040
34075
|
}).catch(function (err) {
|
|
34041
|
-
if (
|
|
34042
|
-
|
|
34076
|
+
if (_this3.showBtn) {
|
|
34077
|
+
_this3.loading = false;
|
|
34043
34078
|
} else {
|
|
34044
|
-
|
|
34079
|
+
_this3.allLoading.close();
|
|
34045
34080
|
}
|
|
34046
34081
|
if (err.message && err.message !== 'canceled') {
|
|
34047
|
-
|
|
34082
|
+
_this3.$message.error(err.message);
|
|
34048
34083
|
}
|
|
34049
34084
|
});
|
|
34050
34085
|
},
|
|
34051
34086
|
|
|
34052
34087
|
//获取通知信息
|
|
34053
34088
|
getMessage: function getMessage() {
|
|
34054
|
-
var
|
|
34089
|
+
var _this4 = this;
|
|
34055
34090
|
|
|
34056
34091
|
var params = {
|
|
34057
34092
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -34063,21 +34098,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34063
34098
|
}
|
|
34064
34099
|
utils_util["a" /* default */].ajax({ url: api["S" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
34065
34100
|
if (res.status === 'success') {
|
|
34066
|
-
if (!
|
|
34067
|
-
|
|
34068
|
-
|
|
34101
|
+
if (!_this4.showBtn) {
|
|
34102
|
+
_this4.oldMessage = res.message;
|
|
34103
|
+
_this4.nextNode.noticeInfo = res.message.replace('{title}', _this4.formTitle);
|
|
34069
34104
|
} else {
|
|
34070
|
-
|
|
34105
|
+
_this4.nextNode.noticeInfo = res.message;
|
|
34071
34106
|
}
|
|
34072
34107
|
}
|
|
34073
34108
|
}).catch(function (err) {
|
|
34074
|
-
if (
|
|
34075
|
-
|
|
34109
|
+
if (_this4.showBtn) {
|
|
34110
|
+
_this4.loading = false;
|
|
34076
34111
|
} else {
|
|
34077
|
-
|
|
34112
|
+
_this4.allLoading.close();
|
|
34078
34113
|
}
|
|
34079
34114
|
if (err.message && err.message !== 'canceled') {
|
|
34080
|
-
|
|
34115
|
+
_this4.$message.error(err.message);
|
|
34081
34116
|
}
|
|
34082
34117
|
});
|
|
34083
34118
|
},
|
|
@@ -34087,11 +34122,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34087
34122
|
this.saveProcess(formName);
|
|
34088
34123
|
},
|
|
34089
34124
|
saveProcess: function saveProcess(formName) {
|
|
34090
|
-
var
|
|
34125
|
+
var _this5 = this;
|
|
34091
34126
|
|
|
34092
34127
|
this.$refs[formName].validate(function (valid) {
|
|
34093
34128
|
if (valid) {
|
|
34094
|
-
var _nextNode =
|
|
34129
|
+
var _nextNode = _this5.nextNode,
|
|
34095
34130
|
nextNode = _nextNode.nextNode,
|
|
34096
34131
|
nextUser = _nextNode.nextUser,
|
|
34097
34132
|
noticeInfo = _nextNode.noticeInfo,
|
|
@@ -34106,22 +34141,22 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34106
34141
|
// return this.$message.warning('请选择通知方式');
|
|
34107
34142
|
// }
|
|
34108
34143
|
|
|
34109
|
-
if (
|
|
34110
|
-
if (nextUser == '' ||
|
|
34111
|
-
return
|
|
34144
|
+
if (_this5.isShowNextUser) {
|
|
34145
|
+
if (nextUser == '' || _this5.multiple && nextUser.length == 0) {
|
|
34146
|
+
return _this5.$message.warning('请选择下步办理人');
|
|
34112
34147
|
}
|
|
34113
34148
|
} else {
|
|
34114
|
-
if (nextOrgId == '' ||
|
|
34115
|
-
return
|
|
34149
|
+
if (nextOrgId == '' || _this5.multiple && nextOrgId.length == 0) {
|
|
34150
|
+
return _this5.$message.warning('请选择办理对象');
|
|
34116
34151
|
}
|
|
34117
34152
|
}
|
|
34118
|
-
if (
|
|
34119
|
-
|
|
34153
|
+
if (_this5.showBtn) {
|
|
34154
|
+
_this5.loading = true;
|
|
34120
34155
|
} else {
|
|
34121
|
-
|
|
34156
|
+
_this5.allLoading = utils_util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
34122
34157
|
}
|
|
34123
34158
|
var newNextUser = [];
|
|
34124
|
-
if (
|
|
34159
|
+
if (_this5.multiple) {
|
|
34125
34160
|
nextUser && nextUser.map(function (item) {
|
|
34126
34161
|
return newNextUser.push(item);
|
|
34127
34162
|
});
|
|
@@ -34131,79 +34166,79 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34131
34166
|
newNoticeType = noticeType.join(',');
|
|
34132
34167
|
}
|
|
34133
34168
|
var params = {
|
|
34134
|
-
processDefinitionId:
|
|
34135
|
-
nextUserId:
|
|
34169
|
+
processDefinitionId: _this5.processDefinitionId,
|
|
34170
|
+
nextUserId: _this5.multiple ? newNextUser.join(',') : nextUser,
|
|
34136
34171
|
customLimitTime: customLimitTime,
|
|
34137
34172
|
nextNodeId: nextNode,
|
|
34138
|
-
businessId:
|
|
34173
|
+
businessId: _this5.businessId,
|
|
34139
34174
|
notificationType: newNoticeType,
|
|
34140
34175
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
34141
34176
|
notificationMsg: noticeInfo,
|
|
34142
|
-
customPresetUserJson: JSON.stringify(
|
|
34143
|
-
presetUserJson: JSON.stringify(
|
|
34144
|
-
nextReadUserId:
|
|
34145
|
-
nextOrgId: !
|
|
34177
|
+
customPresetUserJson: JSON.stringify(_this5.presetList),
|
|
34178
|
+
presetUserJson: JSON.stringify(_this5.presetUserJson),
|
|
34179
|
+
nextReadUserId: _this5.readMultiple ? _this5.mixReadList && _this5.mixReadList.join('|') : nextReadUserId,
|
|
34180
|
+
nextOrgId: !_this5.isShowNextUser ? _this5.multiple ? _this5.mixOrgIdList && _this5.mixOrgIdList.join('|') : nextOrgId : '',
|
|
34146
34181
|
handleExplain: handleExplain,
|
|
34147
|
-
presetReadUserId:
|
|
34148
|
-
opinion:
|
|
34182
|
+
presetReadUserId: _this5.mixPresetList && _this5.mixPresetList.length > 0 ? _this5.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
34183
|
+
opinion: _this5.newOpinion || newOpinion
|
|
34149
34184
|
};
|
|
34150
|
-
if (
|
|
34151
|
-
if (
|
|
34185
|
+
if (_this5.activeNames != '1') delete params.customPresetUserJson;
|
|
34186
|
+
if (_this5.isFreeStartFlow || _this5.formType === 'readTransfer') {
|
|
34152
34187
|
var newParm = {};
|
|
34153
|
-
newParm.copyHistory =
|
|
34188
|
+
newParm.copyHistory = _this5.copyHistory === 'needCopyPendedHistory';
|
|
34154
34189
|
newParm.startFlowParamJson = params;
|
|
34155
34190
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
34156
34191
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
34157
|
-
startFlowFirstNodeName:
|
|
34192
|
+
startFlowFirstNodeName: _this5.taskExamineParam
|
|
34158
34193
|
};
|
|
34159
34194
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
34160
|
-
for (var key in
|
|
34161
|
-
if (Array.isArray(
|
|
34162
|
-
|
|
34195
|
+
for (var key in _this5.taskParams) {
|
|
34196
|
+
if (Array.isArray(_this5.taskParams[key])) {
|
|
34197
|
+
_this5.taskParams[key] = _this5.taskParams[key].length > 0 ? _this5.taskParams[key].join(',') : '';
|
|
34163
34198
|
}
|
|
34164
34199
|
}
|
|
34165
34200
|
|
|
34166
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
34167
|
-
if (
|
|
34201
|
+
newParm.submitTaskParamJson = JSON.stringify(_this5.taskParams);
|
|
34202
|
+
if (_this5.formType == 'readTransfer') {
|
|
34168
34203
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
34169
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
34204
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this5.taskParams);
|
|
34170
34205
|
delete newParm.copyHistory;
|
|
34171
34206
|
delete newParm.startFlowParamJson;
|
|
34172
34207
|
delete newParm.submitTaskParamJson;
|
|
34173
34208
|
}
|
|
34174
34209
|
params = newParm;
|
|
34175
34210
|
}
|
|
34176
|
-
if (
|
|
34177
|
-
params.pendingId =
|
|
34211
|
+
if (_this5.copyHistory && !_this5.isFreeStartFlow) {
|
|
34212
|
+
params.pendingId = _this5.pendingId;
|
|
34178
34213
|
delete params.businessId;
|
|
34179
34214
|
}
|
|
34180
34215
|
utils_util["a" /* default */].ajax({
|
|
34181
|
-
url:
|
|
34216
|
+
url: _this5.isFreeStartFlow ? api["F" /* freeStartFlowWithSubmitTask */] : _this5.formType == 'readTransfer' ? api["Kb" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this5.copyHistory ? api["E" /* freeStartFlow */] : api["Ab" /* register */],
|
|
34182
34217
|
method: 'post',
|
|
34183
34218
|
data: params
|
|
34184
34219
|
}).then(function (res) {
|
|
34185
34220
|
var status = res.status,
|
|
34186
34221
|
message = res.message;
|
|
34187
34222
|
|
|
34188
|
-
if (
|
|
34189
|
-
|
|
34223
|
+
if (_this5.showBtn) {
|
|
34224
|
+
_this5.loading = false;
|
|
34190
34225
|
} else {
|
|
34191
|
-
|
|
34226
|
+
_this5.allLoading.close();
|
|
34192
34227
|
}
|
|
34193
34228
|
if (status === 'success' || res.rCode == 0) {
|
|
34194
|
-
|
|
34195
|
-
|
|
34229
|
+
_this5.quit(true);
|
|
34230
|
+
_this5.simpleTips && _this5.$message.success('操作成功');
|
|
34196
34231
|
} else {
|
|
34197
|
-
|
|
34232
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
34198
34233
|
}
|
|
34199
34234
|
}).catch(function (err) {
|
|
34200
|
-
if (
|
|
34201
|
-
|
|
34235
|
+
if (_this5.showBtn) {
|
|
34236
|
+
_this5.loading = false;
|
|
34202
34237
|
} else {
|
|
34203
|
-
|
|
34238
|
+
_this5.allLoading.close();
|
|
34204
34239
|
}
|
|
34205
34240
|
if (err.message && err.message !== 'canceled') {
|
|
34206
|
-
|
|
34241
|
+
_this5.$message.error(err.message);
|
|
34207
34242
|
}
|
|
34208
34243
|
});
|
|
34209
34244
|
} else {
|
|
@@ -34212,7 +34247,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34212
34247
|
});
|
|
34213
34248
|
},
|
|
34214
34249
|
getNodeInfos: function getNodeInfos(nodeId, index) {
|
|
34215
|
-
var
|
|
34250
|
+
var _this6 = this;
|
|
34216
34251
|
|
|
34217
34252
|
var params = {
|
|
34218
34253
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -34229,72 +34264,72 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34229
34264
|
countersignaturetypeText = _res$data.countersignaturetypeText,
|
|
34230
34265
|
countersignaturetypeCode = _res$data.countersignaturetypeCode;
|
|
34231
34266
|
|
|
34232
|
-
if (
|
|
34233
|
-
|
|
34267
|
+
if (_this6.showBtn) {
|
|
34268
|
+
_this6.loading = false;
|
|
34234
34269
|
} else {
|
|
34235
|
-
|
|
34270
|
+
_this6.allLoading.close();
|
|
34236
34271
|
}
|
|
34237
34272
|
if (status === 'success') {
|
|
34238
|
-
|
|
34239
|
-
|
|
34240
|
-
|
|
34241
|
-
|
|
34242
|
-
|
|
34243
|
-
|
|
34244
|
-
|
|
34245
|
-
|
|
34246
|
-
|
|
34273
|
+
_this6.nextNode.userInfo = nextUserList;
|
|
34274
|
+
_this6.countersignaturetypeCode = countersignaturetypeCode;
|
|
34275
|
+
_this6.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
34276
|
+
_this6.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
34277
|
+
_this6.isTaskread = nodeExtAttr.isTaskread;
|
|
34278
|
+
_this6.isHandleExplain = nodeExtAttr.isHandleExplain;
|
|
34279
|
+
_this6.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
|
|
34280
|
+
_this6.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
|
|
34281
|
+
_this6.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
|
|
34247
34282
|
if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
|
|
34248
|
-
|
|
34283
|
+
_this6.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
|
|
34249
34284
|
} else {
|
|
34250
|
-
var _isMultiple =
|
|
34285
|
+
var _isMultiple = _this6.isMultiple(nodeExtAttr.userSelectionType),
|
|
34251
34286
|
multiple = _isMultiple.multiple,
|
|
34252
34287
|
_params = _isMultiple.params;
|
|
34253
34288
|
|
|
34254
|
-
|
|
34255
|
-
|
|
34289
|
+
_this6.multiple = multiple;
|
|
34290
|
+
_this6.params = _params;
|
|
34256
34291
|
}
|
|
34257
34292
|
// this.isReadMultiple(nodeExtAttr.userSelectionType);
|
|
34258
34293
|
|
|
34259
34294
|
nextUserList.map(function (item) {
|
|
34260
|
-
if (
|
|
34261
|
-
|
|
34262
|
-
|
|
34295
|
+
if (_this6.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
|
|
34296
|
+
_this6.nextNode.nextUser.push(item.userId);
|
|
34297
|
+
_this6.selectUserList.push({
|
|
34263
34298
|
showname: item.username,
|
|
34264
34299
|
showid: item.userId
|
|
34265
34300
|
});
|
|
34266
34301
|
}
|
|
34267
34302
|
|
|
34268
|
-
|
|
34303
|
+
_this6.options.push({
|
|
34269
34304
|
showname: item.username,
|
|
34270
34305
|
showid: item.userId
|
|
34271
34306
|
});
|
|
34272
34307
|
});
|
|
34273
|
-
if (
|
|
34274
|
-
|
|
34308
|
+
if (_this6.multiple) {
|
|
34309
|
+
_this6.nextNode.nextReadUserId = [];
|
|
34275
34310
|
} else {
|
|
34276
|
-
|
|
34311
|
+
_this6.nextNode.nextReadUserId = '';
|
|
34277
34312
|
}
|
|
34278
|
-
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !
|
|
34279
|
-
|
|
34280
|
-
|
|
34313
|
+
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this6.multiple) {
|
|
34314
|
+
_this6.nextNode.nextUser = nextUserList[0].userId;
|
|
34315
|
+
_this6.selectUserList.push({
|
|
34281
34316
|
showname: nextUserList[0].username,
|
|
34282
34317
|
showid: nextUserList[0].userId
|
|
34283
34318
|
});
|
|
34284
34319
|
}
|
|
34285
|
-
|
|
34320
|
+
_this6.radioList = _this6.options;
|
|
34286
34321
|
} else {
|
|
34287
|
-
|
|
34322
|
+
_this6.$message.error(message || '系统错误,请联系管理员!');
|
|
34288
34323
|
}
|
|
34289
|
-
nodeId &&
|
|
34324
|
+
nodeId && _this6.$refs.selectUser[index].changeInfo();
|
|
34290
34325
|
}).catch(function (err) {
|
|
34291
|
-
if (
|
|
34292
|
-
|
|
34326
|
+
if (_this6.showBtn) {
|
|
34327
|
+
_this6.loading = false;
|
|
34293
34328
|
} else {
|
|
34294
|
-
|
|
34329
|
+
_this6.allLoading.close();
|
|
34295
34330
|
}
|
|
34296
34331
|
if (err.message && err.message !== 'canceled') {
|
|
34297
|
-
|
|
34332
|
+
_this6.$message.error(err.message);
|
|
34298
34333
|
}
|
|
34299
34334
|
});
|
|
34300
34335
|
},
|
|
@@ -34317,7 +34352,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34317
34352
|
this.$emit('cancel', false);
|
|
34318
34353
|
},
|
|
34319
34354
|
getFind: function getFind() {
|
|
34320
|
-
var
|
|
34355
|
+
var _this7 = this;
|
|
34321
34356
|
|
|
34322
34357
|
utils_util["a" /* default */].ajax({
|
|
34323
34358
|
url: api["B" /* findSysCodes */]
|
|
@@ -34326,27 +34361,27 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34326
34361
|
message = res.message;
|
|
34327
34362
|
|
|
34328
34363
|
if (status === 'success') {
|
|
34329
|
-
|
|
34364
|
+
_this7.nextNode.noticeType = message.split(',');
|
|
34330
34365
|
var arr = [];
|
|
34331
|
-
|
|
34332
|
-
|
|
34366
|
+
_this7.nextNode.noticeList.map(function (item) {
|
|
34367
|
+
_this7.nextNode.noticeType.map(function (x) {
|
|
34333
34368
|
if (x == item.cciValue) {
|
|
34334
34369
|
arr.push(x);
|
|
34335
34370
|
}
|
|
34336
34371
|
});
|
|
34337
34372
|
});
|
|
34338
|
-
|
|
34373
|
+
_this7.nextNode.noticeType = arr;
|
|
34339
34374
|
} else {
|
|
34340
|
-
|
|
34375
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
34341
34376
|
}
|
|
34342
34377
|
}).catch(function (err) {
|
|
34343
|
-
if (
|
|
34344
|
-
|
|
34378
|
+
if (_this7.showBtn) {
|
|
34379
|
+
_this7.loading = false;
|
|
34345
34380
|
} else {
|
|
34346
|
-
|
|
34381
|
+
_this7.allLoading.close();
|
|
34347
34382
|
}
|
|
34348
34383
|
if (err.message && err.message !== 'canceled') {
|
|
34349
|
-
|
|
34384
|
+
_this7.$message.error(err.message);
|
|
34350
34385
|
}
|
|
34351
34386
|
});
|
|
34352
34387
|
},
|
|
@@ -34389,7 +34424,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34389
34424
|
return { multiple: multiple, params: params };
|
|
34390
34425
|
},
|
|
34391
34426
|
getStartFlow: function getStartFlow(processId) {
|
|
34392
|
-
var
|
|
34427
|
+
var _this8 = this;
|
|
34393
34428
|
|
|
34394
34429
|
if (!processId) {
|
|
34395
34430
|
return false;
|
|
@@ -34406,100 +34441,100 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34406
34441
|
businessId: this.businessId
|
|
34407
34442
|
};
|
|
34408
34443
|
// 获取节点
|
|
34409
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
34444
|
+
utils_util["a" /* default */].ajax({ url: api["cc" /* toStartFlow */], params: params }).then(function (res) {
|
|
34410
34445
|
//pc接口返回数据处理
|
|
34411
34446
|
var status = res.status,
|
|
34412
34447
|
message = res.message,
|
|
34413
34448
|
data = res.data;
|
|
34414
34449
|
|
|
34415
34450
|
if (status == 'success') {
|
|
34416
|
-
data.nodeInfoMap.nodeExtAttr.submitTipsMsg &&
|
|
34451
|
+
data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this8.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
|
|
34417
34452
|
confirmButtonText: '确定',
|
|
34418
34453
|
cancelButtonText: '取消',
|
|
34419
34454
|
type: 'warning'
|
|
34420
34455
|
}).then(function () {}).catch(function () {
|
|
34421
|
-
|
|
34456
|
+
_this8.quit();
|
|
34422
34457
|
});
|
|
34423
|
-
data.nextNodeCheckType && (
|
|
34424
|
-
data.nextOperateCheckType && (
|
|
34425
|
-
|
|
34426
|
-
|
|
34427
|
-
|
|
34428
|
-
|
|
34429
|
-
|
|
34430
|
-
|
|
34431
|
-
|
|
34432
|
-
|
|
34433
|
-
|
|
34434
|
-
|
|
34435
|
-
if (
|
|
34436
|
-
|
|
34458
|
+
data.nextNodeCheckType && (_this8.nextNodeCheckType = data.nextNodeCheckType);
|
|
34459
|
+
data.nextOperateCheckType && (_this8.nextOperateCheckType = data.nextOperateCheckType);
|
|
34460
|
+
_this8.customPresetHintMessage = data.customPresetHintMessage;
|
|
34461
|
+
_this8.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
34462
|
+
_this8.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
34463
|
+
_this8.nextNode.nodeInfo = data.nextNodeList;
|
|
34464
|
+
_this8.nextNode.nextNode = data.nextNodeList[0].nodeId;
|
|
34465
|
+
_this8.isPreset = data.isPreset;
|
|
34466
|
+
_this8.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
|
|
34467
|
+
_this8.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
34468
|
+
_this8.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
34469
|
+
_this8.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
|
|
34470
|
+
if (_this8.isChooseNextNode == 1) {
|
|
34471
|
+
_this8.operationList = [{ key: 0, value: '默认', list: [] }, { key: 1, value: '自定义', list: [] }];
|
|
34437
34472
|
var arr = [];
|
|
34438
34473
|
for (var key in data.taskNodeMap) {
|
|
34439
34474
|
arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
|
|
34440
34475
|
}
|
|
34441
|
-
|
|
34442
|
-
|
|
34443
|
-
if (
|
|
34444
|
-
|
|
34445
|
-
|
|
34446
|
-
if (
|
|
34476
|
+
_this8.operationList[0].list = data.nextNodeList;
|
|
34477
|
+
_this8.operationList[1].list = arr;
|
|
34478
|
+
if (_this8.isHideDefaultOperation != 1) {
|
|
34479
|
+
_this8.nextNode.nextOperate = 0;
|
|
34480
|
+
_this8.nextNode.nodeInfo = _this8.operationList[0].list;
|
|
34481
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
34447
34482
|
var defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
34448
|
-
return x.nodeId ==
|
|
34483
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
34449
34484
|
});
|
|
34450
|
-
|
|
34485
|
+
_this8.nextNode.nextNode = defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
34451
34486
|
}
|
|
34452
34487
|
} else if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
|
|
34453
34488
|
// this.nextNode.nodeInfo = data.nextNodeList
|
|
34454
|
-
|
|
34455
|
-
|
|
34456
|
-
if (
|
|
34489
|
+
_this8.nextNode.nextOperate = 1;
|
|
34490
|
+
_this8.nextNode.nodeInfo = _this8.operationList[1].list;
|
|
34491
|
+
if (_this8.nextNode.nodeInfo.length > 0) {
|
|
34457
34492
|
var _defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
34458
|
-
return x.nodeId ==
|
|
34493
|
+
return x.nodeId == _this8.defaultNextNode;
|
|
34459
34494
|
});
|
|
34460
|
-
|
|
34495
|
+
_this8.nextNode.nextNode = _defaultNodeData.length > 0 ? _this8.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
34461
34496
|
}
|
|
34462
34497
|
}
|
|
34463
34498
|
}
|
|
34464
|
-
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
|
|
34468
|
-
|
|
34499
|
+
_this8.isCustomPreset = data.isCustomPreset;
|
|
34500
|
+
_this8.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
|
|
34501
|
+
_this8.presetTaskNodeMap = data.presetTaskNodeMap;
|
|
34502
|
+
_this8.isSinglePage = data.taskExamine.isSinglePage;
|
|
34503
|
+
_this8.isSinglePage && (_this8.nextNode.opinion = data.taskExamine.opinion);
|
|
34469
34504
|
// this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
|
|
34470
|
-
|
|
34471
|
-
|
|
34505
|
+
_this8.nextNode.nodeName = data.taskExamine.nodeName;
|
|
34506
|
+
_this8.canPresetRead = data.canPresetRead;
|
|
34472
34507
|
if (data.canPresetRead) {
|
|
34473
34508
|
var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
34474
34509
|
var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
34475
34510
|
ids.map(function (item, index) {
|
|
34476
|
-
|
|
34511
|
+
_this8.presetReadUserId.push({
|
|
34477
34512
|
showid: item,
|
|
34478
34513
|
showname: names[index]
|
|
34479
34514
|
});
|
|
34480
|
-
|
|
34515
|
+
_this8.selectPresetUserList.push({
|
|
34481
34516
|
showid: item,
|
|
34482
34517
|
showname: names[index]
|
|
34483
34518
|
});
|
|
34484
|
-
|
|
34519
|
+
_this8.nextNode.presetReadUserId.push(item);
|
|
34485
34520
|
});
|
|
34486
34521
|
}
|
|
34487
|
-
|
|
34522
|
+
_this8.getNodeInfos();
|
|
34488
34523
|
// this.getPresetFlowInfo();
|
|
34489
|
-
|
|
34490
|
-
|
|
34491
|
-
|
|
34524
|
+
_this8.isCustomPreset && _this8.$refs.customPreset.getPresetFlowInfo(_this8.nextNode.nextNode);
|
|
34525
|
+
_this8.getFind();
|
|
34526
|
+
_this8.getMessage();
|
|
34492
34527
|
} else {
|
|
34493
|
-
|
|
34528
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
34494
34529
|
}
|
|
34495
34530
|
}).catch(function (err) {
|
|
34496
|
-
if (
|
|
34497
|
-
|
|
34531
|
+
if (_this8.showBtn) {
|
|
34532
|
+
_this8.loading = false;
|
|
34498
34533
|
} else {
|
|
34499
|
-
|
|
34534
|
+
_this8.allLoading.close();
|
|
34500
34535
|
}
|
|
34501
34536
|
if (err.message && err.message !== 'canceled') {
|
|
34502
|
-
|
|
34537
|
+
_this8.$message.error(err.message);
|
|
34503
34538
|
}
|
|
34504
34539
|
});
|
|
34505
34540
|
}
|
|
@@ -34517,8 +34552,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
34517
34552
|
|
|
34518
34553
|
var processForm_component = normalizeComponent(
|
|
34519
34554
|
src_processFormvue_type_script_lang_js_,
|
|
34520
|
-
|
|
34521
|
-
|
|
34555
|
+
processFormvue_type_template_id_1672698e_render,
|
|
34556
|
+
processFormvue_type_template_id_1672698e_staticRenderFns,
|
|
34522
34557
|
false,
|
|
34523
34558
|
null,
|
|
34524
34559
|
null,
|
|
@@ -35048,7 +35083,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
35048
35083
|
notificationType = _sendInfo.notificationType;
|
|
35049
35084
|
|
|
35050
35085
|
var params = {
|
|
35051
|
-
url: api["
|
|
35086
|
+
url: api["Jb" /* sendMsg */],
|
|
35052
35087
|
headers: { Accept: 'application/json,text/plain' },
|
|
35053
35088
|
method: 'post',
|
|
35054
35089
|
data: {
|
|
@@ -35110,7 +35145,7 @@ SendMsgvue_type_template_id_5cb986c6_render._withStripped = true
|
|
|
35110
35145
|
|
|
35111
35146
|
this.loading = true;
|
|
35112
35147
|
utils_util["a" /* default */].ajax({
|
|
35113
|
-
url: api["
|
|
35148
|
+
url: api["bc" /* toSendMsg */],
|
|
35114
35149
|
params: { pendingId: this.$attrs.pendingId }
|
|
35115
35150
|
}).then(function (res) {
|
|
35116
35151
|
var status = res.status,
|
|
@@ -35981,7 +36016,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
35981
36016
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
35982
36017
|
nextNodeId: _this2.nextNode.nextNodeId
|
|
35983
36018
|
};
|
|
35984
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
36019
|
+
utils_util["a" /* default */].ajax({ url: api["Rb" /* taskRejectHtml */], method: 'post', data: params }).then(function (res) {
|
|
35985
36020
|
var status = res.status,
|
|
35986
36021
|
message = res.message;
|
|
35987
36022
|
|
|
@@ -36045,7 +36080,7 @@ processRejectvue_type_template_id_9d3463f6_render._withStripped = true
|
|
|
36045
36080
|
isSinglePage: false,
|
|
36046
36081
|
opinion: this.option
|
|
36047
36082
|
};
|
|
36048
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
36083
|
+
utils_util["a" /* default */].ajax({ url: api["gc" /* toTaskRejectHtml */], params: params }).then(function (res) {
|
|
36049
36084
|
var status = res.status,
|
|
36050
36085
|
message = res.message,
|
|
36051
36086
|
_res$data = res.data,
|
|
@@ -36856,7 +36891,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
36856
36891
|
taskExamine = this.taskExamine;
|
|
36857
36892
|
|
|
36858
36893
|
var params = {
|
|
36859
|
-
url: api["
|
|
36894
|
+
url: api["mc" /* toTaskTransferIndex */],
|
|
36860
36895
|
params: {
|
|
36861
36896
|
opinion: opinion,
|
|
36862
36897
|
pendingId: pendingId,
|
|
@@ -36981,7 +37016,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
36981
37016
|
var _this4 = this;
|
|
36982
37017
|
|
|
36983
37018
|
var params = {
|
|
36984
|
-
url: api["
|
|
37019
|
+
url: api["dc" /* toStartTaskRead */],
|
|
36985
37020
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
36986
37021
|
pendingId: this.pendingId,
|
|
36987
37022
|
taskAction: this.type
|
|
@@ -37074,7 +37109,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
37074
37109
|
type = this.type;
|
|
37075
37110
|
|
|
37076
37111
|
var params = {
|
|
37077
|
-
url: api["
|
|
37112
|
+
url: api["Vb" /* taskTransfer */],
|
|
37078
37113
|
data: {
|
|
37079
37114
|
choiceDeptId: choiceDeptId,
|
|
37080
37115
|
choiceOrgId: choiceOrgId,
|
|
@@ -37176,7 +37211,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
37176
37211
|
params = startTaskReadvue_type_script_lang_js_extends({}, params, _this8.subParams);
|
|
37177
37212
|
}
|
|
37178
37213
|
utils_util["a" /* default */].ajax({
|
|
37179
|
-
url: api["
|
|
37214
|
+
url: api["Pb" /* taskReadHtml */],
|
|
37180
37215
|
params: { taskAction: _this8.type },
|
|
37181
37216
|
headers: {
|
|
37182
37217
|
Accept: 'application/json,text/plain'
|
|
@@ -38133,7 +38168,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
38133
38168
|
if (mainConfig) {
|
|
38134
38169
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
38135
38170
|
} else {
|
|
38136
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
38171
|
+
utils_util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
38137
38172
|
var status = res.status,
|
|
38138
38173
|
data = res.data;
|
|
38139
38174
|
|
|
@@ -38346,7 +38381,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
38346
38381
|
}
|
|
38347
38382
|
if (_this4.activeNames != '1') delete params.customPresetUserJson;
|
|
38348
38383
|
utils_util["a" /* default */].ajax({
|
|
38349
|
-
url: _this4.type == 'reset' ? api["
|
|
38384
|
+
url: _this4.type == 'reset' ? api["Cb" /* resetProcess */] : api["Nb" /* taskContinuation */],
|
|
38350
38385
|
method: 'post',
|
|
38351
38386
|
data: params
|
|
38352
38387
|
}).then(function (res) {
|
|
@@ -38553,7 +38588,7 @@ var resetvue_type_script_lang_js_components;
|
|
|
38553
38588
|
var _this7 = this;
|
|
38554
38589
|
|
|
38555
38590
|
var params = {
|
|
38556
|
-
url: this.type == 'continuation' ? api["
|
|
38591
|
+
url: this.type == 'continuation' ? api["fc" /* toTaskContinuationIndex */] : api["ac" /* toResetProcessIndex */],
|
|
38557
38592
|
params: resetvue_type_script_lang_js_extends({
|
|
38558
38593
|
appId: this.appId
|
|
38559
38594
|
}, this.flowParams)
|
|
@@ -39146,7 +39181,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
39146
39181
|
pendingId = this.pendingId;
|
|
39147
39182
|
|
|
39148
39183
|
var params = {
|
|
39149
|
-
url: api["
|
|
39184
|
+
url: api["Sb" /* taskReview */],
|
|
39150
39185
|
data: {
|
|
39151
39186
|
nextUserId: nextOtherOrgObj.join(','),
|
|
39152
39187
|
notificationType: noticeType.join(','),
|
|
@@ -39182,7 +39217,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
39182
39217
|
var _this2 = this;
|
|
39183
39218
|
|
|
39184
39219
|
var params = {
|
|
39185
|
-
url: api["
|
|
39220
|
+
url: api["hc" /* toTaskReview */],
|
|
39186
39221
|
params: { pendingId: this.pendingId }
|
|
39187
39222
|
};
|
|
39188
39223
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
@@ -39218,7 +39253,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
39218
39253
|
var _this3 = this;
|
|
39219
39254
|
|
|
39220
39255
|
var params = {
|
|
39221
|
-
url: this.type == 'takeAdvice' ? api["
|
|
39256
|
+
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 */],
|
|
39222
39257
|
params: { pendingId: this.pendingId },
|
|
39223
39258
|
headers: { Accept: 'application/json,text/plain' }
|
|
39224
39259
|
};
|
|
@@ -39356,7 +39391,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
39356
39391
|
// if (this.type != 'startDraf' && this.type != 'unionSeal' && this.type != 'twoOfficesDispatch')
|
|
39357
39392
|
// return this.$message.warning('暂未开放,敬请期待!');
|
|
39358
39393
|
var param = {
|
|
39359
|
-
url: this.type === 'startDraf' ? api["
|
|
39394
|
+
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 */],
|
|
39360
39395
|
data: {
|
|
39361
39396
|
opinion: opinion,
|
|
39362
39397
|
pendingId: pendingId,
|
|
@@ -42795,7 +42830,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
42795
42830
|
taskAction: 'complete'
|
|
42796
42831
|
};
|
|
42797
42832
|
utils_util["a" /* default */].ajax({
|
|
42798
|
-
url: api["
|
|
42833
|
+
url: api["Pb" /* taskReadHtml */],
|
|
42799
42834
|
params: { taskAction: 'complete' },
|
|
42800
42835
|
headers: {
|
|
42801
42836
|
Accept: 'application/json,text/plain'
|
|
@@ -42827,7 +42862,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
42827
42862
|
|
|
42828
42863
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
|
|
42829
42864
|
utils_util["a" /* default */].ajax({
|
|
42830
|
-
url: api["
|
|
42865
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
42831
42866
|
params: { pendingId: this.pendingId }
|
|
42832
42867
|
}).then(function (res) {
|
|
42833
42868
|
var status = res.status,
|
|
@@ -42863,7 +42898,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
42863
42898
|
if (mainConfig) {
|
|
42864
42899
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
42865
42900
|
} else {
|
|
42866
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
42901
|
+
utils_util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
42867
42902
|
var status = res.status,
|
|
42868
42903
|
data = res.data;
|
|
42869
42904
|
|
|
@@ -42965,7 +43000,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
42965
43000
|
pendingId: this.pendingId
|
|
42966
43001
|
};
|
|
42967
43002
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '保存中...');
|
|
42968
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
43003
|
+
utils_util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], params: params }).then(function (res) {
|
|
42969
43004
|
var status = res.status,
|
|
42970
43005
|
message = res.message;
|
|
42971
43006
|
|
|
@@ -43259,7 +43294,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
43259
43294
|
var _this15 = this;
|
|
43260
43295
|
|
|
43261
43296
|
var params = {
|
|
43262
|
-
url: api["
|
|
43297
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
43263
43298
|
data: {
|
|
43264
43299
|
appId: this.taskExamineInfo.appId,
|
|
43265
43300
|
inevitableNode: res.inevitableNode
|
|
@@ -43369,7 +43404,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
43369
43404
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
43370
43405
|
// return this.$message.warning('请填写意见');
|
|
43371
43406
|
var params = {
|
|
43372
|
-
url: api["
|
|
43407
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
43373
43408
|
headers: { Accept: 'application/json,text/plain' },
|
|
43374
43409
|
method: 'post',
|
|
43375
43410
|
data: {
|
|
@@ -44034,7 +44069,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
44034
44069
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
44035
44070
|
type: 2
|
|
44036
44071
|
};
|
|
44037
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
44072
|
+
utils_util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
44038
44073
|
var rCode = res.rCode,
|
|
44039
44074
|
msg = res.msg,
|
|
44040
44075
|
results = res.results;
|
|
@@ -44230,7 +44265,7 @@ function freeStartFlowvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
44230
44265
|
params.isSubFlow = taskExamineInfo.isSubFlow;
|
|
44231
44266
|
params.nodeId = taskExamineInfo.nodeId;
|
|
44232
44267
|
params.needRetrialAuth = needRetrialAuth;
|
|
44233
|
-
return _context.abrupt('return', utils_util["a" /* default */].ajax({ url: api["
|
|
44268
|
+
return _context.abrupt('return', utils_util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
44234
44269
|
var status = res.status,
|
|
44235
44270
|
message = res.message;
|
|
44236
44271
|
|
|
@@ -44590,7 +44625,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
44590
44625
|
pendingUserIds = _nextNode.pendingUserIds;
|
|
44591
44626
|
|
|
44592
44627
|
var params = {
|
|
44593
|
-
url: api["
|
|
44628
|
+
url: api["kc" /* toTaskSuperviseSub */],
|
|
44594
44629
|
params: {
|
|
44595
44630
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
44596
44631
|
urgeUserIds: pendingUserIds,
|
|
@@ -44616,7 +44651,7 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
44616
44651
|
|
|
44617
44652
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
|
|
44618
44653
|
utils_util["a" /* default */].ajax({
|
|
44619
|
-
url: api["
|
|
44654
|
+
url: api["jc" /* toTaskSupervise */],
|
|
44620
44655
|
params: {
|
|
44621
44656
|
businessId: this.businessId,
|
|
44622
44657
|
appId: this.appId,
|
|
@@ -46389,6 +46424,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46389
46424
|
//
|
|
46390
46425
|
//
|
|
46391
46426
|
//
|
|
46427
|
+
//
|
|
46428
|
+
//
|
|
46429
|
+
//
|
|
46392
46430
|
|
|
46393
46431
|
|
|
46394
46432
|
|
|
@@ -46443,6 +46481,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46443
46481
|
callBack();
|
|
46444
46482
|
}
|
|
46445
46483
|
},
|
|
46484
|
+
urgencyLevel: {
|
|
46485
|
+
type: [String, Number],
|
|
46486
|
+
default: ''
|
|
46487
|
+
},
|
|
46446
46488
|
beforeSubmit: Function,
|
|
46447
46489
|
title: { type: String, default: '流程办理' },
|
|
46448
46490
|
formTitle: { type: String, default: '' },
|
|
@@ -46621,7 +46663,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46621
46663
|
notificationType: [], // 通知方式
|
|
46622
46664
|
isLimitedTime: '2', // 是否限时办理
|
|
46623
46665
|
mainSubId: ''
|
|
46624
|
-
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.nodeInfo = {
|
|
46666
|
+
}, _ref.nodeInfos = [], _ref.nextFlowNode = '', _ref.currentOrgName = '', _ref.otherOrgName = '', _ref.needRetrialAuth = false, _ref.msgTypeCount = 0, _ref.nodeInfo = {
|
|
46625
46667
|
nextNode: '',
|
|
46626
46668
|
nextUser: '',
|
|
46627
46669
|
option: []
|
|
@@ -46643,6 +46685,18 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46643
46685
|
},
|
|
46644
46686
|
|
|
46645
46687
|
watch: {
|
|
46688
|
+
urgencyLevel: {
|
|
46689
|
+
handler: function handler(val) {
|
|
46690
|
+
if (val && this.msgTypeCount != 0) {
|
|
46691
|
+
this.getAdminMsgType();
|
|
46692
|
+
} else {
|
|
46693
|
+
this.msgTypeCount++;
|
|
46694
|
+
}
|
|
46695
|
+
},
|
|
46696
|
+
|
|
46697
|
+
deep: true,
|
|
46698
|
+
immediate: true
|
|
46699
|
+
},
|
|
46646
46700
|
isCirculate: {
|
|
46647
46701
|
handler: function handler(val) {
|
|
46648
46702
|
if (!val && this.showCirculate != undefined) {
|
|
@@ -46747,6 +46801,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46747
46801
|
}
|
|
46748
46802
|
},
|
|
46749
46803
|
methods: {
|
|
46804
|
+
getAdminMsgType: function getAdminMsgType() {
|
|
46805
|
+
var _this = this;
|
|
46806
|
+
|
|
46807
|
+
var params = {
|
|
46808
|
+
url: api["db" /* getUrgencyLevelChangedNotificationType */],
|
|
46809
|
+
params: { urgencyLevel: this.urgencyLevel }
|
|
46810
|
+
};
|
|
46811
|
+
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
46812
|
+
if (res.rCode == 0) {
|
|
46813
|
+
_this.newsList = res.results.latestChangedNotificationType;
|
|
46814
|
+
var arr = [];
|
|
46815
|
+
_this.newsList.map(function (item) {
|
|
46816
|
+
_this.nextNode.notificationType.map(function (x) {
|
|
46817
|
+
if (x == item.cciValue) {
|
|
46818
|
+
arr.push(x);
|
|
46819
|
+
}
|
|
46820
|
+
});
|
|
46821
|
+
});
|
|
46822
|
+
_this.nextNode.notificationType = arr;
|
|
46823
|
+
}
|
|
46824
|
+
});
|
|
46825
|
+
},
|
|
46750
46826
|
handleEndMessageChange: function handleEndMessageChange() {
|
|
46751
46827
|
this.$emit('endMessageChange', this.endMessage);
|
|
46752
46828
|
},
|
|
@@ -46766,7 +46842,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46766
46842
|
this.$refs.circulate.subMit();
|
|
46767
46843
|
},
|
|
46768
46844
|
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
46769
|
-
var
|
|
46845
|
+
var _this2 = this;
|
|
46770
46846
|
|
|
46771
46847
|
var params = {
|
|
46772
46848
|
url: api["R" /* getNodeInfoForStart */],
|
|
@@ -46774,9 +46850,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46774
46850
|
};
|
|
46775
46851
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
46776
46852
|
if (res.status == 'success') {
|
|
46777
|
-
|
|
46778
|
-
|
|
46779
|
-
|
|
46853
|
+
_this2.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
46854
|
+
_this2.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
46855
|
+
_this2.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
46780
46856
|
|
|
46781
46857
|
// if (this.directCreateCircularReadWhenFlowStarted) {
|
|
46782
46858
|
// this.nodeInfo.option.map((item) => {
|
|
@@ -46787,8 +46863,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46787
46863
|
// item.disabled = false;
|
|
46788
46864
|
// });
|
|
46789
46865
|
// }
|
|
46790
|
-
|
|
46791
|
-
|
|
46866
|
+
_this2.optionsKey++;
|
|
46867
|
+
_this2.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
|
|
46792
46868
|
}
|
|
46793
46869
|
});
|
|
46794
46870
|
},
|
|
@@ -46825,12 +46901,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46825
46901
|
this.handleVisible = true;
|
|
46826
46902
|
},
|
|
46827
46903
|
showMessage: function showMessage() {
|
|
46828
|
-
var
|
|
46904
|
+
var _this3 = this;
|
|
46829
46905
|
|
|
46830
46906
|
this.showNews = !this.showNews;
|
|
46831
46907
|
if (!this.showNews) return;
|
|
46832
46908
|
this.$nextTick(function () {
|
|
46833
|
-
|
|
46909
|
+
_this3.$refs.esContent.scrollTop += _this3.$refs.messagebox.clientHeight;
|
|
46834
46910
|
});
|
|
46835
46911
|
},
|
|
46836
46912
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
@@ -46904,7 +46980,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46904
46980
|
|
|
46905
46981
|
//获取附件
|
|
46906
46982
|
getFile: function getFile(ownId, code) {
|
|
46907
|
-
var
|
|
46983
|
+
var _this4 = this;
|
|
46908
46984
|
|
|
46909
46985
|
var params = {
|
|
46910
46986
|
url: api["H" /* getAdjunctFileInfos */],
|
|
@@ -46916,13 +46992,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46916
46992
|
msg = res.msg;
|
|
46917
46993
|
|
|
46918
46994
|
if (rCode == 0) {
|
|
46919
|
-
results && (
|
|
46995
|
+
results && (_this4.fileNum = results.length);
|
|
46920
46996
|
} else {
|
|
46921
|
-
|
|
46997
|
+
_this4.$message.error(msg || '系统错误,请联系管理员!');
|
|
46922
46998
|
}
|
|
46923
46999
|
}).catch(function (err) {
|
|
46924
47000
|
if (err.message && err.message !== 'canceled') {
|
|
46925
|
-
|
|
47001
|
+
_this4.$message.error(err.message);
|
|
46926
47002
|
}
|
|
46927
47003
|
});
|
|
46928
47004
|
},
|
|
@@ -46969,7 +47045,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46969
47045
|
}
|
|
46970
47046
|
},
|
|
46971
47047
|
taskRead: function taskRead() {
|
|
46972
|
-
var
|
|
47048
|
+
var _this5 = this;
|
|
46973
47049
|
|
|
46974
47050
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
46975
47051
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
@@ -46979,8 +47055,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46979
47055
|
cancelButtonText: '取消',
|
|
46980
47056
|
type: 'warning'
|
|
46981
47057
|
}).then(function () {
|
|
46982
|
-
|
|
46983
|
-
var _taskExamineInfo2 =
|
|
47058
|
+
_this5.loading = utils_util["a" /* default */].loading(_this5.$loading, '加载中...');
|
|
47059
|
+
var _taskExamineInfo2 = _this5.taskExamineInfo,
|
|
46984
47060
|
businessId = _taskExamineInfo2.businessId,
|
|
46985
47061
|
appId = _taskExamineInfo2.appId,
|
|
46986
47062
|
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
@@ -46991,11 +47067,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
46991
47067
|
appId: appId,
|
|
46992
47068
|
processDefinitionId: processDefinitionId,
|
|
46993
47069
|
pendingId: pendingId,
|
|
46994
|
-
opinion:
|
|
47070
|
+
opinion: _this5.value,
|
|
46995
47071
|
taskAction: 'complete'
|
|
46996
47072
|
};
|
|
46997
47073
|
utils_util["a" /* default */].ajax({
|
|
46998
|
-
url: api["
|
|
47074
|
+
url: api["Pb" /* taskReadHtml */],
|
|
46999
47075
|
params: { taskAction: 'complete' },
|
|
47000
47076
|
headers: {
|
|
47001
47077
|
Accept: 'application/json,text/plain'
|
|
@@ -47006,25 +47082,25 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47006
47082
|
var status = res.status,
|
|
47007
47083
|
message = res.message;
|
|
47008
47084
|
|
|
47009
|
-
|
|
47085
|
+
_this5.loading.close();
|
|
47010
47086
|
if (status === 'success') {
|
|
47011
|
-
|
|
47087
|
+
_this5.flowSuccess();
|
|
47012
47088
|
// this.$message.success('提交成功');
|
|
47013
47089
|
// this.$emit('success');
|
|
47014
47090
|
} else {
|
|
47015
|
-
|
|
47016
|
-
|
|
47091
|
+
_this5.$message.error(message || '系统错误,请联系管理员!');
|
|
47092
|
+
_this5.$emit('error');
|
|
47017
47093
|
}
|
|
47018
47094
|
}).catch(function (err) {
|
|
47019
|
-
|
|
47095
|
+
_this5.loading.close();
|
|
47020
47096
|
if (err.message && err.message !== 'canceled') {
|
|
47021
|
-
|
|
47097
|
+
_this5.$message.error(err.message);
|
|
47022
47098
|
}
|
|
47023
47099
|
});
|
|
47024
47100
|
}).catch(function () {});
|
|
47025
47101
|
},
|
|
47026
47102
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
47027
|
-
var
|
|
47103
|
+
var _this6 = this;
|
|
47028
47104
|
|
|
47029
47105
|
var params = {
|
|
47030
47106
|
url: api["d" /* checkBusinessIdStartedReadTransferHandle */],
|
|
@@ -47035,18 +47111,18 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47035
47111
|
}
|
|
47036
47112
|
};
|
|
47037
47113
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
47038
|
-
|
|
47114
|
+
_this6.loading.close();
|
|
47039
47115
|
if (res.rCode == 0) {
|
|
47040
|
-
|
|
47116
|
+
_this6.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
47041
47117
|
}
|
|
47042
47118
|
});
|
|
47043
47119
|
},
|
|
47044
47120
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
47045
|
-
var
|
|
47121
|
+
var _this7 = this;
|
|
47046
47122
|
|
|
47047
47123
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
|
|
47048
47124
|
utils_util["a" /* default */].ajax({
|
|
47049
|
-
url: api["
|
|
47125
|
+
url: api["ec" /* toStartTaskReadIndex */],
|
|
47050
47126
|
params: { pendingId: this.pendingId }
|
|
47051
47127
|
}).then(function (res) {
|
|
47052
47128
|
var status = res.status,
|
|
@@ -47059,50 +47135,50 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47059
47135
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
47060
47136
|
|
|
47061
47137
|
if (status === 'success') {
|
|
47062
|
-
|
|
47063
|
-
|
|
47064
|
-
|
|
47065
|
-
|
|
47066
|
-
|
|
47067
|
-
|
|
47068
|
-
if (
|
|
47069
|
-
|
|
47070
|
-
}
|
|
47071
|
-
if (
|
|
47072
|
-
|
|
47073
|
-
}
|
|
47074
|
-
|
|
47138
|
+
_this7.taskExamineInfo = taskExamine;
|
|
47139
|
+
_this7.nodeName = _this7.nodename || taskExamine.nodeName || '分阅';
|
|
47140
|
+
_this7.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
47141
|
+
_this7.nextNode.notificationMsg = defaultNotificationMessage;
|
|
47142
|
+
_this7.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
47143
|
+
_this7.isCanFenyue = isCanFenyue;
|
|
47144
|
+
if (_this7.nodeName) {
|
|
47145
|
+
_this7.NodeName = _this7.nodeName;
|
|
47146
|
+
}
|
|
47147
|
+
if (_this7.isCanReadTransferHandle) {
|
|
47148
|
+
_this7.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
47149
|
+
}
|
|
47150
|
+
_this7.getNodeType();
|
|
47075
47151
|
} else {
|
|
47076
|
-
|
|
47152
|
+
_this7.$message.error(message || '系统错误,请联系管理员!');
|
|
47077
47153
|
}
|
|
47078
|
-
|
|
47154
|
+
_this7.loading.close();
|
|
47079
47155
|
}).catch(function (err) {
|
|
47080
|
-
|
|
47156
|
+
_this7.loading.close();
|
|
47081
47157
|
if (err.message && err.message !== 'canceled') {
|
|
47082
|
-
|
|
47158
|
+
_this7.$message.error(err.message);
|
|
47083
47159
|
}
|
|
47084
47160
|
});
|
|
47085
47161
|
},
|
|
47086
47162
|
getUserInfo: function getUserInfo() {
|
|
47087
|
-
var
|
|
47163
|
+
var _this8 = this;
|
|
47088
47164
|
|
|
47089
47165
|
var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
|
|
47090
47166
|
if (mainConfig) {
|
|
47091
47167
|
this.userModel = JSON.parse(mainConfig).userModel;
|
|
47092
47168
|
} else {
|
|
47093
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
47169
|
+
utils_util["a" /* default */].ajax({ url: api["pb" /* loginUserInfo */] }).then(function (res) {
|
|
47094
47170
|
var status = res.status,
|
|
47095
47171
|
data = res.data;
|
|
47096
47172
|
|
|
47097
47173
|
if (status == 'success') {
|
|
47098
|
-
|
|
47174
|
+
_this8.userModel = data;
|
|
47099
47175
|
} else {
|
|
47100
47176
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
47101
|
-
|
|
47177
|
+
_this8.$message.error(msg);
|
|
47102
47178
|
}
|
|
47103
47179
|
}).catch(function (err) {
|
|
47104
47180
|
if (err.message && err.message !== 'canceled') {
|
|
47105
|
-
|
|
47181
|
+
_this8.$message.error(err.message);
|
|
47106
47182
|
}
|
|
47107
47183
|
});
|
|
47108
47184
|
}
|
|
@@ -47122,7 +47198,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47122
47198
|
}
|
|
47123
47199
|
},
|
|
47124
47200
|
getNodeType: function getNodeType() {
|
|
47125
|
-
var
|
|
47201
|
+
var _this9 = this;
|
|
47126
47202
|
|
|
47127
47203
|
utils_util["a" /* default */].ajax({
|
|
47128
47204
|
url: api["z" /* findCodeValues */],
|
|
@@ -47136,11 +47212,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47136
47212
|
data = res.data;
|
|
47137
47213
|
|
|
47138
47214
|
if (status === 'success') {
|
|
47139
|
-
|
|
47215
|
+
_this9.newsList = data;
|
|
47140
47216
|
}
|
|
47141
47217
|
}).catch(function (err) {
|
|
47142
47218
|
if (err.message && err.message !== 'canceled') {
|
|
47143
|
-
|
|
47219
|
+
_this9.$message.error(err.message);
|
|
47144
47220
|
}
|
|
47145
47221
|
});
|
|
47146
47222
|
},
|
|
@@ -47152,17 +47228,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47152
47228
|
* @date 2022年9月9日
|
|
47153
47229
|
**/
|
|
47154
47230
|
saveInfo: function saveInfo(type, btn) {
|
|
47155
|
-
var
|
|
47231
|
+
var _this10 = this;
|
|
47156
47232
|
|
|
47157
47233
|
if (this.isFlow) {
|
|
47158
47234
|
if (!type) {
|
|
47159
47235
|
if (btn && btn.before) {
|
|
47160
47236
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
47161
|
-
|
|
47237
|
+
_this10.$emit('save', _this10.businessIds);
|
|
47162
47238
|
}).catch(function (e) {});
|
|
47163
47239
|
} else if (this.beforeSubmit != undefined) {
|
|
47164
47240
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
47165
|
-
|
|
47241
|
+
_this10.$emit('save', _this10.businessIds);
|
|
47166
47242
|
}).catch(function (e) {});
|
|
47167
47243
|
} else {
|
|
47168
47244
|
this.$emit('save', this.businessIds);
|
|
@@ -47171,13 +47247,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47171
47247
|
} else {
|
|
47172
47248
|
if (btn && btn.before && !type) {
|
|
47173
47249
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
47174
|
-
|
|
47250
|
+
_this10.saveFlowInfo();
|
|
47175
47251
|
}).catch(function (e) {});
|
|
47176
47252
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
47177
47253
|
this.subFun(this.saveFlowInfo);
|
|
47178
47254
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
47179
47255
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
47180
|
-
|
|
47256
|
+
_this10.saveFlowInfo();
|
|
47181
47257
|
}).catch(function (e) {});
|
|
47182
47258
|
} else {
|
|
47183
47259
|
this.saveFlowInfo(type);
|
|
@@ -47185,28 +47261,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47185
47261
|
}
|
|
47186
47262
|
},
|
|
47187
47263
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
47188
|
-
var
|
|
47264
|
+
var _this11 = this;
|
|
47189
47265
|
|
|
47190
47266
|
var params = {
|
|
47191
47267
|
opinion: this.value,
|
|
47192
47268
|
pendingId: this.pendingId
|
|
47193
47269
|
};
|
|
47194
47270
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '保存中...');
|
|
47195
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
47271
|
+
utils_util["a" /* default */].ajax({ url: api["Yb" /* tempSave */], data: params, method: 'post' }).then(function (res) {
|
|
47196
47272
|
var status = res.status,
|
|
47197
47273
|
message = res.message;
|
|
47198
47274
|
|
|
47199
|
-
if (!isSave)
|
|
47275
|
+
if (!isSave) _this11.loading.close();
|
|
47200
47276
|
if (status == 'success') {
|
|
47201
47277
|
// this.$message.success('暂存成功');
|
|
47202
|
-
!isSave &&
|
|
47278
|
+
!isSave && _this11.$emit('save', _this11.businessIds);
|
|
47203
47279
|
} else {
|
|
47204
|
-
|
|
47280
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
47205
47281
|
}
|
|
47206
47282
|
}).catch(function (err) {
|
|
47207
|
-
if (!isSave)
|
|
47283
|
+
if (!isSave) _this11.loading.close();
|
|
47208
47284
|
if (err.message && err.message !== 'canceled') {
|
|
47209
|
-
|
|
47285
|
+
_this11.$message.error(err.message);
|
|
47210
47286
|
}
|
|
47211
47287
|
});
|
|
47212
47288
|
},
|
|
@@ -47218,7 +47294,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47218
47294
|
* @date 2022年5月25日
|
|
47219
47295
|
**/
|
|
47220
47296
|
rejectBtn: function rejectBtn() {
|
|
47221
|
-
var
|
|
47297
|
+
var _this12 = this;
|
|
47222
47298
|
|
|
47223
47299
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
47224
47300
|
if (!this.value) {
|
|
@@ -47226,7 +47302,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47226
47302
|
}
|
|
47227
47303
|
if (this.beforeSubmit != undefined) {
|
|
47228
47304
|
this.beforeSubmit(0).then(function (next) {
|
|
47229
|
-
|
|
47305
|
+
_this12.showReject = true;
|
|
47230
47306
|
}).catch(function (e) {});
|
|
47231
47307
|
} else {
|
|
47232
47308
|
this.showReject = true;
|
|
@@ -47240,14 +47316,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47240
47316
|
* @date 2022年5月25日
|
|
47241
47317
|
**/
|
|
47242
47318
|
taskReadBtn: function taskReadBtn() {
|
|
47243
|
-
var
|
|
47319
|
+
var _this13 = this;
|
|
47244
47320
|
|
|
47245
47321
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
47246
47322
|
if (this.beforeSubmit != undefined) {
|
|
47247
47323
|
this.beforeSubmit().then(function (next) {
|
|
47248
|
-
if (
|
|
47249
|
-
|
|
47250
|
-
|
|
47324
|
+
if (_this13.value === '') _this13.value = _this13.nodeDefaultRejectOpinion;
|
|
47325
|
+
_this13.taskReadType = 'create';
|
|
47326
|
+
_this13.showTaskRead = true;
|
|
47251
47327
|
}).catch(function (e) {});
|
|
47252
47328
|
} else {
|
|
47253
47329
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -47263,7 +47339,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47263
47339
|
* @date 2022年5月25日
|
|
47264
47340
|
**/
|
|
47265
47341
|
getFind: function getFind() {
|
|
47266
|
-
var
|
|
47342
|
+
var _this14 = this;
|
|
47267
47343
|
|
|
47268
47344
|
utils_util["a" /* default */].ajax({
|
|
47269
47345
|
url: api["B" /* findSysCodes */]
|
|
@@ -47272,25 +47348,25 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47272
47348
|
message = res.message;
|
|
47273
47349
|
|
|
47274
47350
|
if (status === 'success') {
|
|
47275
|
-
|
|
47351
|
+
_this14.nextNode.notificationType = message.split(',');
|
|
47276
47352
|
var arr = [];
|
|
47277
|
-
|
|
47278
|
-
|
|
47353
|
+
_this14.newsList.map(function (item) {
|
|
47354
|
+
_this14.nextNode.notificationType.map(function (x) {
|
|
47279
47355
|
if (x == item.cciValue) {
|
|
47280
47356
|
arr.push(x);
|
|
47281
47357
|
}
|
|
47282
47358
|
});
|
|
47283
47359
|
});
|
|
47284
|
-
|
|
47360
|
+
_this14.nextNode.notificationType = arr;
|
|
47285
47361
|
}
|
|
47286
47362
|
}).catch(function (err) {
|
|
47287
47363
|
if (err.message && err.message !== 'canceled') {
|
|
47288
|
-
|
|
47364
|
+
_this14.$message.error(err.message);
|
|
47289
47365
|
}
|
|
47290
47366
|
});
|
|
47291
47367
|
},
|
|
47292
47368
|
getFreeStartParams: function getFreeStartParams() {
|
|
47293
|
-
var
|
|
47369
|
+
var _this15 = this;
|
|
47294
47370
|
|
|
47295
47371
|
var _endFlowInfo = this.endFlowInfo,
|
|
47296
47372
|
businessId = _endFlowInfo.businessId,
|
|
@@ -47308,20 +47384,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47308
47384
|
};
|
|
47309
47385
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
|
|
47310
47386
|
utils_util["a" /* default */].ajax(param).then(function (res) {
|
|
47311
|
-
|
|
47387
|
+
_this15.loading.close();
|
|
47312
47388
|
if (res.rCode == 0 || res.status == 'success') {
|
|
47313
|
-
|
|
47314
|
-
if (res.results.useScene === 'multiInsMidwayWithSubmitScene')
|
|
47315
|
-
if (!
|
|
47316
|
-
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return
|
|
47389
|
+
_this15.freeStartFlowParams = res.results;
|
|
47390
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this15.subProcess('同意。', res.results.useScene);
|
|
47391
|
+
if (!_this15.freeValid) return;
|
|
47392
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this15.$message.warning('未找到流程定义!');
|
|
47317
47393
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
47318
|
-
|
|
47319
|
-
|
|
47394
|
+
_this15.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
47395
|
+
_this15.handleVisible = true;
|
|
47320
47396
|
} else {
|
|
47321
|
-
|
|
47397
|
+
_this15.showFreeStartFlow = true;
|
|
47322
47398
|
}
|
|
47323
47399
|
} else {
|
|
47324
|
-
|
|
47400
|
+
_this15.$message.error(res.message || '系统错误,请联系管理员!');
|
|
47325
47401
|
}
|
|
47326
47402
|
});
|
|
47327
47403
|
},
|
|
@@ -47334,53 +47410,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47334
47410
|
* @date 2022年5月25日
|
|
47335
47411
|
**/
|
|
47336
47412
|
endFlows: function endFlows(res) {
|
|
47337
|
-
var
|
|
47413
|
+
var _this16 = this;
|
|
47338
47414
|
|
|
47339
47415
|
if (this.beforeSubmit != undefined) {
|
|
47340
47416
|
this.beforeSubmit().then(function (next) {
|
|
47341
|
-
|
|
47417
|
+
_this16.saveEndFlows(res);
|
|
47342
47418
|
}).catch(function (e) {});
|
|
47343
47419
|
} else {
|
|
47344
47420
|
this.saveEndFlows(res);
|
|
47345
47421
|
}
|
|
47346
47422
|
},
|
|
47347
47423
|
saveEndFlows: function saveEndFlows(res) {
|
|
47348
|
-
var
|
|
47424
|
+
var _this17 = this;
|
|
47349
47425
|
|
|
47350
47426
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
47351
47427
|
var params = {
|
|
47352
47428
|
url: api["y" /* endFlowHtml */],
|
|
47353
47429
|
headers: { Accept: 'application/json,text/plain' },
|
|
47354
47430
|
method: 'post',
|
|
47355
|
-
data: flow_src_mainvue_type_script_lang_js_extends({},
|
|
47356
|
-
opinion:
|
|
47431
|
+
data: flow_src_mainvue_type_script_lang_js_extends({}, _this17.endFlowInfo, _this17.nextNode, {
|
|
47432
|
+
opinion: _this17.value,
|
|
47357
47433
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
47358
|
-
nextUserId:
|
|
47359
|
-
addSignUserId:
|
|
47360
|
-
customPresetUserJson: JSON.stringify(
|
|
47361
|
-
presetUserJson: JSON.stringify(
|
|
47362
|
-
removeSignUserId:
|
|
47363
|
-
notificationType:
|
|
47434
|
+
nextUserId: _this17.multiple ? _this17.nextNode.nextUserId.join(',') : _this17.nextNode.nextUserId,
|
|
47435
|
+
addSignUserId: _this17.nextNode.addSignUserId.join(','),
|
|
47436
|
+
customPresetUserJson: JSON.stringify(_this17.presetList),
|
|
47437
|
+
presetUserJson: JSON.stringify(_this17.presetUserJson),
|
|
47438
|
+
removeSignUserId: _this17.nextNode.removeSignUserId.join(','),
|
|
47439
|
+
notificationType: _this17.nextNode.notificationType.join(',')
|
|
47364
47440
|
})
|
|
47365
47441
|
};
|
|
47366
|
-
|
|
47442
|
+
_this17.loading = utils_util["a" /* default */].loading(_this17.$loading, '加载中...');
|
|
47367
47443
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
47368
47444
|
var status = res.status,
|
|
47369
47445
|
message = res.message;
|
|
47370
47446
|
|
|
47371
|
-
|
|
47447
|
+
_this17.loading.close();
|
|
47372
47448
|
if (status === 'success') {
|
|
47373
|
-
|
|
47449
|
+
_this17.flowSuccess();
|
|
47374
47450
|
// this.$message.success('提交成功');
|
|
47375
47451
|
// this.$emit('success');
|
|
47376
47452
|
} else {
|
|
47377
|
-
|
|
47378
|
-
|
|
47453
|
+
_this17.$message.error(message || '系统错误,请联系管理员!');
|
|
47454
|
+
_this17.$emit('error');
|
|
47379
47455
|
}
|
|
47380
47456
|
}).catch(function (err) {
|
|
47381
|
-
|
|
47457
|
+
_this17.loading.close();
|
|
47382
47458
|
if (err.message && err.message !== 'canceled') {
|
|
47383
|
-
|
|
47459
|
+
_this17.$message.error(err.message);
|
|
47384
47460
|
}
|
|
47385
47461
|
});
|
|
47386
47462
|
}).catch(function (e) {});
|
|
@@ -47483,11 +47559,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47483
47559
|
* @date 2022年9月29日
|
|
47484
47560
|
**/
|
|
47485
47561
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
47486
|
-
var
|
|
47562
|
+
var _this18 = this;
|
|
47487
47563
|
|
|
47488
47564
|
if (this.beforeSubmit != undefined) {
|
|
47489
47565
|
this.beforeSubmit().then(function (next) {
|
|
47490
|
-
|
|
47566
|
+
_this18.saveToTakeAdvice(res);
|
|
47491
47567
|
}).catch(function (e) {});
|
|
47492
47568
|
} else {
|
|
47493
47569
|
this.saveToTakeAdvice(res);
|
|
@@ -47495,10 +47571,10 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47495
47571
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
47496
47572
|
},
|
|
47497
47573
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
47498
|
-
var
|
|
47574
|
+
var _this19 = this;
|
|
47499
47575
|
|
|
47500
47576
|
var params = {
|
|
47501
|
-
url: api["
|
|
47577
|
+
url: api["nb" /* isCanStartSubFlow */],
|
|
47502
47578
|
data: {
|
|
47503
47579
|
appId: this.taskExamineInfo.appId,
|
|
47504
47580
|
inevitableNode: res.inevitableNode
|
|
@@ -47510,16 +47586,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47510
47586
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
47511
47587
|
var message = res.message;
|
|
47512
47588
|
|
|
47513
|
-
|
|
47589
|
+
_this19.loading.close();
|
|
47514
47590
|
if (message == 'success') {
|
|
47515
|
-
|
|
47591
|
+
_this19.showTaskUnionExamine = true;
|
|
47516
47592
|
} else {
|
|
47517
|
-
|
|
47593
|
+
_this19.$message.error(message || '系统错误,请联系管理员!');
|
|
47518
47594
|
}
|
|
47519
47595
|
}).catch(function (err) {
|
|
47520
|
-
|
|
47596
|
+
_this19.loading.close();
|
|
47521
47597
|
if (err.message && err.message !== 'canceled') {
|
|
47522
|
-
|
|
47598
|
+
_this19.$message.error(err.message);
|
|
47523
47599
|
}
|
|
47524
47600
|
});
|
|
47525
47601
|
},
|
|
@@ -47531,11 +47607,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47531
47607
|
* @date 2022年9月29日
|
|
47532
47608
|
**/
|
|
47533
47609
|
toStartDraf: function toStartDraf(res) {
|
|
47534
|
-
var
|
|
47610
|
+
var _this20 = this;
|
|
47535
47611
|
|
|
47536
47612
|
if (this.beforeSubmit != undefined) {
|
|
47537
47613
|
this.beforeSubmit().then(function (next) {
|
|
47538
|
-
|
|
47614
|
+
_this20.showTaskUnionExamine = true;
|
|
47539
47615
|
}).catch(function (e) {});
|
|
47540
47616
|
} else {
|
|
47541
47617
|
this.showTaskUnionExamine = true;
|
|
@@ -47549,11 +47625,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47549
47625
|
* @date 2022年9月29日
|
|
47550
47626
|
**/
|
|
47551
47627
|
toSendMsg: function toSendMsg(res) {
|
|
47552
|
-
var
|
|
47628
|
+
var _this21 = this;
|
|
47553
47629
|
|
|
47554
47630
|
if (this.beforeSubmit != undefined) {
|
|
47555
47631
|
this.beforeSubmit().then(function (next) {
|
|
47556
|
-
|
|
47632
|
+
_this21.showSendMsg = true;
|
|
47557
47633
|
}).catch(function (e) {});
|
|
47558
47634
|
} else {
|
|
47559
47635
|
this.showSendMsg = true;
|
|
@@ -47567,13 +47643,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47567
47643
|
* @date 2022年9月29日
|
|
47568
47644
|
**/
|
|
47569
47645
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
47570
|
-
var
|
|
47646
|
+
var _this22 = this;
|
|
47571
47647
|
|
|
47572
47648
|
if (this.beforeSubmit != undefined) {
|
|
47573
47649
|
this.beforeSubmit().then(function (next) {
|
|
47574
|
-
if (
|
|
47575
|
-
|
|
47576
|
-
|
|
47650
|
+
if (_this22.value === '') _this22.value = _this22.nodeDefaultRejectOpinion;
|
|
47651
|
+
_this22.taskReadType = 'taskReadAndEnd';
|
|
47652
|
+
_this22.showTaskRead = true;
|
|
47577
47653
|
}).catch(function (e) {});
|
|
47578
47654
|
} else {
|
|
47579
47655
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -47589,52 +47665,52 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47589
47665
|
* @date 2022年9月29日
|
|
47590
47666
|
**/
|
|
47591
47667
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
47592
|
-
var
|
|
47668
|
+
var _this23 = this;
|
|
47593
47669
|
|
|
47594
47670
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
47595
47671
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
47596
47672
|
}
|
|
47597
47673
|
if (this.beforeSubmit != undefined) {
|
|
47598
47674
|
this.beforeSubmit().then(function (next) {
|
|
47599
|
-
|
|
47675
|
+
_this23.saveRejectAndEnd(res);
|
|
47600
47676
|
}).catch(function (e) {});
|
|
47601
47677
|
} else {
|
|
47602
47678
|
this.saveRejectAndEnd(res);
|
|
47603
47679
|
}
|
|
47604
47680
|
},
|
|
47605
47681
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
47606
|
-
var
|
|
47682
|
+
var _this24 = this;
|
|
47607
47683
|
|
|
47608
47684
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
47609
47685
|
// return this.$message.warning('请填写意见');
|
|
47610
47686
|
var params = {
|
|
47611
|
-
url: api["
|
|
47687
|
+
url: api["Bb" /* rejectAndEnd */],
|
|
47612
47688
|
headers: { Accept: 'application/json,text/plain' },
|
|
47613
47689
|
method: 'post',
|
|
47614
47690
|
data: {
|
|
47615
|
-
opinion:
|
|
47616
|
-
pendingId:
|
|
47691
|
+
opinion: _this24.value,
|
|
47692
|
+
pendingId: _this24.pendingId,
|
|
47617
47693
|
isSinglePage: false
|
|
47618
47694
|
}
|
|
47619
47695
|
};
|
|
47620
|
-
|
|
47696
|
+
_this24.loading = utils_util["a" /* default */].loading(_this24.$loading, '加载中...');
|
|
47621
47697
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
47622
47698
|
var status = res.status,
|
|
47623
47699
|
message = res.message;
|
|
47624
47700
|
|
|
47625
|
-
|
|
47701
|
+
_this24.loading.close();
|
|
47626
47702
|
if (status === 'success') {
|
|
47627
|
-
|
|
47703
|
+
_this24.flowSuccess();
|
|
47628
47704
|
// this.$message.success('提交成功');
|
|
47629
47705
|
// this.$emit('success');
|
|
47630
47706
|
} else {
|
|
47631
|
-
|
|
47632
|
-
|
|
47707
|
+
_this24.$message.error(message || '系统错误,请联系管理员!');
|
|
47708
|
+
_this24.$emit('error');
|
|
47633
47709
|
}
|
|
47634
47710
|
}).catch(function (err) {
|
|
47635
|
-
|
|
47711
|
+
_this24.loading.close();
|
|
47636
47712
|
if (err.message && err.message !== 'canceled') {
|
|
47637
|
-
|
|
47713
|
+
_this24.$message.error(err.message);
|
|
47638
47714
|
}
|
|
47639
47715
|
});
|
|
47640
47716
|
}).catch(function () {
|
|
@@ -47649,12 +47725,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47649
47725
|
* @date 2022年9月29日
|
|
47650
47726
|
**/
|
|
47651
47727
|
toTransfer: function toTransfer(res) {
|
|
47652
|
-
var
|
|
47728
|
+
var _this25 = this;
|
|
47653
47729
|
|
|
47654
47730
|
if (this.beforeSubmit != undefined) {
|
|
47655
47731
|
this.beforeSubmit(0).then(function (next) {
|
|
47656
|
-
|
|
47657
|
-
|
|
47732
|
+
_this25.taskReadType = 'transfer';
|
|
47733
|
+
_this25.showTaskRead = true;
|
|
47658
47734
|
}).catch(function (e) {});
|
|
47659
47735
|
} else {
|
|
47660
47736
|
this.taskReadType = 'transfer';
|
|
@@ -47669,7 +47745,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47669
47745
|
* @date 2022年5月25日
|
|
47670
47746
|
**/
|
|
47671
47747
|
getNodeInfo: function getNodeInfo() {
|
|
47672
|
-
var
|
|
47748
|
+
var _this26 = this;
|
|
47673
47749
|
|
|
47674
47750
|
var params = {
|
|
47675
47751
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -47684,46 +47760,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47684
47760
|
message = res.message,
|
|
47685
47761
|
data = res.data;
|
|
47686
47762
|
|
|
47687
|
-
|
|
47763
|
+
_this26.loading.close();
|
|
47688
47764
|
if (status === 'success') {
|
|
47689
|
-
|
|
47690
|
-
|
|
47691
|
-
data.otherOrgDisabledObjId && (
|
|
47692
|
-
data.currentOrgDisabledObjId && (
|
|
47765
|
+
_this26.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
47766
|
+
_this26.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
47767
|
+
data.otherOrgDisabledObjId && (_this26.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
47768
|
+
data.currentOrgDisabledObjId && (_this26.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
47693
47769
|
if (data != null) {
|
|
47694
47770
|
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) {
|
|
47695
|
-
|
|
47771
|
+
_this26.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
47696
47772
|
} else {
|
|
47697
|
-
|
|
47773
|
+
_this26.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this26.choiceOrgId, _this26.choiceDeptId, _this26.pOrgId);
|
|
47698
47774
|
}
|
|
47699
|
-
|
|
47700
|
-
|
|
47701
|
-
|
|
47702
|
-
|
|
47703
|
-
|
|
47775
|
+
_this26.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
47776
|
+
_this26.isTaskread = data.nodeExtAttr.isTaskread;
|
|
47777
|
+
_this26.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
47778
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
47779
|
+
_this26.nodeType = data.nodeExtAttr.nodeType;
|
|
47704
47780
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
47705
|
-
if (
|
|
47706
|
-
|
|
47707
|
-
|
|
47708
|
-
|
|
47709
|
-
|
|
47710
|
-
|
|
47781
|
+
if (_this26.nodeType === 1 || _this26.nodeType === 2) {
|
|
47782
|
+
_this26.isMainSubProcess === true ? _this26.isNodeShowProcess = true : _this26.isNodeShowProcess = false;
|
|
47783
|
+
_this26.isMainSubProcess === true ? _this26.isMainSubProcess = true : _this26.isMainSubProcess = false;
|
|
47784
|
+
_this26.isNextUser = false;
|
|
47785
|
+
_this26.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
47786
|
+
_this26.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
47711
47787
|
} else {
|
|
47712
|
-
|
|
47713
|
-
|
|
47714
|
-
|
|
47715
|
-
|
|
47716
|
-
|
|
47788
|
+
_this26.isHideCurrentOrg = false;
|
|
47789
|
+
_this26.isHideOtherOrg = false;
|
|
47790
|
+
_this26.isNodeShowProcess = false;
|
|
47791
|
+
_this26.isMainSubProcess = false;
|
|
47792
|
+
_this26.isNextUser = _this26.nextNode.nextOperate != 9;
|
|
47717
47793
|
// this.isMainSubProcess === true
|
|
47718
47794
|
// ? (this.isMainSubProcess = true)
|
|
47719
47795
|
// : (this.isMainSubProcess = false);
|
|
47720
47796
|
}
|
|
47721
|
-
|
|
47722
|
-
if (
|
|
47797
|
+
_this26.multiple ? _this26.nextNode.nextUserId = [] : _this26.nextNode.nextUserId = '';
|
|
47798
|
+
if (_this26.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
47723
47799
|
data.nextUserList.map(function (item) {
|
|
47724
47800
|
if (item.userId && item.username) {
|
|
47725
|
-
|
|
47726
|
-
|
|
47801
|
+
_this26.nextNode.nextUserId.push(item.userId);
|
|
47802
|
+
_this26.selectUserList.push({
|
|
47727
47803
|
showname: item.username,
|
|
47728
47804
|
showid: item.userId
|
|
47729
47805
|
});
|
|
@@ -47732,40 +47808,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47732
47808
|
}
|
|
47733
47809
|
data.nextUserList.map(function (item) {
|
|
47734
47810
|
if (item.userId && item.username) {
|
|
47735
|
-
|
|
47811
|
+
_this26.options.push({
|
|
47736
47812
|
showname: item.username,
|
|
47737
47813
|
showid: item.userId
|
|
47738
47814
|
});
|
|
47739
47815
|
}
|
|
47740
47816
|
});
|
|
47741
47817
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
47742
|
-
|
|
47818
|
+
_this26.radioList = _this26.options;
|
|
47743
47819
|
}
|
|
47744
|
-
if (!
|
|
47745
|
-
|
|
47746
|
-
|
|
47820
|
+
if (!_this26.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
47821
|
+
_this26.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
47822
|
+
_this26.selectUserList.push({
|
|
47747
47823
|
showname: data.nextUserList[0].username,
|
|
47748
47824
|
showid: data.nextUserList[0].userId
|
|
47749
47825
|
});
|
|
47750
47826
|
}
|
|
47751
|
-
|
|
47752
|
-
|
|
47753
|
-
|
|
47754
|
-
|
|
47755
|
-
|
|
47827
|
+
_this26.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
47828
|
+
_this26.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
47829
|
+
_this26.presetEdit = data.nodeExtAttr.presetEdit;
|
|
47830
|
+
_this26.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
47831
|
+
_this26.handleMode = data.countersignaturetypeText;
|
|
47756
47832
|
if (data.globalNodeType === 'endEvent') {
|
|
47757
|
-
|
|
47758
|
-
data.globalNodeType === 'endEvent' ?
|
|
47833
|
+
_this26.isNextUser = data.globalNodeType != 'endEvent';
|
|
47834
|
+
data.globalNodeType === 'endEvent' ? _this26.endFlow = true : '';
|
|
47759
47835
|
}
|
|
47760
47836
|
}
|
|
47761
|
-
|
|
47837
|
+
_this26.isCustomPreset && _this26.$refs.customPreset.getPresetFlowInfo(_this26.nextNode.nextNodeId, _this26.nodeInfo.nextNode, true);
|
|
47762
47838
|
} else {
|
|
47763
|
-
|
|
47839
|
+
_this26.$message.error(message || '系统错误,请联系管理员!');
|
|
47764
47840
|
}
|
|
47765
47841
|
}).catch(function (err) {
|
|
47766
|
-
|
|
47842
|
+
_this26.loading.close();
|
|
47767
47843
|
if (err.message && err.message !== 'canceled') {
|
|
47768
|
-
|
|
47844
|
+
_this26.$message.error(err.message);
|
|
47769
47845
|
}
|
|
47770
47846
|
});
|
|
47771
47847
|
},
|
|
@@ -47778,7 +47854,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47778
47854
|
* @date 2022年5月25日
|
|
47779
47855
|
**/
|
|
47780
47856
|
selecNext: function selecNext(val, type, isDef) {
|
|
47781
|
-
var
|
|
47857
|
+
var _this27 = this;
|
|
47782
47858
|
|
|
47783
47859
|
var isNextNode = false;
|
|
47784
47860
|
if (type) {
|
|
@@ -47823,13 +47899,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47823
47899
|
this.operationList.forEach(function (item) {
|
|
47824
47900
|
if (item.key === val) {
|
|
47825
47901
|
if (!item.taskNodeList) {
|
|
47826
|
-
|
|
47902
|
+
_this27.nodeInfos = [];
|
|
47827
47903
|
} else {
|
|
47828
|
-
|
|
47904
|
+
_this27.nodeInfos = item.taskNodeList;
|
|
47829
47905
|
|
|
47830
|
-
if (
|
|
47831
|
-
|
|
47832
|
-
return
|
|
47906
|
+
if (_this27.taskOperationShiftedNodeList) {
|
|
47907
|
+
_this27.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
47908
|
+
return _this27.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
47833
47909
|
});
|
|
47834
47910
|
}
|
|
47835
47911
|
}
|
|
@@ -47838,7 +47914,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47838
47914
|
});
|
|
47839
47915
|
if (this.defaultNextNode) {
|
|
47840
47916
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
47841
|
-
return item.nodeId ==
|
|
47917
|
+
return item.nodeId == _this27.defaultNextNode;
|
|
47842
47918
|
});
|
|
47843
47919
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
47844
47920
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -47950,7 +48026,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47950
48026
|
* @date 2022年5月25日
|
|
47951
48027
|
**/
|
|
47952
48028
|
getHedInfo: function getHedInfo() {
|
|
47953
|
-
var
|
|
48029
|
+
var _this28 = this;
|
|
47954
48030
|
|
|
47955
48031
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '加载中...');
|
|
47956
48032
|
var params = {
|
|
@@ -47960,7 +48036,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47960
48036
|
utils_util["a" /* default */].ajax({ url: api["N" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
47961
48037
|
//pc返回数据
|
|
47962
48038
|
|
|
47963
|
-
|
|
48039
|
+
_this28.loading.close();
|
|
47964
48040
|
if (res.status === 'success') {
|
|
47965
48041
|
var _res$data2 = res.data,
|
|
47966
48042
|
nextNodeList = _res$data2.nextNodeList,
|
|
@@ -47998,14 +48074,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
47998
48074
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
47999
48075
|
|
|
48000
48076
|
if (simpleTips != undefined) {
|
|
48001
|
-
|
|
48077
|
+
_this28.simpleTips = simpleTips;
|
|
48002
48078
|
}
|
|
48003
|
-
|
|
48004
|
-
|
|
48079
|
+
_this28.$emit('startTaskRead', res);
|
|
48080
|
+
_this28.$emit('start-task-read', res);
|
|
48005
48081
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
48006
|
-
|
|
48082
|
+
_this28.taskOperationShiftedNodeList = [];
|
|
48007
48083
|
taskOperationShiftedNodeList.map(function (x) {
|
|
48008
|
-
|
|
48084
|
+
_this28.taskOperationShiftedNodeList.push(x.nodeId);
|
|
48009
48085
|
taskOperations.push({
|
|
48010
48086
|
key: x.nodeId,
|
|
48011
48087
|
value: x.nodeName,
|
|
@@ -48014,143 +48090,143 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48014
48090
|
});
|
|
48015
48091
|
});
|
|
48016
48092
|
}
|
|
48017
|
-
|
|
48018
|
-
|
|
48093
|
+
_this28.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
48094
|
+
_this28.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
48019
48095
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
48020
|
-
|
|
48096
|
+
_this28.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
48021
48097
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
48022
|
-
|
|
48023
|
-
|
|
48098
|
+
_this28.currentOrgSelectorTabs.map(function (x, i) {
|
|
48099
|
+
_this28.currentOrgSelectorParams[x] = {
|
|
48024
48100
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i]
|
|
48025
48101
|
};
|
|
48026
48102
|
});
|
|
48027
48103
|
}
|
|
48028
48104
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
48029
|
-
|
|
48105
|
+
_this28.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
48030
48106
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
48031
|
-
|
|
48032
|
-
|
|
48107
|
+
_this28.foreignOrgSelectorTabs.map(function (x, i) {
|
|
48108
|
+
_this28.foreignOrgSelectorParams[x] = {
|
|
48033
48109
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : foreignOrgparams[i]
|
|
48034
48110
|
};
|
|
48035
48111
|
});
|
|
48036
48112
|
}
|
|
48037
|
-
|
|
48038
|
-
if (
|
|
48039
|
-
|
|
48040
|
-
}
|
|
48041
|
-
|
|
48042
|
-
|
|
48043
|
-
|
|
48044
|
-
|
|
48045
|
-
|
|
48046
|
-
|
|
48047
|
-
|
|
48048
|
-
|
|
48049
|
-
|
|
48050
|
-
|
|
48051
|
-
|
|
48052
|
-
|
|
48053
|
-
|
|
48054
|
-
|
|
48055
|
-
|
|
48056
|
-
|
|
48057
|
-
nextNodeCheckType && (
|
|
48058
|
-
|
|
48059
|
-
|
|
48113
|
+
_this28.circularReadParamsMap = circularReadParamsMap || {};
|
|
48114
|
+
if (_this28.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
48115
|
+
_this28.foreignOrgSelectorParams.roleid = _this28.circularReadParamsMap.circularReadOrgRoleCode;
|
|
48116
|
+
}
|
|
48117
|
+
_this28.currentOrgName = currentOrgName;
|
|
48118
|
+
_this28.nextOperateCheckType = nextOperateCheckType;
|
|
48119
|
+
_this28.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
48120
|
+
|
|
48121
|
+
_this28.readOnlyNotificationType = readOnlyNotificationType;
|
|
48122
|
+
_this28.isSpecial = isSpecial;
|
|
48123
|
+
_this28.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
48124
|
+
_this28.otherOrgName = otherOrgName;
|
|
48125
|
+
_this28.isCanPreAddSign = isCanPreAddSign;
|
|
48126
|
+
_this28.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
48127
|
+
_this28.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
48128
|
+
_this28.endFlowInfo.pendingId = _this28.pendingId;
|
|
48129
|
+
_this28.attachedCode = attachedCode;
|
|
48130
|
+
_this28.endFlowInfo.pOrgId = pOrgId;
|
|
48131
|
+
_this28.canPresetRead = canPresetRead;
|
|
48132
|
+
_this28.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
48133
|
+
nextNodeCheckType && (_this28.nextNodeCheckType = nextNodeCheckType);
|
|
48134
|
+
_this28.operationList = taskOperations || [];
|
|
48135
|
+
_this28.customPresetHintMessage = customPresetHintMessage;
|
|
48060
48136
|
if (canPresetRead) {
|
|
48061
48137
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
48062
48138
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
48063
48139
|
ids.map(function (item, index) {
|
|
48064
|
-
|
|
48140
|
+
_this28.presetReadUserId.push({
|
|
48065
48141
|
showid: item,
|
|
48066
48142
|
showname: names[index]
|
|
48067
48143
|
});
|
|
48068
|
-
|
|
48144
|
+
_this28.selectPresetUserList.push({
|
|
48069
48145
|
showid: item,
|
|
48070
48146
|
showname: names[index]
|
|
48071
48147
|
});
|
|
48072
|
-
|
|
48148
|
+
_this28.nextNode.presetReadUserId.push(item);
|
|
48073
48149
|
});
|
|
48074
48150
|
}
|
|
48075
|
-
if (!
|
|
48151
|
+
if (!_this28.isFlow) _this28.getFile(_this28.pendingId, attachedCode);
|
|
48076
48152
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
48077
|
-
|
|
48153
|
+
_this28.nextNodeList = nextNodeList;
|
|
48078
48154
|
}
|
|
48079
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
48155
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this28.removeUsers = canRemoveSignUserList;
|
|
48080
48156
|
if (taskOperations && taskOperations.length != 0) {
|
|
48081
48157
|
var isSelected = false;
|
|
48082
48158
|
taskOperations.map(function (item) {
|
|
48083
|
-
if (item.key === 9)
|
|
48159
|
+
if (item.key === 9) _this28.isReject = true;
|
|
48084
48160
|
if (item.isSelected) {
|
|
48085
|
-
|
|
48086
|
-
|
|
48161
|
+
_this28.nodeInfos = [];
|
|
48162
|
+
_this28.nextNode.nextOperate = item.key;
|
|
48087
48163
|
if (item.taskNodeList != null) {
|
|
48088
|
-
|
|
48164
|
+
_this28.nodeInfos = item.taskNodeList;
|
|
48089
48165
|
}
|
|
48090
48166
|
isSelected = true;
|
|
48091
48167
|
}
|
|
48092
48168
|
});
|
|
48093
48169
|
if (taskOperations.length > 0 && !isSelected) {
|
|
48094
|
-
|
|
48095
|
-
|
|
48170
|
+
_this28.nodeInfos = [];
|
|
48171
|
+
_this28.nextNode.nextOperate = taskOperations[0].key;
|
|
48096
48172
|
if (taskOperations[0].taskNodeList != null) {
|
|
48097
|
-
|
|
48173
|
+
_this28.nodeInfos = taskOperations[0].taskNodeList;
|
|
48098
48174
|
}
|
|
48099
48175
|
}
|
|
48100
48176
|
}
|
|
48101
48177
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
48102
|
-
|
|
48178
|
+
_this28.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
48103
48179
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
48104
48180
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
48105
48181
|
notice.map(function (x) {
|
|
48106
|
-
|
|
48182
|
+
_this28.nodeFixedOpinionSelectList.push({ content: x });
|
|
48107
48183
|
});
|
|
48108
48184
|
}
|
|
48109
|
-
|
|
48110
|
-
|
|
48111
|
-
|
|
48112
|
-
|
|
48113
|
-
|
|
48114
|
-
|
|
48185
|
+
_this28.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
48186
|
+
_this28.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
48187
|
+
_this28.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
48188
|
+
_this28.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
48189
|
+
_this28.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
48190
|
+
_this28.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
48115
48191
|
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
48116
|
-
|
|
48192
|
+
_this28.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
48117
48193
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
48118
|
-
var defaultNode =
|
|
48194
|
+
var defaultNode = _this28.nodeInfos.filter(function (item) {
|
|
48119
48195
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
48120
48196
|
});
|
|
48121
|
-
if (
|
|
48122
|
-
|
|
48197
|
+
if (_this28.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
48198
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
48123
48199
|
} else {
|
|
48124
|
-
|
|
48200
|
+
_this28.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
48125
48201
|
}
|
|
48126
|
-
} else if (
|
|
48127
|
-
|
|
48202
|
+
} else if (_this28.nodeInfos.length > 0) {
|
|
48203
|
+
_this28.nextNode.nextNodeId = _this28.nodeInfos[0].nodeId;
|
|
48128
48204
|
}
|
|
48129
|
-
|
|
48205
|
+
_this28.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
48130
48206
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
48131
|
-
|
|
48207
|
+
_this28.btnList.map(function (x) {
|
|
48132
48208
|
if (x.event === 'sub') {
|
|
48133
48209
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
48134
48210
|
}
|
|
48135
48211
|
});
|
|
48136
48212
|
}
|
|
48137
48213
|
}
|
|
48138
|
-
|
|
48139
|
-
|
|
48140
|
-
|
|
48214
|
+
_this28.choiceOrgId = choiceOrgId;
|
|
48215
|
+
_this28.choiceDeptId = choiceDeptId;
|
|
48216
|
+
_this28.pOrgId = pOrgId;
|
|
48141
48217
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
48142
|
-
|
|
48218
|
+
_this28.isEndUserTask = res.data.isEndUserTask;
|
|
48143
48219
|
}
|
|
48144
48220
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
48145
|
-
|
|
48146
|
-
|
|
48147
|
-
|
|
48148
|
-
|
|
48149
|
-
|
|
48150
|
-
|
|
48151
|
-
|
|
48152
|
-
|
|
48153
|
-
|
|
48221
|
+
_this28.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
48222
|
+
_this28.NodeName = taskExamine.nodeName;
|
|
48223
|
+
_this28.taskId = taskExamine.taskId;
|
|
48224
|
+
_this28.businessIds = taskExamine.businessId;
|
|
48225
|
+
_this28.appId = taskExamine.appId;
|
|
48226
|
+
_this28.taskExamineInfo = taskExamine;
|
|
48227
|
+
_this28.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
48228
|
+
_this28.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
48229
|
+
_this28.endFlowInfo.processType = taskExamine.processType;
|
|
48154
48230
|
// this.endFlowInfo.isReturnSubmitter =
|
|
48155
48231
|
// taskExamine.isReturnSubmitter;
|
|
48156
48232
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -48162,74 +48238,74 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48162
48238
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
48163
48239
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
48164
48240
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
48165
|
-
|
|
48166
|
-
|
|
48167
|
-
|
|
48168
|
-
|
|
48169
|
-
|
|
48170
|
-
|
|
48171
|
-
|
|
48172
|
-
|
|
48173
|
-
|
|
48241
|
+
_this28.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
48242
|
+
_this28.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
48243
|
+
_this28.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
48244
|
+
_this28.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
48245
|
+
_this28.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
48246
|
+
_this28.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
48247
|
+
_this28.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
48248
|
+
_this28.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
48249
|
+
_this28.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
48174
48250
|
// this.endFlowInfo.isReadDealReply =
|
|
48175
48251
|
// taskExamine.isReadDealReplybusinessId;
|
|
48176
|
-
|
|
48177
|
-
|
|
48178
|
-
|
|
48179
|
-
|
|
48252
|
+
_this28.endFlowInfo.appId = taskExamine.appId;
|
|
48253
|
+
_this28.endFlowInfo.businessId = taskExamine.businessId;
|
|
48254
|
+
_this28.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
48255
|
+
_this28.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
48180
48256
|
}
|
|
48181
|
-
if (
|
|
48182
|
-
|
|
48257
|
+
if (_this28.nodeName) {
|
|
48258
|
+
_this28.NodeName = _this28.nodeName;
|
|
48183
48259
|
}
|
|
48184
|
-
|
|
48185
|
-
|
|
48186
|
-
if (
|
|
48187
|
-
|
|
48260
|
+
_this28.isCanAddSign = isCanAddSign;
|
|
48261
|
+
_this28.processObj = res.data;
|
|
48262
|
+
if (_this28.isCanAddSign) {
|
|
48263
|
+
_this28.nextNode.isAddSign = '2';
|
|
48188
48264
|
}
|
|
48189
|
-
|
|
48190
|
-
if (
|
|
48191
|
-
|
|
48265
|
+
_this28.isCanRemoveSign = isCanRemoveSign;
|
|
48266
|
+
if (_this28.isCanRemoveSign) {
|
|
48267
|
+
_this28.nextNode.isRemoveSign = '2';
|
|
48192
48268
|
}
|
|
48193
48269
|
|
|
48194
|
-
if (!
|
|
48195
|
-
|
|
48270
|
+
if (!_this28.isOpinionRequired) {
|
|
48271
|
+
_this28.isOpinionRequired = 0;
|
|
48196
48272
|
}
|
|
48197
48273
|
// opinion && (this.value = opinion);
|
|
48198
|
-
|
|
48199
|
-
|
|
48274
|
+
_this28.nextNode.notificationMsg = defaultNotificationMessage;
|
|
48275
|
+
_this28.moreList = [];
|
|
48200
48276
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
48201
48277
|
taskButtonList.map(function (item) {
|
|
48202
48278
|
if (item.fun === 'reject()') {
|
|
48203
|
-
|
|
48279
|
+
_this28.rejectObj = item;
|
|
48204
48280
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
48205
|
-
|
|
48281
|
+
_this28.pointsReadingObj = item;
|
|
48206
48282
|
} else {
|
|
48207
|
-
|
|
48283
|
+
_this28.moreList.push(item);
|
|
48208
48284
|
}
|
|
48209
48285
|
});
|
|
48210
48286
|
}
|
|
48211
|
-
|
|
48212
|
-
|
|
48213
|
-
|
|
48214
|
-
|
|
48215
|
-
|
|
48216
|
-
|
|
48217
|
-
|
|
48287
|
+
_this28.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
48288
|
+
_this28.isCustomPreset = isCustomPreset;
|
|
48289
|
+
_this28.isPreset = isPreset;
|
|
48290
|
+
_this28.presetTaskNodeMap = presetTaskNodeMap;
|
|
48291
|
+
_this28.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
48292
|
+
_this28.getFind();
|
|
48293
|
+
_this28.selecNext(_this28.nextNode.nextOperate, true, true);
|
|
48218
48294
|
// this.getNodeInfo();
|
|
48219
|
-
|
|
48295
|
+
_this28.StartTaskReadKey++;
|
|
48220
48296
|
} else {
|
|
48221
48297
|
if (res.status === 'taskCompleted') {
|
|
48222
|
-
|
|
48223
|
-
|
|
48224
|
-
|
|
48298
|
+
_this28.$emit('shrink', true);
|
|
48299
|
+
_this28.shrinkAbled = true;
|
|
48300
|
+
_this28.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
48225
48301
|
} else {
|
|
48226
|
-
|
|
48302
|
+
_this28.$message.error(res.message || '系统错误,请联系管理员!');
|
|
48227
48303
|
}
|
|
48228
48304
|
}
|
|
48229
48305
|
}).catch(function (err) {
|
|
48230
|
-
|
|
48306
|
+
_this28.loading.close();
|
|
48231
48307
|
if (err.message && err.message !== 'canceled') {
|
|
48232
|
-
|
|
48308
|
+
_this28.$message.error(err.message);
|
|
48233
48309
|
}
|
|
48234
48310
|
});
|
|
48235
48311
|
},
|
|
@@ -48291,7 +48367,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48291
48367
|
* @date 2022年5月25日
|
|
48292
48368
|
**/
|
|
48293
48369
|
getProcess: function getProcess(val) {
|
|
48294
|
-
var
|
|
48370
|
+
var _this29 = this;
|
|
48295
48371
|
|
|
48296
48372
|
var params = flow_src_mainvue_type_script_lang_js_extends({
|
|
48297
48373
|
businessId: this.businessId,
|
|
@@ -48306,40 +48382,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48306
48382
|
message = res.message,
|
|
48307
48383
|
data = res.data;
|
|
48308
48384
|
|
|
48309
|
-
|
|
48385
|
+
_this29.loading.close();
|
|
48310
48386
|
if (status === 'success') {
|
|
48311
48387
|
if (data.simpleTips != undefined) {
|
|
48312
|
-
|
|
48388
|
+
_this29.simpleTips = data.simpleTips;
|
|
48313
48389
|
}
|
|
48314
|
-
|
|
48390
|
+
_this29.isStartFlowChartView = data.isStartFlowChartView;
|
|
48315
48391
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
48316
|
-
|
|
48392
|
+
_this29.$message.error('流程不存在或未关联对应流程!');
|
|
48317
48393
|
} else {
|
|
48318
|
-
|
|
48319
|
-
|
|
48320
|
-
|
|
48321
|
-
return item.processDefKey ==
|
|
48394
|
+
_this29.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
48395
|
+
_this29.nodeInfo.option = data.definitionList;
|
|
48396
|
+
_this29.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
48397
|
+
return item.processDefKey == _this29.defaultProcessKey;
|
|
48322
48398
|
});
|
|
48323
|
-
if (
|
|
48324
|
-
|
|
48399
|
+
if (_this29.nodeInfo.nextNode.length) {
|
|
48400
|
+
_this29.nodeInfo.nextNode = _this29.nodeInfo.nextNode[0].processDefId;
|
|
48325
48401
|
} else {
|
|
48326
48402
|
if (data.definitionList.length != 0) {
|
|
48327
|
-
|
|
48403
|
+
_this29.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
48328
48404
|
} else {
|
|
48329
|
-
|
|
48405
|
+
_this29.nodeInfo.nextNode = '';
|
|
48330
48406
|
}
|
|
48331
48407
|
}
|
|
48332
|
-
if (
|
|
48333
|
-
|
|
48408
|
+
if (_this29.nodeInfo.nextNode) {
|
|
48409
|
+
_this29.handleChange(_this29.nodeInfo.nextNode);
|
|
48334
48410
|
}
|
|
48335
48411
|
}
|
|
48336
48412
|
} else {
|
|
48337
|
-
|
|
48413
|
+
_this29.$message.error(message || '系统错误,请联系管理员!');
|
|
48338
48414
|
}
|
|
48339
48415
|
}).catch(function (err) {
|
|
48340
|
-
|
|
48416
|
+
_this29.loading.close();
|
|
48341
48417
|
if (err.message && err.message !== 'canceled') {
|
|
48342
|
-
|
|
48418
|
+
_this29.$message.error(err.message);
|
|
48343
48419
|
}
|
|
48344
48420
|
});
|
|
48345
48421
|
},
|
|
@@ -48351,35 +48427,35 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48351
48427
|
* @date 2022年5月25日
|
|
48352
48428
|
**/
|
|
48353
48429
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
48354
|
-
var
|
|
48430
|
+
var _this30 = this;
|
|
48355
48431
|
|
|
48356
48432
|
var params = {
|
|
48357
48433
|
apprecordId: this.businessIds,
|
|
48358
48434
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
48359
48435
|
type: 2
|
|
48360
48436
|
};
|
|
48361
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
48437
|
+
utils_util["a" /* default */].ajax({ url: api["sb" /* pendedhistoryList */], data: params, method: 'post' }).then(function (res) {
|
|
48362
48438
|
var rCode = res.rCode,
|
|
48363
48439
|
msg = res.msg,
|
|
48364
48440
|
results = res.results;
|
|
48365
48441
|
|
|
48366
48442
|
if (!rCode) {
|
|
48367
|
-
|
|
48368
|
-
|
|
48369
|
-
|
|
48370
|
-
|
|
48371
|
-
|
|
48443
|
+
_this30.nextNode.nextUserId = [];
|
|
48444
|
+
_this30.showNews = false;
|
|
48445
|
+
_this30.nextNode.notificationType = [];
|
|
48446
|
+
_this30.pendingId = results[results.length - 1].attachId;
|
|
48447
|
+
_this30.getHedInfo();
|
|
48372
48448
|
} else {
|
|
48373
|
-
|
|
48449
|
+
_this30.$message.error(msg || '系统错误,请联系管理员!');
|
|
48374
48450
|
}
|
|
48375
48451
|
}).catch(function (err) {
|
|
48376
48452
|
if (err.message && err.message !== 'canceled') {
|
|
48377
|
-
|
|
48453
|
+
_this30.$message.error(err.message);
|
|
48378
48454
|
}
|
|
48379
48455
|
});
|
|
48380
48456
|
},
|
|
48381
48457
|
reqCircularRead: function reqCircularRead(type) {
|
|
48382
|
-
var
|
|
48458
|
+
var _this31 = this;
|
|
48383
48459
|
|
|
48384
48460
|
var _that = this;
|
|
48385
48461
|
var params = {
|
|
@@ -48393,7 +48469,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48393
48469
|
};
|
|
48394
48470
|
this.loading = utils_util["a" /* default */].loading(this.$loading, '提交中...');
|
|
48395
48471
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
48396
|
-
|
|
48472
|
+
_this31.loading.close();
|
|
48397
48473
|
if (res.rCode == 0) {
|
|
48398
48474
|
if (res.results.alert) {
|
|
48399
48475
|
_that.$confirm(res.results.message, {
|
|
@@ -48424,20 +48500,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48424
48500
|
* @date 2022年5月25日
|
|
48425
48501
|
**/
|
|
48426
48502
|
subProcess: function subProcess(val, type) {
|
|
48427
|
-
var
|
|
48503
|
+
var _this32 = this;
|
|
48428
48504
|
|
|
48429
48505
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
48430
48506
|
if (valid) {
|
|
48431
|
-
if (
|
|
48432
|
-
|
|
48433
|
-
|
|
48434
|
-
|
|
48507
|
+
if (_this32.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
48508
|
+
_this32.value = _this32.value.replace(RegExp('不同意。', 'g'), '');
|
|
48509
|
+
_this32.value = _this32.value.replace(RegExp('同意。', 'g'), '');
|
|
48510
|
+
_this32.value = val + _this32.value;
|
|
48435
48511
|
}
|
|
48436
|
-
if (!
|
|
48437
|
-
|
|
48512
|
+
if (!_this32.validInfo()) {
|
|
48513
|
+
_this32.freeValid = false;
|
|
48438
48514
|
return;
|
|
48439
48515
|
} else {
|
|
48440
|
-
|
|
48516
|
+
_this32.freeValid = true;
|
|
48441
48517
|
}
|
|
48442
48518
|
// if (
|
|
48443
48519
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -48447,14 +48523,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48447
48523
|
// return;
|
|
48448
48524
|
// }
|
|
48449
48525
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
48450
|
-
|
|
48526
|
+
_this32.sendData(type);
|
|
48451
48527
|
return;
|
|
48452
48528
|
}
|
|
48453
|
-
if (
|
|
48454
|
-
|
|
48529
|
+
if (_this32.beforeSubmit == undefined) {
|
|
48530
|
+
_this32.subFun(_this32.sendData);
|
|
48455
48531
|
} else {
|
|
48456
|
-
|
|
48457
|
-
|
|
48532
|
+
_this32.beforeSubmit(1).then(function (next) {
|
|
48533
|
+
_this32.sendData();
|
|
48458
48534
|
}).catch(function (e) {});
|
|
48459
48535
|
}
|
|
48460
48536
|
}
|
|
@@ -48499,14 +48575,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48499
48575
|
return true;
|
|
48500
48576
|
},
|
|
48501
48577
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
48502
|
-
var
|
|
48578
|
+
var _this33 = this;
|
|
48503
48579
|
|
|
48504
48580
|
if (!this.simpleTips) {
|
|
48505
48581
|
this.$alert('提交成功', '', {
|
|
48506
48582
|
confirmButtonText: '确定',
|
|
48507
48583
|
type: 'success',
|
|
48508
48584
|
callback: function callback(action) {
|
|
48509
|
-
|
|
48585
|
+
_this33.$emit('success');
|
|
48510
48586
|
}
|
|
48511
48587
|
});
|
|
48512
48588
|
} else {
|
|
@@ -48517,7 +48593,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48517
48593
|
}
|
|
48518
48594
|
},
|
|
48519
48595
|
sendData: function sendData(freetype) {
|
|
48520
|
-
var
|
|
48596
|
+
var _this34 = this;
|
|
48521
48597
|
|
|
48522
48598
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
48523
48599
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
@@ -48539,58 +48615,58 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48539
48615
|
break;
|
|
48540
48616
|
}
|
|
48541
48617
|
|
|
48542
|
-
if (!
|
|
48618
|
+
if (!_this34.isFlow) {
|
|
48543
48619
|
_context.next = 4;
|
|
48544
48620
|
break;
|
|
48545
48621
|
}
|
|
48546
48622
|
|
|
48547
|
-
if (
|
|
48548
|
-
|
|
48623
|
+
if (_this34.directCreateCircularReadWhenFlowStarted) {
|
|
48624
|
+
_this34.circulateVisible = true;
|
|
48549
48625
|
} else {
|
|
48550
|
-
|
|
48626
|
+
_this34.handleVisible = true;
|
|
48551
48627
|
}
|
|
48552
48628
|
return _context.abrupt('return');
|
|
48553
48629
|
|
|
48554
48630
|
case 4:
|
|
48555
48631
|
nextUserId = [];
|
|
48556
48632
|
|
|
48557
|
-
if (
|
|
48558
|
-
|
|
48633
|
+
if (_this34.multiple) {
|
|
48634
|
+
_this34.nextNode.nextUserId && _this34.nextNode.nextUserId.map(function (item) {
|
|
48559
48635
|
return nextUserId.push(item);
|
|
48560
48636
|
});
|
|
48561
48637
|
}
|
|
48562
48638
|
addSignUserId = [];
|
|
48563
48639
|
|
|
48564
|
-
if (
|
|
48565
|
-
|
|
48640
|
+
if (_this34.isCanAddSign && _this34.nextNode.isAddSign == '1') {
|
|
48641
|
+
_this34.nextNode.addSignUserId.map(function (item) {
|
|
48566
48642
|
addSignUserId.push(item);
|
|
48567
48643
|
});
|
|
48568
48644
|
}
|
|
48569
48645
|
removeSignUserId = [];
|
|
48570
48646
|
|
|
48571
|
-
if (
|
|
48572
|
-
|
|
48647
|
+
if (_this34.isCanRemoveSign && _this34.nextNode.isRemoveSign == '1') {
|
|
48648
|
+
_this34.nextNode.removeSignUserId.map(function (item) {
|
|
48573
48649
|
removeSignUserId.push(item);
|
|
48574
48650
|
});
|
|
48575
48651
|
}
|
|
48576
48652
|
str = '';
|
|
48577
48653
|
|
|
48578
|
-
if (
|
|
48579
|
-
str =
|
|
48654
|
+
if (_this34.value) {
|
|
48655
|
+
str = _this34.value.replace(/\s+/g, '');
|
|
48580
48656
|
}
|
|
48581
|
-
if ((!
|
|
48582
|
-
|
|
48657
|
+
if ((!_this34.value || str === '') && _this34.nodeDefaultSubmitOpinion) {
|
|
48658
|
+
_this34.value = _this34.nodeDefaultSubmitOpinion;
|
|
48583
48659
|
}
|
|
48584
|
-
if (!
|
|
48585
|
-
delete
|
|
48586
|
-
delete
|
|
48660
|
+
if (!_this34.isSpecial) {
|
|
48661
|
+
delete _this34.nextNode.nextOperate;
|
|
48662
|
+
delete _this34.nextNode.nextNodeId;
|
|
48587
48663
|
}
|
|
48588
|
-
if (
|
|
48589
|
-
|
|
48590
|
-
|
|
48664
|
+
if (_this34.nextNode.nextOperate === 9 || _this34.oldNextOperate == 9) {
|
|
48665
|
+
_this34.nextNode.isReturnRejectNode = 1;
|
|
48666
|
+
_this34.nextNode.processDefinitionId = _this34.processObj.taskExamine.processDefinitionId;
|
|
48591
48667
|
}
|
|
48592
|
-
if (
|
|
48593
|
-
delete
|
|
48668
|
+
if (_this34.nextNode.nextOperate != 0 && _this34.nextNode.nextOperate != 1 && _this34.oldNextOperate === '' || _this34.oldNextOperate !== '' && _this34.oldNextOperate != 0 && _this34.oldNextOperate != 1) {
|
|
48669
|
+
delete _this34.nextNode.nextNodeId;
|
|
48594
48670
|
}
|
|
48595
48671
|
|
|
48596
48672
|
if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
|
|
@@ -48599,45 +48675,45 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48599
48675
|
}
|
|
48600
48676
|
|
|
48601
48677
|
_context.next = 19;
|
|
48602
|
-
return
|
|
48678
|
+
return _this34.saveInfo('subMit');
|
|
48603
48679
|
|
|
48604
48680
|
case 19:
|
|
48605
|
-
|
|
48681
|
+
_this34.loading = utils_util["a" /* default */].loading(_this34.$loading, '加载中...');
|
|
48606
48682
|
|
|
48607
48683
|
case 20:
|
|
48608
48684
|
notificationType = '';
|
|
48609
48685
|
|
|
48610
|
-
notificationType =
|
|
48686
|
+
notificationType = _this34.nextNode.notificationType.join(',');
|
|
48611
48687
|
addSignUserId = addSignUserId.join(',');
|
|
48612
48688
|
removeSignUserId = removeSignUserId.join(',');
|
|
48613
|
-
if (!
|
|
48614
|
-
delete
|
|
48689
|
+
if (!_this34.isCanPreAddSign || _this34.nextNode.isAddSign != '1') {
|
|
48690
|
+
delete _this34.nextNode.addSignMode;
|
|
48615
48691
|
}
|
|
48616
48692
|
|
|
48617
|
-
params = flow_src_mainvue_type_script_lang_js_extends({},
|
|
48618
|
-
nextOperate:
|
|
48619
|
-
pendingId:
|
|
48620
|
-
opinion:
|
|
48693
|
+
params = flow_src_mainvue_type_script_lang_js_extends({}, _this34.nextNode, {
|
|
48694
|
+
nextOperate: _this34.oldNextOperate !== '' ? _this34.oldNextOperate : _this34.nextNode.nextOperate,
|
|
48695
|
+
pendingId: _this34.pendingId,
|
|
48696
|
+
opinion: _this34.isForceDisplayDefaultOptionForPrefix && !_this34.value.startsWith(_this34.nodeDefaultSubmitOpinion) ? _this34.nodeDefaultSubmitOpinion + _this34.value : _this34.value,
|
|
48621
48697
|
userId: utils_util["a" /* default */].getStorage('userId'),
|
|
48622
|
-
nextUserId:
|
|
48698
|
+
nextUserId: _this34.multiple ? nextUserId.join(',') : _this34.nextNode.nextUserId,
|
|
48623
48699
|
addSignUserId: addSignUserId,
|
|
48624
|
-
customPresetUserJson: JSON.stringify(
|
|
48625
|
-
presetUserJson: JSON.stringify(
|
|
48700
|
+
customPresetUserJson: JSON.stringify(_this34.presetList),
|
|
48701
|
+
presetUserJson: JSON.stringify(_this34.presetUserJson),
|
|
48626
48702
|
removeSignUserId: removeSignUserId,
|
|
48627
|
-
nextReadUserId:
|
|
48628
|
-
nextOrgId: !
|
|
48629
|
-
presetReadUserId:
|
|
48703
|
+
nextReadUserId: _this34.readMultiple ? _this34.mixReadList && _this34.mixReadList.join('|') : _this34.nextNode.nextReadUserId,
|
|
48704
|
+
nextOrgId: !_this34.isShowNextUser ? _this34.multiple ? _this34.mixOrgIdList && _this34.mixOrgIdList.join('|') : _this34.nextNode.nextOrgId : '',
|
|
48705
|
+
presetReadUserId: _this34.mixPresetList && _this34.mixPresetList.length > 0 ? _this34.mixPresetList.join('|') : _this34.nextNode.presetReadUserId.join(','),
|
|
48630
48706
|
notificationType: notificationType
|
|
48631
48707
|
});
|
|
48632
48708
|
|
|
48633
|
-
if (
|
|
48634
|
-
if (
|
|
48709
|
+
if (_this34.activeNames != '1') delete params.customPresetUserJson;
|
|
48710
|
+
if (_this34.nextNode.isRemoveSign != '1') {
|
|
48635
48711
|
delete params.removeSignUserId;
|
|
48636
48712
|
}
|
|
48637
|
-
if (
|
|
48713
|
+
if (_this34.nextNode.isAddSign != '1') {
|
|
48638
48714
|
delete params.addSignUserId;
|
|
48639
48715
|
}
|
|
48640
|
-
if (!
|
|
48716
|
+
if (!_this34.isSpecial) {
|
|
48641
48717
|
delete params.nextUserId;
|
|
48642
48718
|
}
|
|
48643
48719
|
|
|
@@ -48646,13 +48722,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48646
48722
|
break;
|
|
48647
48723
|
}
|
|
48648
48724
|
|
|
48649
|
-
params.isSubFlow =
|
|
48650
|
-
|
|
48725
|
+
params.isSubFlow = _this34.taskExamineInfo.isSubFlow;
|
|
48726
|
+
_this34.taskParams = params;
|
|
48651
48727
|
return _context.abrupt('return');
|
|
48652
48728
|
|
|
48653
48729
|
case 34:
|
|
48654
|
-
|
|
48655
|
-
isEndUserTask =
|
|
48730
|
+
_this34.loading = utils_util["a" /* default */].loading(_this34.$loading, '提交中...');
|
|
48731
|
+
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;
|
|
48656
48732
|
|
|
48657
48733
|
params.isEndUserTask = isEndUserTask;
|
|
48658
48734
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -48672,21 +48748,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48672
48748
|
if (!currentNodeEnableItemHandleDescription) {
|
|
48673
48749
|
delete params.nextItemHandleDescription;
|
|
48674
48750
|
}
|
|
48675
|
-
return _context.abrupt('return', utils_util["a" /* default */].ajax({ url: api["
|
|
48751
|
+
return _context.abrupt('return', utils_util["a" /* default */].ajax({ url: api["Ob" /* taskHandleHtml */], method: 'post', data: params }).then(function (res) {
|
|
48676
48752
|
var status = res.status,
|
|
48677
48753
|
message = res.message;
|
|
48678
48754
|
|
|
48679
|
-
|
|
48755
|
+
_this34.loading.close();
|
|
48680
48756
|
if (status === 'success') {
|
|
48681
|
-
|
|
48757
|
+
_this34.flowSuccess();
|
|
48682
48758
|
} else {
|
|
48683
|
-
|
|
48684
|
-
|
|
48759
|
+
_this34.$message.error(message || '系统错误,请联系管理员!');
|
|
48760
|
+
_this34.$emit('error');
|
|
48685
48761
|
}
|
|
48686
48762
|
}).catch(function (err) {
|
|
48687
|
-
|
|
48763
|
+
_this34.loading.close();
|
|
48688
48764
|
if (err.message && err.message !== 'canceled') {
|
|
48689
|
-
|
|
48765
|
+
_this34.$message.error(err.message);
|
|
48690
48766
|
}
|
|
48691
48767
|
}));
|
|
48692
48768
|
|
|
@@ -48698,7 +48774,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48698
48774
|
return _context.stop();
|
|
48699
48775
|
}
|
|
48700
48776
|
}
|
|
48701
|
-
}, _callee,
|
|
48777
|
+
}, _callee, _this34);
|
|
48702
48778
|
}));
|
|
48703
48779
|
|
|
48704
48780
|
return function (_x) {
|
|
@@ -48754,8 +48830,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
48754
48830
|
|
|
48755
48831
|
var flow_src_main_component = normalizeComponent(
|
|
48756
48832
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
48757
|
-
|
|
48758
|
-
|
|
48833
|
+
mainvue_type_template_id_2181006a_render,
|
|
48834
|
+
mainvue_type_template_id_2181006a_staticRenderFns,
|
|
48759
48835
|
false,
|
|
48760
48836
|
null,
|
|
48761
48837
|
null,
|
|
@@ -52021,7 +52097,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
52021
52097
|
return x.id;
|
|
52022
52098
|
}).join(',');
|
|
52023
52099
|
var params = {
|
|
52024
|
-
url: api["
|
|
52100
|
+
url: api["Qb" /* taskReadWithDraw */],
|
|
52025
52101
|
params: {
|
|
52026
52102
|
pendingIds: pendingIds
|
|
52027
52103
|
}
|
|
@@ -52109,7 +52185,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
52109
52185
|
getCircularReadList: function getCircularReadList() {
|
|
52110
52186
|
var _that = this;
|
|
52111
52187
|
var params = {
|
|
52112
|
-
url: api["
|
|
52188
|
+
url: api["ub" /* pendedhistoryListWithCircularReadJson */],
|
|
52113
52189
|
params: { apprecordid: _that.businessId }
|
|
52114
52190
|
};
|
|
52115
52191
|
utils_util["a" /* default */].ajax(params).then(function (res) {
|
|
@@ -52283,7 +52359,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
52283
52359
|
|
|
52284
52360
|
this.pressLoading = true;
|
|
52285
52361
|
var params = {
|
|
52286
|
-
url: api["
|
|
52362
|
+
url: api["vb" /* pressListJson */],
|
|
52287
52363
|
params: { historyId: historyId },
|
|
52288
52364
|
method: 'POST',
|
|
52289
52365
|
data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
|
|
@@ -52389,7 +52465,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
52389
52465
|
var _this12 = this;
|
|
52390
52466
|
|
|
52391
52467
|
var params = {
|
|
52392
|
-
url: api["
|
|
52468
|
+
url: api["tb" /* pendedhistoryListJson */],
|
|
52393
52469
|
params: flow_list_src_mainvue_type_script_lang_js_extends({
|
|
52394
52470
|
apprecordid: this.businessId,
|
|
52395
52471
|
pendingAttr: 0,
|
|
@@ -52558,7 +52634,7 @@ function flow_list_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return
|
|
|
52558
52634
|
var _this15 = this;
|
|
52559
52635
|
|
|
52560
52636
|
var param = {
|
|
52561
|
-
url: api["
|
|
52637
|
+
url: api["Zb" /* toPresetInfoListIndex */],
|
|
52562
52638
|
params: { apprecordid: this.businessId }
|
|
52563
52639
|
};
|
|
52564
52640
|
utils_util["a" /* default */].ajax(param).then(function (res) {
|
|
@@ -52821,7 +52897,7 @@ mainvue_type_template_id_3d02c60c_render._withStripped = true
|
|
|
52821
52897
|
|
|
52822
52898
|
if (this.job.id !== item.id) {
|
|
52823
52899
|
this.job = item;
|
|
52824
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
52900
|
+
utils_util["a" /* default */].ajax({ url: api["Lb" /* switchUserTo */], params: { userId: item.value } }).then(function (res) {
|
|
52825
52901
|
if (res.rCode == 0) {
|
|
52826
52902
|
utils_util["a" /* default */].setStorage({
|
|
52827
52903
|
type: _this.storage,
|
|
@@ -53530,7 +53606,7 @@ var _props;
|
|
|
53530
53606
|
document.body.appendChild(iframe);
|
|
53531
53607
|
}
|
|
53532
53608
|
}
|
|
53533
|
-
utils_util["a" /* default */].ajax({ method: 'post', url: api["
|
|
53609
|
+
utils_util["a" /* default */].ajax({ method: 'post', url: api["qb" /* logout */] }).then(function (res) {
|
|
53534
53610
|
if (res.rCode == 0) {
|
|
53535
53611
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
53536
53612
|
if (_this.onQuit && typeof _this.onQuit === 'function') {
|
|
@@ -53662,7 +53738,7 @@ mainvue_type_template_id_20e44f4a_render._withStripped = true
|
|
|
53662
53738
|
props: {
|
|
53663
53739
|
preview: {
|
|
53664
53740
|
type: String,
|
|
53665
|
-
default: api["
|
|
53741
|
+
default: api["wb" /* previewAdjunct */] + '?adjunctId='
|
|
53666
53742
|
},
|
|
53667
53743
|
contents: [Object, String]
|
|
53668
53744
|
},
|
|
@@ -56823,7 +56899,7 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
|
|
|
56823
56899
|
var _this2 = this;
|
|
56824
56900
|
|
|
56825
56901
|
utils_util["a" /* default */].ajax({
|
|
56826
|
-
url: api["
|
|
56902
|
+
url: api["kb" /* initModifyPassword */]
|
|
56827
56903
|
}).then(function (res) {
|
|
56828
56904
|
if (res.rCode === 0) {
|
|
56829
56905
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
@@ -56928,7 +57004,7 @@ function resetPasswordvue_type_script_lang_js_objectWithoutProperties(obj, keys)
|
|
|
56928
57004
|
data.operationCheckCode = this.operationCheckCode;
|
|
56929
57005
|
utils_util["a" /* default */].ajax({
|
|
56930
57006
|
method: 'post',
|
|
56931
|
-
url: api["
|
|
57007
|
+
url: api["ob" /* loginModifyPassword */],
|
|
56932
57008
|
data: data
|
|
56933
57009
|
}).then(function (res) {
|
|
56934
57010
|
_this5.submit = false;
|
|
@@ -57552,7 +57628,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
|
|
|
57552
57628
|
//初始登录配置接口地址
|
|
57553
57629
|
initLogin: {
|
|
57554
57630
|
type: String,
|
|
57555
|
-
default: api["
|
|
57631
|
+
default: api["jb" /* initLogin */]
|
|
57556
57632
|
},
|
|
57557
57633
|
size: String,
|
|
57558
57634
|
mode: {
|
|
@@ -61770,7 +61846,7 @@ appsvue_type_template_id_71b9cb14_scoped_true_render._withStripped = true
|
|
|
61770
61846
|
},
|
|
61771
61847
|
handleClick: function handleClick(res) {
|
|
61772
61848
|
utils_util["a" /* default */].ajax({
|
|
61773
|
-
url: api["
|
|
61849
|
+
url: api["zb" /* recordUserApp */],
|
|
61774
61850
|
params: {
|
|
61775
61851
|
userId: this.user.userId,
|
|
61776
61852
|
appId: res.id
|
|
@@ -62156,7 +62232,7 @@ userinfovue_type_template_id_8643d5d2_render._withStripped = true
|
|
|
62156
62232
|
var initLogin = utils_util["a" /* default */].getStorage('initLogin');
|
|
62157
62233
|
initLogin && (initLogin = JSON.parse(initLogin));
|
|
62158
62234
|
utils_util["a" /* default */].ajax({
|
|
62159
|
-
url: api["
|
|
62235
|
+
url: api["uc" /* updateUserInfo */],
|
|
62160
62236
|
params: {
|
|
62161
62237
|
email: this.model.email,
|
|
62162
62238
|
officeTel: this.model.officeTel,
|
|
@@ -62395,7 +62471,7 @@ var userinfo_component = normalizeComponent(
|
|
|
62395
62471
|
var _this2 = this;
|
|
62396
62472
|
|
|
62397
62473
|
utils_util["a" /* default */].ajax({
|
|
62398
|
-
url: api["
|
|
62474
|
+
url: api["mb" /* initUserSet */]
|
|
62399
62475
|
}).then(function (res) {
|
|
62400
62476
|
if (res.rCode === 0) {
|
|
62401
62477
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
@@ -62436,7 +62512,7 @@ var userinfo_component = normalizeComponent(
|
|
|
62436
62512
|
var notify = this.checked.join(',');
|
|
62437
62513
|
utils_util["a" /* default */].ajax({
|
|
62438
62514
|
method: 'post',
|
|
62439
|
-
url: api["
|
|
62515
|
+
url: api["tc" /* updateUserCustomInfo */],
|
|
62440
62516
|
data: {
|
|
62441
62517
|
notify: notify
|
|
62442
62518
|
}
|
|
@@ -62466,7 +62542,7 @@ var userinfo_component = normalizeComponent(
|
|
|
62466
62542
|
if (this.user.identityId !== res.id) {
|
|
62467
62543
|
utils_util["a" /* default */].ajax({
|
|
62468
62544
|
method: 'post',
|
|
62469
|
-
url: api["
|
|
62545
|
+
url: api["Lb" /* switchUserTo */],
|
|
62470
62546
|
data: { userId: res.value }
|
|
62471
62547
|
}).then(function (res) {
|
|
62472
62548
|
if (res.rCode == 0) {
|
|
@@ -62858,7 +62934,7 @@ messagevue_type_template_id_324b2ecc_render._withStripped = true
|
|
|
62858
62934
|
if (this.pageNum <= this.pageCount) {
|
|
62859
62935
|
this.loading = true;
|
|
62860
62936
|
utils_util["a" /* default */].ajax({
|
|
62861
|
-
url: api["
|
|
62937
|
+
url: api["Mb" /* sysMsgPage */],
|
|
62862
62938
|
params: {
|
|
62863
62939
|
pageNum: reload ? 1 : this.pageNum,
|
|
62864
62940
|
pageSize: this.pageSize
|
|
@@ -62891,7 +62967,7 @@ messagevue_type_template_id_324b2ecc_render._withStripped = true
|
|
|
62891
62967
|
var _this2 = this;
|
|
62892
62968
|
|
|
62893
62969
|
utils_util["a" /* default */].ajax({
|
|
62894
|
-
url: api["
|
|
62970
|
+
url: api["ib" /* ignoreSysMsg */],
|
|
62895
62971
|
params: {
|
|
62896
62972
|
id: res.id
|
|
62897
62973
|
}
|
|
@@ -62911,7 +62987,7 @@ messagevue_type_template_id_324b2ecc_render._withStripped = true
|
|
|
62911
62987
|
var _this3 = this;
|
|
62912
62988
|
|
|
62913
62989
|
utils_util["a" /* default */].ajax({
|
|
62914
|
-
url: api["
|
|
62990
|
+
url: api["hb" /* ignoreAllSysMsg */]
|
|
62915
62991
|
}).then(function (res) {
|
|
62916
62992
|
_this3.count = 0;
|
|
62917
62993
|
_this3.msgs = [];
|
|
@@ -63271,7 +63347,7 @@ noticevue_type_template_id_4696772e_render._withStripped = true
|
|
|
63271
63347
|
var _this = this;
|
|
63272
63348
|
|
|
63273
63349
|
utils_util["a" /* default */].ajax({
|
|
63274
|
-
url: api["
|
|
63350
|
+
url: api["ib" /* ignoreSysMsg */],
|
|
63275
63351
|
params: {
|
|
63276
63352
|
id: res.id
|
|
63277
63353
|
}
|
|
@@ -63290,7 +63366,7 @@ noticevue_type_template_id_4696772e_render._withStripped = true
|
|
|
63290
63366
|
var _this2 = this;
|
|
63291
63367
|
|
|
63292
63368
|
utils_util["a" /* default */].ajax({
|
|
63293
|
-
url: api["
|
|
63369
|
+
url: api["hb" /* ignoreAllSysMsg */]
|
|
63294
63370
|
}).then(function (res) {
|
|
63295
63371
|
_this2.msgs = [];
|
|
63296
63372
|
_this2.$emit('ignore', { type: 'ignore', value: 'all' });
|
|
@@ -64076,7 +64152,7 @@ onlinevue_type_template_id_63844b4e_scoped_true_render._withStripped = true
|
|
|
64076
64152
|
props: {
|
|
64077
64153
|
sysuseronline: {
|
|
64078
64154
|
type: String,
|
|
64079
|
-
default: api["
|
|
64155
|
+
default: api["zc" /* userOnline */]
|
|
64080
64156
|
}
|
|
64081
64157
|
},
|
|
64082
64158
|
data: function data() {
|
|
@@ -64749,7 +64825,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
64749
64825
|
},
|
|
64750
64826
|
searchType: {
|
|
64751
64827
|
type: String,
|
|
64752
|
-
default: api["
|
|
64828
|
+
default: api["Fb" /* searchType */]
|
|
64753
64829
|
},
|
|
64754
64830
|
pageSize: {
|
|
64755
64831
|
type: Number,
|
|
@@ -65535,7 +65611,7 @@ var events = [function (tabs, index, that) {
|
|
|
65535
65611
|
//应用列表接口
|
|
65536
65612
|
appsUrl: {
|
|
65537
65613
|
type: String,
|
|
65538
|
-
default: api["
|
|
65614
|
+
default: api["eb" /* getUserAppWithTag */]
|
|
65539
65615
|
},
|
|
65540
65616
|
//是否启用子应用菜单接口
|
|
65541
65617
|
application: {
|
|
@@ -66369,8 +66445,8 @@ var events = [function (tabs, index, that) {
|
|
|
66369
66445
|
var _this5 = this;
|
|
66370
66446
|
|
|
66371
66447
|
this.webSocket = utils_util["a" /* default */].socket({
|
|
66372
|
-
url: api["
|
|
66373
|
-
take: api["
|
|
66448
|
+
url: api["Ac" /* wss */],
|
|
66449
|
+
take: api["qc" /* topic */],
|
|
66374
66450
|
success: function success(res) {
|
|
66375
66451
|
var data = res.data || {};
|
|
66376
66452
|
for (var i in data) {
|
|
@@ -66579,7 +66655,7 @@ var events = [function (tabs, index, that) {
|
|
|
66579
66655
|
**/
|
|
66580
66656
|
handlerClickMenu: function handlerClickMenu(res) {
|
|
66581
66657
|
utils_util["a" /* default */].ajax({
|
|
66582
|
-
url: api["
|
|
66658
|
+
url: api["zb" /* recordUserApp */],
|
|
66583
66659
|
params: {
|
|
66584
66660
|
userId: this.user.userId,
|
|
66585
66661
|
appId: res.id
|
|
@@ -66867,7 +66943,7 @@ var events = [function (tabs, index, that) {
|
|
|
66867
66943
|
document.body.appendChild(iframe);
|
|
66868
66944
|
}
|
|
66869
66945
|
}
|
|
66870
|
-
utils_util["a" /* default */].ajax({ method: 'post', url: api["
|
|
66946
|
+
utils_util["a" /* default */].ajax({ method: 'post', url: api["qb" /* logout */] }).then(function (res) {
|
|
66871
66947
|
if (res.rCode == 0) {
|
|
66872
66948
|
utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
66873
66949
|
if (_this6.onQuit && typeof _this6.onQuit === 'function') {
|
|
@@ -67928,7 +68004,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
67928
68004
|
var _this2 = this;
|
|
67929
68005
|
|
|
67930
68006
|
utils_util["a" /* default */].ajax({
|
|
67931
|
-
url: api["
|
|
68007
|
+
url: api["mb" /* initUserSet */]
|
|
67932
68008
|
}).then(function (res) {
|
|
67933
68009
|
if (res.rCode === 0) {
|
|
67934
68010
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
@@ -67977,7 +68053,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
67977
68053
|
|
|
67978
68054
|
switch (type) {
|
|
67979
68055
|
case 'job':
|
|
67980
|
-
utils_util["a" /* default */].ajax({ url: api["
|
|
68056
|
+
utils_util["a" /* default */].ajax({ url: api["Lb" /* switchUserTo */], params: { userId: value.value } }).then(function (res) {
|
|
67981
68057
|
if (res.rCode == 0) {
|
|
67982
68058
|
utils_util["a" /* default */].setStorage({
|
|
67983
68059
|
type: _this3.storage,
|
|
@@ -68018,7 +68094,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
68018
68094
|
var initLogin = utils_util["a" /* default */].getStorage('initLogin');
|
|
68019
68095
|
initLogin && (initLogin = JSON.parse(initLogin));
|
|
68020
68096
|
utils_util["a" /* default */].ajax({
|
|
68021
|
-
url: api["
|
|
68097
|
+
url: api["uc" /* updateUserInfo */],
|
|
68022
68098
|
params: {
|
|
68023
68099
|
email: this.values.email,
|
|
68024
68100
|
officeTel: this.values.officeTel,
|
|
@@ -68076,7 +68152,7 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
68076
68152
|
var notify = _this4.values.notify.sort().join(',');
|
|
68077
68153
|
if (notify != _this4.notify.split(',').sort().join(',')) {
|
|
68078
68154
|
utils_util["a" /* default */].ajax({
|
|
68079
|
-
url: api["
|
|
68155
|
+
url: api["tc" /* updateUserCustomInfo */],
|
|
68080
68156
|
params: {
|
|
68081
68157
|
notify: notify
|
|
68082
68158
|
}
|
|
@@ -68431,7 +68507,7 @@ messagevue_type_template_id_016a2883_render._withStripped = true
|
|
|
68431
68507
|
if (this.pageNum <= this.pageCount) {
|
|
68432
68508
|
this.loading = true;
|
|
68433
68509
|
utils_util["a" /* default */].ajax({
|
|
68434
|
-
url: api["
|
|
68510
|
+
url: api["Mb" /* sysMsgPage */],
|
|
68435
68511
|
params: {
|
|
68436
68512
|
pageNum: reload ? 1 : this.pageNum,
|
|
68437
68513
|
pageSize: this.pageSize
|
|
@@ -68464,7 +68540,7 @@ messagevue_type_template_id_016a2883_render._withStripped = true
|
|
|
68464
68540
|
var _this2 = this;
|
|
68465
68541
|
|
|
68466
68542
|
utils_util["a" /* default */].ajax({
|
|
68467
|
-
url: api["
|
|
68543
|
+
url: api["ib" /* ignoreSysMsg */],
|
|
68468
68544
|
params: {
|
|
68469
68545
|
id: res.id
|
|
68470
68546
|
}
|
|
@@ -68484,7 +68560,7 @@ messagevue_type_template_id_016a2883_render._withStripped = true
|
|
|
68484
68560
|
var _this3 = this;
|
|
68485
68561
|
|
|
68486
68562
|
utils_util["a" /* default */].ajax({
|
|
68487
|
-
url: api["
|
|
68563
|
+
url: api["hb" /* ignoreAllSysMsg */]
|
|
68488
68564
|
}).then(function (res) {
|
|
68489
68565
|
_this3.count = 0;
|
|
68490
68566
|
_this3.msgs = [];
|
|
@@ -68819,7 +68895,7 @@ noticevue_type_template_id_6c63684e_render._withStripped = true
|
|
|
68819
68895
|
var _this = this;
|
|
68820
68896
|
|
|
68821
68897
|
utils_util["a" /* default */].ajax({
|
|
68822
|
-
url: api["
|
|
68898
|
+
url: api["hb" /* ignoreAllSysMsg */]
|
|
68823
68899
|
}).then(function (res) {
|
|
68824
68900
|
_this.count = 0;
|
|
68825
68901
|
_this.msgs = [];
|
|
@@ -69326,7 +69402,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69326
69402
|
//获取用户信息的接口
|
|
69327
69403
|
mainConfig: {
|
|
69328
69404
|
type: String,
|
|
69329
|
-
default: api["
|
|
69405
|
+
default: api["rb" /* mainConfig */]
|
|
69330
69406
|
},
|
|
69331
69407
|
iframeId: {
|
|
69332
69408
|
type: String,
|
|
@@ -69754,7 +69830,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
69754
69830
|
return;
|
|
69755
69831
|
}
|
|
69756
69832
|
utils_util["a" /* default */].ajax({
|
|
69757
|
-
url: api["
|
|
69833
|
+
url: api["tc" /* updateUserCustomInfo */],
|
|
69758
69834
|
params: { color: escape(color.toLowerCase()) },
|
|
69759
69835
|
data: { color: escape(color.toLowerCase()) }
|
|
69760
69836
|
}).then(function (res) {
|
|
@@ -70967,8 +71043,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
70967
71043
|
var _this11 = this;
|
|
70968
71044
|
|
|
70969
71045
|
this.webSocket = utils_util["a" /* default */].socket({
|
|
70970
|
-
url: api["
|
|
70971
|
-
take: api["
|
|
71046
|
+
url: api["Ac" /* wss */],
|
|
71047
|
+
take: api["qc" /* topic */],
|
|
70972
71048
|
success: function success(res) {
|
|
70973
71049
|
var data = res.data || {};
|
|
70974
71050
|
for (var i in data) {
|
|
@@ -72813,7 +72889,7 @@ var notify_src_mainvue_type_script_lang_js_extends = Object.assign || function (
|
|
|
72813
72889
|
text: '重发',
|
|
72814
72890
|
format: false,
|
|
72815
72891
|
method: 'post',
|
|
72816
|
-
action: api["
|
|
72892
|
+
action: api["Gb" /* sendBatch */]
|
|
72817
72893
|
}]
|
|
72818
72894
|
}];
|
|
72819
72895
|
}
|
|
@@ -73000,13 +73076,13 @@ var notify_src_mainvue_type_script_lang_js_extends = Object.assign || function (
|
|
|
73000
73076
|
},
|
|
73001
73077
|
data: function data() {
|
|
73002
73078
|
return {
|
|
73003
|
-
sendList: api["
|
|
73004
|
-
sendBatch: api["
|
|
73079
|
+
sendList: api["Ib" /* sendList */],
|
|
73080
|
+
sendBatch: api["Gb" /* sendBatch */],
|
|
73005
73081
|
tableCount: 0,
|
|
73006
73082
|
selectData: [],
|
|
73007
73083
|
formTitle: '',
|
|
73008
73084
|
showForm: false,
|
|
73009
|
-
formData: api["
|
|
73085
|
+
formData: api["Hb" /* sendInfo */],
|
|
73010
73086
|
params: {},
|
|
73011
73087
|
sendTypeDict: [],
|
|
73012
73088
|
statusDict: []
|
|
@@ -73025,7 +73101,7 @@ var notify_src_mainvue_type_script_lang_js_extends = Object.assign || function (
|
|
|
73025
73101
|
type: 'primary',
|
|
73026
73102
|
checkbox: true,
|
|
73027
73103
|
format: false,
|
|
73028
|
-
action: api["
|
|
73104
|
+
action: api["Gb" /* sendBatch */]
|
|
73029
73105
|
}]
|
|
73030
73106
|
}, {
|
|
73031
73107
|
type: 'search',
|
|
@@ -74968,7 +75044,7 @@ mainvue_type_template_id_c789bcdc_render._withStripped = true
|
|
|
74968
75044
|
var mainConfig = utils_util["a" /* default */].getStorage('mainConfig');
|
|
74969
75045
|
mainConfig && (this.userModel = JSON.parse(mainConfig).userModel);
|
|
74970
75046
|
utils_util["a" /* default */].ajax({
|
|
74971
|
-
url: api["
|
|
75047
|
+
url: api["lb" /* initRetrialAuth */]
|
|
74972
75048
|
}).then(function (res) {
|
|
74973
75049
|
var rCode = res.rCode,
|
|
74974
75050
|
results = res.results;
|
|
@@ -75077,7 +75153,7 @@ mainvue_type_template_id_c789bcdc_render._withStripped = true
|
|
|
75077
75153
|
uuid: this.uuid
|
|
75078
75154
|
};
|
|
75079
75155
|
utils_util["a" /* default */].ajax({
|
|
75080
|
-
url: api["
|
|
75156
|
+
url: api["Eb" /* scanCodeRetrialAuth */],
|
|
75081
75157
|
method: 'post',
|
|
75082
75158
|
data: params,
|
|
75083
75159
|
params: params
|
|
@@ -75811,7 +75887,7 @@ function select_src_mainvue_type_script_lang_js_objectWithoutProperties(obj, key
|
|
|
75811
75887
|
labelKey: this.label,
|
|
75812
75888
|
loading: this.loading,
|
|
75813
75889
|
disabled: this.disabled,
|
|
75814
|
-
tree: typeof this.tree === 'boolean' ? this.tree : select_src_mainvue_type_script_lang_js_extends({}, this.tree, { lazy: this.
|
|
75890
|
+
tree: typeof this.tree === 'boolean' ? this.tree : select_src_mainvue_type_script_lang_js_extends({}, this.tree, { lazy: this.lazy }),
|
|
75815
75891
|
data: this.results,
|
|
75816
75892
|
// 父级是否可选
|
|
75817
75893
|
parentCheck: this.parentCheck,
|
|
@@ -83432,7 +83508,7 @@ mainvue_type_template_id_6baa7a0b_render._withStripped = true
|
|
|
83432
83508
|
},
|
|
83433
83509
|
url: {
|
|
83434
83510
|
type: String,
|
|
83435
|
-
default: api["
|
|
83511
|
+
default: api["fb" /* gethelpdoc */]
|
|
83436
83512
|
},
|
|
83437
83513
|
param: {
|
|
83438
83514
|
type: Object,
|
|
@@ -83576,8 +83652,8 @@ tips_src_main.install = function (Vue) {
|
|
|
83576
83652
|
};
|
|
83577
83653
|
|
|
83578
83654
|
/* harmony default export */ var tips = (tips_src_main);
|
|
83579
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=
|
|
83580
|
-
var
|
|
83655
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=c4738eee&
|
|
83656
|
+
var mainvue_type_template_id_c4738eee_render = function () {
|
|
83581
83657
|
var _vm = this
|
|
83582
83658
|
var _h = _vm.$createElement
|
|
83583
83659
|
var _c = _vm._self._c || _h
|
|
@@ -83725,6 +83801,7 @@ var mainvue_type_template_id_367f47a8_render = function () {
|
|
|
83725
83801
|
"empty-text": !_vm.loading ? "暂无数据" : "",
|
|
83726
83802
|
"node-key": _vm.nodeKey,
|
|
83727
83803
|
indent: 12,
|
|
83804
|
+
lazy: _vm.lazy,
|
|
83728
83805
|
data: _vm.treeData,
|
|
83729
83806
|
props: _vm.defaultProps,
|
|
83730
83807
|
"filter-node-method": _vm.filterNode,
|
|
@@ -83773,11 +83850,11 @@ var mainvue_type_template_id_367f47a8_render = function () {
|
|
|
83773
83850
|
)
|
|
83774
83851
|
: _vm._e()
|
|
83775
83852
|
}
|
|
83776
|
-
var
|
|
83777
|
-
|
|
83853
|
+
var mainvue_type_template_id_c4738eee_staticRenderFns = []
|
|
83854
|
+
mainvue_type_template_id_c4738eee_render._withStripped = true
|
|
83778
83855
|
|
|
83779
83856
|
|
|
83780
|
-
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=
|
|
83857
|
+
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=c4738eee&
|
|
83781
83858
|
|
|
83782
83859
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
|
|
83783
83860
|
//
|
|
@@ -83868,6 +83945,7 @@ mainvue_type_template_id_367f47a8_render._withStripped = true
|
|
|
83868
83945
|
//
|
|
83869
83946
|
//
|
|
83870
83947
|
//
|
|
83948
|
+
//
|
|
83871
83949
|
|
|
83872
83950
|
|
|
83873
83951
|
|
|
@@ -84492,8 +84570,8 @@ mainvue_type_template_id_367f47a8_render._withStripped = true
|
|
|
84492
84570
|
|
|
84493
84571
|
var tree_src_main_component = normalizeComponent(
|
|
84494
84572
|
packages_tree_src_mainvue_type_script_lang_js_,
|
|
84495
|
-
|
|
84496
|
-
|
|
84573
|
+
mainvue_type_template_id_c4738eee_render,
|
|
84574
|
+
mainvue_type_template_id_c4738eee_staticRenderFns,
|
|
84497
84575
|
false,
|
|
84498
84576
|
null,
|
|
84499
84577
|
null,
|
|
@@ -91017,7 +91095,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
91017
91095
|
source: '',
|
|
91018
91096
|
excludeNames: '',
|
|
91019
91097
|
boxHeight: this.listHeight,
|
|
91020
|
-
previewAdjunct: api["
|
|
91098
|
+
previewAdjunct: api["wb" /* previewAdjunct */],
|
|
91021
91099
|
kkfileview: null,
|
|
91022
91100
|
dochubConfig: {}
|
|
91023
91101
|
};
|
|
@@ -91275,7 +91353,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
91275
91353
|
this.dochubConfig = config.dochubConfig;
|
|
91276
91354
|
}
|
|
91277
91355
|
|
|
91278
|
-
var url = this.portrait || this.documentId ? this.dochubConfig.reuploadDocumentUrl || api["
|
|
91356
|
+
var url = this.portrait || this.documentId ? this.dochubConfig.reuploadDocumentUrl || api["wc" /* uploadOnlyOne */] : this.dochubConfig.uploadDocumentUrl || api["yc" /* uploads */];
|
|
91279
91357
|
this.uploadUrl = url.indexOf(this.host) > -1 ? url : this.host + url;
|
|
91280
91358
|
this.requestFiles && this.getFiles();
|
|
91281
91359
|
} else {
|
|
@@ -91298,7 +91376,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
91298
91376
|
_this3.dochubConfig = res.results.dochubConfig;
|
|
91299
91377
|
sessionStorage.setItem('dochubConfig', JSON.stringify(res.results.dochubConfig));
|
|
91300
91378
|
}
|
|
91301
|
-
var _url = _this3.portrait ? _this3.dochubConfig.reuploadDocumentUrl || api["
|
|
91379
|
+
var _url = _this3.portrait ? _this3.dochubConfig.reuploadDocumentUrl || api["wc" /* uploadOnlyOne */] : _this3.dochubConfig.uploadDocumentUrl || api["yc" /* uploads */];
|
|
91302
91380
|
_this3.uploadUrl = _url.indexOf(_this3.host) > -1 ? _url : _this3.host + _url;
|
|
91303
91381
|
if (res.results.kkViewRootPath) {
|
|
91304
91382
|
_this3.kkfileview = res.results.kkViewRootPath;
|
|
@@ -91413,13 +91491,13 @@ var mainvue_type_script_lang_js_props;
|
|
|
91413
91491
|
if (this.kkfileview) {
|
|
91414
91492
|
this.openKkfileview(file);
|
|
91415
91493
|
} else {
|
|
91416
|
-
utils_util["a" /* default */].win.open(this.host + (url ? url : api["
|
|
91494
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["yb" /* previewAdjunctOffice */]) + '?cmd=view&bucketName=' + file.absolutePath + '&fileId=' + file.adjunctId + '&fileName=' + file.newName);
|
|
91417
91495
|
}
|
|
91418
91496
|
} else if (suffix.includes('pdf')) {
|
|
91419
91497
|
if (this.kkfileview) {
|
|
91420
91498
|
this.openKkfileview(file);
|
|
91421
91499
|
} else {
|
|
91422
|
-
utils_util["a" /* default */].win.open(this.host + (url ? url : api["
|
|
91500
|
+
utils_util["a" /* default */].win.open(this.host + (url ? url : api["xb" /* previewAdjunct2 */]) + '/' + file.originalName + '?adjunctId=' + file.adjunctId);
|
|
91423
91501
|
}
|
|
91424
91502
|
} else if (suffix.includes('jpge') || suffix.includes('jpg') || suffix.includes('gif') || suffix.includes('png')) {
|
|
91425
91503
|
this.imgUrl = res.url && utils_util["a" /* default */].startWith(url, ['http', '/', true]) ? res.url : this.host + (url ? url : this.previewAdjunct) + '?adjunctId=' + file.adjunctId;
|
|
@@ -91584,7 +91662,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
91584
91662
|
}
|
|
91585
91663
|
},
|
|
91586
91664
|
handleDownloads: function handleDownloads() {
|
|
91587
|
-
var url = typeof this.downloads === 'string' ? this.downloads : this.dochubConfig.compressDownloadDocumentUrl || api["
|
|
91665
|
+
var url = typeof this.downloads === 'string' ? this.downloads : this.dochubConfig.compressDownloadDocumentUrl || api["vc" /* uploadDownloads */];
|
|
91588
91666
|
utils_util["a" /* default */].win.open(this.host + url + '?ownId=' + this.ownId + '&code=' + this.code + (this.extendCode ? '&extendCode=' + this.extendCode : '') + '&businessId=' + this.ownId + '&fileName=文档.zip' + '&bucketCode=' + this.code);
|
|
91589
91667
|
},
|
|
91590
91668
|
handleDownload: function handleDownload(file) {
|
|
@@ -91624,7 +91702,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
91624
91702
|
ids = ids.join(',');
|
|
91625
91703
|
utils_util["a" /* default */].ajax({
|
|
91626
91704
|
method: this.method,
|
|
91627
|
-
url: this.dochubConfig.sortDocumentsUrl || api["
|
|
91705
|
+
url: this.dochubConfig.sortDocumentsUrl || api["xc" /* uploadSort */],
|
|
91628
91706
|
data: {
|
|
91629
91707
|
ids: ids,
|
|
91630
91708
|
documentIds: ids,
|
|
@@ -92235,7 +92313,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
92235
92313
|
}
|
|
92236
92314
|
|
|
92237
92315
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
92238
|
-
version: '0.6.
|
|
92316
|
+
version: '0.6.93',
|
|
92239
92317
|
install: install,
|
|
92240
92318
|
Button: packages_button,
|
|
92241
92319
|
ButtonGroup: button_group,
|