eoss-ui 0.7.10 → 0.7.11
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 +1 -1
- package/lib/button.js +1 -1
- package/lib/calogin.js +1 -1
- package/lib/checkbox-group.js +1 -1
- package/lib/config/api.js +1 -1
- package/lib/data-table-form.js +1 -1
- package/lib/data-table.js +1 -1
- package/lib/date-picker.js +1 -1
- package/lib/dialog.js +1 -1
- package/lib/eoss-ui.common.js +486 -464
- package/lib/flow-group.js +1 -1
- package/lib/flow-list.js +1 -1
- package/lib/flow.js +455 -439
- package/lib/form.js +9 -5
- package/lib/handle-user.js +1 -1
- package/lib/handler.js +1 -1
- package/lib/icon.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -1
- package/lib/input.js +1 -1
- package/lib/login.js +1 -1
- package/lib/main.js +10 -8
- package/lib/nav.js +1 -1
- package/lib/notify.js +1 -1
- package/lib/page.js +1 -1
- package/lib/pagination.js +1 -1
- package/lib/player.js +1 -1
- package/lib/qr-code.js +1 -1
- package/lib/radio-group.js +1 -1
- package/lib/retrial-auth.js +1 -1
- package/lib/select-ganged.js +1 -1
- package/lib/select.js +1 -1
- package/lib/selector-panel.js +1 -1
- package/lib/selector.js +1 -1
- package/lib/sizer.js +1 -1
- package/lib/steps.js +1 -1
- package/lib/switch.js +1 -1
- package/lib/table-form.js +1 -1
- package/lib/tabs.js +1 -1
- package/lib/tips.js +1 -1
- package/lib/tree-group.js +1 -1
- package/lib/tree.js +1 -1
- package/lib/upload.js +1 -1
- package/lib/wujie.js +1 -1
- package/lib/wxlogin.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/taskUnionExamine.vue +1 -0
- package/packages/flow/src/main.vue +10 -2
- package/packages/flow/src/selectUser.vue +5 -1
- package/packages/flow/src/startTaskRead.vue +1 -0
- package/packages/flow/src/supervise.vue +4 -4
- package/packages/form/src/main.vue +6 -2
- package/packages/main/src/simplicity/userinfo.vue +1 -0
- package/src/config/api.js +1 -1
- package/src/index.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -3717,7 +3717,7 @@ var watermark = function watermark(option) {
|
|
|
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
3719
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "db", function() { return getUrgencyLevelChangedNotificationType; });
|
|
3720
|
-
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/
|
|
3720
|
+
var flowPendingPrefix = window.flowPendingPrefix || localStorage.getItem('flowPendingPrefix') || '/bpm';
|
|
3721
3721
|
// 登录
|
|
3722
3722
|
var doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
|
|
3723
3723
|
var doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
|
|
@@ -4485,7 +4485,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4485
4485
|
// ESM COMPAT FLAG
|
|
4486
4486
|
__webpack_require__.r(__webpack_exports__);
|
|
4487
4487
|
|
|
4488
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
4488
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=2db06a0a&
|
|
4489
4489
|
var render = function () {
|
|
4490
4490
|
var _vm = this
|
|
4491
4491
|
var _h = _vm.$createElement
|
|
@@ -7376,7 +7376,7 @@ var staticRenderFns = []
|
|
|
7376
7376
|
render._withStripped = true
|
|
7377
7377
|
|
|
7378
7378
|
|
|
7379
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
7379
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=2db06a0a&
|
|
7380
7380
|
|
|
7381
7381
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
7382
7382
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -9193,8 +9193,8 @@ processFormvue_type_template_id_e536b88e_render._withStripped = true
|
|
|
9193
9193
|
|
|
9194
9194
|
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=e536b88e&
|
|
9195
9195
|
|
|
9196
|
-
// 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=
|
|
9197
|
-
var
|
|
9196
|
+
// 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=4750588e&
|
|
9197
|
+
var selectUservue_type_template_id_4750588e_render = function () {
|
|
9198
9198
|
var _vm = this
|
|
9199
9199
|
var _h = _vm.$createElement
|
|
9200
9200
|
var _c = _vm._self._c || _h
|
|
@@ -9308,7 +9308,7 @@ var selectUservue_type_template_id_3d8ca42d_render = function () {
|
|
|
9308
9308
|
tabs: _vm.tabs,
|
|
9309
9309
|
title: _vm.title,
|
|
9310
9310
|
classify: _vm.classify,
|
|
9311
|
-
"collapse-tags":
|
|
9311
|
+
"collapse-tags": _vm.selectorTags,
|
|
9312
9312
|
mix: _vm.mix,
|
|
9313
9313
|
min: _vm.isUnionSeal ? 1 : 0,
|
|
9314
9314
|
disabled:
|
|
@@ -9347,11 +9347,11 @@ var selectUservue_type_template_id_3d8ca42d_render = function () {
|
|
|
9347
9347
|
2
|
|
9348
9348
|
)
|
|
9349
9349
|
}
|
|
9350
|
-
var
|
|
9351
|
-
|
|
9350
|
+
var selectUservue_type_template_id_4750588e_staticRenderFns = []
|
|
9351
|
+
selectUservue_type_template_id_4750588e_render._withStripped = true
|
|
9352
9352
|
|
|
9353
9353
|
|
|
9354
|
-
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=
|
|
9354
|
+
// CONCATENATED MODULE: ./packages/flow/src/selectUser.vue?vue&type=template&id=4750588e&
|
|
9355
9355
|
|
|
9356
9356
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=script&lang=js&
|
|
9357
9357
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -9491,6 +9491,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9491
9491
|
type: Boolean,
|
|
9492
9492
|
default: false
|
|
9493
9493
|
},
|
|
9494
|
+
selectorTags: {
|
|
9495
|
+
type: [Number, undefined],
|
|
9496
|
+
default: 2
|
|
9497
|
+
},
|
|
9494
9498
|
isCustomUser: { type: Number, default: 1 },
|
|
9495
9499
|
isCurrentNodeForbiddenChangeCandidate: { type: Number, default: 0 },
|
|
9496
9500
|
options: {
|
|
@@ -9851,8 +9855,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9851
9855
|
|
|
9852
9856
|
var selectUser_component = Object(componentNormalizer["a" /* default */])(
|
|
9853
9857
|
src_selectUservue_type_script_lang_js_,
|
|
9854
|
-
|
|
9855
|
-
|
|
9858
|
+
selectUservue_type_template_id_4750588e_render,
|
|
9859
|
+
selectUservue_type_template_id_4750588e_staticRenderFns,
|
|
9856
9860
|
false,
|
|
9857
9861
|
null,
|
|
9858
9862
|
null,
|
|
@@ -13382,8 +13386,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
13382
13386
|
)
|
|
13383
13387
|
|
|
13384
13388
|
/* harmony default export */ var processReject = (processReject_component.exports);
|
|
13385
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
13386
|
-
var
|
|
13389
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=094580c3&
|
|
13390
|
+
var startTaskReadvue_type_template_id_094580c3_render = function () {
|
|
13387
13391
|
var _vm = this
|
|
13388
13392
|
var _h = _vm.$createElement
|
|
13389
13393
|
var _c = _vm._self._c || _h
|
|
@@ -13399,6 +13403,7 @@ var startTaskReadvue_type_template_id_8c622104_render = function () {
|
|
|
13399
13403
|
},
|
|
13400
13404
|
],
|
|
13401
13405
|
staticClass: "task-read",
|
|
13406
|
+
style: "height: " + (_vm.typeCode == "read" ? "100%" : "unset") + ";",
|
|
13402
13407
|
attrs: {
|
|
13403
13408
|
"element-loading-text": "加载中...",
|
|
13404
13409
|
"element-loading-spinner": "el-icon-loading",
|
|
@@ -13804,11 +13809,11 @@ var startTaskReadvue_type_template_id_8c622104_render = function () {
|
|
|
13804
13809
|
1
|
|
13805
13810
|
)
|
|
13806
13811
|
}
|
|
13807
|
-
var
|
|
13808
|
-
|
|
13812
|
+
var startTaskReadvue_type_template_id_094580c3_staticRenderFns = []
|
|
13813
|
+
startTaskReadvue_type_template_id_094580c3_render._withStripped = true
|
|
13809
13814
|
|
|
13810
13815
|
|
|
13811
|
-
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
13816
|
+
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=094580c3&
|
|
13812
13817
|
|
|
13813
13818
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
|
|
13814
13819
|
var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -13985,6 +13990,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
13985
13990
|
//
|
|
13986
13991
|
//
|
|
13987
13992
|
//
|
|
13993
|
+
//
|
|
13988
13994
|
|
|
13989
13995
|
|
|
13990
13996
|
|
|
@@ -14531,8 +14537,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
14531
14537
|
|
|
14532
14538
|
var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
14533
14539
|
src_startTaskReadvue_type_script_lang_js_,
|
|
14534
|
-
|
|
14535
|
-
|
|
14540
|
+
startTaskReadvue_type_template_id_094580c3_render,
|
|
14541
|
+
startTaskReadvue_type_template_id_094580c3_staticRenderFns,
|
|
14536
14542
|
false,
|
|
14537
14543
|
null,
|
|
14538
14544
|
null,
|
|
@@ -15943,8 +15949,8 @@ var reset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15943
15949
|
)
|
|
15944
15950
|
|
|
15945
15951
|
/* harmony default export */ var src_reset = (reset_component.exports);
|
|
15946
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=
|
|
15947
|
-
var
|
|
15952
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=6c2affc4&
|
|
15953
|
+
var taskUnionExaminevue_type_template_id_6c2affc4_render = function () {
|
|
15948
15954
|
var _vm = this
|
|
15949
15955
|
var _h = _vm.$createElement
|
|
15950
15956
|
var _c = _vm._self._c || _h
|
|
@@ -16017,6 +16023,7 @@ var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
|
|
|
16017
16023
|
? _vm.infoList.nextOtherOrgObj
|
|
16018
16024
|
: _vm.infoList.nextCurrentOrgObj,
|
|
16019
16025
|
multiple: _vm.newMultiple,
|
|
16026
|
+
selectorTags: 0,
|
|
16020
16027
|
mix: _vm.currentMix,
|
|
16021
16028
|
isUnionSeal: _vm.type == "unionSeal",
|
|
16022
16029
|
selectUserList: _vm.unionSealData || [],
|
|
@@ -16201,11 +16208,11 @@ var taskUnionExaminevue_type_template_id_7cff7406_render = function () {
|
|
|
16201
16208
|
1
|
|
16202
16209
|
)
|
|
16203
16210
|
}
|
|
16204
|
-
var
|
|
16205
|
-
|
|
16211
|
+
var taskUnionExaminevue_type_template_id_6c2affc4_staticRenderFns = []
|
|
16212
|
+
taskUnionExaminevue_type_template_id_6c2affc4_render._withStripped = true
|
|
16206
16213
|
|
|
16207
16214
|
|
|
16208
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=
|
|
16215
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/taskUnionExamine.vue?vue&type=template&id=6c2affc4&
|
|
16209
16216
|
|
|
16210
16217
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/taskUnionExamine.vue?vue&type=script&lang=js&
|
|
16211
16218
|
var taskUnionExaminevue_type_script_lang_js_components;
|
|
@@ -16343,6 +16350,7 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16343
16350
|
//
|
|
16344
16351
|
//
|
|
16345
16352
|
//
|
|
16353
|
+
//
|
|
16346
16354
|
|
|
16347
16355
|
|
|
16348
16356
|
|
|
@@ -16791,8 +16799,8 @@ var taskUnionExaminevue_type_script_lang_js_components;
|
|
|
16791
16799
|
|
|
16792
16800
|
var taskUnionExamine_component = Object(componentNormalizer["a" /* default */])(
|
|
16793
16801
|
component_taskUnionExaminevue_type_script_lang_js_,
|
|
16794
|
-
|
|
16795
|
-
|
|
16802
|
+
taskUnionExaminevue_type_template_id_6c2affc4_render,
|
|
16803
|
+
taskUnionExaminevue_type_template_id_6c2affc4_staticRenderFns,
|
|
16796
16804
|
false,
|
|
16797
16805
|
null,
|
|
16798
16806
|
null,
|
|
@@ -21603,8 +21611,8 @@ var freeStartFlow_component = Object(componentNormalizer["a" /* default */])(
|
|
|
21603
21611
|
)
|
|
21604
21612
|
|
|
21605
21613
|
/* harmony default export */ var freeStartFlow = (freeStartFlow_component.exports);
|
|
21606
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=
|
|
21607
|
-
var
|
|
21614
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=template&id=f11b91cc&
|
|
21615
|
+
var supervisevue_type_template_id_f11b91cc_render = function () {
|
|
21608
21616
|
var _vm = this
|
|
21609
21617
|
var _h = _vm.$createElement
|
|
21610
21618
|
var _c = _vm._self._c || _h
|
|
@@ -21777,11 +21785,11 @@ var supervisevue_type_template_id_8ef7a708_render = function () {
|
|
|
21777
21785
|
1
|
|
21778
21786
|
)
|
|
21779
21787
|
}
|
|
21780
|
-
var
|
|
21781
|
-
|
|
21788
|
+
var supervisevue_type_template_id_f11b91cc_staticRenderFns = []
|
|
21789
|
+
supervisevue_type_template_id_f11b91cc_render._withStripped = true
|
|
21782
21790
|
|
|
21783
21791
|
|
|
21784
|
-
// CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=
|
|
21792
|
+
// CONCATENATED MODULE: ./packages/flow/src/supervise.vue?vue&type=template&id=f11b91cc&
|
|
21785
21793
|
|
|
21786
21794
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/supervise.vue?vue&type=script&lang=js&
|
|
21787
21795
|
var supervisevue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -21878,10 +21886,10 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21878
21886
|
subProcess: function subProcess() {
|
|
21879
21887
|
var _this = this;
|
|
21880
21888
|
|
|
21881
|
-
|
|
21882
|
-
|
|
21883
|
-
|
|
21884
|
-
|
|
21889
|
+
if (this.nextNode.noticeType.length == 0) {
|
|
21890
|
+
this.$message.warning('请选择通知方式');
|
|
21891
|
+
return;
|
|
21892
|
+
}
|
|
21885
21893
|
if (this.nextNode.noticeType.length != 0 && !this.nextNode.notifyMessage) {
|
|
21886
21894
|
this.$message.warning('请填写通知消息内容');
|
|
21887
21895
|
return;
|
|
@@ -21959,8 +21967,8 @@ var supervisevue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
21959
21967
|
|
|
21960
21968
|
var supervise_component = Object(componentNormalizer["a" /* default */])(
|
|
21961
21969
|
src_supervisevue_type_script_lang_js_,
|
|
21962
|
-
|
|
21963
|
-
|
|
21970
|
+
supervisevue_type_template_id_f11b91cc_render,
|
|
21971
|
+
supervisevue_type_template_id_f11b91cc_staticRenderFns,
|
|
21964
21972
|
false,
|
|
21965
21973
|
null,
|
|
21966
21974
|
null,
|
|
@@ -24128,10 +24136,18 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24128
24136
|
}
|
|
24129
24137
|
},
|
|
24130
24138
|
handleClickCirculate: function handleClickCirculate() {
|
|
24131
|
-
this
|
|
24139
|
+
var _this2 = this;
|
|
24140
|
+
|
|
24141
|
+
if (this.beforeSubmit == undefined) {
|
|
24142
|
+
this.$refs.circulate.subMit();
|
|
24143
|
+
} else {
|
|
24144
|
+
this.beforeSubmit(1).then(function (next) {
|
|
24145
|
+
_this2.$refs.circulate.subMit();
|
|
24146
|
+
}).catch(function (e) {});
|
|
24147
|
+
}
|
|
24132
24148
|
},
|
|
24133
24149
|
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
24134
|
-
var
|
|
24150
|
+
var _this3 = this;
|
|
24135
24151
|
|
|
24136
24152
|
var params = {
|
|
24137
24153
|
url: api["R" /* getNodeInfoForStart */],
|
|
@@ -24139,9 +24155,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24139
24155
|
};
|
|
24140
24156
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24141
24157
|
if (res.status == 'success') {
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24158
|
+
_this3.isHideTemporarySave = res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
24159
|
+
_this3.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
24160
|
+
_this3.directCreateCircularReadWhenFlowStarted = res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
24145
24161
|
|
|
24146
24162
|
// if (this.directCreateCircularReadWhenFlowStarted) {
|
|
24147
24163
|
// this.nodeInfo.option.map((item) => {
|
|
@@ -24152,8 +24168,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24152
24168
|
// item.disabled = false;
|
|
24153
24169
|
// });
|
|
24154
24170
|
// }
|
|
24155
|
-
|
|
24156
|
-
|
|
24171
|
+
_this3.optionsKey++;
|
|
24172
|
+
_this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired == 1;
|
|
24157
24173
|
}
|
|
24158
24174
|
});
|
|
24159
24175
|
},
|
|
@@ -24190,12 +24206,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24190
24206
|
this.handleVisible = true;
|
|
24191
24207
|
},
|
|
24192
24208
|
showMessage: function showMessage() {
|
|
24193
|
-
var
|
|
24209
|
+
var _this4 = this;
|
|
24194
24210
|
|
|
24195
24211
|
this.showNews = !this.showNews;
|
|
24196
24212
|
if (!this.showNews) return;
|
|
24197
24213
|
this.$nextTick(function () {
|
|
24198
|
-
|
|
24214
|
+
_this4.$refs.esContent.scrollTop += _this4.$refs.messagebox.clientHeight;
|
|
24199
24215
|
});
|
|
24200
24216
|
},
|
|
24201
24217
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
@@ -24269,7 +24285,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24269
24285
|
|
|
24270
24286
|
//获取附件
|
|
24271
24287
|
getFile: function getFile(ownId, code) {
|
|
24272
|
-
var
|
|
24288
|
+
var _this5 = this;
|
|
24273
24289
|
|
|
24274
24290
|
var params = {
|
|
24275
24291
|
url: api["H" /* getAdjunctFileInfos */],
|
|
@@ -24281,13 +24297,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24281
24297
|
msg = res.msg;
|
|
24282
24298
|
|
|
24283
24299
|
if (rCode == 0) {
|
|
24284
|
-
results && (
|
|
24300
|
+
results && (_this5.fileNum = results.length);
|
|
24285
24301
|
} else {
|
|
24286
|
-
|
|
24302
|
+
_this5.$message.error(msg || '系统错误,请联系管理员!');
|
|
24287
24303
|
}
|
|
24288
24304
|
}).catch(function (err) {
|
|
24289
24305
|
if (err.message && err.message !== 'canceled') {
|
|
24290
|
-
|
|
24306
|
+
_this5.$message.error(err.message);
|
|
24291
24307
|
}
|
|
24292
24308
|
});
|
|
24293
24309
|
},
|
|
@@ -24334,7 +24350,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24334
24350
|
}
|
|
24335
24351
|
},
|
|
24336
24352
|
taskRead: function taskRead() {
|
|
24337
|
-
var
|
|
24353
|
+
var _this6 = this;
|
|
24338
24354
|
|
|
24339
24355
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
24340
24356
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
@@ -24344,8 +24360,8 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24344
24360
|
cancelButtonText: '取消',
|
|
24345
24361
|
type: 'warning'
|
|
24346
24362
|
}).then(function () {
|
|
24347
|
-
|
|
24348
|
-
var _taskExamineInfo2 =
|
|
24363
|
+
_this6.loading = util["a" /* default */].loading(_this6.$loading, '加载中...');
|
|
24364
|
+
var _taskExamineInfo2 = _this6.taskExamineInfo,
|
|
24349
24365
|
businessId = _taskExamineInfo2.businessId,
|
|
24350
24366
|
appId = _taskExamineInfo2.appId,
|
|
24351
24367
|
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
@@ -24356,7 +24372,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24356
24372
|
appId: appId,
|
|
24357
24373
|
processDefinitionId: processDefinitionId,
|
|
24358
24374
|
pendingId: pendingId,
|
|
24359
|
-
opinion:
|
|
24375
|
+
opinion: _this6.value,
|
|
24360
24376
|
taskAction: 'complete'
|
|
24361
24377
|
};
|
|
24362
24378
|
util["a" /* default */].ajax({
|
|
@@ -24371,25 +24387,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24371
24387
|
var status = res.status,
|
|
24372
24388
|
message = res.message;
|
|
24373
24389
|
|
|
24374
|
-
|
|
24390
|
+
_this6.loading.close();
|
|
24375
24391
|
if (status === 'success') {
|
|
24376
|
-
|
|
24392
|
+
_this6.flowSuccess();
|
|
24377
24393
|
// this.$message.success('提交成功');
|
|
24378
24394
|
// this.$emit('success');
|
|
24379
24395
|
} else {
|
|
24380
|
-
|
|
24381
|
-
|
|
24396
|
+
_this6.$message.error(message || '系统错误,请联系管理员!');
|
|
24397
|
+
_this6.$emit('error');
|
|
24382
24398
|
}
|
|
24383
24399
|
}).catch(function (err) {
|
|
24384
|
-
|
|
24400
|
+
_this6.loading.close();
|
|
24385
24401
|
if (err.message && err.message !== 'canceled') {
|
|
24386
|
-
|
|
24402
|
+
_this6.$message.error(err.message);
|
|
24387
24403
|
}
|
|
24388
24404
|
});
|
|
24389
24405
|
}).catch(function () {});
|
|
24390
24406
|
},
|
|
24391
24407
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
24392
|
-
var
|
|
24408
|
+
var _this7 = this;
|
|
24393
24409
|
|
|
24394
24410
|
var params = {
|
|
24395
24411
|
url: api["d" /* checkBusinessIdStartedReadTransferHandle */],
|
|
@@ -24400,14 +24416,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24400
24416
|
}
|
|
24401
24417
|
};
|
|
24402
24418
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24403
|
-
|
|
24419
|
+
_this7.loading.close();
|
|
24404
24420
|
if (res.rCode == 0) {
|
|
24405
|
-
|
|
24421
|
+
_this7.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
24406
24422
|
}
|
|
24407
24423
|
});
|
|
24408
24424
|
},
|
|
24409
24425
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
24410
|
-
var
|
|
24426
|
+
var _this8 = this;
|
|
24411
24427
|
|
|
24412
24428
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24413
24429
|
util["a" /* default */].ajax({
|
|
@@ -24424,32 +24440,32 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24424
24440
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
24425
24441
|
|
|
24426
24442
|
if (status === 'success') {
|
|
24427
|
-
|
|
24428
|
-
|
|
24429
|
-
|
|
24430
|
-
|
|
24431
|
-
|
|
24432
|
-
|
|
24433
|
-
if (
|
|
24434
|
-
|
|
24443
|
+
_this8.taskExamineInfo = taskExamine;
|
|
24444
|
+
_this8.nodeName = _this8.nodename || taskExamine.nodeName || '分阅';
|
|
24445
|
+
_this8.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
24446
|
+
_this8.nextNode.notificationMsg = defaultNotificationMessage;
|
|
24447
|
+
_this8.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
24448
|
+
_this8.isCanFenyue = isCanFenyue;
|
|
24449
|
+
if (_this8.nodeName) {
|
|
24450
|
+
_this8.NodeName = _this8.nodeName;
|
|
24435
24451
|
}
|
|
24436
|
-
if (
|
|
24437
|
-
|
|
24452
|
+
if (_this8.isCanReadTransferHandle) {
|
|
24453
|
+
_this8.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
24438
24454
|
}
|
|
24439
|
-
|
|
24455
|
+
_this8.getNodeType();
|
|
24440
24456
|
} else {
|
|
24441
|
-
|
|
24457
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
24442
24458
|
}
|
|
24443
|
-
|
|
24459
|
+
_this8.loading.close();
|
|
24444
24460
|
}).catch(function (err) {
|
|
24445
|
-
|
|
24461
|
+
_this8.loading.close();
|
|
24446
24462
|
if (err.message && err.message !== 'canceled') {
|
|
24447
|
-
|
|
24463
|
+
_this8.$message.error(err.message);
|
|
24448
24464
|
}
|
|
24449
24465
|
});
|
|
24450
24466
|
},
|
|
24451
24467
|
getUserInfo: function getUserInfo() {
|
|
24452
|
-
var
|
|
24468
|
+
var _this9 = this;
|
|
24453
24469
|
|
|
24454
24470
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
24455
24471
|
if (mainConfig) {
|
|
@@ -24460,14 +24476,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24460
24476
|
data = res.data;
|
|
24461
24477
|
|
|
24462
24478
|
if (status == 'success') {
|
|
24463
|
-
|
|
24479
|
+
_this9.userModel = data;
|
|
24464
24480
|
} else {
|
|
24465
24481
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
24466
|
-
|
|
24482
|
+
_this9.$message.error(msg);
|
|
24467
24483
|
}
|
|
24468
24484
|
}).catch(function (err) {
|
|
24469
24485
|
if (err.message && err.message !== 'canceled') {
|
|
24470
|
-
|
|
24486
|
+
_this9.$message.error(err.message);
|
|
24471
24487
|
}
|
|
24472
24488
|
});
|
|
24473
24489
|
}
|
|
@@ -24487,7 +24503,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24487
24503
|
}
|
|
24488
24504
|
},
|
|
24489
24505
|
getNodeType: function getNodeType() {
|
|
24490
|
-
var
|
|
24506
|
+
var _this10 = this;
|
|
24491
24507
|
|
|
24492
24508
|
var params = {
|
|
24493
24509
|
url: api["z" /* findCodeValues */],
|
|
@@ -24502,11 +24518,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24502
24518
|
data = res.data;
|
|
24503
24519
|
|
|
24504
24520
|
if (status === 'success') {
|
|
24505
|
-
|
|
24521
|
+
_this10.newsList = data;
|
|
24506
24522
|
}
|
|
24507
24523
|
}).catch(function (err) {
|
|
24508
24524
|
if (err.message && err.message !== 'canceled') {
|
|
24509
|
-
|
|
24525
|
+
_this10.$message.error(err.message);
|
|
24510
24526
|
}
|
|
24511
24527
|
});
|
|
24512
24528
|
},
|
|
@@ -24518,17 +24534,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24518
24534
|
* @date 2022年9月9日
|
|
24519
24535
|
**/
|
|
24520
24536
|
saveInfo: function saveInfo(type, btn) {
|
|
24521
|
-
var
|
|
24537
|
+
var _this11 = this;
|
|
24522
24538
|
|
|
24523
24539
|
if (this.isFlow) {
|
|
24524
24540
|
if (!type) {
|
|
24525
24541
|
if (btn && btn.before) {
|
|
24526
24542
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24527
|
-
|
|
24543
|
+
_this11.$emit('save', _this11.businessIds);
|
|
24528
24544
|
}).catch(function (e) {});
|
|
24529
24545
|
} else if (this.beforeSubmit != undefined) {
|
|
24530
24546
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
24531
|
-
|
|
24547
|
+
_this11.$emit('save', _this11.businessIds);
|
|
24532
24548
|
}).catch(function (e) {});
|
|
24533
24549
|
} else {
|
|
24534
24550
|
this.$emit('save', this.businessIds);
|
|
@@ -24537,13 +24553,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24537
24553
|
} else {
|
|
24538
24554
|
if (btn && btn.before && !type) {
|
|
24539
24555
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24540
|
-
|
|
24556
|
+
_this11.saveFlowInfo();
|
|
24541
24557
|
}).catch(function (e) {});
|
|
24542
24558
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
24543
24559
|
this.subFun(this.saveFlowInfo);
|
|
24544
24560
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
24545
24561
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
24546
|
-
|
|
24562
|
+
_this11.saveFlowInfo();
|
|
24547
24563
|
}).catch(function (e) {});
|
|
24548
24564
|
} else {
|
|
24549
24565
|
this.saveFlowInfo(type);
|
|
@@ -24551,7 +24567,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24551
24567
|
}
|
|
24552
24568
|
},
|
|
24553
24569
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
24554
|
-
var
|
|
24570
|
+
var _this12 = this;
|
|
24555
24571
|
|
|
24556
24572
|
var params = {
|
|
24557
24573
|
opinion: this.value,
|
|
@@ -24562,17 +24578,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24562
24578
|
var status = res.status,
|
|
24563
24579
|
message = res.message;
|
|
24564
24580
|
|
|
24565
|
-
if (!isSave)
|
|
24581
|
+
if (!isSave) _this12.loading.close();
|
|
24566
24582
|
if (status == 'success') {
|
|
24567
24583
|
// this.$message.success('暂存成功');
|
|
24568
|
-
!isSave &&
|
|
24584
|
+
!isSave && _this12.$emit('save', _this12.businessIds);
|
|
24569
24585
|
} else {
|
|
24570
|
-
|
|
24586
|
+
_this12.$message.error(message || '系统错误,请联系管理员!');
|
|
24571
24587
|
}
|
|
24572
24588
|
}).catch(function (err) {
|
|
24573
|
-
if (!isSave)
|
|
24589
|
+
if (!isSave) _this12.loading.close();
|
|
24574
24590
|
if (err.message && err.message !== 'canceled') {
|
|
24575
|
-
|
|
24591
|
+
_this12.$message.error(err.message);
|
|
24576
24592
|
}
|
|
24577
24593
|
});
|
|
24578
24594
|
},
|
|
@@ -24584,7 +24600,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24584
24600
|
* @date 2022年5月25日
|
|
24585
24601
|
**/
|
|
24586
24602
|
rejectBtn: function rejectBtn() {
|
|
24587
|
-
var
|
|
24603
|
+
var _this13 = this;
|
|
24588
24604
|
|
|
24589
24605
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
24590
24606
|
if (!this.value) {
|
|
@@ -24592,7 +24608,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24592
24608
|
}
|
|
24593
24609
|
if (this.beforeSubmit != undefined) {
|
|
24594
24610
|
this.beforeSubmit(0).then(function (next) {
|
|
24595
|
-
|
|
24611
|
+
_this13.showReject = true;
|
|
24596
24612
|
}).catch(function (e) {});
|
|
24597
24613
|
} else {
|
|
24598
24614
|
this.showReject = true;
|
|
@@ -24606,14 +24622,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24606
24622
|
* @date 2022年5月25日
|
|
24607
24623
|
**/
|
|
24608
24624
|
taskReadBtn: function taskReadBtn() {
|
|
24609
|
-
var
|
|
24625
|
+
var _this14 = this;
|
|
24610
24626
|
|
|
24611
24627
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24612
24628
|
if (this.beforeSubmit != undefined) {
|
|
24613
24629
|
this.beforeSubmit().then(function (next) {
|
|
24614
|
-
if (
|
|
24615
|
-
|
|
24616
|
-
|
|
24630
|
+
if (_this14.value === '') _this14.value = _this14.nodeDefaultRejectOpinion;
|
|
24631
|
+
_this14.taskReadType = 'create';
|
|
24632
|
+
_this14.showTaskRead = true;
|
|
24617
24633
|
}).catch(function (e) {});
|
|
24618
24634
|
} else {
|
|
24619
24635
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24629,7 +24645,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24629
24645
|
* @date 2022年5月25日
|
|
24630
24646
|
**/
|
|
24631
24647
|
getFind: function getFind() {
|
|
24632
|
-
var
|
|
24648
|
+
var _this15 = this;
|
|
24633
24649
|
|
|
24634
24650
|
util["a" /* default */].ajax({
|
|
24635
24651
|
url: api["B" /* findSysCodes */]
|
|
@@ -24638,25 +24654,25 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24638
24654
|
message = res.message;
|
|
24639
24655
|
|
|
24640
24656
|
if (status === 'success') {
|
|
24641
|
-
|
|
24657
|
+
_this15.nextNode.notificationType = message.split(',');
|
|
24642
24658
|
var arr = [];
|
|
24643
|
-
|
|
24644
|
-
|
|
24659
|
+
_this15.newsList.map(function (item) {
|
|
24660
|
+
_this15.nextNode.notificationType.map(function (x) {
|
|
24645
24661
|
if (x == item.cciValue) {
|
|
24646
24662
|
arr.push(x);
|
|
24647
24663
|
}
|
|
24648
24664
|
});
|
|
24649
24665
|
});
|
|
24650
|
-
|
|
24666
|
+
_this15.nextNode.notificationType = arr;
|
|
24651
24667
|
}
|
|
24652
24668
|
}).catch(function (err) {
|
|
24653
24669
|
if (err.message && err.message !== 'canceled') {
|
|
24654
|
-
|
|
24670
|
+
_this15.$message.error(err.message);
|
|
24655
24671
|
}
|
|
24656
24672
|
});
|
|
24657
24673
|
},
|
|
24658
24674
|
getFreeStartParams: function getFreeStartParams() {
|
|
24659
|
-
var
|
|
24675
|
+
var _this16 = this;
|
|
24660
24676
|
|
|
24661
24677
|
var _endFlowInfo = this.endFlowInfo,
|
|
24662
24678
|
businessId = _endFlowInfo.businessId,
|
|
@@ -24674,20 +24690,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24674
24690
|
};
|
|
24675
24691
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
24676
24692
|
util["a" /* default */].ajax(param).then(function (res) {
|
|
24677
|
-
|
|
24693
|
+
_this16.loading.close();
|
|
24678
24694
|
if (res.rCode == 0 || res.status == 'success') {
|
|
24679
|
-
|
|
24680
|
-
if (res.results.useScene === 'multiInsMidwayWithSubmitScene')
|
|
24681
|
-
if (!
|
|
24682
|
-
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return
|
|
24695
|
+
_this16.freeStartFlowParams = res.results;
|
|
24696
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this16.subProcess('同意。', res.results.useScene);
|
|
24697
|
+
if (!_this16.freeValid) return;
|
|
24698
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this16.$message.warning('未找到流程定义!');
|
|
24683
24699
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
24684
|
-
|
|
24685
|
-
|
|
24700
|
+
_this16.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
24701
|
+
_this16.handleVisible = true;
|
|
24686
24702
|
} else {
|
|
24687
|
-
|
|
24703
|
+
_this16.showFreeStartFlow = true;
|
|
24688
24704
|
}
|
|
24689
24705
|
} else {
|
|
24690
|
-
|
|
24706
|
+
_this16.$message.error(res.message || '系统错误,请联系管理员!');
|
|
24691
24707
|
}
|
|
24692
24708
|
});
|
|
24693
24709
|
},
|
|
@@ -24700,53 +24716,53 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24700
24716
|
* @date 2022年5月25日
|
|
24701
24717
|
**/
|
|
24702
24718
|
endFlows: function endFlows(res) {
|
|
24703
|
-
var
|
|
24719
|
+
var _this17 = this;
|
|
24704
24720
|
|
|
24705
24721
|
if (this.beforeSubmit != undefined) {
|
|
24706
24722
|
this.beforeSubmit().then(function (next) {
|
|
24707
|
-
|
|
24723
|
+
_this17.saveEndFlows(res);
|
|
24708
24724
|
}).catch(function (e) {});
|
|
24709
24725
|
} else {
|
|
24710
24726
|
this.saveEndFlows(res);
|
|
24711
24727
|
}
|
|
24712
24728
|
},
|
|
24713
24729
|
saveEndFlows: function saveEndFlows(res) {
|
|
24714
|
-
var
|
|
24730
|
+
var _this18 = this;
|
|
24715
24731
|
|
|
24716
24732
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24717
24733
|
var params = {
|
|
24718
24734
|
url: api["y" /* endFlowHtml */],
|
|
24719
24735
|
headers: { Accept: 'application/json,text/plain' },
|
|
24720
24736
|
method: 'post',
|
|
24721
|
-
data: mainvue_type_script_lang_js_extends({},
|
|
24722
|
-
opinion:
|
|
24737
|
+
data: mainvue_type_script_lang_js_extends({}, _this18.endFlowInfo, _this18.nextNode, {
|
|
24738
|
+
opinion: _this18.value,
|
|
24723
24739
|
userId: util["a" /* default */].getStorage('userId'),
|
|
24724
|
-
nextUserId:
|
|
24725
|
-
addSignUserId:
|
|
24726
|
-
customPresetUserJson: JSON.stringify(
|
|
24727
|
-
presetUserJson: JSON.stringify(
|
|
24728
|
-
removeSignUserId:
|
|
24729
|
-
notificationType:
|
|
24740
|
+
nextUserId: _this18.multiple ? _this18.nextNode.nextUserId.join(',') : _this18.nextNode.nextUserId,
|
|
24741
|
+
addSignUserId: _this18.nextNode.addSignUserId.join(','),
|
|
24742
|
+
customPresetUserJson: JSON.stringify(_this18.presetList),
|
|
24743
|
+
presetUserJson: JSON.stringify(_this18.presetUserJson),
|
|
24744
|
+
removeSignUserId: _this18.nextNode.removeSignUserId.join(','),
|
|
24745
|
+
notificationType: _this18.nextNode.notificationType.join(',')
|
|
24730
24746
|
})
|
|
24731
24747
|
};
|
|
24732
|
-
|
|
24748
|
+
_this18.loading = util["a" /* default */].loading(_this18.$loading, '加载中...');
|
|
24733
24749
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24734
24750
|
var status = res.status,
|
|
24735
24751
|
message = res.message;
|
|
24736
24752
|
|
|
24737
|
-
|
|
24753
|
+
_this18.loading.close();
|
|
24738
24754
|
if (status === 'success') {
|
|
24739
|
-
|
|
24755
|
+
_this18.flowSuccess();
|
|
24740
24756
|
// this.$message.success('提交成功');
|
|
24741
24757
|
// this.$emit('success');
|
|
24742
24758
|
} else {
|
|
24743
|
-
|
|
24744
|
-
|
|
24759
|
+
_this18.$message.error(message || '系统错误,请联系管理员!');
|
|
24760
|
+
_this18.$emit('error');
|
|
24745
24761
|
}
|
|
24746
24762
|
}).catch(function (err) {
|
|
24747
|
-
|
|
24763
|
+
_this18.loading.close();
|
|
24748
24764
|
if (err.message && err.message !== 'canceled') {
|
|
24749
|
-
|
|
24765
|
+
_this18.$message.error(err.message);
|
|
24750
24766
|
}
|
|
24751
24767
|
});
|
|
24752
24768
|
}).catch(function (e) {});
|
|
@@ -24849,11 +24865,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24849
24865
|
* @date 2022年9月29日
|
|
24850
24866
|
**/
|
|
24851
24867
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
24852
|
-
var
|
|
24868
|
+
var _this19 = this;
|
|
24853
24869
|
|
|
24854
24870
|
if (this.beforeSubmit != undefined) {
|
|
24855
24871
|
this.beforeSubmit().then(function (next) {
|
|
24856
|
-
|
|
24872
|
+
_this19.saveToTakeAdvice(res);
|
|
24857
24873
|
}).catch(function (e) {});
|
|
24858
24874
|
} else {
|
|
24859
24875
|
this.saveToTakeAdvice(res);
|
|
@@ -24861,7 +24877,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24861
24877
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
24862
24878
|
},
|
|
24863
24879
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
24864
|
-
var
|
|
24880
|
+
var _this20 = this;
|
|
24865
24881
|
|
|
24866
24882
|
var params = {
|
|
24867
24883
|
url: api["nb" /* isCanStartSubFlow */],
|
|
@@ -24876,16 +24892,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24876
24892
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24877
24893
|
var message = res.message;
|
|
24878
24894
|
|
|
24879
|
-
|
|
24895
|
+
_this20.loading.close();
|
|
24880
24896
|
if (message == 'success') {
|
|
24881
|
-
|
|
24897
|
+
_this20.showTaskUnionExamine = true;
|
|
24882
24898
|
} else {
|
|
24883
|
-
|
|
24899
|
+
_this20.$message.error(message || '系统错误,请联系管理员!');
|
|
24884
24900
|
}
|
|
24885
24901
|
}).catch(function (err) {
|
|
24886
|
-
|
|
24902
|
+
_this20.loading.close();
|
|
24887
24903
|
if (err.message && err.message !== 'canceled') {
|
|
24888
|
-
|
|
24904
|
+
_this20.$message.error(err.message);
|
|
24889
24905
|
}
|
|
24890
24906
|
});
|
|
24891
24907
|
},
|
|
@@ -24897,11 +24913,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24897
24913
|
* @date 2022年9月29日
|
|
24898
24914
|
**/
|
|
24899
24915
|
toStartDraf: function toStartDraf(res) {
|
|
24900
|
-
var
|
|
24916
|
+
var _this21 = this;
|
|
24901
24917
|
|
|
24902
24918
|
if (this.beforeSubmit != undefined) {
|
|
24903
24919
|
this.beforeSubmit().then(function (next) {
|
|
24904
|
-
|
|
24920
|
+
_this21.showTaskUnionExamine = true;
|
|
24905
24921
|
}).catch(function (e) {});
|
|
24906
24922
|
} else {
|
|
24907
24923
|
this.showTaskUnionExamine = true;
|
|
@@ -24915,11 +24931,11 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24915
24931
|
* @date 2022年9月29日
|
|
24916
24932
|
**/
|
|
24917
24933
|
toSendMsg: function toSendMsg(res) {
|
|
24918
|
-
var
|
|
24934
|
+
var _this22 = this;
|
|
24919
24935
|
|
|
24920
24936
|
if (this.beforeSubmit != undefined) {
|
|
24921
24937
|
this.beforeSubmit().then(function (next) {
|
|
24922
|
-
|
|
24938
|
+
_this22.showSendMsg = true;
|
|
24923
24939
|
}).catch(function (e) {});
|
|
24924
24940
|
} else {
|
|
24925
24941
|
this.showSendMsg = true;
|
|
@@ -24933,13 +24949,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24933
24949
|
* @date 2022年9月29日
|
|
24934
24950
|
**/
|
|
24935
24951
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
24936
|
-
var
|
|
24952
|
+
var _this23 = this;
|
|
24937
24953
|
|
|
24938
24954
|
if (this.beforeSubmit != undefined) {
|
|
24939
24955
|
this.beforeSubmit().then(function (next) {
|
|
24940
|
-
if (
|
|
24941
|
-
|
|
24942
|
-
|
|
24956
|
+
if (_this23.value === '') _this23.value = _this23.nodeDefaultRejectOpinion;
|
|
24957
|
+
_this23.taskReadType = 'taskReadAndEnd';
|
|
24958
|
+
_this23.showTaskRead = true;
|
|
24943
24959
|
}).catch(function (e) {});
|
|
24944
24960
|
} else {
|
|
24945
24961
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -24955,21 +24971,21 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24955
24971
|
* @date 2022年9月29日
|
|
24956
24972
|
**/
|
|
24957
24973
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
24958
|
-
var
|
|
24974
|
+
var _this24 = this;
|
|
24959
24975
|
|
|
24960
24976
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
24961
24977
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
24962
24978
|
}
|
|
24963
24979
|
if (this.beforeSubmit != undefined) {
|
|
24964
24980
|
this.beforeSubmit().then(function (next) {
|
|
24965
|
-
|
|
24981
|
+
_this24.saveRejectAndEnd(res);
|
|
24966
24982
|
}).catch(function (e) {});
|
|
24967
24983
|
} else {
|
|
24968
24984
|
this.saveRejectAndEnd(res);
|
|
24969
24985
|
}
|
|
24970
24986
|
},
|
|
24971
24987
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
24972
|
-
var
|
|
24988
|
+
var _this25 = this;
|
|
24973
24989
|
|
|
24974
24990
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
24975
24991
|
// return this.$message.warning('请填写意见');
|
|
@@ -24978,29 +24994,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
24978
24994
|
headers: { Accept: 'application/json,text/plain' },
|
|
24979
24995
|
method: 'post',
|
|
24980
24996
|
data: {
|
|
24981
|
-
opinion:
|
|
24982
|
-
pendingId:
|
|
24997
|
+
opinion: _this25.value,
|
|
24998
|
+
pendingId: _this25.pendingId,
|
|
24983
24999
|
isSinglePage: false
|
|
24984
25000
|
}
|
|
24985
25001
|
};
|
|
24986
|
-
|
|
25002
|
+
_this25.loading = util["a" /* default */].loading(_this25.$loading, '加载中...');
|
|
24987
25003
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
24988
25004
|
var status = res.status,
|
|
24989
25005
|
message = res.message;
|
|
24990
25006
|
|
|
24991
|
-
|
|
25007
|
+
_this25.loading.close();
|
|
24992
25008
|
if (status === 'success') {
|
|
24993
|
-
|
|
25009
|
+
_this25.flowSuccess();
|
|
24994
25010
|
// this.$message.success('提交成功');
|
|
24995
25011
|
// this.$emit('success');
|
|
24996
25012
|
} else {
|
|
24997
|
-
|
|
24998
|
-
|
|
25013
|
+
_this25.$message.error(message || '系统错误,请联系管理员!');
|
|
25014
|
+
_this25.$emit('error');
|
|
24999
25015
|
}
|
|
25000
25016
|
}).catch(function (err) {
|
|
25001
|
-
|
|
25017
|
+
_this25.loading.close();
|
|
25002
25018
|
if (err.message && err.message !== 'canceled') {
|
|
25003
|
-
|
|
25019
|
+
_this25.$message.error(err.message);
|
|
25004
25020
|
}
|
|
25005
25021
|
});
|
|
25006
25022
|
}).catch(function () {
|
|
@@ -25015,12 +25031,12 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25015
25031
|
* @date 2022年9月29日
|
|
25016
25032
|
**/
|
|
25017
25033
|
toTransfer: function toTransfer(res) {
|
|
25018
|
-
var
|
|
25034
|
+
var _this26 = this;
|
|
25019
25035
|
|
|
25020
25036
|
if (this.beforeSubmit != undefined) {
|
|
25021
25037
|
this.beforeSubmit(0).then(function (next) {
|
|
25022
|
-
|
|
25023
|
-
|
|
25038
|
+
_this26.taskReadType = 'transfer';
|
|
25039
|
+
_this26.showTaskRead = true;
|
|
25024
25040
|
}).catch(function (e) {});
|
|
25025
25041
|
} else {
|
|
25026
25042
|
this.taskReadType = 'transfer';
|
|
@@ -25035,7 +25051,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25035
25051
|
* @date 2022年5月25日
|
|
25036
25052
|
**/
|
|
25037
25053
|
getNodeInfo: function getNodeInfo() {
|
|
25038
|
-
var
|
|
25054
|
+
var _this27 = this;
|
|
25039
25055
|
|
|
25040
25056
|
var params = {
|
|
25041
25057
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -25050,46 +25066,46 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25050
25066
|
message = res.message,
|
|
25051
25067
|
data = res.data;
|
|
25052
25068
|
|
|
25053
|
-
|
|
25069
|
+
_this27.loading.close();
|
|
25054
25070
|
if (status === 'success') {
|
|
25055
|
-
|
|
25056
|
-
|
|
25057
|
-
data.otherOrgDisabledObjId && (
|
|
25058
|
-
data.currentOrgDisabledObjId && (
|
|
25071
|
+
_this27.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
25072
|
+
_this27.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
25073
|
+
data.otherOrgDisabledObjId && (_this27.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
25074
|
+
data.currentOrgDisabledObjId && (_this27.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
25059
25075
|
if (data != null) {
|
|
25060
25076
|
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) {
|
|
25061
|
-
|
|
25077
|
+
_this27.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
25062
25078
|
} else {
|
|
25063
|
-
|
|
25079
|
+
_this27.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this27.choiceOrgId, _this27.choiceDeptId, _this27.pOrgId);
|
|
25064
25080
|
}
|
|
25065
|
-
|
|
25066
|
-
|
|
25067
|
-
|
|
25068
|
-
|
|
25069
|
-
|
|
25081
|
+
_this27.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
25082
|
+
_this27.isTaskread = data.nodeExtAttr.isTaskread;
|
|
25083
|
+
_this27.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
25084
|
+
_this27.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
25085
|
+
_this27.nodeType = data.nodeExtAttr.nodeType;
|
|
25070
25086
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
25071
|
-
if (
|
|
25072
|
-
|
|
25073
|
-
|
|
25074
|
-
|
|
25075
|
-
|
|
25076
|
-
|
|
25087
|
+
if (_this27.nodeType === 1 || _this27.nodeType === 2) {
|
|
25088
|
+
_this27.isMainSubProcess === true ? _this27.isNodeShowProcess = true : _this27.isNodeShowProcess = false;
|
|
25089
|
+
_this27.isMainSubProcess === true ? _this27.isMainSubProcess = true : _this27.isMainSubProcess = false;
|
|
25090
|
+
_this27.isNextUser = false;
|
|
25091
|
+
_this27.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
25092
|
+
_this27.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
25077
25093
|
} else {
|
|
25078
|
-
|
|
25079
|
-
|
|
25080
|
-
|
|
25081
|
-
|
|
25082
|
-
|
|
25094
|
+
_this27.isHideCurrentOrg = false;
|
|
25095
|
+
_this27.isHideOtherOrg = false;
|
|
25096
|
+
_this27.isNodeShowProcess = false;
|
|
25097
|
+
_this27.isMainSubProcess = false;
|
|
25098
|
+
_this27.isNextUser = _this27.nextNode.nextOperate != 9;
|
|
25083
25099
|
// this.isMainSubProcess === true
|
|
25084
25100
|
// ? (this.isMainSubProcess = true)
|
|
25085
25101
|
// : (this.isMainSubProcess = false);
|
|
25086
25102
|
}
|
|
25087
|
-
|
|
25088
|
-
if (
|
|
25103
|
+
_this27.multiple ? _this27.nextNode.nextUserId = [] : _this27.nextNode.nextUserId = '';
|
|
25104
|
+
if (_this27.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
25089
25105
|
data.nextUserList.map(function (item) {
|
|
25090
25106
|
if (item.userId && item.username) {
|
|
25091
|
-
|
|
25092
|
-
|
|
25107
|
+
_this27.nextNode.nextUserId.push(item.userId);
|
|
25108
|
+
_this27.selectUserList.push({
|
|
25093
25109
|
showname: item.username,
|
|
25094
25110
|
showid: item.userId
|
|
25095
25111
|
});
|
|
@@ -25098,40 +25114,40 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25098
25114
|
}
|
|
25099
25115
|
data.nextUserList.map(function (item) {
|
|
25100
25116
|
if (item.userId && item.username) {
|
|
25101
|
-
|
|
25117
|
+
_this27.options.push({
|
|
25102
25118
|
showname: item.username,
|
|
25103
25119
|
showid: item.userId
|
|
25104
25120
|
});
|
|
25105
25121
|
}
|
|
25106
25122
|
});
|
|
25107
25123
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
25108
|
-
|
|
25124
|
+
_this27.radioList = _this27.options;
|
|
25109
25125
|
}
|
|
25110
|
-
if (!
|
|
25111
|
-
|
|
25112
|
-
|
|
25126
|
+
if (!_this27.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
25127
|
+
_this27.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
25128
|
+
_this27.selectUserList.push({
|
|
25113
25129
|
showname: data.nextUserList[0].username,
|
|
25114
25130
|
showid: data.nextUserList[0].userId
|
|
25115
25131
|
});
|
|
25116
25132
|
}
|
|
25117
|
-
|
|
25118
|
-
|
|
25119
|
-
|
|
25120
|
-
|
|
25121
|
-
|
|
25133
|
+
_this27.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
25134
|
+
_this27.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
25135
|
+
_this27.presetEdit = data.nodeExtAttr.presetEdit;
|
|
25136
|
+
_this27.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
25137
|
+
_this27.handleMode = data.countersignaturetypeText;
|
|
25122
25138
|
if (data.globalNodeType === 'endEvent') {
|
|
25123
|
-
|
|
25124
|
-
data.globalNodeType === 'endEvent' ?
|
|
25139
|
+
_this27.isNextUser = data.globalNodeType != 'endEvent';
|
|
25140
|
+
data.globalNodeType === 'endEvent' ? _this27.endFlow = true : '';
|
|
25125
25141
|
}
|
|
25126
25142
|
}
|
|
25127
|
-
|
|
25143
|
+
_this27.isCustomPreset && _this27.$refs.customPreset.getPresetFlowInfo(_this27.nextNode.nextNodeId, _this27.nodeInfo.nextNode, true);
|
|
25128
25144
|
} else {
|
|
25129
|
-
|
|
25145
|
+
_this27.$message.error(message || '系统错误,请联系管理员!');
|
|
25130
25146
|
}
|
|
25131
25147
|
}).catch(function (err) {
|
|
25132
|
-
|
|
25148
|
+
_this27.loading.close();
|
|
25133
25149
|
if (err.message && err.message !== 'canceled') {
|
|
25134
|
-
|
|
25150
|
+
_this27.$message.error(err.message);
|
|
25135
25151
|
}
|
|
25136
25152
|
});
|
|
25137
25153
|
},
|
|
@@ -25144,7 +25160,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25144
25160
|
* @date 2022年5月25日
|
|
25145
25161
|
**/
|
|
25146
25162
|
selecNext: function selecNext(val, type, isDef) {
|
|
25147
|
-
var
|
|
25163
|
+
var _this28 = this;
|
|
25148
25164
|
|
|
25149
25165
|
var isNextNode = false;
|
|
25150
25166
|
if (type) {
|
|
@@ -25189,13 +25205,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25189
25205
|
this.operationList.forEach(function (item) {
|
|
25190
25206
|
if (item.key === val) {
|
|
25191
25207
|
if (!item.taskNodeList) {
|
|
25192
|
-
|
|
25208
|
+
_this28.nodeInfos = [];
|
|
25193
25209
|
} else {
|
|
25194
|
-
|
|
25210
|
+
_this28.nodeInfos = item.taskNodeList;
|
|
25195
25211
|
|
|
25196
|
-
if (
|
|
25197
|
-
|
|
25198
|
-
return
|
|
25212
|
+
if (_this28.taskOperationShiftedNodeList) {
|
|
25213
|
+
_this28.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
25214
|
+
return _this28.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
25199
25215
|
});
|
|
25200
25216
|
}
|
|
25201
25217
|
}
|
|
@@ -25204,7 +25220,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25204
25220
|
});
|
|
25205
25221
|
if (this.defaultNextNode) {
|
|
25206
25222
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
25207
|
-
return item.nodeId ==
|
|
25223
|
+
return item.nodeId == _this28.defaultNextNode;
|
|
25208
25224
|
});
|
|
25209
25225
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25210
25226
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -25316,7 +25332,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25316
25332
|
* @date 2022年5月25日
|
|
25317
25333
|
**/
|
|
25318
25334
|
getHedInfo: function getHedInfo() {
|
|
25319
|
-
var
|
|
25335
|
+
var _this29 = this;
|
|
25320
25336
|
|
|
25321
25337
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
25322
25338
|
var params = {
|
|
@@ -25326,7 +25342,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25326
25342
|
util["a" /* default */].ajax({ url: api["N" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
25327
25343
|
//pc返回数据
|
|
25328
25344
|
|
|
25329
|
-
|
|
25345
|
+
_this29.loading.close();
|
|
25330
25346
|
if (res.status === 'success') {
|
|
25331
25347
|
var _res$data2 = res.data,
|
|
25332
25348
|
nextNodeList = _res$data2.nextNodeList,
|
|
@@ -25364,14 +25380,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25364
25380
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
25365
25381
|
|
|
25366
25382
|
if (simpleTips != undefined) {
|
|
25367
|
-
|
|
25383
|
+
_this29.simpleTips = simpleTips;
|
|
25368
25384
|
}
|
|
25369
|
-
|
|
25370
|
-
|
|
25385
|
+
_this29.$emit('startTaskRead', res);
|
|
25386
|
+
_this29.$emit('start-task-read', res);
|
|
25371
25387
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
25372
|
-
|
|
25388
|
+
_this29.taskOperationShiftedNodeList = [];
|
|
25373
25389
|
taskOperationShiftedNodeList.map(function (x) {
|
|
25374
|
-
|
|
25390
|
+
_this29.taskOperationShiftedNodeList.push(x.nodeId);
|
|
25375
25391
|
taskOperations.push({
|
|
25376
25392
|
key: x.nodeId,
|
|
25377
25393
|
value: x.nodeName,
|
|
@@ -25380,144 +25396,144 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25380
25396
|
});
|
|
25381
25397
|
});
|
|
25382
25398
|
}
|
|
25383
|
-
|
|
25384
|
-
|
|
25399
|
+
_this29.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
25400
|
+
_this29.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
25385
25401
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
25386
|
-
|
|
25402
|
+
_this29.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
25387
25403
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
25388
|
-
|
|
25389
|
-
|
|
25404
|
+
_this29.currentOrgSelectorTabs.map(function (x, i) {
|
|
25405
|
+
_this29.currentOrgSelectorParams[x] = {
|
|
25390
25406
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i]
|
|
25391
25407
|
};
|
|
25392
25408
|
});
|
|
25393
25409
|
}
|
|
25394
25410
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
25395
|
-
|
|
25411
|
+
_this29.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
25396
25412
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
25397
|
-
|
|
25398
|
-
|
|
25413
|
+
_this29.foreignOrgSelectorTabs.map(function (x, i) {
|
|
25414
|
+
_this29.foreignOrgSelectorParams[x] = {
|
|
25399
25415
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : foreignOrgparams[i],
|
|
25400
25416
|
nofilid: foreignOrgparams[i] == 'other' ? 1 : 0
|
|
25401
25417
|
};
|
|
25402
25418
|
});
|
|
25403
25419
|
}
|
|
25404
|
-
|
|
25405
|
-
if (
|
|
25406
|
-
|
|
25420
|
+
_this29.circularReadParamsMap = circularReadParamsMap || {};
|
|
25421
|
+
if (_this29.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
25422
|
+
_this29.foreignOrgSelectorParams.roleid = _this29.circularReadParamsMap.circularReadOrgRoleCode;
|
|
25407
25423
|
}
|
|
25408
|
-
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25414
|
-
|
|
25415
|
-
|
|
25416
|
-
|
|
25417
|
-
|
|
25418
|
-
|
|
25419
|
-
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
|
|
25423
|
-
|
|
25424
|
-
nextNodeCheckType && (
|
|
25425
|
-
|
|
25426
|
-
|
|
25424
|
+
_this29.currentOrgName = currentOrgName;
|
|
25425
|
+
_this29.nextOperateCheckType = nextOperateCheckType;
|
|
25426
|
+
_this29.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
25427
|
+
|
|
25428
|
+
_this29.readOnlyNotificationType = readOnlyNotificationType;
|
|
25429
|
+
_this29.isSpecial = isSpecial;
|
|
25430
|
+
_this29.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
25431
|
+
_this29.otherOrgName = otherOrgName;
|
|
25432
|
+
_this29.isCanPreAddSign = isCanPreAddSign;
|
|
25433
|
+
_this29.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
25434
|
+
_this29.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
25435
|
+
_this29.endFlowInfo.pendingId = _this29.pendingId;
|
|
25436
|
+
_this29.attachedCode = attachedCode;
|
|
25437
|
+
_this29.endFlowInfo.pOrgId = pOrgId;
|
|
25438
|
+
_this29.canPresetRead = canPresetRead;
|
|
25439
|
+
_this29.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
25440
|
+
nextNodeCheckType && (_this29.nextNodeCheckType = nextNodeCheckType);
|
|
25441
|
+
_this29.operationList = taskOperations || [];
|
|
25442
|
+
_this29.customPresetHintMessage = customPresetHintMessage;
|
|
25427
25443
|
if (canPresetRead) {
|
|
25428
25444
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
25429
25445
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
25430
25446
|
ids.map(function (item, index) {
|
|
25431
|
-
|
|
25447
|
+
_this29.presetReadUserId.push({
|
|
25432
25448
|
showid: item,
|
|
25433
25449
|
showname: names[index]
|
|
25434
25450
|
});
|
|
25435
|
-
|
|
25451
|
+
_this29.selectPresetUserList.push({
|
|
25436
25452
|
showid: item,
|
|
25437
25453
|
showname: names[index]
|
|
25438
25454
|
});
|
|
25439
|
-
|
|
25455
|
+
_this29.nextNode.presetReadUserId.push(item);
|
|
25440
25456
|
});
|
|
25441
25457
|
}
|
|
25442
|
-
if (!
|
|
25458
|
+
if (!_this29.isFlow) _this29.getFile(_this29.pendingId, attachedCode);
|
|
25443
25459
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
25444
|
-
|
|
25460
|
+
_this29.nextNodeList = nextNodeList;
|
|
25445
25461
|
}
|
|
25446
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
25462
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this29.removeUsers = canRemoveSignUserList;
|
|
25447
25463
|
if (taskOperations && taskOperations.length != 0) {
|
|
25448
25464
|
var isSelected = false;
|
|
25449
25465
|
taskOperations.map(function (item) {
|
|
25450
|
-
if (item.key === 9)
|
|
25466
|
+
if (item.key === 9) _this29.isReject = true;
|
|
25451
25467
|
if (item.isSelected) {
|
|
25452
|
-
|
|
25453
|
-
|
|
25468
|
+
_this29.nodeInfos = [];
|
|
25469
|
+
_this29.nextNode.nextOperate = item.key;
|
|
25454
25470
|
if (item.taskNodeList != null) {
|
|
25455
|
-
|
|
25471
|
+
_this29.nodeInfos = item.taskNodeList;
|
|
25456
25472
|
}
|
|
25457
25473
|
isSelected = true;
|
|
25458
25474
|
}
|
|
25459
25475
|
});
|
|
25460
25476
|
if (taskOperations.length > 0 && !isSelected) {
|
|
25461
|
-
|
|
25462
|
-
|
|
25477
|
+
_this29.nodeInfos = [];
|
|
25478
|
+
_this29.nextNode.nextOperate = taskOperations[0].key;
|
|
25463
25479
|
if (taskOperations[0].taskNodeList != null) {
|
|
25464
|
-
|
|
25480
|
+
_this29.nodeInfos = taskOperations[0].taskNodeList;
|
|
25465
25481
|
}
|
|
25466
25482
|
}
|
|
25467
25483
|
}
|
|
25468
25484
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
25469
|
-
|
|
25485
|
+
_this29.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
25470
25486
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
25471
25487
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
25472
25488
|
notice.map(function (x) {
|
|
25473
|
-
|
|
25489
|
+
_this29.nodeFixedOpinionSelectList.push({ content: x });
|
|
25474
25490
|
});
|
|
25475
25491
|
}
|
|
25476
|
-
|
|
25477
|
-
|
|
25478
|
-
|
|
25479
|
-
|
|
25480
|
-
|
|
25481
|
-
|
|
25492
|
+
_this29.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
25493
|
+
_this29.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
25494
|
+
_this29.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
25495
|
+
_this29.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
25496
|
+
_this29.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
25497
|
+
_this29.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
25482
25498
|
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
25483
|
-
|
|
25499
|
+
_this29.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25484
25500
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
25485
|
-
var defaultNode =
|
|
25501
|
+
var defaultNode = _this29.nodeInfos.filter(function (item) {
|
|
25486
25502
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25487
25503
|
});
|
|
25488
|
-
if (
|
|
25489
|
-
|
|
25504
|
+
if (_this29.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
25505
|
+
_this29.nextNode.nextNodeId = _this29.nodeInfos[0].nodeId;
|
|
25490
25506
|
} else {
|
|
25491
|
-
|
|
25507
|
+
_this29.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
25492
25508
|
}
|
|
25493
|
-
} else if (
|
|
25494
|
-
|
|
25509
|
+
} else if (_this29.nodeInfos.length > 0) {
|
|
25510
|
+
_this29.nextNode.nextNodeId = _this29.nodeInfos[0].nodeId;
|
|
25495
25511
|
}
|
|
25496
|
-
|
|
25512
|
+
_this29.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
25497
25513
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
25498
|
-
|
|
25514
|
+
_this29.btnList.map(function (x) {
|
|
25499
25515
|
if (x.event === 'sub') {
|
|
25500
25516
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
25501
25517
|
}
|
|
25502
25518
|
});
|
|
25503
25519
|
}
|
|
25504
25520
|
}
|
|
25505
|
-
|
|
25506
|
-
|
|
25507
|
-
|
|
25521
|
+
_this29.choiceOrgId = choiceOrgId;
|
|
25522
|
+
_this29.choiceDeptId = choiceDeptId;
|
|
25523
|
+
_this29.pOrgId = pOrgId;
|
|
25508
25524
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
25509
|
-
|
|
25525
|
+
_this29.isEndUserTask = res.data.isEndUserTask;
|
|
25510
25526
|
}
|
|
25511
25527
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
25512
|
-
|
|
25513
|
-
|
|
25514
|
-
|
|
25515
|
-
|
|
25516
|
-
|
|
25517
|
-
|
|
25518
|
-
|
|
25519
|
-
|
|
25520
|
-
|
|
25528
|
+
_this29.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
25529
|
+
_this29.NodeName = taskExamine.nodeName;
|
|
25530
|
+
_this29.taskId = taskExamine.taskId;
|
|
25531
|
+
_this29.businessIds = taskExamine.businessId;
|
|
25532
|
+
_this29.appId = taskExamine.appId;
|
|
25533
|
+
_this29.taskExamineInfo = taskExamine;
|
|
25534
|
+
_this29.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
25535
|
+
_this29.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
25536
|
+
_this29.endFlowInfo.processType = taskExamine.processType;
|
|
25521
25537
|
// this.endFlowInfo.isReturnSubmitter =
|
|
25522
25538
|
// taskExamine.isReturnSubmitter;
|
|
25523
25539
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -25529,74 +25545,74 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25529
25545
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25530
25546
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25531
25547
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25532
|
-
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25536
|
-
|
|
25537
|
-
|
|
25538
|
-
|
|
25539
|
-
|
|
25540
|
-
|
|
25548
|
+
_this29.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
25549
|
+
_this29.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
25550
|
+
_this29.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
25551
|
+
_this29.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
25552
|
+
_this29.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
25553
|
+
_this29.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
25554
|
+
_this29.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
25555
|
+
_this29.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
25556
|
+
_this29.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
25541
25557
|
// this.endFlowInfo.isReadDealReply =
|
|
25542
25558
|
// taskExamine.isReadDealReplybusinessId;
|
|
25543
|
-
|
|
25544
|
-
|
|
25545
|
-
|
|
25546
|
-
|
|
25559
|
+
_this29.endFlowInfo.appId = taskExamine.appId;
|
|
25560
|
+
_this29.endFlowInfo.businessId = taskExamine.businessId;
|
|
25561
|
+
_this29.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
25562
|
+
_this29.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
25547
25563
|
}
|
|
25548
|
-
if (
|
|
25549
|
-
|
|
25564
|
+
if (_this29.nodeName) {
|
|
25565
|
+
_this29.NodeName = _this29.nodeName;
|
|
25550
25566
|
}
|
|
25551
|
-
|
|
25552
|
-
|
|
25553
|
-
if (
|
|
25554
|
-
|
|
25567
|
+
_this29.isCanAddSign = isCanAddSign;
|
|
25568
|
+
_this29.processObj = res.data;
|
|
25569
|
+
if (_this29.isCanAddSign) {
|
|
25570
|
+
_this29.nextNode.isAddSign = '2';
|
|
25555
25571
|
}
|
|
25556
|
-
|
|
25557
|
-
if (
|
|
25558
|
-
|
|
25572
|
+
_this29.isCanRemoveSign = isCanRemoveSign;
|
|
25573
|
+
if (_this29.isCanRemoveSign) {
|
|
25574
|
+
_this29.nextNode.isRemoveSign = '2';
|
|
25559
25575
|
}
|
|
25560
25576
|
|
|
25561
|
-
if (!
|
|
25562
|
-
|
|
25577
|
+
if (!_this29.isOpinionRequired) {
|
|
25578
|
+
_this29.isOpinionRequired = 0;
|
|
25563
25579
|
}
|
|
25564
25580
|
// opinion && (this.value = opinion);
|
|
25565
|
-
|
|
25566
|
-
|
|
25581
|
+
_this29.nextNode.notificationMsg = defaultNotificationMessage;
|
|
25582
|
+
_this29.moreList = [];
|
|
25567
25583
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
25568
25584
|
taskButtonList.map(function (item) {
|
|
25569
25585
|
if (item.fun === 'reject()') {
|
|
25570
|
-
|
|
25586
|
+
_this29.rejectObj = item;
|
|
25571
25587
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
25572
|
-
|
|
25588
|
+
_this29.pointsReadingObj = item;
|
|
25573
25589
|
} else {
|
|
25574
|
-
|
|
25590
|
+
_this29.moreList.push(item);
|
|
25575
25591
|
}
|
|
25576
25592
|
});
|
|
25577
25593
|
}
|
|
25578
|
-
|
|
25579
|
-
|
|
25580
|
-
|
|
25581
|
-
|
|
25582
|
-
|
|
25583
|
-
|
|
25584
|
-
|
|
25594
|
+
_this29.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
25595
|
+
_this29.isCustomPreset = isCustomPreset;
|
|
25596
|
+
_this29.isPreset = isPreset;
|
|
25597
|
+
_this29.presetTaskNodeMap = presetTaskNodeMap;
|
|
25598
|
+
_this29.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
25599
|
+
_this29.getFind();
|
|
25600
|
+
_this29.selecNext(_this29.nextNode.nextOperate, true, true);
|
|
25585
25601
|
// this.getNodeInfo();
|
|
25586
|
-
|
|
25602
|
+
_this29.StartTaskReadKey++;
|
|
25587
25603
|
} else {
|
|
25588
25604
|
if (res.status === 'taskCompleted') {
|
|
25589
|
-
|
|
25590
|
-
|
|
25591
|
-
|
|
25605
|
+
_this29.$emit('shrink', true);
|
|
25606
|
+
_this29.shrinkAbled = true;
|
|
25607
|
+
_this29.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
25592
25608
|
} else {
|
|
25593
|
-
|
|
25609
|
+
_this29.$message.error(res.message || '系统错误,请联系管理员!');
|
|
25594
25610
|
}
|
|
25595
25611
|
}
|
|
25596
25612
|
}).catch(function (err) {
|
|
25597
|
-
|
|
25613
|
+
_this29.loading.close();
|
|
25598
25614
|
if (err.message && err.message !== 'canceled') {
|
|
25599
|
-
|
|
25615
|
+
_this29.$message.error(err.message);
|
|
25600
25616
|
}
|
|
25601
25617
|
});
|
|
25602
25618
|
},
|
|
@@ -25658,7 +25674,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25658
25674
|
* @date 2022年5月25日
|
|
25659
25675
|
**/
|
|
25660
25676
|
getProcess: function getProcess(val) {
|
|
25661
|
-
var
|
|
25677
|
+
var _this30 = this;
|
|
25662
25678
|
|
|
25663
25679
|
var params = mainvue_type_script_lang_js_extends({
|
|
25664
25680
|
businessId: this.businessId,
|
|
@@ -25673,44 +25689,44 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25673
25689
|
message = res.message,
|
|
25674
25690
|
data = res.data;
|
|
25675
25691
|
|
|
25676
|
-
|
|
25692
|
+
_this30.loading.close();
|
|
25677
25693
|
if (status === 'success') {
|
|
25678
25694
|
if (data.simpleTips != undefined) {
|
|
25679
|
-
|
|
25695
|
+
_this30.simpleTips = data.simpleTips;
|
|
25680
25696
|
}
|
|
25681
|
-
|
|
25697
|
+
_this30.isStartFlowChartView = data.isStartFlowChartView;
|
|
25682
25698
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
25683
|
-
|
|
25699
|
+
_this30.$message.error('流程不存在或未关联对应流程!');
|
|
25684
25700
|
} else {
|
|
25685
|
-
|
|
25701
|
+
_this30.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
25686
25702
|
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
return item.processDefKey ==
|
|
25703
|
+
_this30.nodeInfo.option = data.definitionList;
|
|
25704
|
+
_this30.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
25705
|
+
return item.processDefKey == _this30.defaultProcessKey;
|
|
25690
25706
|
});
|
|
25691
|
-
if (
|
|
25692
|
-
|
|
25707
|
+
if (_this30.nodeInfo.nextNode.length) {
|
|
25708
|
+
_this30.nodeInfo.nextNode = _this30.nodeInfo.nextNode[0].processDefId;
|
|
25693
25709
|
} else {
|
|
25694
25710
|
if (data.definitionList.length != 0) {
|
|
25695
|
-
|
|
25711
|
+
_this30.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
25696
25712
|
} else {
|
|
25697
|
-
|
|
25713
|
+
_this30.nodeInfo.nextNode = '';
|
|
25698
25714
|
}
|
|
25699
25715
|
}
|
|
25700
|
-
if (
|
|
25701
|
-
|
|
25716
|
+
if (_this30.nodeInfo.nextNode) {
|
|
25717
|
+
_this30.handleChange(_this30.nodeInfo.nextNode);
|
|
25702
25718
|
}
|
|
25703
|
-
if (
|
|
25704
|
-
|
|
25719
|
+
if (_this30.showCirculate != undefined && !_this30.showCirculate && _this30.urgencyLevel) {
|
|
25720
|
+
_this30.getAdminMsgType();
|
|
25705
25721
|
}
|
|
25706
25722
|
}
|
|
25707
25723
|
} else {
|
|
25708
|
-
|
|
25724
|
+
_this30.$message.error(message || '系统错误,请联系管理员!');
|
|
25709
25725
|
}
|
|
25710
25726
|
}).catch(function (err) {
|
|
25711
|
-
|
|
25727
|
+
_this30.loading.close();
|
|
25712
25728
|
if (err.message && err.message !== 'canceled') {
|
|
25713
|
-
|
|
25729
|
+
_this30.$message.error(err.message);
|
|
25714
25730
|
}
|
|
25715
25731
|
});
|
|
25716
25732
|
},
|
|
@@ -25722,7 +25738,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25722
25738
|
* @date 2022年5月25日
|
|
25723
25739
|
**/
|
|
25724
25740
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
25725
|
-
var
|
|
25741
|
+
var _this31 = this;
|
|
25726
25742
|
|
|
25727
25743
|
var params = {
|
|
25728
25744
|
apprecordId: this.businessIds,
|
|
@@ -25735,22 +25751,22 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25735
25751
|
results = res.results;
|
|
25736
25752
|
|
|
25737
25753
|
if (!rCode) {
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25754
|
+
_this31.nextNode.nextUserId = [];
|
|
25755
|
+
_this31.showNews = false;
|
|
25756
|
+
_this31.nextNode.notificationType = [];
|
|
25757
|
+
_this31.pendingId = results[results.length - 1].attachId;
|
|
25758
|
+
_this31.getHedInfo();
|
|
25743
25759
|
} else {
|
|
25744
|
-
|
|
25760
|
+
_this31.$message.error(msg || '系统错误,请联系管理员!');
|
|
25745
25761
|
}
|
|
25746
25762
|
}).catch(function (err) {
|
|
25747
25763
|
if (err.message && err.message !== 'canceled') {
|
|
25748
|
-
|
|
25764
|
+
_this31.$message.error(err.message);
|
|
25749
25765
|
}
|
|
25750
25766
|
});
|
|
25751
25767
|
},
|
|
25752
25768
|
reqCircularRead: function reqCircularRead(type) {
|
|
25753
|
-
var
|
|
25769
|
+
var _this32 = this;
|
|
25754
25770
|
|
|
25755
25771
|
var _that = this;
|
|
25756
25772
|
var params = {
|
|
@@ -25764,7 +25780,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25764
25780
|
};
|
|
25765
25781
|
this.loading = util["a" /* default */].loading(this.$loading, '提交中...');
|
|
25766
25782
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
25767
|
-
|
|
25783
|
+
_this32.loading.close();
|
|
25768
25784
|
if (res.rCode == 0) {
|
|
25769
25785
|
if (res.results.alert) {
|
|
25770
25786
|
_that.$confirm(res.results.message, {
|
|
@@ -25795,20 +25811,20 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25795
25811
|
* @date 2022年5月25日
|
|
25796
25812
|
**/
|
|
25797
25813
|
subProcess: function subProcess(val, type) {
|
|
25798
|
-
var
|
|
25814
|
+
var _this33 = this;
|
|
25799
25815
|
|
|
25800
25816
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
25801
25817
|
if (valid) {
|
|
25802
|
-
if (
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25818
|
+
if (_this33.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
25819
|
+
_this33.value = _this33.value.replace(RegExp('不同意。', 'g'), '');
|
|
25820
|
+
_this33.value = _this33.value.replace(RegExp('同意。', 'g'), '');
|
|
25821
|
+
_this33.value = val + _this33.value;
|
|
25806
25822
|
}
|
|
25807
|
-
if (!
|
|
25808
|
-
|
|
25823
|
+
if (!_this33.validInfo()) {
|
|
25824
|
+
_this33.freeValid = false;
|
|
25809
25825
|
return;
|
|
25810
25826
|
} else {
|
|
25811
|
-
|
|
25827
|
+
_this33.freeValid = true;
|
|
25812
25828
|
}
|
|
25813
25829
|
// if (
|
|
25814
25830
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -25818,14 +25834,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25818
25834
|
// return;
|
|
25819
25835
|
// }
|
|
25820
25836
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
25821
|
-
|
|
25837
|
+
_this33.sendData(type);
|
|
25822
25838
|
return;
|
|
25823
25839
|
}
|
|
25824
|
-
if (
|
|
25825
|
-
|
|
25840
|
+
if (_this33.beforeSubmit == undefined) {
|
|
25841
|
+
_this33.subFun(_this33.sendData);
|
|
25826
25842
|
} else {
|
|
25827
|
-
|
|
25828
|
-
|
|
25843
|
+
_this33.beforeSubmit(1).then(function (next) {
|
|
25844
|
+
_this33.sendData();
|
|
25829
25845
|
}).catch(function (e) {});
|
|
25830
25846
|
}
|
|
25831
25847
|
}
|
|
@@ -25870,14 +25886,14 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25870
25886
|
return true;
|
|
25871
25887
|
},
|
|
25872
25888
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
25873
|
-
var
|
|
25889
|
+
var _this34 = this;
|
|
25874
25890
|
|
|
25875
25891
|
if (!this.simpleTips) {
|
|
25876
25892
|
this.$alert('提交成功', '', {
|
|
25877
25893
|
confirmButtonText: '确定',
|
|
25878
25894
|
type: 'success',
|
|
25879
25895
|
callback: function callback(action) {
|
|
25880
|
-
|
|
25896
|
+
_this34.$emit('success');
|
|
25881
25897
|
}
|
|
25882
25898
|
});
|
|
25883
25899
|
} else {
|
|
@@ -25888,7 +25904,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25888
25904
|
}
|
|
25889
25905
|
},
|
|
25890
25906
|
sendData: function sendData(freetype) {
|
|
25891
|
-
var
|
|
25907
|
+
var _this35 = this;
|
|
25892
25908
|
|
|
25893
25909
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
25894
25910
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
@@ -25910,58 +25926,58 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25910
25926
|
break;
|
|
25911
25927
|
}
|
|
25912
25928
|
|
|
25913
|
-
if (!
|
|
25929
|
+
if (!_this35.isFlow) {
|
|
25914
25930
|
_context.next = 4;
|
|
25915
25931
|
break;
|
|
25916
25932
|
}
|
|
25917
25933
|
|
|
25918
|
-
if (
|
|
25919
|
-
|
|
25934
|
+
if (_this35.directCreateCircularReadWhenFlowStarted) {
|
|
25935
|
+
_this35.circulateVisible = true;
|
|
25920
25936
|
} else {
|
|
25921
|
-
|
|
25937
|
+
_this35.handleVisible = true;
|
|
25922
25938
|
}
|
|
25923
25939
|
return _context.abrupt('return');
|
|
25924
25940
|
|
|
25925
25941
|
case 4:
|
|
25926
25942
|
nextUserId = [];
|
|
25927
25943
|
|
|
25928
|
-
if (
|
|
25929
|
-
|
|
25944
|
+
if (_this35.multiple) {
|
|
25945
|
+
_this35.nextNode.nextUserId && _this35.nextNode.nextUserId.map(function (item) {
|
|
25930
25946
|
return nextUserId.push(item);
|
|
25931
25947
|
});
|
|
25932
25948
|
}
|
|
25933
25949
|
addSignUserId = [];
|
|
25934
25950
|
|
|
25935
|
-
if (
|
|
25936
|
-
|
|
25951
|
+
if (_this35.isCanAddSign && _this35.nextNode.isAddSign == '1') {
|
|
25952
|
+
_this35.nextNode.addSignUserId.map(function (item) {
|
|
25937
25953
|
addSignUserId.push(item);
|
|
25938
25954
|
});
|
|
25939
25955
|
}
|
|
25940
25956
|
removeSignUserId = [];
|
|
25941
25957
|
|
|
25942
|
-
if (
|
|
25943
|
-
|
|
25958
|
+
if (_this35.isCanRemoveSign && _this35.nextNode.isRemoveSign == '1') {
|
|
25959
|
+
_this35.nextNode.removeSignUserId.map(function (item) {
|
|
25944
25960
|
removeSignUserId.push(item);
|
|
25945
25961
|
});
|
|
25946
25962
|
}
|
|
25947
25963
|
str = '';
|
|
25948
25964
|
|
|
25949
|
-
if (
|
|
25950
|
-
str =
|
|
25965
|
+
if (_this35.value) {
|
|
25966
|
+
str = _this35.value.replace(/\s+/g, '');
|
|
25951
25967
|
}
|
|
25952
|
-
if ((!
|
|
25953
|
-
|
|
25968
|
+
if ((!_this35.value || str === '') && _this35.nodeDefaultSubmitOpinion) {
|
|
25969
|
+
_this35.value = _this35.nodeDefaultSubmitOpinion;
|
|
25954
25970
|
}
|
|
25955
|
-
if (!
|
|
25956
|
-
delete
|
|
25957
|
-
delete
|
|
25971
|
+
if (!_this35.isSpecial) {
|
|
25972
|
+
delete _this35.nextNode.nextOperate;
|
|
25973
|
+
delete _this35.nextNode.nextNodeId;
|
|
25958
25974
|
}
|
|
25959
|
-
if (
|
|
25960
|
-
|
|
25961
|
-
|
|
25975
|
+
if (_this35.nextNode.nextOperate === 9 || _this35.oldNextOperate == 9) {
|
|
25976
|
+
_this35.nextNode.isReturnRejectNode = 1;
|
|
25977
|
+
_this35.nextNode.processDefinitionId = _this35.processObj.taskExamine.processDefinitionId;
|
|
25962
25978
|
}
|
|
25963
|
-
if (
|
|
25964
|
-
delete
|
|
25979
|
+
if (_this35.nextNode.nextOperate != 0 && _this35.nextNode.nextOperate != 1 && _this35.oldNextOperate === '' || _this35.oldNextOperate !== '' && _this35.oldNextOperate != 0 && _this35.oldNextOperate != 1) {
|
|
25980
|
+
delete _this35.nextNode.nextNodeId;
|
|
25965
25981
|
}
|
|
25966
25982
|
|
|
25967
25983
|
if (!(freetype != 'multiInsMidwayWithSubmitScene')) {
|
|
@@ -25970,45 +25986,45 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
25970
25986
|
}
|
|
25971
25987
|
|
|
25972
25988
|
_context.next = 19;
|
|
25973
|
-
return
|
|
25989
|
+
return _this35.saveInfo('subMit');
|
|
25974
25990
|
|
|
25975
25991
|
case 19:
|
|
25976
|
-
|
|
25992
|
+
_this35.loading = util["a" /* default */].loading(_this35.$loading, '加载中...');
|
|
25977
25993
|
|
|
25978
25994
|
case 20:
|
|
25979
25995
|
notificationType = '';
|
|
25980
25996
|
|
|
25981
|
-
notificationType =
|
|
25997
|
+
notificationType = _this35.nextNode.notificationType.join(',');
|
|
25982
25998
|
addSignUserId = addSignUserId.join(',');
|
|
25983
25999
|
removeSignUserId = removeSignUserId.join(',');
|
|
25984
|
-
if (!
|
|
25985
|
-
delete
|
|
26000
|
+
if (!_this35.isCanPreAddSign || _this35.nextNode.isAddSign != '1') {
|
|
26001
|
+
delete _this35.nextNode.addSignMode;
|
|
25986
26002
|
}
|
|
25987
26003
|
|
|
25988
|
-
params = mainvue_type_script_lang_js_extends({},
|
|
25989
|
-
nextOperate:
|
|
25990
|
-
pendingId:
|
|
25991
|
-
opinion:
|
|
26004
|
+
params = mainvue_type_script_lang_js_extends({}, _this35.nextNode, {
|
|
26005
|
+
nextOperate: _this35.oldNextOperate !== '' ? _this35.oldNextOperate : _this35.nextNode.nextOperate,
|
|
26006
|
+
pendingId: _this35.pendingId,
|
|
26007
|
+
opinion: _this35.isForceDisplayDefaultOptionForPrefix && !_this35.value.startsWith(_this35.nodeDefaultSubmitOpinion) ? _this35.nodeDefaultSubmitOpinion + _this35.value : _this35.value,
|
|
25992
26008
|
userId: util["a" /* default */].getStorage('userId'),
|
|
25993
|
-
nextUserId:
|
|
26009
|
+
nextUserId: _this35.multiple ? nextUserId.join(',') : _this35.nextNode.nextUserId,
|
|
25994
26010
|
addSignUserId: addSignUserId,
|
|
25995
|
-
customPresetUserJson: JSON.stringify(
|
|
25996
|
-
presetUserJson: JSON.stringify(
|
|
26011
|
+
customPresetUserJson: JSON.stringify(_this35.presetList),
|
|
26012
|
+
presetUserJson: JSON.stringify(_this35.presetUserJson),
|
|
25997
26013
|
removeSignUserId: removeSignUserId,
|
|
25998
|
-
nextReadUserId:
|
|
25999
|
-
nextOrgId: !
|
|
26000
|
-
presetReadUserId:
|
|
26014
|
+
nextReadUserId: _this35.readMultiple ? _this35.mixReadList && _this35.mixReadList.join('|') : _this35.nextNode.nextReadUserId,
|
|
26015
|
+
nextOrgId: !_this35.isShowNextUser ? _this35.multiple ? _this35.mixOrgIdList && _this35.mixOrgIdList.join('|') : _this35.nextNode.nextOrgId : '',
|
|
26016
|
+
presetReadUserId: _this35.mixPresetList && _this35.mixPresetList.length > 0 ? _this35.mixPresetList.join('|') : _this35.nextNode.presetReadUserId.join(','),
|
|
26001
26017
|
notificationType: notificationType
|
|
26002
26018
|
});
|
|
26003
26019
|
|
|
26004
|
-
if (
|
|
26005
|
-
if (
|
|
26020
|
+
if (_this35.activeNames != '1') delete params.customPresetUserJson;
|
|
26021
|
+
if (_this35.nextNode.isRemoveSign != '1') {
|
|
26006
26022
|
delete params.removeSignUserId;
|
|
26007
26023
|
}
|
|
26008
|
-
if (
|
|
26024
|
+
if (_this35.nextNode.isAddSign != '1') {
|
|
26009
26025
|
delete params.addSignUserId;
|
|
26010
26026
|
}
|
|
26011
|
-
if (!
|
|
26027
|
+
if (!_this35.isSpecial) {
|
|
26012
26028
|
delete params.nextUserId;
|
|
26013
26029
|
}
|
|
26014
26030
|
|
|
@@ -26017,13 +26033,13 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26017
26033
|
break;
|
|
26018
26034
|
}
|
|
26019
26035
|
|
|
26020
|
-
params.isSubFlow =
|
|
26021
|
-
|
|
26036
|
+
params.isSubFlow = _this35.taskExamineInfo.isSubFlow;
|
|
26037
|
+
_this35.taskParams = params;
|
|
26022
26038
|
return _context.abrupt('return');
|
|
26023
26039
|
|
|
26024
26040
|
case 34:
|
|
26025
|
-
|
|
26026
|
-
isEndUserTask =
|
|
26041
|
+
_this35.loading = util["a" /* default */].loading(_this35.$loading, '提交中...');
|
|
26042
|
+
isEndUserTask = _this35.isEndUserTask, choiceOrgId = _this35.choiceOrgId, choiceDeptId = _this35.choiceDeptId, pOrgId = _this35.pOrgId, taskExamineInfo = _this35.taskExamineInfo, currentNodeIsCircularReadNode = _this35.currentNodeIsCircularReadNode, needRetrialAuth = _this35.needRetrialAuth, circularReadParamsMap = _this35.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this35.currentNodeEnableItemHandleDescription;
|
|
26027
26043
|
|
|
26028
26044
|
params.isEndUserTask = isEndUserTask;
|
|
26029
26045
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -26047,17 +26063,17 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26047
26063
|
var status = res.status,
|
|
26048
26064
|
message = res.message;
|
|
26049
26065
|
|
|
26050
|
-
|
|
26066
|
+
_this35.loading.close();
|
|
26051
26067
|
if (status === 'success') {
|
|
26052
|
-
|
|
26068
|
+
_this35.flowSuccess();
|
|
26053
26069
|
} else {
|
|
26054
|
-
|
|
26055
|
-
|
|
26070
|
+
_this35.$message.error(message || '系统错误,请联系管理员!');
|
|
26071
|
+
_this35.$emit('error');
|
|
26056
26072
|
}
|
|
26057
26073
|
}).catch(function (err) {
|
|
26058
|
-
|
|
26074
|
+
_this35.loading.close();
|
|
26059
26075
|
if (err.message && err.message !== 'canceled') {
|
|
26060
|
-
|
|
26076
|
+
_this35.$message.error(err.message);
|
|
26061
26077
|
}
|
|
26062
26078
|
}));
|
|
26063
26079
|
|
|
@@ -26069,7 +26085,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
26069
26085
|
return _context.stop();
|
|
26070
26086
|
}
|
|
26071
26087
|
}
|
|
26072
|
-
}, _callee,
|
|
26088
|
+
}, _callee, _this35);
|
|
26073
26089
|
}));
|
|
26074
26090
|
|
|
26075
26091
|
return function (_x) {
|