eoss-ui 0.8.11 → 0.8.13
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/eoss-ui.common.js +648 -602
- package/lib/flow.js +639 -593
- package/lib/index.js +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/Circulate.vue +1 -0
- package/packages/flow/src/main.vue +44 -21
- package/packages/theme-chalk/src/flow.scss +4 -1
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -28417,8 +28417,8 @@ form_src_main.install = function (Vue) {
|
|
|
28417
28417
|
};
|
|
28418
28418
|
|
|
28419
28419
|
/* harmony default export */ var packages_form = (form_src_main);
|
|
28420
|
-
// 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=
|
|
28421
|
-
var
|
|
28420
|
+
// 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=8f765236&
|
|
28421
|
+
var mainvue_type_template_id_8f765236_render = function () {
|
|
28422
28422
|
var _vm = this
|
|
28423
28423
|
var _h = _vm.$createElement
|
|
28424
28424
|
var _c = _vm._self._c || _h
|
|
@@ -28548,104 +28548,121 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
28548
28548
|
(_vm.formLabelPosition == "left"
|
|
28549
28549
|
? "form-left"
|
|
28550
28550
|
: "form-right"),
|
|
28551
|
+
style: { flex: _vm.fullFlow ? "1" : "unset" },
|
|
28551
28552
|
},
|
|
28552
28553
|
[
|
|
28553
|
-
|
|
28554
|
-
|
|
28555
|
-
|
|
28556
|
-
ref: "form",
|
|
28557
|
-
attrs: {
|
|
28558
|
-
model: _vm.circulateForm,
|
|
28559
|
-
"label-width": "120px",
|
|
28560
|
-
"label-position": _vm.formLabelPosition,
|
|
28561
|
-
},
|
|
28562
|
-
},
|
|
28563
|
-
[
|
|
28564
|
-
_c(
|
|
28565
|
-
"el-form-item",
|
|
28554
|
+
_vm.showCirculate
|
|
28555
|
+
? _c(
|
|
28556
|
+
"el-form",
|
|
28566
28557
|
{
|
|
28567
|
-
|
|
28568
|
-
attrs: {
|
|
28558
|
+
ref: "form",
|
|
28559
|
+
attrs: {
|
|
28560
|
+
model: _vm.circulateForm,
|
|
28561
|
+
"label-width": "120px",
|
|
28562
|
+
"label-position": _vm.formLabelPosition,
|
|
28563
|
+
},
|
|
28569
28564
|
},
|
|
28570
28565
|
[
|
|
28571
|
-
|
|
28572
|
-
|
|
28573
|
-
|
|
28574
|
-
|
|
28575
|
-
|
|
28576
|
-
|
|
28577
|
-
|
|
28578
|
-
|
|
28579
|
-
|
|
28580
|
-
|
|
28581
|
-
|
|
28582
|
-
|
|
28583
|
-
|
|
28584
|
-
|
|
28566
|
+
_c(
|
|
28567
|
+
"el-form-item",
|
|
28568
|
+
{
|
|
28569
|
+
staticStyle: { "margin-top": "20px" },
|
|
28570
|
+
attrs: {
|
|
28571
|
+
prop: "nextNodeId",
|
|
28572
|
+
label: "下步节点",
|
|
28573
|
+
},
|
|
28574
|
+
},
|
|
28575
|
+
[
|
|
28576
|
+
_vm.nextNodeCheckType == "select"
|
|
28577
|
+
? _c(
|
|
28578
|
+
"el-select",
|
|
28579
|
+
{
|
|
28580
|
+
staticStyle: {
|
|
28581
|
+
width: "100% !important",
|
|
28582
|
+
},
|
|
28583
|
+
attrs: {
|
|
28584
|
+
placeholder: "请选择下步节点",
|
|
28585
|
+
},
|
|
28586
|
+
model: {
|
|
28587
|
+
value: _vm.circulateForm.nextNodeId,
|
|
28588
|
+
callback: function ($$v) {
|
|
28589
|
+
_vm.$set(
|
|
28590
|
+
_vm.circulateForm,
|
|
28591
|
+
"nextNodeId",
|
|
28592
|
+
$$v
|
|
28593
|
+
)
|
|
28594
|
+
},
|
|
28595
|
+
expression:
|
|
28596
|
+
"circulateForm.nextNodeId",
|
|
28597
|
+
},
|
|
28585
28598
|
},
|
|
28586
|
-
|
|
28587
|
-
|
|
28588
|
-
|
|
28589
|
-
|
|
28590
|
-
|
|
28591
|
-
|
|
28592
|
-
|
|
28593
|
-
|
|
28594
|
-
|
|
28595
|
-
|
|
28596
|
-
|
|
28597
|
-
|
|
28598
|
-
|
|
28599
|
-
|
|
28600
|
-
|
|
28601
|
-
|
|
28602
|
-
|
|
28603
|
-
|
|
28604
|
-
|
|
28605
|
-
|
|
28606
|
-
|
|
28607
|
-
|
|
28608
|
-
|
|
28609
|
-
|
|
28610
|
-
|
|
28611
|
-
|
|
28612
|
-
|
|
28613
|
-
|
|
28614
|
-
|
|
28615
|
-
|
|
28616
|
-
|
|
28617
|
-
|
|
28599
|
+
[
|
|
28600
|
+
_c("el-option", {
|
|
28601
|
+
attrs: {
|
|
28602
|
+
label: "传阅",
|
|
28603
|
+
value: "111",
|
|
28604
|
+
},
|
|
28605
|
+
}),
|
|
28606
|
+
],
|
|
28607
|
+
1
|
|
28608
|
+
)
|
|
28609
|
+
: _vm.nextNodeCheckType == "radio"
|
|
28610
|
+
? _c("es-radio-group", {
|
|
28611
|
+
attrs: {
|
|
28612
|
+
data: [
|
|
28613
|
+
{ nodeId: "111", nodeName: "传阅" },
|
|
28614
|
+
],
|
|
28615
|
+
"value-key": "nodeId",
|
|
28616
|
+
"label-key": "nodeName",
|
|
28617
|
+
},
|
|
28618
|
+
model: {
|
|
28619
|
+
value: _vm.circulateForm.nextNodeId,
|
|
28620
|
+
callback: function ($$v) {
|
|
28621
|
+
_vm.$set(
|
|
28622
|
+
_vm.circulateForm,
|
|
28623
|
+
"nextNodeId",
|
|
28624
|
+
$$v
|
|
28625
|
+
)
|
|
28626
|
+
},
|
|
28627
|
+
expression:
|
|
28628
|
+
"circulateForm.nextNodeId",
|
|
28629
|
+
},
|
|
28630
|
+
})
|
|
28631
|
+
: _vm._e(),
|
|
28632
|
+
],
|
|
28633
|
+
1
|
|
28634
|
+
),
|
|
28618
28635
|
],
|
|
28619
28636
|
1
|
|
28620
|
-
)
|
|
28621
|
-
|
|
28622
|
-
|
|
28623
|
-
|
|
28624
|
-
|
|
28625
|
-
|
|
28626
|
-
|
|
28627
|
-
|
|
28628
|
-
|
|
28629
|
-
|
|
28630
|
-
|
|
28631
|
-
|
|
28632
|
-
|
|
28633
|
-
|
|
28634
|
-
|
|
28635
|
-
|
|
28636
|
-
|
|
28637
|
-
|
|
28638
|
-
|
|
28639
|
-
|
|
28640
|
-
|
|
28641
|
-
|
|
28642
|
-
|
|
28643
|
-
|
|
28644
|
-
|
|
28645
|
-
|
|
28646
|
-
|
|
28647
|
-
|
|
28648
|
-
|
|
28637
|
+
)
|
|
28638
|
+
: _vm._e(),
|
|
28639
|
+
_vm.showCirculate
|
|
28640
|
+
? _c("circulate", {
|
|
28641
|
+
ref: "circulate",
|
|
28642
|
+
staticStyle: { "margin-top": "10px" },
|
|
28643
|
+
attrs: {
|
|
28644
|
+
businessId: _vm.businessIds,
|
|
28645
|
+
"label-position": _vm.formLabelPosition,
|
|
28646
|
+
showTooltip: _vm.showTooltip,
|
|
28647
|
+
selectorParams: _vm.selectorParams,
|
|
28648
|
+
"pending-id": _vm.pendingId,
|
|
28649
|
+
showBtn: false,
|
|
28650
|
+
formTitle: _vm.formTitle,
|
|
28651
|
+
flowLabelConfig: _vm.flowLabelConfig,
|
|
28652
|
+
hideMessage: _vm.hideMessage,
|
|
28653
|
+
startFlowPageEmbeddedIntoStartFlowIndex:
|
|
28654
|
+
_vm.startFlowPageEmbeddedIntoStartFlowIndex,
|
|
28655
|
+
processDefinitionId: _vm.nodeInfo.nextNode,
|
|
28656
|
+
simpleTips: _vm.simpleTips,
|
|
28657
|
+
oldOption: _vm.value,
|
|
28658
|
+
},
|
|
28659
|
+
on: {
|
|
28660
|
+
cancel: function ($event) {
|
|
28661
|
+
_vm.closeProcess($event, "circulateVisible")
|
|
28662
|
+
},
|
|
28663
|
+
},
|
|
28664
|
+
})
|
|
28665
|
+
: _vm._e(),
|
|
28649
28666
|
],
|
|
28650
28667
|
1
|
|
28651
28668
|
),
|
|
@@ -28744,7 +28761,12 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
28744
28761
|
})
|
|
28745
28762
|
: _c(
|
|
28746
28763
|
"div",
|
|
28747
|
-
{
|
|
28764
|
+
{
|
|
28765
|
+
staticClass: "es-flow-content",
|
|
28766
|
+
style: {
|
|
28767
|
+
"justify-content": _vm.fullFlow ? "space-between" : "unset",
|
|
28768
|
+
},
|
|
28769
|
+
},
|
|
28748
28770
|
[
|
|
28749
28771
|
_c(
|
|
28750
28772
|
"div",
|
|
@@ -29002,6 +29024,7 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
29002
29024
|
(_vm.formLabelPosition == "left"
|
|
29003
29025
|
? "form-left"
|
|
29004
29026
|
: "form-right"),
|
|
29027
|
+
style: { flex: _vm.fullFlow ? "1" : "unset" },
|
|
29005
29028
|
},
|
|
29006
29029
|
[
|
|
29007
29030
|
_c(
|
|
@@ -29030,11 +29053,7 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
29030
29053
|
prop: "nextNode",
|
|
29031
29054
|
label: "选择流程",
|
|
29032
29055
|
rules: [
|
|
29033
|
-
{
|
|
29034
|
-
required: true,
|
|
29035
|
-
message: "请选择流程",
|
|
29036
|
-
trigger: "blur",
|
|
29037
|
-
},
|
|
29056
|
+
// { required: true, message: `请选择流程`, trigger: 'blur' }
|
|
29038
29057
|
],
|
|
29039
29058
|
},
|
|
29040
29059
|
},
|
|
@@ -31476,11 +31495,11 @@ var mainvue_type_template_id_70db76e0_render = function () {
|
|
|
31476
31495
|
)
|
|
31477
31496
|
: _vm._e()
|
|
31478
31497
|
}
|
|
31479
|
-
var
|
|
31480
|
-
|
|
31498
|
+
var mainvue_type_template_id_8f765236_staticRenderFns = []
|
|
31499
|
+
mainvue_type_template_id_8f765236_render._withStripped = true
|
|
31481
31500
|
|
|
31482
31501
|
|
|
31483
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
31502
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=8f765236&
|
|
31484
31503
|
|
|
31485
31504
|
// 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=7b4f1542&
|
|
31486
31505
|
var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
|
|
@@ -46974,8 +46993,8 @@ var supervise_component = normalizeComponent(
|
|
|
46974
46993
|
)
|
|
46975
46994
|
|
|
46976
46995
|
/* harmony default export */ var supervise = (supervise_component.exports);
|
|
46977
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=
|
|
46978
|
-
var
|
|
46996
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=template&id=6d27b4d0&
|
|
46997
|
+
var Circulatevue_type_template_id_6d27b4d0_render = function () {
|
|
46979
46998
|
var _vm = this
|
|
46980
46999
|
var _h = _vm.$createElement
|
|
46981
47000
|
var _c = _vm._self._c || _h
|
|
@@ -47163,11 +47182,11 @@ var Circulatevue_type_template_id_535aafac_render = function () {
|
|
|
47163
47182
|
1
|
|
47164
47183
|
)
|
|
47165
47184
|
}
|
|
47166
|
-
var
|
|
47167
|
-
|
|
47185
|
+
var Circulatevue_type_template_id_6d27b4d0_staticRenderFns = []
|
|
47186
|
+
Circulatevue_type_template_id_6d27b4d0_render._withStripped = true
|
|
47168
47187
|
|
|
47169
47188
|
|
|
47170
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=
|
|
47189
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/Circulate.vue?vue&type=template&id=6d27b4d0&
|
|
47171
47190
|
|
|
47172
47191
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Circulate.vue?vue&type=script&lang=js&
|
|
47173
47192
|
var Circulatevue_type_script_lang_js_components;
|
|
@@ -47309,6 +47328,7 @@ var Circulatevue_type_script_lang_js_components;
|
|
|
47309
47328
|
nextOtherOrgObj: [],
|
|
47310
47329
|
nextCurrentOrgObj: [],
|
|
47311
47330
|
noticeType: [],
|
|
47331
|
+
noticeList: [],
|
|
47312
47332
|
noticeInfo: '',
|
|
47313
47333
|
opinion: ''
|
|
47314
47334
|
},
|
|
@@ -47587,8 +47607,8 @@ var Circulatevue_type_script_lang_js_components;
|
|
|
47587
47607
|
|
|
47588
47608
|
var Circulate_component = normalizeComponent(
|
|
47589
47609
|
component_Circulatevue_type_script_lang_js_,
|
|
47590
|
-
|
|
47591
|
-
|
|
47610
|
+
Circulatevue_type_template_id_6d27b4d0_render,
|
|
47611
|
+
Circulatevue_type_template_id_6d27b4d0_staticRenderFns,
|
|
47592
47612
|
false,
|
|
47593
47613
|
null,
|
|
47594
47614
|
null,
|
|
@@ -49392,6 +49412,9 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
49392
49412
|
//
|
|
49393
49413
|
//
|
|
49394
49414
|
//
|
|
49415
|
+
//
|
|
49416
|
+
//
|
|
49417
|
+
//
|
|
49395
49418
|
|
|
49396
49419
|
|
|
49397
49420
|
|
|
@@ -49473,6 +49496,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
49473
49496
|
return {};
|
|
49474
49497
|
}
|
|
49475
49498
|
},
|
|
49499
|
+
fullFlow: {
|
|
49500
|
+
type: Boolean,
|
|
49501
|
+
default: true
|
|
49502
|
+
},
|
|
49503
|
+
showReadConfirm: {
|
|
49504
|
+
type: Boolean,
|
|
49505
|
+
default: true
|
|
49506
|
+
},
|
|
49476
49507
|
width: {
|
|
49477
49508
|
type: String
|
|
49478
49509
|
},
|
|
@@ -50117,63 +50148,72 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50117
50148
|
this.loading.close();
|
|
50118
50149
|
}
|
|
50119
50150
|
},
|
|
50120
|
-
|
|
50151
|
+
subRead: function subRead() {
|
|
50121
50152
|
var _this8 = this;
|
|
50122
50153
|
|
|
50154
|
+
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50155
|
+
var _taskExamineInfo2 = this.taskExamineInfo,
|
|
50156
|
+
businessId = _taskExamineInfo2.businessId,
|
|
50157
|
+
appId = _taskExamineInfo2.appId,
|
|
50158
|
+
processDefinitionId = _taskExamineInfo2.processDefinitionId,
|
|
50159
|
+
pendingId = _taskExamineInfo2.pendingId;
|
|
50160
|
+
|
|
50161
|
+
var params = {
|
|
50162
|
+
businessId: businessId,
|
|
50163
|
+
appId: appId,
|
|
50164
|
+
processDefinitionId: processDefinitionId,
|
|
50165
|
+
pendingId: pendingId,
|
|
50166
|
+
opinion: this.value,
|
|
50167
|
+
taskAction: 'complete'
|
|
50168
|
+
};
|
|
50169
|
+
utils_util.ajax({
|
|
50170
|
+
url: taskReadHtml,
|
|
50171
|
+
params: { taskAction: 'complete' },
|
|
50172
|
+
headers: {
|
|
50173
|
+
Accept: 'application/json,text/plain'
|
|
50174
|
+
},
|
|
50175
|
+
method: 'post',
|
|
50176
|
+
data: params
|
|
50177
|
+
}).then(function (res) {
|
|
50178
|
+
var status = res.status,
|
|
50179
|
+
message = res.message;
|
|
50180
|
+
|
|
50181
|
+
_this8.loading.close();
|
|
50182
|
+
if (status === 'success') {
|
|
50183
|
+
_this8.flowSuccess();
|
|
50184
|
+
// this.$message.success('提交成功');
|
|
50185
|
+
// this.$emit('success');
|
|
50186
|
+
} else {
|
|
50187
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
50188
|
+
_this8.$emit('error');
|
|
50189
|
+
}
|
|
50190
|
+
}).catch(function (err) {
|
|
50191
|
+
_this8.loading.close();
|
|
50192
|
+
if (err.message && err.message !== 'canceled') {
|
|
50193
|
+
_this8.$message.error(err.message);
|
|
50194
|
+
}
|
|
50195
|
+
});
|
|
50196
|
+
},
|
|
50197
|
+
taskRead: function taskRead() {
|
|
50198
|
+
var _this9 = this;
|
|
50199
|
+
|
|
50123
50200
|
if (this.taskReadOpinionRequired == 'true' && !this.value) {
|
|
50124
50201
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
50125
50202
|
}
|
|
50126
|
-
this
|
|
50127
|
-
|
|
50128
|
-
|
|
50129
|
-
|
|
50130
|
-
|
|
50131
|
-
|
|
50132
|
-
|
|
50133
|
-
|
|
50134
|
-
|
|
50135
|
-
|
|
50136
|
-
|
|
50137
|
-
|
|
50138
|
-
var params = {
|
|
50139
|
-
businessId: businessId,
|
|
50140
|
-
appId: appId,
|
|
50141
|
-
processDefinitionId: processDefinitionId,
|
|
50142
|
-
pendingId: pendingId,
|
|
50143
|
-
opinion: _this8.value,
|
|
50144
|
-
taskAction: 'complete'
|
|
50145
|
-
};
|
|
50146
|
-
utils_util.ajax({
|
|
50147
|
-
url: taskReadHtml,
|
|
50148
|
-
params: { taskAction: 'complete' },
|
|
50149
|
-
headers: {
|
|
50150
|
-
Accept: 'application/json,text/plain'
|
|
50151
|
-
},
|
|
50152
|
-
method: 'post',
|
|
50153
|
-
data: params
|
|
50154
|
-
}).then(function (res) {
|
|
50155
|
-
var status = res.status,
|
|
50156
|
-
message = res.message;
|
|
50157
|
-
|
|
50158
|
-
_this8.loading.close();
|
|
50159
|
-
if (status === 'success') {
|
|
50160
|
-
_this8.flowSuccess();
|
|
50161
|
-
// this.$message.success('提交成功');
|
|
50162
|
-
// this.$emit('success');
|
|
50163
|
-
} else {
|
|
50164
|
-
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
50165
|
-
_this8.$emit('error');
|
|
50166
|
-
}
|
|
50167
|
-
}).catch(function (err) {
|
|
50168
|
-
_this8.loading.close();
|
|
50169
|
-
if (err.message && err.message !== 'canceled') {
|
|
50170
|
-
_this8.$message.error(err.message);
|
|
50171
|
-
}
|
|
50172
|
-
});
|
|
50173
|
-
}).catch(function () {});
|
|
50203
|
+
if (this.showReadConfirm) {
|
|
50204
|
+
this.$confirm('确认提交?', '提示', {
|
|
50205
|
+
confirmButtonText: '确定',
|
|
50206
|
+
cancelButtonText: '取消',
|
|
50207
|
+
type: 'warning'
|
|
50208
|
+
}).then(function () {
|
|
50209
|
+
_this9.subRead();
|
|
50210
|
+
}).catch(function () {});
|
|
50211
|
+
} else {
|
|
50212
|
+
this.subRead();
|
|
50213
|
+
}
|
|
50174
50214
|
},
|
|
50175
50215
|
validReadTransferHandle: function validReadTransferHandle(readTransferHandleBusinessId, readTransferHandleProcessKey) {
|
|
50176
|
-
var
|
|
50216
|
+
var _this10 = this;
|
|
50177
50217
|
|
|
50178
50218
|
var params = {
|
|
50179
50219
|
url: checkBusinessIdStartedReadTransferHandle,
|
|
@@ -50184,14 +50224,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50184
50224
|
}
|
|
50185
50225
|
};
|
|
50186
50226
|
utils_util.ajax(params).then(function (res) {
|
|
50187
|
-
|
|
50227
|
+
_this10.loading.close();
|
|
50188
50228
|
if (res.rCode == 0) {
|
|
50189
|
-
|
|
50229
|
+
_this10.readTransferHandleDisabled = !res.results.canReadTransferHandle;
|
|
50190
50230
|
}
|
|
50191
50231
|
});
|
|
50192
50232
|
},
|
|
50193
50233
|
getTaskReadFlow: function getTaskReadFlow() {
|
|
50194
|
-
var
|
|
50234
|
+
var _this11 = this;
|
|
50195
50235
|
|
|
50196
50236
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50197
50237
|
utils_util.ajax({
|
|
@@ -50208,32 +50248,32 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50208
50248
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
50209
50249
|
|
|
50210
50250
|
if (status === 'success') {
|
|
50211
|
-
|
|
50212
|
-
|
|
50213
|
-
|
|
50214
|
-
|
|
50215
|
-
|
|
50216
|
-
|
|
50217
|
-
if (
|
|
50218
|
-
|
|
50219
|
-
}
|
|
50220
|
-
if (
|
|
50221
|
-
|
|
50222
|
-
}
|
|
50223
|
-
|
|
50251
|
+
_this11.taskExamineInfo = taskExamine;
|
|
50252
|
+
_this11.nodeName = _this11.nodename || taskExamine.nodeName || '分阅';
|
|
50253
|
+
_this11.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
50254
|
+
_this11.nextNode.notificationMsg = defaultNotificationMessage;
|
|
50255
|
+
_this11.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
50256
|
+
_this11.isCanFenyue = isCanFenyue;
|
|
50257
|
+
if (_this11.nodeName) {
|
|
50258
|
+
_this11.NodeName = _this11.nodeName;
|
|
50259
|
+
}
|
|
50260
|
+
if (_this11.isCanReadTransferHandle) {
|
|
50261
|
+
_this11.validReadTransferHandle(taskExamine.businessId, taskExamine.processDefinitionId);
|
|
50262
|
+
}
|
|
50263
|
+
_this11.getNodeType();
|
|
50224
50264
|
} else {
|
|
50225
|
-
|
|
50265
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
50226
50266
|
}
|
|
50227
|
-
|
|
50267
|
+
_this11.loading.close();
|
|
50228
50268
|
}).catch(function (err) {
|
|
50229
|
-
|
|
50269
|
+
_this11.loading.close();
|
|
50230
50270
|
if (err.message && err.message !== 'canceled') {
|
|
50231
|
-
|
|
50271
|
+
_this11.$message.error(err.message);
|
|
50232
50272
|
}
|
|
50233
50273
|
});
|
|
50234
50274
|
},
|
|
50235
50275
|
getUserInfo: function getUserInfo() {
|
|
50236
|
-
var
|
|
50276
|
+
var _this12 = this;
|
|
50237
50277
|
|
|
50238
50278
|
var mainConfig = utils_util.getStorage('mainConfig');
|
|
50239
50279
|
if (mainConfig) {
|
|
@@ -50244,14 +50284,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50244
50284
|
data = res.data;
|
|
50245
50285
|
|
|
50246
50286
|
if (status == 'success') {
|
|
50247
|
-
|
|
50287
|
+
_this12.userModel = data;
|
|
50248
50288
|
} else {
|
|
50249
50289
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
50250
|
-
|
|
50290
|
+
_this12.$message.error(msg);
|
|
50251
50291
|
}
|
|
50252
50292
|
}).catch(function (err) {
|
|
50253
50293
|
if (err.message && err.message !== 'canceled') {
|
|
50254
|
-
|
|
50294
|
+
_this12.$message.error(err.message);
|
|
50255
50295
|
}
|
|
50256
50296
|
});
|
|
50257
50297
|
}
|
|
@@ -50271,7 +50311,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50271
50311
|
}
|
|
50272
50312
|
},
|
|
50273
50313
|
getNodeType: function getNodeType() {
|
|
50274
|
-
var
|
|
50314
|
+
var _this13 = this;
|
|
50275
50315
|
|
|
50276
50316
|
var params = {
|
|
50277
50317
|
url: findCodeValues,
|
|
@@ -50286,11 +50326,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50286
50326
|
data = res.data;
|
|
50287
50327
|
|
|
50288
50328
|
if (status === 'success') {
|
|
50289
|
-
|
|
50329
|
+
_this13.newsList = data;
|
|
50290
50330
|
}
|
|
50291
50331
|
}).catch(function (err) {
|
|
50292
50332
|
if (err.message && err.message !== 'canceled') {
|
|
50293
|
-
|
|
50333
|
+
_this13.$message.error(err.message);
|
|
50294
50334
|
}
|
|
50295
50335
|
});
|
|
50296
50336
|
},
|
|
@@ -50302,17 +50342,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50302
50342
|
* @date 2022年9月9日
|
|
50303
50343
|
**/
|
|
50304
50344
|
saveInfo: function saveInfo(type, btn) {
|
|
50305
|
-
var
|
|
50345
|
+
var _this14 = this;
|
|
50306
50346
|
|
|
50307
50347
|
if (this.isFlow) {
|
|
50308
50348
|
if (!type) {
|
|
50309
50349
|
if (btn && btn.before) {
|
|
50310
50350
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
50311
|
-
|
|
50351
|
+
_this14.$emit('save', _this14.businessIds);
|
|
50312
50352
|
}).catch(function (e) {});
|
|
50313
50353
|
} else if (this.beforeSubmit != undefined) {
|
|
50314
50354
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 1).then(function (next) {
|
|
50315
|
-
|
|
50355
|
+
_this14.$emit('save', _this14.businessIds);
|
|
50316
50356
|
}).catch(function (e) {});
|
|
50317
50357
|
} else {
|
|
50318
50358
|
this.$emit('save', this.businessIds);
|
|
@@ -50321,13 +50361,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50321
50361
|
} else {
|
|
50322
50362
|
if (btn && btn.before && !type) {
|
|
50323
50363
|
btn.before(Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
50324
|
-
|
|
50364
|
+
_this14.saveFlowInfo();
|
|
50325
50365
|
}).catch(function (e) {});
|
|
50326
50366
|
} else if (this.beforeSubmit == undefined && !type) {
|
|
50327
50367
|
this.subFun(this.saveFlowInfo);
|
|
50328
50368
|
} else if (!type && this.beforeSubmit != undefined) {
|
|
50329
50369
|
this.beforeSubmit(btn && Object.prototype.hasOwnProperty.call(btn, 'code') ? btn.code : 2).then(function (next) {
|
|
50330
|
-
|
|
50370
|
+
_this14.saveFlowInfo();
|
|
50331
50371
|
}).catch(function (e) {});
|
|
50332
50372
|
} else {
|
|
50333
50373
|
this.saveFlowInfo(type);
|
|
@@ -50335,7 +50375,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50335
50375
|
}
|
|
50336
50376
|
},
|
|
50337
50377
|
saveFlowInfo: function saveFlowInfo(isSave) {
|
|
50338
|
-
var
|
|
50378
|
+
var _this15 = this;
|
|
50339
50379
|
|
|
50340
50380
|
var params = {
|
|
50341
50381
|
opinion: this.value,
|
|
@@ -50346,17 +50386,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50346
50386
|
var status = res.status,
|
|
50347
50387
|
message = res.message;
|
|
50348
50388
|
|
|
50349
|
-
if (!isSave)
|
|
50389
|
+
if (!isSave) _this15.loading.close();
|
|
50350
50390
|
if (status == 'success') {
|
|
50351
50391
|
// this.$message.success('暂存成功');
|
|
50352
|
-
!isSave &&
|
|
50392
|
+
!isSave && _this15.$emit('save', _this15.businessIds);
|
|
50353
50393
|
} else {
|
|
50354
|
-
|
|
50394
|
+
_this15.$message.error(message || '系统错误,请联系管理员!');
|
|
50355
50395
|
}
|
|
50356
50396
|
}).catch(function (err) {
|
|
50357
|
-
if (!isSave)
|
|
50397
|
+
if (!isSave) _this15.loading.close();
|
|
50358
50398
|
if (err.message && err.message !== 'canceled') {
|
|
50359
|
-
|
|
50399
|
+
_this15.$message.error(err.message);
|
|
50360
50400
|
}
|
|
50361
50401
|
});
|
|
50362
50402
|
},
|
|
@@ -50368,7 +50408,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50368
50408
|
* @date 2022年5月25日
|
|
50369
50409
|
**/
|
|
50370
50410
|
rejectBtn: function rejectBtn() {
|
|
50371
|
-
var
|
|
50411
|
+
var _this16 = this;
|
|
50372
50412
|
|
|
50373
50413
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
50374
50414
|
if (!this.value) {
|
|
@@ -50376,7 +50416,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50376
50416
|
}
|
|
50377
50417
|
if (this.beforeSubmit != undefined) {
|
|
50378
50418
|
this.beforeSubmit(0).then(function (next) {
|
|
50379
|
-
|
|
50419
|
+
_this16.showReject = true;
|
|
50380
50420
|
}).catch(function (e) {});
|
|
50381
50421
|
} else {
|
|
50382
50422
|
this.showReject = true;
|
|
@@ -50390,14 +50430,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50390
50430
|
* @date 2022年5月25日
|
|
50391
50431
|
**/
|
|
50392
50432
|
taskReadBtn: function taskReadBtn() {
|
|
50393
|
-
var
|
|
50433
|
+
var _this17 = this;
|
|
50394
50434
|
|
|
50395
50435
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
50396
50436
|
if (this.beforeSubmit != undefined) {
|
|
50397
50437
|
this.beforeSubmit().then(function (next) {
|
|
50398
|
-
if (
|
|
50399
|
-
|
|
50400
|
-
|
|
50438
|
+
if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
|
|
50439
|
+
_this17.taskReadType = 'create';
|
|
50440
|
+
_this17.showTaskRead = true;
|
|
50401
50441
|
}).catch(function (e) {});
|
|
50402
50442
|
} else {
|
|
50403
50443
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -50413,7 +50453,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50413
50453
|
* @date 2022年5月25日
|
|
50414
50454
|
**/
|
|
50415
50455
|
getFind: function getFind() {
|
|
50416
|
-
var
|
|
50456
|
+
var _this18 = this;
|
|
50417
50457
|
|
|
50418
50458
|
utils_util.ajax({
|
|
50419
50459
|
url: findSysCodes
|
|
@@ -50422,26 +50462,26 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50422
50462
|
message = res.message;
|
|
50423
50463
|
|
|
50424
50464
|
if (status === 'success') {
|
|
50425
|
-
if (
|
|
50426
|
-
|
|
50465
|
+
if (_this18.hideMessage) return;
|
|
50466
|
+
_this18.nextNode.notificationType = message.split(',');
|
|
50427
50467
|
var arr = [];
|
|
50428
|
-
|
|
50429
|
-
|
|
50468
|
+
_this18.newsList.map(function (item) {
|
|
50469
|
+
_this18.nextNode.notificationType.map(function (x) {
|
|
50430
50470
|
if (x == item.cciValue) {
|
|
50431
50471
|
arr.push(x);
|
|
50432
50472
|
}
|
|
50433
50473
|
});
|
|
50434
50474
|
});
|
|
50435
|
-
|
|
50475
|
+
_this18.nextNode.notificationType = arr;
|
|
50436
50476
|
}
|
|
50437
50477
|
}).catch(function (err) {
|
|
50438
50478
|
if (err.message && err.message !== 'canceled') {
|
|
50439
|
-
|
|
50479
|
+
_this18.$message.error(err.message);
|
|
50440
50480
|
}
|
|
50441
50481
|
});
|
|
50442
50482
|
},
|
|
50443
50483
|
getFreeStartParams: function getFreeStartParams() {
|
|
50444
|
-
var
|
|
50484
|
+
var _this19 = this;
|
|
50445
50485
|
|
|
50446
50486
|
var _endFlowInfo = this.endFlowInfo,
|
|
50447
50487
|
businessId = _endFlowInfo.businessId,
|
|
@@ -50459,20 +50499,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50459
50499
|
};
|
|
50460
50500
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
50461
50501
|
utils_util.ajax(param).then(function (res) {
|
|
50462
|
-
|
|
50502
|
+
_this19.loading.close();
|
|
50463
50503
|
if (res.rCode == 0 || res.status == 'success') {
|
|
50464
|
-
|
|
50465
|
-
if (res.results.useScene === 'multiInsMidwayWithSubmitScene')
|
|
50466
|
-
if (!
|
|
50467
|
-
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return
|
|
50504
|
+
_this19.freeStartFlowParams = res.results;
|
|
50505
|
+
if (res.results.useScene === 'multiInsMidwayWithSubmitScene') _this19.subProcess('同意。', res.results.useScene);
|
|
50506
|
+
if (!_this19.freeValid) return;
|
|
50507
|
+
if (res.results.startFlowIndexProcessKeys && res.results.startFlowIndexProcessKeys.length == 0 || !res.results.startFlowIndexProcessKeys) return _this19.$message.warning('未找到流程定义!');
|
|
50468
50508
|
if (res.results.startFlowIndexProcessKeys.length == 1) {
|
|
50469
|
-
|
|
50470
|
-
|
|
50509
|
+
_this19.freeStartFlowNextNode = res.results.startFlowIndexProcessKeys[0];
|
|
50510
|
+
_this19.handleVisible = true;
|
|
50471
50511
|
} else {
|
|
50472
|
-
|
|
50512
|
+
_this19.showFreeStartFlow = true;
|
|
50473
50513
|
}
|
|
50474
50514
|
} else {
|
|
50475
|
-
|
|
50515
|
+
_this19.$message.error(res.message || '系统错误,请联系管理员!');
|
|
50476
50516
|
}
|
|
50477
50517
|
});
|
|
50478
50518
|
},
|
|
@@ -50485,53 +50525,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50485
50525
|
* @date 2022年5月25日
|
|
50486
50526
|
**/
|
|
50487
50527
|
endFlows: function endFlows(res) {
|
|
50488
|
-
var
|
|
50528
|
+
var _this20 = this;
|
|
50489
50529
|
|
|
50490
50530
|
if (this.beforeSubmit != undefined) {
|
|
50491
50531
|
this.beforeSubmit().then(function (next) {
|
|
50492
|
-
|
|
50532
|
+
_this20.saveEndFlows(res);
|
|
50493
50533
|
}).catch(function (e) {});
|
|
50494
50534
|
} else {
|
|
50495
50535
|
this.saveEndFlows(res);
|
|
50496
50536
|
}
|
|
50497
50537
|
},
|
|
50498
50538
|
saveEndFlows: function saveEndFlows(res) {
|
|
50499
|
-
var
|
|
50539
|
+
var _this21 = this;
|
|
50500
50540
|
|
|
50501
50541
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
50502
50542
|
var params = {
|
|
50503
50543
|
url: endFlowHtml,
|
|
50504
50544
|
headers: { Accept: 'application/json,text/plain' },
|
|
50505
50545
|
method: 'post',
|
|
50506
|
-
data: flow_src_mainvue_type_script_lang_js_extends({},
|
|
50507
|
-
opinion:
|
|
50546
|
+
data: flow_src_mainvue_type_script_lang_js_extends({}, _this21.endFlowInfo, _this21.nextNode, {
|
|
50547
|
+
opinion: _this21.value,
|
|
50508
50548
|
userId: utils_util.getStorage('userId'),
|
|
50509
|
-
nextUserId:
|
|
50510
|
-
addSignUserId:
|
|
50511
|
-
customPresetUserJson: JSON.stringify(
|
|
50512
|
-
presetUserJson: JSON.stringify(
|
|
50513
|
-
removeSignUserId:
|
|
50514
|
-
notificationType:
|
|
50549
|
+
nextUserId: _this21.multiple ? _this21.nextNode.nextUserId.join(',') : _this21.nextNode.nextUserId,
|
|
50550
|
+
addSignUserId: _this21.nextNode.addSignUserId.join(','),
|
|
50551
|
+
customPresetUserJson: JSON.stringify(_this21.presetList),
|
|
50552
|
+
presetUserJson: JSON.stringify(_this21.presetUserJson),
|
|
50553
|
+
removeSignUserId: _this21.nextNode.removeSignUserId.join(','),
|
|
50554
|
+
notificationType: _this21.nextNode.notificationType.join(',')
|
|
50515
50555
|
})
|
|
50516
50556
|
};
|
|
50517
|
-
|
|
50557
|
+
_this21.loading = utils_util.loading(_this21.$loading, '加载中...');
|
|
50518
50558
|
utils_util.ajax(params).then(function (res) {
|
|
50519
50559
|
var status = res.status,
|
|
50520
50560
|
message = res.message;
|
|
50521
50561
|
|
|
50522
|
-
|
|
50562
|
+
_this21.loading.close();
|
|
50523
50563
|
if (status === 'success') {
|
|
50524
|
-
|
|
50564
|
+
_this21.flowSuccess();
|
|
50525
50565
|
// this.$message.success('提交成功');
|
|
50526
50566
|
// this.$emit('success');
|
|
50527
50567
|
} else {
|
|
50528
|
-
|
|
50529
|
-
|
|
50568
|
+
_this21.$message.error(message || '系统错误,请联系管理员!');
|
|
50569
|
+
_this21.$emit('error');
|
|
50530
50570
|
}
|
|
50531
50571
|
}).catch(function (err) {
|
|
50532
|
-
|
|
50572
|
+
_this21.loading.close();
|
|
50533
50573
|
if (err.message && err.message !== 'canceled') {
|
|
50534
|
-
|
|
50574
|
+
_this21.$message.error(err.message);
|
|
50535
50575
|
}
|
|
50536
50576
|
});
|
|
50537
50577
|
}).catch(function (e) {});
|
|
@@ -50636,11 +50676,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50636
50676
|
* @date 2022年9月29日
|
|
50637
50677
|
**/
|
|
50638
50678
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
50639
|
-
var
|
|
50679
|
+
var _this22 = this;
|
|
50640
50680
|
|
|
50641
50681
|
if (this.beforeSubmit != undefined) {
|
|
50642
50682
|
this.beforeSubmit().then(function (next) {
|
|
50643
|
-
|
|
50683
|
+
_this22.saveToTakeAdvice(res);
|
|
50644
50684
|
}).catch(function (e) {});
|
|
50645
50685
|
} else {
|
|
50646
50686
|
this.saveToTakeAdvice(res);
|
|
@@ -50648,7 +50688,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50648
50688
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
50649
50689
|
},
|
|
50650
50690
|
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
50651
|
-
var
|
|
50691
|
+
var _this23 = this;
|
|
50652
50692
|
|
|
50653
50693
|
var params = {
|
|
50654
50694
|
url: isCanStartSubFlow,
|
|
@@ -50663,16 +50703,16 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50663
50703
|
utils_util.ajax(params).then(function (res) {
|
|
50664
50704
|
var message = res.message;
|
|
50665
50705
|
|
|
50666
|
-
|
|
50706
|
+
_this23.loading.close();
|
|
50667
50707
|
if (message == 'success') {
|
|
50668
|
-
|
|
50708
|
+
_this23.showTaskUnionExamine = true;
|
|
50669
50709
|
} else {
|
|
50670
|
-
|
|
50710
|
+
_this23.$message.error(message || '系统错误,请联系管理员!');
|
|
50671
50711
|
}
|
|
50672
50712
|
}).catch(function (err) {
|
|
50673
|
-
|
|
50713
|
+
_this23.loading.close();
|
|
50674
50714
|
if (err.message && err.message !== 'canceled') {
|
|
50675
|
-
|
|
50715
|
+
_this23.$message.error(err.message);
|
|
50676
50716
|
}
|
|
50677
50717
|
});
|
|
50678
50718
|
},
|
|
@@ -50684,11 +50724,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50684
50724
|
* @date 2022年9月29日
|
|
50685
50725
|
**/
|
|
50686
50726
|
toStartDraf: function toStartDraf(res) {
|
|
50687
|
-
var
|
|
50727
|
+
var _this24 = this;
|
|
50688
50728
|
|
|
50689
50729
|
if (this.beforeSubmit != undefined) {
|
|
50690
50730
|
this.beforeSubmit().then(function (next) {
|
|
50691
|
-
|
|
50731
|
+
_this24.showTaskUnionExamine = true;
|
|
50692
50732
|
}).catch(function (e) {});
|
|
50693
50733
|
} else {
|
|
50694
50734
|
this.showTaskUnionExamine = true;
|
|
@@ -50702,11 +50742,11 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50702
50742
|
* @date 2022年9月29日
|
|
50703
50743
|
**/
|
|
50704
50744
|
toSendMsg: function toSendMsg(res) {
|
|
50705
|
-
var
|
|
50745
|
+
var _this25 = this;
|
|
50706
50746
|
|
|
50707
50747
|
if (this.beforeSubmit != undefined) {
|
|
50708
50748
|
this.beforeSubmit().then(function (next) {
|
|
50709
|
-
|
|
50749
|
+
_this25.showSendMsg = true;
|
|
50710
50750
|
}).catch(function (e) {});
|
|
50711
50751
|
} else {
|
|
50712
50752
|
this.showSendMsg = true;
|
|
@@ -50720,13 +50760,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50720
50760
|
* @date 2022年9月29日
|
|
50721
50761
|
**/
|
|
50722
50762
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
50723
|
-
var
|
|
50763
|
+
var _this26 = this;
|
|
50724
50764
|
|
|
50725
50765
|
if (this.beforeSubmit != undefined) {
|
|
50726
50766
|
this.beforeSubmit().then(function (next) {
|
|
50727
|
-
if (
|
|
50728
|
-
|
|
50729
|
-
|
|
50767
|
+
if (_this26.value === '') _this26.value = _this26.nodeDefaultRejectOpinion;
|
|
50768
|
+
_this26.taskReadType = 'taskReadAndEnd';
|
|
50769
|
+
_this26.showTaskRead = true;
|
|
50730
50770
|
}).catch(function (e) {});
|
|
50731
50771
|
} else {
|
|
50732
50772
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
@@ -50742,21 +50782,21 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50742
50782
|
* @date 2022年9月29日
|
|
50743
50783
|
**/
|
|
50744
50784
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
50745
|
-
var
|
|
50785
|
+
var _this27 = this;
|
|
50746
50786
|
|
|
50747
50787
|
if (this.isOpinionRequired == 1 && (this.value == '' || !this.value)) {
|
|
50748
50788
|
if (!this.$refs.commonOpinions.validate()) return;
|
|
50749
50789
|
}
|
|
50750
50790
|
if (this.beforeSubmit != undefined) {
|
|
50751
50791
|
this.beforeSubmit().then(function (next) {
|
|
50752
|
-
|
|
50792
|
+
_this27.saveRejectAndEnd(res);
|
|
50753
50793
|
}).catch(function (e) {});
|
|
50754
50794
|
} else {
|
|
50755
50795
|
this.saveRejectAndEnd(res);
|
|
50756
50796
|
}
|
|
50757
50797
|
},
|
|
50758
50798
|
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
50759
|
-
var
|
|
50799
|
+
var _this28 = this;
|
|
50760
50800
|
|
|
50761
50801
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
50762
50802
|
// return this.$message.warning('请填写意见');
|
|
@@ -50765,29 +50805,29 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50765
50805
|
headers: { Accept: 'application/json,text/plain' },
|
|
50766
50806
|
method: 'post',
|
|
50767
50807
|
data: {
|
|
50768
|
-
opinion:
|
|
50769
|
-
pendingId:
|
|
50808
|
+
opinion: _this28.value,
|
|
50809
|
+
pendingId: _this28.pendingId,
|
|
50770
50810
|
isSinglePage: false
|
|
50771
50811
|
}
|
|
50772
50812
|
};
|
|
50773
|
-
|
|
50813
|
+
_this28.loading = utils_util.loading(_this28.$loading, '加载中...');
|
|
50774
50814
|
utils_util.ajax(params).then(function (res) {
|
|
50775
50815
|
var status = res.status,
|
|
50776
50816
|
message = res.message;
|
|
50777
50817
|
|
|
50778
|
-
|
|
50818
|
+
_this28.loading.close();
|
|
50779
50819
|
if (status === 'success') {
|
|
50780
|
-
|
|
50820
|
+
_this28.flowSuccess();
|
|
50781
50821
|
// this.$message.success('提交成功');
|
|
50782
50822
|
// this.$emit('success');
|
|
50783
50823
|
} else {
|
|
50784
|
-
|
|
50785
|
-
|
|
50824
|
+
_this28.$message.error(message || '系统错误,请联系管理员!');
|
|
50825
|
+
_this28.$emit('error');
|
|
50786
50826
|
}
|
|
50787
50827
|
}).catch(function (err) {
|
|
50788
|
-
|
|
50828
|
+
_this28.loading.close();
|
|
50789
50829
|
if (err.message && err.message !== 'canceled') {
|
|
50790
|
-
|
|
50830
|
+
_this28.$message.error(err.message);
|
|
50791
50831
|
}
|
|
50792
50832
|
});
|
|
50793
50833
|
}).catch(function () {
|
|
@@ -50802,12 +50842,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50802
50842
|
* @date 2022年9月29日
|
|
50803
50843
|
**/
|
|
50804
50844
|
toTransfer: function toTransfer(res) {
|
|
50805
|
-
var
|
|
50845
|
+
var _this29 = this;
|
|
50806
50846
|
|
|
50807
50847
|
if (this.beforeSubmit != undefined) {
|
|
50808
50848
|
this.beforeSubmit(0).then(function (next) {
|
|
50809
|
-
|
|
50810
|
-
|
|
50849
|
+
_this29.taskReadType = 'transfer';
|
|
50850
|
+
_this29.showTaskRead = true;
|
|
50811
50851
|
}).catch(function (e) {});
|
|
50812
50852
|
} else {
|
|
50813
50853
|
this.taskReadType = 'transfer';
|
|
@@ -50825,7 +50865,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50825
50865
|
* @date 2022年5月25日
|
|
50826
50866
|
**/
|
|
50827
50867
|
getNodeInfo: function getNodeInfo() {
|
|
50828
|
-
var
|
|
50868
|
+
var _this30 = this;
|
|
50829
50869
|
|
|
50830
50870
|
var params = {
|
|
50831
50871
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -50840,53 +50880,53 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50840
50880
|
message = res.message,
|
|
50841
50881
|
data = res.data;
|
|
50842
50882
|
|
|
50843
|
-
|
|
50883
|
+
_this30.loading.close();
|
|
50844
50884
|
if (status === 'success') {
|
|
50845
|
-
|
|
50846
|
-
|
|
50847
|
-
|
|
50848
|
-
if (
|
|
50849
|
-
|
|
50885
|
+
_this30.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
50886
|
+
_this30.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
50887
|
+
_this30.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
50888
|
+
if (_this30.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
|
|
50889
|
+
_this30.nextNode.customLimitTime = _this30.nextNode.customLimitTimeText = data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
50850
50890
|
}
|
|
50851
50891
|
if (data.nodeMoreInfo.chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true) {
|
|
50852
|
-
|
|
50892
|
+
_this30.params.only_filid = true;
|
|
50853
50893
|
}
|
|
50854
|
-
data.otherOrgDisabledObjId && (
|
|
50855
|
-
data.currentOrgDisabledObjId && (
|
|
50894
|
+
data.otherOrgDisabledObjId && (_this30.otherOrgDisabledObjId = data.otherOrgDisabledObjId.split(','));
|
|
50895
|
+
data.currentOrgDisabledObjId && (_this30.currentOrgDisabledObjId = data.currentOrgDisabledObjId.split(','));
|
|
50856
50896
|
if (data != null) {
|
|
50857
50897
|
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) {
|
|
50858
|
-
|
|
50898
|
+
_this30.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
50859
50899
|
} else {
|
|
50860
|
-
|
|
50900
|
+
_this30.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this30.choiceOrgId, _this30.choiceDeptId, _this30.pOrgId);
|
|
50861
50901
|
}
|
|
50862
|
-
|
|
50863
|
-
|
|
50864
|
-
|
|
50865
|
-
|
|
50866
|
-
|
|
50902
|
+
_this30.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
50903
|
+
_this30.isTaskread = data.nodeExtAttr.isTaskread;
|
|
50904
|
+
_this30.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
50905
|
+
_this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
50906
|
+
_this30.nodeType = data.nodeExtAttr.nodeType;
|
|
50867
50907
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
50868
|
-
if (
|
|
50869
|
-
|
|
50870
|
-
|
|
50871
|
-
|
|
50872
|
-
|
|
50873
|
-
|
|
50908
|
+
if (_this30.nodeType === 1 || _this30.nodeType === 2) {
|
|
50909
|
+
_this30.isMainSubProcess === true ? _this30.isNodeShowProcess = true : _this30.isNodeShowProcess = false;
|
|
50910
|
+
_this30.isMainSubProcess === true ? _this30.isMainSubProcess = true : _this30.isMainSubProcess = false;
|
|
50911
|
+
_this30.isNextUser = false;
|
|
50912
|
+
_this30.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
50913
|
+
_this30.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
50874
50914
|
} else {
|
|
50875
|
-
|
|
50876
|
-
|
|
50877
|
-
|
|
50878
|
-
|
|
50879
|
-
|
|
50915
|
+
_this30.isHideCurrentOrg = false;
|
|
50916
|
+
_this30.isHideOtherOrg = false;
|
|
50917
|
+
_this30.isNodeShowProcess = false;
|
|
50918
|
+
_this30.isMainSubProcess = false;
|
|
50919
|
+
_this30.isNextUser = _this30.nextNode.nextOperate != 9;
|
|
50880
50920
|
// this.isMainSubProcess === true
|
|
50881
50921
|
// ? (this.isMainSubProcess = true)
|
|
50882
50922
|
// : (this.isMainSubProcess = false);
|
|
50883
50923
|
}
|
|
50884
|
-
|
|
50885
|
-
if (
|
|
50924
|
+
_this30.multiple ? _this30.nextNode.nextUserId = [] : _this30.nextNode.nextUserId = '';
|
|
50925
|
+
if (_this30.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
50886
50926
|
data.nextUserList.map(function (item) {
|
|
50887
50927
|
if (item.userId && item.username) {
|
|
50888
|
-
|
|
50889
|
-
|
|
50928
|
+
_this30.nextNode.nextUserId.push(item.userId);
|
|
50929
|
+
_this30.selectUserList.push({
|
|
50890
50930
|
showname: item.username,
|
|
50891
50931
|
showid: item.userId
|
|
50892
50932
|
});
|
|
@@ -50895,40 +50935,40 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50895
50935
|
}
|
|
50896
50936
|
data.nextUserList.map(function (item) {
|
|
50897
50937
|
if (item.userId && item.username) {
|
|
50898
|
-
|
|
50938
|
+
_this30.options.push({
|
|
50899
50939
|
showname: item.username,
|
|
50900
50940
|
showid: item.userId
|
|
50901
50941
|
});
|
|
50902
50942
|
}
|
|
50903
50943
|
});
|
|
50904
50944
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
50905
|
-
|
|
50945
|
+
_this30.radioList = _this30.options;
|
|
50906
50946
|
}
|
|
50907
|
-
if (!
|
|
50908
|
-
|
|
50909
|
-
|
|
50947
|
+
if (!_this30.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
50948
|
+
_this30.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
50949
|
+
_this30.selectUserList.push({
|
|
50910
50950
|
showname: data.nextUserList[0].username,
|
|
50911
50951
|
showid: data.nextUserList[0].userId
|
|
50912
50952
|
});
|
|
50913
50953
|
}
|
|
50914
|
-
|
|
50915
|
-
|
|
50916
|
-
|
|
50917
|
-
|
|
50918
|
-
|
|
50954
|
+
_this30.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
50955
|
+
_this30.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
50956
|
+
_this30.presetEdit = data.nodeExtAttr.presetEdit;
|
|
50957
|
+
_this30.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
50958
|
+
_this30.handleMode = data.countersignaturetypeText;
|
|
50919
50959
|
if (data.globalNodeType === 'endEvent') {
|
|
50920
|
-
|
|
50921
|
-
data.globalNodeType === 'endEvent' ?
|
|
50960
|
+
_this30.isNextUser = data.globalNodeType != 'endEvent';
|
|
50961
|
+
data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
|
|
50922
50962
|
}
|
|
50923
50963
|
}
|
|
50924
|
-
|
|
50964
|
+
_this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
|
|
50925
50965
|
} else {
|
|
50926
|
-
|
|
50966
|
+
_this30.$message.error(message || '系统错误,请联系管理员!');
|
|
50927
50967
|
}
|
|
50928
50968
|
}).catch(function (err) {
|
|
50929
|
-
|
|
50969
|
+
_this30.loading.close();
|
|
50930
50970
|
if (err.message && err.message !== 'canceled') {
|
|
50931
|
-
|
|
50971
|
+
_this30.$message.error(err.message);
|
|
50932
50972
|
}
|
|
50933
50973
|
});
|
|
50934
50974
|
},
|
|
@@ -50941,7 +50981,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50941
50981
|
* @date 2022年5月25日
|
|
50942
50982
|
**/
|
|
50943
50983
|
selecNext: function selecNext(val, type, isDef) {
|
|
50944
|
-
var
|
|
50984
|
+
var _this31 = this;
|
|
50945
50985
|
|
|
50946
50986
|
var isNextNode = false;
|
|
50947
50987
|
if (type && val && this.operationList.length > 0) {
|
|
@@ -50991,13 +51031,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
50991
51031
|
this.operationList.forEach(function (item) {
|
|
50992
51032
|
if (item.key === val) {
|
|
50993
51033
|
if (!item.taskNodeList) {
|
|
50994
|
-
|
|
51034
|
+
_this31.nodeInfos = [];
|
|
50995
51035
|
} else {
|
|
50996
|
-
|
|
51036
|
+
_this31.nodeInfos = item.taskNodeList;
|
|
50997
51037
|
|
|
50998
|
-
if (
|
|
50999
|
-
|
|
51000
|
-
return
|
|
51038
|
+
if (_this31.taskOperationShiftedNodeList) {
|
|
51039
|
+
_this31.nodeInfos = item.taskNodeList.filter(function (x) {
|
|
51040
|
+
return _this31.taskOperationShiftedNodeList.indexOf(x.nodeId) == -1;
|
|
51001
51041
|
});
|
|
51002
51042
|
}
|
|
51003
51043
|
}
|
|
@@ -51006,7 +51046,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51006
51046
|
});
|
|
51007
51047
|
if (this.defaultNextNode) {
|
|
51008
51048
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
51009
|
-
return item.nodeId ==
|
|
51049
|
+
return item.nodeId == _this31.defaultNextNode;
|
|
51010
51050
|
});
|
|
51011
51051
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
51012
51052
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -51121,7 +51161,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51121
51161
|
* @date 2022年5月25日
|
|
51122
51162
|
**/
|
|
51123
51163
|
getHedInfo: function getHedInfo() {
|
|
51124
|
-
var
|
|
51164
|
+
var _this32 = this;
|
|
51125
51165
|
|
|
51126
51166
|
this.loading = utils_util.loading(this.$loading, '加载中...');
|
|
51127
51167
|
var params = {
|
|
@@ -51131,7 +51171,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51131
51171
|
utils_util.ajax({ url: getHandleInfoHtml, params: params }).then(function (res) {
|
|
51132
51172
|
//pc返回数据
|
|
51133
51173
|
|
|
51134
|
-
|
|
51174
|
+
_this32.loading.close();
|
|
51135
51175
|
|
|
51136
51176
|
if (res.status === 'success') {
|
|
51137
51177
|
var _res$data2 = res.data,
|
|
@@ -51173,17 +51213,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51173
51213
|
isCanPreAddSign = _res$data2.isCanPreAddSign;
|
|
51174
51214
|
|
|
51175
51215
|
if (temporarySaveButtonName) {
|
|
51176
|
-
|
|
51216
|
+
_this32.saveButtonName = temporarySaveButtonName;
|
|
51177
51217
|
}
|
|
51178
51218
|
if (simpleTips != undefined) {
|
|
51179
|
-
|
|
51219
|
+
_this32.simpleTips = simpleTips;
|
|
51180
51220
|
}
|
|
51181
|
-
|
|
51182
|
-
|
|
51221
|
+
_this32.$emit('startTaskRead', res);
|
|
51222
|
+
_this32.$emit('start-task-read', res);
|
|
51183
51223
|
if (taskOperationShiftedNodeList && taskOperationShiftedNodeList.length > 0) {
|
|
51184
|
-
|
|
51224
|
+
_this32.taskOperationShiftedNodeList = [];
|
|
51185
51225
|
taskOperationShiftedNodeList.map(function (x) {
|
|
51186
|
-
|
|
51226
|
+
_this32.taskOperationShiftedNodeList.push(x.nodeId);
|
|
51187
51227
|
taskOperations.push({
|
|
51188
51228
|
key: x.nodeId,
|
|
51189
51229
|
value: x.nodeName,
|
|
@@ -51192,158 +51232,160 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51192
51232
|
});
|
|
51193
51233
|
});
|
|
51194
51234
|
}
|
|
51195
|
-
|
|
51196
|
-
|
|
51235
|
+
_this32.isHideTemporarySave = nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
51236
|
+
_this32.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
51197
51237
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
51198
|
-
|
|
51238
|
+
_this32.currentOrgSelectorTabs = currentOrgSelectorParams.currentOrgType.split(',');
|
|
51199
51239
|
var currentOrgparams = currentOrgSelectorParams.currentOrgRange.split(',');
|
|
51200
|
-
|
|
51201
|
-
|
|
51240
|
+
_this32.currentOrgSelectorTabs.map(function (x, i) {
|
|
51241
|
+
_this32.currentOrgSelectorParams[x] = {
|
|
51202
51242
|
filid: currentOrgparams[i] == 'my' ? choiceOrgId : currentOrgparams[i],
|
|
51203
51243
|
only_filid: true
|
|
51204
51244
|
};
|
|
51205
51245
|
});
|
|
51206
51246
|
}
|
|
51207
51247
|
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
51208
|
-
|
|
51248
|
+
_this32.foreignOrgSelectorTabs = currentOrgSelectorParams.foreignOrgType.split(',');
|
|
51209
51249
|
var foreignOrgparams = currentOrgSelectorParams.foreignOrgRange.split(',');
|
|
51210
|
-
|
|
51211
|
-
|
|
51250
|
+
_this32.foreignOrgSelectorTabs.map(function (x, i) {
|
|
51251
|
+
_this32.foreignOrgSelectorParams[x] = {
|
|
51212
51252
|
filid: foreignOrgparams[i] == 'my' ? choiceOrgId : x == 'filgroup' ? '' : foreignOrgparams[i] == 'nofilidorg' || foreignOrgparams[i] == 'nofiliddept' ? 'all' : foreignOrgparams[i],
|
|
51213
51253
|
nofilid: foreignOrgparams[i] == 'nofilidorg' ? sessionStorage.getItem('orgId') : foreignOrgparams[i] == 'nofiliddept' ? sessionStorage.getItem('depId') : foreignOrgparams[i] == 'other' ? 1 : 0,
|
|
51214
|
-
roleid:
|
|
51254
|
+
roleid: _this32.circularReadParamsMap.circularReadOrgRoleCode || _this32.foreignOrgSelectorParams.roleid
|
|
51215
51255
|
};
|
|
51216
51256
|
});
|
|
51217
51257
|
}
|
|
51218
|
-
|
|
51219
|
-
if (
|
|
51220
|
-
|
|
51221
|
-
}
|
|
51222
|
-
|
|
51223
|
-
|
|
51224
|
-
|
|
51225
|
-
|
|
51226
|
-
|
|
51227
|
-
|
|
51228
|
-
|
|
51229
|
-
|
|
51230
|
-
|
|
51231
|
-
|
|
51232
|
-
|
|
51233
|
-
|
|
51234
|
-
|
|
51235
|
-
|
|
51236
|
-
|
|
51237
|
-
|
|
51238
|
-
|
|
51239
|
-
|
|
51240
|
-
|
|
51241
|
-
|
|
51242
|
-
nextNodeCheckType && (
|
|
51243
|
-
|
|
51244
|
-
|
|
51258
|
+
_this32.circularReadParamsMap = circularReadParamsMap || {};
|
|
51259
|
+
if (_this32.circularReadParamsMap.circularReadOrgRoleCode) {
|
|
51260
|
+
_this32.foreignOrgSelectorParams.roleid = _this32.circularReadParamsMap.circularReadOrgRoleCode;
|
|
51261
|
+
}
|
|
51262
|
+
_this32.currentOrgName = currentOrgName;
|
|
51263
|
+
_this32.nextOperateCheckType = nextOperateCheckType || 'select';
|
|
51264
|
+
_this32.currentNodeIsCircularReadNode = nodeInfoMap.nodeExtAttr.currentNodeIsCircularReadNode == 1;
|
|
51265
|
+
|
|
51266
|
+
_this32.submitButtonFunKey = nodeInfoMap.nodeExtAttr.submitButtonFunKey;
|
|
51267
|
+
_this32.taskNodeButtons = nodeInfoMap.nodeExtAttr.taskNodeButtons;
|
|
51268
|
+
_this32.readOnlyNotificationType = readOnlyNotificationType;
|
|
51269
|
+
|
|
51270
|
+
_this32.readOnlyNotificationType = readOnlyNotificationType;
|
|
51271
|
+
_this32.isSpecial = isSpecial;
|
|
51272
|
+
_this32.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
51273
|
+
_this32.otherOrgName = otherOrgName;
|
|
51274
|
+
_this32.isCanPreAddSign = isCanPreAddSign;
|
|
51275
|
+
_this32.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
51276
|
+
_this32.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
51277
|
+
_this32.endFlowInfo.pendingId = _this32.pendingId;
|
|
51278
|
+
_this32.attachedCode = attachedCode;
|
|
51279
|
+
_this32.endFlowInfo.pOrgId = pOrgId;
|
|
51280
|
+
_this32.canPresetRead = canPresetRead;
|
|
51281
|
+
_this32.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
51282
|
+
nextNodeCheckType && (_this32.nextNodeCheckType = nextNodeCheckType);
|
|
51283
|
+
_this32.operationList = taskOperations || [];
|
|
51284
|
+
_this32.customPresetHintMessage = customPresetHintMessage;
|
|
51245
51285
|
if (canPresetRead) {
|
|
51246
51286
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
51247
51287
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
51248
51288
|
ids.map(function (item, index) {
|
|
51249
|
-
|
|
51289
|
+
_this32.presetReadUserId.push({
|
|
51250
51290
|
showid: item,
|
|
51251
51291
|
showname: names[index]
|
|
51252
51292
|
});
|
|
51253
|
-
|
|
51293
|
+
_this32.selectPresetUserList.push({
|
|
51254
51294
|
showid: item,
|
|
51255
51295
|
showname: names[index]
|
|
51256
51296
|
});
|
|
51257
|
-
|
|
51297
|
+
_this32.nextNode.presetReadUserId.push(item);
|
|
51258
51298
|
});
|
|
51259
51299
|
}
|
|
51260
|
-
if (!
|
|
51300
|
+
if (!_this32.isFlow) _this32.getFile(_this32.pendingId, attachedCode);
|
|
51261
51301
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
51262
|
-
|
|
51263
|
-
if (nextNodeList[0].nodeType === 'endEvent') {
|
|
51264
|
-
|
|
51265
|
-
|
|
51266
|
-
|
|
51302
|
+
_this32.nextNodeList = nextNodeList;
|
|
51303
|
+
// if (nextNodeList[0].nodeType === 'endEvent') {
|
|
51304
|
+
// this.isNextUser = nextNodeList[0].nodeType != 'endEvent';
|
|
51305
|
+
// nextNodeList[0].nodeType === 'endEvent'
|
|
51306
|
+
// ? (this.endFlow = true)
|
|
51307
|
+
// : '';
|
|
51308
|
+
// }
|
|
51267
51309
|
}
|
|
51268
51310
|
|
|
51269
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
51311
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this32.removeUsers = canRemoveSignUserList;
|
|
51270
51312
|
if (taskOperations && taskOperations.length != 0) {
|
|
51271
51313
|
var isSelected = false;
|
|
51272
51314
|
taskOperations.map(function (item) {
|
|
51273
|
-
if (item.key === 9)
|
|
51315
|
+
if (item.key === 9) _this32.isReject = true;
|
|
51274
51316
|
if (item.isSelected) {
|
|
51275
|
-
|
|
51276
|
-
|
|
51317
|
+
_this32.nodeInfos = [];
|
|
51318
|
+
_this32.nextNode.nextOperate = item.key;
|
|
51277
51319
|
if (item.taskNodeList != null) {
|
|
51278
|
-
|
|
51320
|
+
_this32.nodeInfos = item.taskNodeList;
|
|
51279
51321
|
}
|
|
51280
51322
|
isSelected = true;
|
|
51281
51323
|
}
|
|
51282
51324
|
});
|
|
51283
51325
|
if (taskOperations.length > 0 && !isSelected) {
|
|
51284
|
-
|
|
51285
|
-
|
|
51326
|
+
_this32.nodeInfos = [];
|
|
51327
|
+
_this32.nextNode.nextOperate = taskOperations[0].key;
|
|
51286
51328
|
if (taskOperations[0].taskNodeList != null) {
|
|
51287
|
-
|
|
51329
|
+
_this32.nodeInfos = taskOperations[0].taskNodeList;
|
|
51288
51330
|
}
|
|
51289
51331
|
}
|
|
51290
51332
|
}
|
|
51291
51333
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
51292
|
-
|
|
51334
|
+
_this32.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
51293
51335
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
51294
51336
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
51295
51337
|
notice.map(function (x) {
|
|
51296
|
-
|
|
51338
|
+
_this32.nodeFixedOpinionSelectList.push({ content: x });
|
|
51297
51339
|
});
|
|
51298
51340
|
}
|
|
51299
51341
|
|
|
51300
|
-
|
|
51301
|
-
|
|
51302
|
-
|
|
51303
|
-
|
|
51304
|
-
|
|
51305
|
-
|
|
51306
|
-
|
|
51342
|
+
_this32.value = opinion || '';
|
|
51343
|
+
_this32.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
51344
|
+
_this32.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
51345
|
+
_this32.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
51346
|
+
_this32.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
51347
|
+
_this32.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
51348
|
+
_this32.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
51307
51349
|
// this.isHideDefaultOperation =
|
|
51308
51350
|
// nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1;
|
|
51309
|
-
|
|
51351
|
+
_this32.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51310
51352
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
51311
|
-
var defaultNode =
|
|
51353
|
+
var defaultNode = _this32.nodeInfos.filter(function (item) {
|
|
51312
51354
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51313
51355
|
});
|
|
51314
|
-
if (
|
|
51315
|
-
|
|
51356
|
+
if (_this32.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
51357
|
+
_this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
|
|
51316
51358
|
} else {
|
|
51317
|
-
|
|
51359
|
+
_this32.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
51318
51360
|
}
|
|
51319
|
-
} else if (
|
|
51320
|
-
|
|
51361
|
+
} else if (_this32.nodeInfos.length > 0) {
|
|
51362
|
+
_this32.nextNode.nextNodeId = _this32.nodeInfos[0].nodeId;
|
|
51321
51363
|
}
|
|
51322
|
-
|
|
51364
|
+
_this32.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
51323
51365
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
51324
|
-
|
|
51366
|
+
_this32.btnList.map(function (x) {
|
|
51325
51367
|
if (x.event === 'sub') {
|
|
51326
51368
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
51327
51369
|
}
|
|
51328
51370
|
});
|
|
51329
51371
|
}
|
|
51330
51372
|
}
|
|
51331
|
-
|
|
51332
|
-
|
|
51333
|
-
|
|
51373
|
+
_this32.choiceOrgId = choiceOrgId;
|
|
51374
|
+
_this32.choiceDeptId = choiceDeptId;
|
|
51375
|
+
_this32.pOrgId = pOrgId;
|
|
51334
51376
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
51335
|
-
|
|
51377
|
+
_this32.isEndUserTask = res.data.isEndUserTask;
|
|
51336
51378
|
}
|
|
51337
51379
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
51338
|
-
|
|
51339
|
-
|
|
51340
|
-
|
|
51341
|
-
|
|
51342
|
-
|
|
51343
|
-
|
|
51344
|
-
|
|
51345
|
-
|
|
51346
|
-
|
|
51380
|
+
_this32.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
51381
|
+
_this32.NodeName = taskExamine.nodeName;
|
|
51382
|
+
_this32.taskId = taskExamine.taskId;
|
|
51383
|
+
_this32.businessIds = taskExamine.businessId;
|
|
51384
|
+
_this32.appId = taskExamine.appId;
|
|
51385
|
+
_this32.taskExamineInfo = taskExamine;
|
|
51386
|
+
_this32.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
51387
|
+
_this32.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
51388
|
+
_this32.endFlowInfo.processType = taskExamine.processType;
|
|
51347
51389
|
// this.endFlowInfo.isReturnSubmitter =
|
|
51348
51390
|
// taskExamine.isReturnSubmitter;
|
|
51349
51391
|
// this.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
@@ -51355,81 +51397,81 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51355
51397
|
// this.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
51356
51398
|
// this.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
51357
51399
|
// this.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
51358
|
-
|
|
51359
|
-
|
|
51360
|
-
|
|
51361
|
-
|
|
51362
|
-
|
|
51363
|
-
|
|
51364
|
-
|
|
51365
|
-
|
|
51366
|
-
|
|
51400
|
+
_this32.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
51401
|
+
_this32.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
51402
|
+
_this32.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
51403
|
+
_this32.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
51404
|
+
_this32.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
51405
|
+
_this32.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
51406
|
+
_this32.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
51407
|
+
_this32.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
51408
|
+
_this32.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
51367
51409
|
// this.endFlowInfo.isReadDealReply =
|
|
51368
51410
|
// taskExamine.isReadDealReplybusinessId;
|
|
51369
|
-
|
|
51370
|
-
|
|
51371
|
-
|
|
51372
|
-
|
|
51411
|
+
_this32.endFlowInfo.appId = taskExamine.appId;
|
|
51412
|
+
_this32.endFlowInfo.businessId = taskExamine.businessId;
|
|
51413
|
+
_this32.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
51414
|
+
_this32.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
51373
51415
|
}
|
|
51374
51416
|
if (extendData && extendData.pendingData && extendData.pendingData.itemname) {
|
|
51375
|
-
|
|
51417
|
+
_this32.NodeName = extendData.pendingData.itemname;
|
|
51376
51418
|
}
|
|
51377
|
-
if (
|
|
51378
|
-
|
|
51419
|
+
if (_this32.nodeName) {
|
|
51420
|
+
_this32.NodeName = _this32.nodeName;
|
|
51379
51421
|
}
|
|
51380
|
-
|
|
51381
|
-
|
|
51382
|
-
if (
|
|
51383
|
-
|
|
51422
|
+
_this32.isCanAddSign = isCanAddSign;
|
|
51423
|
+
_this32.processObj = res.data;
|
|
51424
|
+
if (_this32.isCanAddSign) {
|
|
51425
|
+
_this32.nextNode.isAddSign = '2';
|
|
51384
51426
|
}
|
|
51385
|
-
|
|
51386
|
-
if (
|
|
51387
|
-
|
|
51427
|
+
_this32.isCanRemoveSign = isCanRemoveSign;
|
|
51428
|
+
if (_this32.isCanRemoveSign) {
|
|
51429
|
+
_this32.nextNode.isRemoveSign = '2';
|
|
51388
51430
|
}
|
|
51389
51431
|
|
|
51390
|
-
if (!
|
|
51391
|
-
|
|
51432
|
+
if (!_this32.isOpinionRequired) {
|
|
51433
|
+
_this32.isOpinionRequired = 0;
|
|
51392
51434
|
}
|
|
51393
51435
|
// opinion && (this.value = opinion);
|
|
51394
|
-
|
|
51395
|
-
|
|
51436
|
+
_this32.nextNode.notificationMsg = defaultNotificationMessage;
|
|
51437
|
+
_this32.moreList = [];
|
|
51396
51438
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
51397
51439
|
taskButtonList.map(function (item) {
|
|
51398
51440
|
if (item.fun === 'reject()') {
|
|
51399
|
-
|
|
51441
|
+
_this32.rejectObj = item;
|
|
51400
51442
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
51401
|
-
|
|
51443
|
+
_this32.pointsReadingObj = item;
|
|
51402
51444
|
} else {
|
|
51403
|
-
|
|
51445
|
+
_this32.moreList.push(item);
|
|
51404
51446
|
}
|
|
51405
51447
|
});
|
|
51406
51448
|
}
|
|
51407
|
-
|
|
51408
|
-
|
|
51409
|
-
|
|
51410
|
-
|
|
51411
|
-
|
|
51412
|
-
|
|
51413
|
-
|
|
51449
|
+
_this32.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
51450
|
+
_this32.isCustomPreset = isCustomPreset;
|
|
51451
|
+
_this32.isPreset = isPreset;
|
|
51452
|
+
_this32.presetTaskNodeMap = presetTaskNodeMap;
|
|
51453
|
+
_this32.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
51454
|
+
_this32.getFind();
|
|
51455
|
+
_this32.selecNext(_this32.nextNode.nextOperate, true, true);
|
|
51414
51456
|
// this.getNodeInfo();
|
|
51415
|
-
|
|
51457
|
+
_this32.StartTaskReadKey++;
|
|
51416
51458
|
} else {
|
|
51417
51459
|
if (res.status === 'taskCompleted') {
|
|
51418
|
-
|
|
51419
|
-
|
|
51420
|
-
|
|
51460
|
+
_this32.$emit('shrink', true);
|
|
51461
|
+
_this32.shrinkAbled = true;
|
|
51462
|
+
_this32.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
51421
51463
|
} else {
|
|
51422
|
-
|
|
51464
|
+
_this32.$message.error(res.message || '系统错误,请联系管理员!');
|
|
51423
51465
|
}
|
|
51424
51466
|
}
|
|
51425
|
-
|
|
51467
|
+
_this32.showOpinion = false;
|
|
51426
51468
|
setTimeout(function () {
|
|
51427
|
-
|
|
51469
|
+
_this32.showOpinion = true;
|
|
51428
51470
|
}, 0);
|
|
51429
51471
|
}).catch(function (err) {
|
|
51430
|
-
|
|
51472
|
+
_this32.loading.close();
|
|
51431
51473
|
if (err.message && err.message !== 'canceled') {
|
|
51432
|
-
|
|
51474
|
+
_this32.$message.error(err.message);
|
|
51433
51475
|
}
|
|
51434
51476
|
});
|
|
51435
51477
|
},
|
|
@@ -51491,7 +51533,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51491
51533
|
* @date 2022年5月25日
|
|
51492
51534
|
**/
|
|
51493
51535
|
getProcess: function getProcess(val) {
|
|
51494
|
-
var
|
|
51536
|
+
var _this33 = this;
|
|
51495
51537
|
|
|
51496
51538
|
var params = flow_src_mainvue_type_script_lang_js_extends({
|
|
51497
51539
|
businessId: this.businessId,
|
|
@@ -51506,44 +51548,44 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51506
51548
|
message = res.message,
|
|
51507
51549
|
data = res.data;
|
|
51508
51550
|
|
|
51509
|
-
|
|
51551
|
+
_this33.loading.close();
|
|
51510
51552
|
if (status === 'success') {
|
|
51511
51553
|
if (data.simpleTips != undefined) {
|
|
51512
|
-
|
|
51554
|
+
_this33.simpleTips = data.simpleTips;
|
|
51513
51555
|
}
|
|
51514
|
-
|
|
51556
|
+
_this33.isStartFlowChartView = data.isStartFlowChartView;
|
|
51515
51557
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
51516
|
-
|
|
51558
|
+
_this33.$message.error('流程不存在或未关联对应流程!');
|
|
51517
51559
|
} else {
|
|
51518
|
-
|
|
51519
|
-
|
|
51520
|
-
|
|
51521
|
-
|
|
51522
|
-
return item.processDefKey ==
|
|
51560
|
+
_this33.startFlowPageEmbeddedIntoStartFlowIndex = data.startFlowPageEmbeddedIntoStartFlowIndex;
|
|
51561
|
+
_this33.activitiDefinitionSort = data.activitiDefinitionSort;
|
|
51562
|
+
_this33.nodeInfo.option = data.definitionList;
|
|
51563
|
+
_this33.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
51564
|
+
return item.processDefKey == _this33.defaultProcessKey;
|
|
51523
51565
|
});
|
|
51524
|
-
if (
|
|
51525
|
-
|
|
51566
|
+
if (_this33.nodeInfo.nextNode.length) {
|
|
51567
|
+
_this33.nodeInfo.nextNode = _this33.nodeInfo.nextNode[0].processDefId;
|
|
51526
51568
|
} else {
|
|
51527
51569
|
if (data.definitionList.length != 0) {
|
|
51528
|
-
|
|
51570
|
+
_this33.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
51529
51571
|
} else {
|
|
51530
|
-
|
|
51572
|
+
_this33.nodeInfo.nextNode = '';
|
|
51531
51573
|
}
|
|
51532
51574
|
}
|
|
51533
|
-
if (
|
|
51534
|
-
|
|
51575
|
+
if (_this33.nodeInfo.nextNode) {
|
|
51576
|
+
_this33.handleChange(_this33.nodeInfo.nextNode, true);
|
|
51535
51577
|
}
|
|
51536
|
-
if (
|
|
51537
|
-
|
|
51578
|
+
if (_this33.showCirculate != undefined && !_this33.showCirculate && _this33.urgencyLevel) {
|
|
51579
|
+
_this33.getAdminMsgType();
|
|
51538
51580
|
}
|
|
51539
51581
|
}
|
|
51540
51582
|
} else {
|
|
51541
|
-
|
|
51583
|
+
_this33.$message.error(message || '系统错误,请联系管理员!');
|
|
51542
51584
|
}
|
|
51543
51585
|
}).catch(function (err) {
|
|
51544
|
-
|
|
51586
|
+
_this33.loading.close();
|
|
51545
51587
|
if (err.message && err.message !== 'canceled') {
|
|
51546
|
-
|
|
51588
|
+
_this33.$message.error(err.message);
|
|
51547
51589
|
}
|
|
51548
51590
|
});
|
|
51549
51591
|
},
|
|
@@ -51555,7 +51597,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51555
51597
|
* @date 2022年5月25日
|
|
51556
51598
|
**/
|
|
51557
51599
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
51558
|
-
var
|
|
51600
|
+
var _this34 = this;
|
|
51559
51601
|
|
|
51560
51602
|
var params = {
|
|
51561
51603
|
apprecordId: this.businessIds,
|
|
@@ -51568,22 +51610,22 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51568
51610
|
results = res.results;
|
|
51569
51611
|
|
|
51570
51612
|
if (!rCode) {
|
|
51571
|
-
|
|
51572
|
-
|
|
51573
|
-
|
|
51574
|
-
|
|
51575
|
-
|
|
51613
|
+
_this34.nextNode.nextUserId = [];
|
|
51614
|
+
_this34.showNews = false;
|
|
51615
|
+
_this34.nextNode.notificationType = [];
|
|
51616
|
+
_this34.pendingId = results[results.length - 1].attachId;
|
|
51617
|
+
_this34.getHedInfo();
|
|
51576
51618
|
} else {
|
|
51577
|
-
|
|
51619
|
+
_this34.$message.error(msg || '系统错误,请联系管理员!');
|
|
51578
51620
|
}
|
|
51579
51621
|
}).catch(function (err) {
|
|
51580
51622
|
if (err.message && err.message !== 'canceled') {
|
|
51581
|
-
|
|
51623
|
+
_this34.$message.error(err.message);
|
|
51582
51624
|
}
|
|
51583
51625
|
});
|
|
51584
51626
|
},
|
|
51585
51627
|
reqCircularRead: function reqCircularRead(type) {
|
|
51586
|
-
var
|
|
51628
|
+
var _this35 = this;
|
|
51587
51629
|
|
|
51588
51630
|
var _that = this;
|
|
51589
51631
|
var params = {
|
|
@@ -51597,7 +51639,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51597
51639
|
};
|
|
51598
51640
|
this.loading = utils_util.loading(this.$loading, '提交中...');
|
|
51599
51641
|
utils_util.ajax(params).then(function (res) {
|
|
51600
|
-
|
|
51642
|
+
_this35.loading.close();
|
|
51601
51643
|
if (res.rCode == 0) {
|
|
51602
51644
|
if (res.results.alert) {
|
|
51603
51645
|
_that.$confirm(res.results.message, {
|
|
@@ -51631,20 +51673,20 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51631
51673
|
* @date 2022年5月25日
|
|
51632
51674
|
**/
|
|
51633
51675
|
subProcess: function subProcess(val, type) {
|
|
51634
|
-
var
|
|
51676
|
+
var _this36 = this;
|
|
51635
51677
|
|
|
51636
51678
|
return this.$refs['nextNode'].validate(function (valid) {
|
|
51637
51679
|
if (valid) {
|
|
51638
|
-
if (
|
|
51639
|
-
|
|
51640
|
-
|
|
51641
|
-
|
|
51680
|
+
if (_this36.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
51681
|
+
_this36.value = _this36.value.replace(RegExp('不同意。', 'g'), '');
|
|
51682
|
+
_this36.value = _this36.value.replace(RegExp('同意。', 'g'), '');
|
|
51683
|
+
_this36.value = val + _this36.value;
|
|
51642
51684
|
}
|
|
51643
|
-
if (!
|
|
51644
|
-
|
|
51685
|
+
if (!_this36.validInfo()) {
|
|
51686
|
+
_this36.freeValid = false;
|
|
51645
51687
|
return;
|
|
51646
51688
|
} else {
|
|
51647
|
-
|
|
51689
|
+
_this36.freeValid = true;
|
|
51648
51690
|
}
|
|
51649
51691
|
// if (
|
|
51650
51692
|
// this.currentNodeIsCircularReadNode &&
|
|
@@ -51653,28 +51695,28 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51653
51695
|
// this.reqCircularRead(type);
|
|
51654
51696
|
// return;
|
|
51655
51697
|
// }
|
|
51656
|
-
if (
|
|
51657
|
-
var btnInfo =
|
|
51658
|
-
return x.key ===
|
|
51698
|
+
if (_this36.submitButtonFunKey) {
|
|
51699
|
+
var btnInfo = _this36.taskNodeButtons.filter(function (x) {
|
|
51700
|
+
return x.key === _this36.submitButtonFunKey;
|
|
51659
51701
|
});
|
|
51660
51702
|
if (btnInfo.length > 0) {
|
|
51661
51703
|
if (btnInfo[0].type == 4) {
|
|
51662
|
-
|
|
51704
|
+
_this36.$emit('buttonClick', { fun: btnInfo[0].fun, opinion: _this36.value }, _this36.sendData);
|
|
51663
51705
|
} else if (btnInfo[0].type == 2) {
|
|
51664
|
-
|
|
51706
|
+
_this36.goView(btnInfo[0]);
|
|
51665
51707
|
}
|
|
51666
51708
|
}
|
|
51667
51709
|
return;
|
|
51668
51710
|
}
|
|
51669
51711
|
if (type == 'multiInsMidwayWithSubmitScene') {
|
|
51670
|
-
|
|
51712
|
+
_this36.sendData(type);
|
|
51671
51713
|
return;
|
|
51672
51714
|
}
|
|
51673
|
-
if (
|
|
51674
|
-
|
|
51715
|
+
if (_this36.beforeSubmit == undefined) {
|
|
51716
|
+
_this36.subFun(_this36.sendData);
|
|
51675
51717
|
} else {
|
|
51676
|
-
|
|
51677
|
-
|
|
51718
|
+
_this36.beforeSubmit(1).then(function (next) {
|
|
51719
|
+
_this36.sendData();
|
|
51678
51720
|
}).catch(function (e) {});
|
|
51679
51721
|
}
|
|
51680
51722
|
}
|
|
@@ -51719,14 +51761,14 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51719
51761
|
return true;
|
|
51720
51762
|
},
|
|
51721
51763
|
flowSuccess: function flowSuccess(hideMessage) {
|
|
51722
|
-
var
|
|
51764
|
+
var _this37 = this;
|
|
51723
51765
|
|
|
51724
51766
|
if (!this.simpleTips) {
|
|
51725
51767
|
this.$alert('提交成功', '', {
|
|
51726
51768
|
confirmButtonText: '确定',
|
|
51727
51769
|
type: 'success',
|
|
51728
51770
|
callback: function callback(action) {
|
|
51729
|
-
|
|
51771
|
+
_this37.$emit('success');
|
|
51730
51772
|
}
|
|
51731
51773
|
});
|
|
51732
51774
|
} else {
|
|
@@ -51737,8 +51779,12 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51737
51779
|
}
|
|
51738
51780
|
},
|
|
51739
51781
|
sendData: function sendData(freetype) {
|
|
51740
|
-
var
|
|
51782
|
+
var _this38 = this;
|
|
51741
51783
|
|
|
51784
|
+
if (this.isFlow && !this.nodeInfo.nextNode) {
|
|
51785
|
+
this.$message.warning('请选择流程');
|
|
51786
|
+
return;
|
|
51787
|
+
}
|
|
51742
51788
|
if (this.isFlow && this.nodeInfo.nextNode && this.startFlowPageEmbeddedIntoStartFlowIndex) {
|
|
51743
51789
|
if (this.directCreateCircularReadWhenFlowStarted) {
|
|
51744
51790
|
this.$refs.flowCirculate.subMit();
|
|
@@ -51759,75 +51805,75 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51759
51805
|
break;
|
|
51760
51806
|
}
|
|
51761
51807
|
|
|
51762
|
-
if (!
|
|
51808
|
+
if (!_this38.isFlow) {
|
|
51763
51809
|
_context2.next = 7;
|
|
51764
51810
|
break;
|
|
51765
51811
|
}
|
|
51766
51812
|
|
|
51767
|
-
if (!(
|
|
51813
|
+
if (!(_this38.isOpinionRequired && !_this38.$refs.commonOpinions.validate())) {
|
|
51768
51814
|
_context2.next = 5;
|
|
51769
51815
|
break;
|
|
51770
51816
|
}
|
|
51771
51817
|
|
|
51772
|
-
|
|
51818
|
+
_this38.$message.warning('请输入审批意见');
|
|
51773
51819
|
return _context2.abrupt('return');
|
|
51774
51820
|
|
|
51775
51821
|
case 5:
|
|
51776
|
-
if (
|
|
51777
|
-
|
|
51822
|
+
if (_this38.directCreateCircularReadWhenFlowStarted) {
|
|
51823
|
+
_this38.circulateVisible = true;
|
|
51778
51824
|
} else {
|
|
51779
|
-
|
|
51825
|
+
_this38.handleVisible = true;
|
|
51780
51826
|
}
|
|
51781
51827
|
return _context2.abrupt('return');
|
|
51782
51828
|
|
|
51783
51829
|
case 7:
|
|
51784
51830
|
nextUserId = [];
|
|
51785
51831
|
|
|
51786
|
-
if (
|
|
51787
|
-
|
|
51832
|
+
if (_this38.multiple) {
|
|
51833
|
+
_this38.nextNode.nextUserId && _this38.nextNode.nextUserId.map(function (item) {
|
|
51788
51834
|
return nextUserId.push(item);
|
|
51789
51835
|
});
|
|
51790
51836
|
}
|
|
51791
51837
|
addSignUserId = [];
|
|
51792
51838
|
|
|
51793
|
-
if (
|
|
51794
|
-
|
|
51839
|
+
if (_this38.isCanAddSign && _this38.nextNode.isAddSign == '1') {
|
|
51840
|
+
_this38.nextNode.addSignUserId.map(function (item) {
|
|
51795
51841
|
addSignUserId.push(item);
|
|
51796
51842
|
});
|
|
51797
51843
|
}
|
|
51798
51844
|
removeSignUserId = [];
|
|
51799
51845
|
|
|
51800
|
-
if (
|
|
51801
|
-
|
|
51846
|
+
if (_this38.isCanRemoveSign && _this38.nextNode.isRemoveSign == '1') {
|
|
51847
|
+
_this38.nextNode.removeSignUserId.map(function (item) {
|
|
51802
51848
|
removeSignUserId.push(item);
|
|
51803
51849
|
});
|
|
51804
51850
|
}
|
|
51805
51851
|
str = '';
|
|
51806
51852
|
|
|
51807
|
-
if (
|
|
51808
|
-
str =
|
|
51853
|
+
if (_this38.value) {
|
|
51854
|
+
str = _this38.value.replace(/\s+/g, '');
|
|
51809
51855
|
}
|
|
51810
|
-
if ((!
|
|
51811
|
-
|
|
51856
|
+
if ((!_this38.value || str === '') && _this38.nodeDefaultSubmitOpinion) {
|
|
51857
|
+
_this38.value = _this38.nodeDefaultSubmitOpinion;
|
|
51812
51858
|
}
|
|
51813
|
-
if (!
|
|
51814
|
-
delete
|
|
51815
|
-
delete
|
|
51859
|
+
if (!_this38.isSpecial) {
|
|
51860
|
+
delete _this38.nextNode.nextOperate;
|
|
51861
|
+
delete _this38.nextNode.nextNodeId;
|
|
51816
51862
|
}
|
|
51817
|
-
if (
|
|
51818
|
-
|
|
51819
|
-
|
|
51863
|
+
if (_this38.nextNode.nextOperate === 9 || _this38.oldNextOperate == 9) {
|
|
51864
|
+
_this38.nextNode.isReturnRejectNode = 1;
|
|
51865
|
+
_this38.nextNode.processDefinitionId = _this38.processObj.taskExamine.processDefinitionId;
|
|
51820
51866
|
}
|
|
51821
|
-
if (
|
|
51822
|
-
delete
|
|
51867
|
+
if (_this38.nextNode.nextOperate != 0 && _this38.nextNode.nextOperate != 1 && _this38.oldNextOperate === '' || _this38.oldNextOperate !== '' && _this38.oldNextOperate != 0 && _this38.oldNextOperate != 1) {
|
|
51868
|
+
delete _this38.nextNode.nextNodeId;
|
|
51823
51869
|
}
|
|
51824
51870
|
|
|
51825
|
-
if (!
|
|
51871
|
+
if (!_this38.isCancelSecondConfirmationType) {
|
|
51826
51872
|
_context2.next = 22;
|
|
51827
51873
|
break;
|
|
51828
51874
|
}
|
|
51829
51875
|
|
|
51830
|
-
|
|
51876
|
+
_this38.$confirm('确认提交吗?', '提示', {
|
|
51831
51877
|
confirmButtonText: '确定',
|
|
51832
51878
|
cancelButtonText: '取消',
|
|
51833
51879
|
type: 'warning'
|
|
@@ -51843,46 +51889,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51843
51889
|
}
|
|
51844
51890
|
|
|
51845
51891
|
_context.next = 3;
|
|
51846
|
-
return
|
|
51892
|
+
return _this38.saveInfo('subMit');
|
|
51847
51893
|
|
|
51848
51894
|
case 3:
|
|
51849
|
-
|
|
51895
|
+
_this38.loading = utils_util.loading(_this38.$loading, '加载中...');
|
|
51850
51896
|
|
|
51851
51897
|
case 4:
|
|
51852
51898
|
notificationType = '';
|
|
51853
51899
|
|
|
51854
|
-
notificationType =
|
|
51900
|
+
notificationType = _this38.nextNode.notificationType.join(',');
|
|
51855
51901
|
addSignUserId = addSignUserId.join(',');
|
|
51856
51902
|
removeSignUserId = removeSignUserId.join(',');
|
|
51857
|
-
if (!
|
|
51858
|
-
delete
|
|
51903
|
+
if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
|
|
51904
|
+
delete _this38.nextNode.addSignMode;
|
|
51859
51905
|
}
|
|
51860
51906
|
|
|
51861
|
-
params = flow_src_mainvue_type_script_lang_js_extends({},
|
|
51862
|
-
nextOperate:
|
|
51863
|
-
pendingId:
|
|
51864
|
-
opinion:
|
|
51907
|
+
params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
|
|
51908
|
+
nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
|
|
51909
|
+
pendingId: _this38.pendingId,
|
|
51910
|
+
opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
|
|
51865
51911
|
userId: utils_util.getStorage('userId'),
|
|
51866
|
-
nextUserId:
|
|
51912
|
+
nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
|
|
51867
51913
|
addSignUserId: addSignUserId,
|
|
51868
|
-
customPresetUserJson: JSON.stringify(
|
|
51869
|
-
presetUserJson: JSON.stringify(
|
|
51914
|
+
customPresetUserJson: JSON.stringify(_this38.presetList),
|
|
51915
|
+
presetUserJson: JSON.stringify(_this38.presetUserJson),
|
|
51870
51916
|
removeSignUserId: removeSignUserId,
|
|
51871
|
-
nextReadUserId:
|
|
51872
|
-
nextOrgId: !
|
|
51873
|
-
presetReadUserId:
|
|
51917
|
+
nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
|
|
51918
|
+
nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
|
|
51919
|
+
presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
|
|
51874
51920
|
notificationType: notificationType
|
|
51875
51921
|
});
|
|
51876
51922
|
|
|
51877
|
-
if (
|
|
51923
|
+
if (_this38.activeNames != '1') delete params.customPresetUserJson;
|
|
51878
51924
|
delete params.customLimitTimeText;
|
|
51879
|
-
if (
|
|
51925
|
+
if (_this38.nextNode.isRemoveSign != '1') {
|
|
51880
51926
|
delete params.removeSignUserId;
|
|
51881
51927
|
}
|
|
51882
|
-
if (
|
|
51928
|
+
if (_this38.nextNode.isAddSign != '1') {
|
|
51883
51929
|
delete params.addSignUserId;
|
|
51884
51930
|
}
|
|
51885
|
-
if (!
|
|
51931
|
+
if (!_this38.isSpecial) {
|
|
51886
51932
|
delete params.nextUserId;
|
|
51887
51933
|
}
|
|
51888
51934
|
|
|
@@ -51891,13 +51937,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51891
51937
|
break;
|
|
51892
51938
|
}
|
|
51893
51939
|
|
|
51894
|
-
params.isSubFlow =
|
|
51895
|
-
|
|
51940
|
+
params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
|
|
51941
|
+
_this38.taskParams = params;
|
|
51896
51942
|
return _context.abrupt('return');
|
|
51897
51943
|
|
|
51898
51944
|
case 19:
|
|
51899
|
-
|
|
51900
|
-
isEndUserTask =
|
|
51945
|
+
_this38.loading = utils_util.loading(_this38.$loading, '提交中...');
|
|
51946
|
+
isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
|
|
51901
51947
|
|
|
51902
51948
|
params.isEndUserTask = isEndUserTask;
|
|
51903
51949
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -51921,17 +51967,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51921
51967
|
var status = res.status,
|
|
51922
51968
|
message = res.message;
|
|
51923
51969
|
|
|
51924
|
-
|
|
51970
|
+
_this38.loading.close();
|
|
51925
51971
|
if (status === 'success') {
|
|
51926
|
-
|
|
51972
|
+
_this38.flowSuccess();
|
|
51927
51973
|
} else {
|
|
51928
|
-
|
|
51929
|
-
|
|
51974
|
+
_this38.$message.error(message || '系统错误,请联系管理员!');
|
|
51975
|
+
_this38.$emit('error');
|
|
51930
51976
|
}
|
|
51931
51977
|
}).catch(function (err) {
|
|
51932
|
-
|
|
51978
|
+
_this38.loading.close();
|
|
51933
51979
|
if (err.message && err.message !== 'canceled') {
|
|
51934
|
-
|
|
51980
|
+
_this38.$message.error(err.message);
|
|
51935
51981
|
}
|
|
51936
51982
|
}));
|
|
51937
51983
|
|
|
@@ -51940,7 +51986,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51940
51986
|
return _context.stop();
|
|
51941
51987
|
}
|
|
51942
51988
|
}
|
|
51943
|
-
}, _callee,
|
|
51989
|
+
}, _callee, _this38);
|
|
51944
51990
|
})));
|
|
51945
51991
|
return _context2.abrupt('return');
|
|
51946
51992
|
|
|
@@ -51951,46 +51997,46 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51951
51997
|
}
|
|
51952
51998
|
|
|
51953
51999
|
_context2.next = 25;
|
|
51954
|
-
return
|
|
52000
|
+
return _this38.saveInfo('subMit');
|
|
51955
52001
|
|
|
51956
52002
|
case 25:
|
|
51957
|
-
|
|
52003
|
+
_this38.loading = utils_util.loading(_this38.$loading, '加载中...');
|
|
51958
52004
|
|
|
51959
52005
|
case 26:
|
|
51960
52006
|
notificationType = '';
|
|
51961
52007
|
|
|
51962
|
-
notificationType =
|
|
52008
|
+
notificationType = _this38.nextNode.notificationType.join(',');
|
|
51963
52009
|
addSignUserId = addSignUserId.join(',');
|
|
51964
52010
|
removeSignUserId = removeSignUserId.join(',');
|
|
51965
|
-
if (!
|
|
51966
|
-
delete
|
|
52011
|
+
if (!_this38.isCanPreAddSign || _this38.nextNode.isAddSign != '1') {
|
|
52012
|
+
delete _this38.nextNode.addSignMode;
|
|
51967
52013
|
}
|
|
51968
52014
|
|
|
51969
|
-
params = flow_src_mainvue_type_script_lang_js_extends({},
|
|
51970
|
-
nextOperate:
|
|
51971
|
-
pendingId:
|
|
51972
|
-
opinion:
|
|
52015
|
+
params = flow_src_mainvue_type_script_lang_js_extends({}, _this38.nextNode, {
|
|
52016
|
+
nextOperate: _this38.oldNextOperate !== '' ? _this38.oldNextOperate : _this38.nextNode.nextOperate,
|
|
52017
|
+
pendingId: _this38.pendingId,
|
|
52018
|
+
opinion: _this38.isForceDisplayDefaultOptionForPrefix && !_this38.value.startsWith(_this38.nodeDefaultSubmitOpinion) ? _this38.nodeDefaultSubmitOpinion + _this38.value : _this38.value,
|
|
51973
52019
|
userId: utils_util.getStorage('userId'),
|
|
51974
|
-
nextUserId:
|
|
52020
|
+
nextUserId: _this38.multiple ? nextUserId.join(',') : _this38.nextNode.nextUserId,
|
|
51975
52021
|
addSignUserId: addSignUserId,
|
|
51976
|
-
customPresetUserJson: JSON.stringify(
|
|
51977
|
-
presetUserJson: JSON.stringify(
|
|
52022
|
+
customPresetUserJson: JSON.stringify(_this38.presetList),
|
|
52023
|
+
presetUserJson: JSON.stringify(_this38.presetUserJson),
|
|
51978
52024
|
removeSignUserId: removeSignUserId,
|
|
51979
|
-
nextReadUserId:
|
|
51980
|
-
nextOrgId: !
|
|
51981
|
-
presetReadUserId:
|
|
52025
|
+
nextReadUserId: _this38.readMultiple ? _this38.mixReadList && _this38.mixReadList.join('|') : _this38.nextNode.nextReadUserId,
|
|
52026
|
+
nextOrgId: !_this38.isShowNextUser ? _this38.multiple ? _this38.mixOrgIdList && _this38.mixOrgIdList.join('|') : _this38.nextNode.nextOrgId : '',
|
|
52027
|
+
presetReadUserId: _this38.mixPresetList && _this38.mixPresetList.length > 0 ? _this38.mixPresetList.join('|') : _this38.nextNode.presetReadUserId.join(','),
|
|
51982
52028
|
notificationType: notificationType
|
|
51983
52029
|
});
|
|
51984
52030
|
|
|
51985
|
-
if (
|
|
52031
|
+
if (_this38.activeNames != '1') delete params.customPresetUserJson;
|
|
51986
52032
|
delete params.customLimitTimeText;
|
|
51987
|
-
if (
|
|
52033
|
+
if (_this38.nextNode.isRemoveSign != '1') {
|
|
51988
52034
|
delete params.removeSignUserId;
|
|
51989
52035
|
}
|
|
51990
|
-
if (
|
|
52036
|
+
if (_this38.nextNode.isAddSign != '1') {
|
|
51991
52037
|
delete params.addSignUserId;
|
|
51992
52038
|
}
|
|
51993
|
-
if (!
|
|
52039
|
+
if (!_this38.isSpecial) {
|
|
51994
52040
|
delete params.nextUserId;
|
|
51995
52041
|
}
|
|
51996
52042
|
|
|
@@ -51999,13 +52045,13 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
51999
52045
|
break;
|
|
52000
52046
|
}
|
|
52001
52047
|
|
|
52002
|
-
params.isSubFlow =
|
|
52003
|
-
|
|
52048
|
+
params.isSubFlow = _this38.taskExamineInfo.isSubFlow;
|
|
52049
|
+
_this38.taskParams = params;
|
|
52004
52050
|
return _context2.abrupt('return');
|
|
52005
52051
|
|
|
52006
52052
|
case 41:
|
|
52007
|
-
|
|
52008
|
-
isEndUserTask =
|
|
52053
|
+
_this38.loading = utils_util.loading(_this38.$loading, '提交中...');
|
|
52054
|
+
isEndUserTask = _this38.isEndUserTask, choiceOrgId = _this38.choiceOrgId, choiceDeptId = _this38.choiceDeptId, pOrgId = _this38.pOrgId, taskExamineInfo = _this38.taskExamineInfo, currentNodeIsCircularReadNode = _this38.currentNodeIsCircularReadNode, needRetrialAuth = _this38.needRetrialAuth, circularReadParamsMap = _this38.circularReadParamsMap, currentNodeEnableItemHandleDescription = _this38.currentNodeEnableItemHandleDescription;
|
|
52009
52055
|
|
|
52010
52056
|
params.isEndUserTask = isEndUserTask;
|
|
52011
52057
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -52029,17 +52075,17 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52029
52075
|
var status = res.status,
|
|
52030
52076
|
message = res.message;
|
|
52031
52077
|
|
|
52032
|
-
|
|
52078
|
+
_this38.loading.close();
|
|
52033
52079
|
if (status === 'success') {
|
|
52034
|
-
|
|
52080
|
+
_this38.flowSuccess();
|
|
52035
52081
|
} else {
|
|
52036
|
-
|
|
52037
|
-
|
|
52082
|
+
_this38.$message.error(message || '系统错误,请联系管理员!');
|
|
52083
|
+
_this38.$emit('error');
|
|
52038
52084
|
}
|
|
52039
52085
|
}).catch(function (err) {
|
|
52040
|
-
|
|
52086
|
+
_this38.loading.close();
|
|
52041
52087
|
if (err.message && err.message !== 'canceled') {
|
|
52042
|
-
|
|
52088
|
+
_this38.$message.error(err.message);
|
|
52043
52089
|
}
|
|
52044
52090
|
}));
|
|
52045
52091
|
|
|
@@ -52051,7 +52097,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52051
52097
|
return _context2.stop();
|
|
52052
52098
|
}
|
|
52053
52099
|
}
|
|
52054
|
-
}, _callee2,
|
|
52100
|
+
}, _callee2, _this38);
|
|
52055
52101
|
}));
|
|
52056
52102
|
|
|
52057
52103
|
return function (_x) {
|
|
@@ -52107,8 +52153,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
|
|
|
52107
52153
|
|
|
52108
52154
|
var flow_src_main_component = normalizeComponent(
|
|
52109
52155
|
packages_flow_src_mainvue_type_script_lang_js_,
|
|
52110
|
-
|
|
52111
|
-
|
|
52156
|
+
mainvue_type_template_id_8f765236_render,
|
|
52157
|
+
mainvue_type_template_id_8f765236_staticRenderFns,
|
|
52112
52158
|
false,
|
|
52113
52159
|
null,
|
|
52114
52160
|
null,
|
|
@@ -102944,7 +102990,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
102944
102990
|
}
|
|
102945
102991
|
|
|
102946
102992
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
102947
|
-
version: '0.8.
|
|
102993
|
+
version: '0.8.13',
|
|
102948
102994
|
install: install,
|
|
102949
102995
|
Button: packages_button,
|
|
102950
102996
|
ButtonGroup: button_group,
|