eoss-ui 0.5.35 → 0.5.37
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 +424 -319
- package/lib/flow.js +408 -305
- package/lib/index.js +1 -1
- package/lib/table-form.js +8 -6
- package/package.json +1 -1
- package/packages/flow/src/main.vue +117 -23
- package/packages/flow/src/processForm.vue +7 -1
- package/packages/flow/src/processReject.vue +4 -1
- package/packages/form/src/table.vue +2 -1
- package/src/index.js +1 -1
- package/CHANGELOG.md +0 -929
package/lib/flow.js
CHANGED
|
@@ -3830,7 +3830,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3830
3830
|
// ESM COMPAT FLAG
|
|
3831
3831
|
__webpack_require__.r(__webpack_exports__);
|
|
3832
3832
|
|
|
3833
|
-
// 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=
|
|
3833
|
+
// 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=7620c3cc&
|
|
3834
3834
|
var render = function () {
|
|
3835
3835
|
var _vm = this
|
|
3836
3836
|
var _h = _vm.$createElement
|
|
@@ -5046,7 +5046,7 @@ var render = function () {
|
|
|
5046
5046
|
},
|
|
5047
5047
|
[
|
|
5048
5048
|
_vm._v(
|
|
5049
|
-
"\n
|
|
5049
|
+
"\n " +
|
|
5050
5050
|
_vm._s(
|
|
5051
5051
|
_vm.rejectObj.value
|
|
5052
5052
|
) +
|
|
@@ -5554,7 +5554,7 @@ var staticRenderFns = []
|
|
|
5554
5554
|
render._withStripped = true
|
|
5555
5555
|
|
|
5556
5556
|
|
|
5557
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
5557
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=7620c3cc&
|
|
5558
5558
|
|
|
5559
5559
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5560
5560
|
var regenerator_ = __webpack_require__(12);
|
|
@@ -6507,8 +6507,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6507
6507
|
)
|
|
6508
6508
|
|
|
6509
6509
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
6510
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
6511
|
-
var
|
|
6510
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
|
|
6511
|
+
var processFormvue_type_template_id_aaac09fe_render = function () {
|
|
6512
6512
|
var _vm = this
|
|
6513
6513
|
var _h = _vm.$createElement
|
|
6514
6514
|
var _c = _vm._self._c || _h
|
|
@@ -6974,11 +6974,11 @@ var processFormvue_type_template_id_b6491348_render = function () {
|
|
|
6974
6974
|
1
|
|
6975
6975
|
)
|
|
6976
6976
|
}
|
|
6977
|
-
var
|
|
6978
|
-
|
|
6977
|
+
var processFormvue_type_template_id_aaac09fe_staticRenderFns = []
|
|
6978
|
+
processFormvue_type_template_id_aaac09fe_render._withStripped = true
|
|
6979
6979
|
|
|
6980
6980
|
|
|
6981
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
6981
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=aaac09fe&
|
|
6982
6982
|
|
|
6983
6983
|
// 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=db651118&
|
|
6984
6984
|
var selectUservue_type_template_id_db651118_render = function () {
|
|
@@ -8890,7 +8890,10 @@ var processFormvue_type_script_lang_js_components;
|
|
|
8890
8890
|
|
|
8891
8891
|
util["a" /* default */].ajax({
|
|
8892
8892
|
url: api["u" /* findCodeValues */],
|
|
8893
|
-
params: {
|
|
8893
|
+
params: {
|
|
8894
|
+
ccCode: 'notification_type',
|
|
8895
|
+
userId: util["a" /* default */].getStorage('userId')
|
|
8896
|
+
}
|
|
8894
8897
|
}).then(function (res) {
|
|
8895
8898
|
var status = res.status,
|
|
8896
8899
|
data = res.data;
|
|
@@ -8929,6 +8932,9 @@ var processFormvue_type_script_lang_js_components;
|
|
|
8929
8932
|
|
|
8930
8933
|
// 提交表单
|
|
8931
8934
|
subProcess: function subProcess(formName) {
|
|
8935
|
+
this.saveProcess(formName);
|
|
8936
|
+
},
|
|
8937
|
+
saveProcess: function saveProcess(formName) {
|
|
8932
8938
|
var _this3 = this;
|
|
8933
8939
|
|
|
8934
8940
|
this.$refs[formName].validate(function (valid) {
|
|
@@ -9268,8 +9274,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
9268
9274
|
|
|
9269
9275
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
9270
9276
|
src_processFormvue_type_script_lang_js_,
|
|
9271
|
-
|
|
9272
|
-
|
|
9277
|
+
processFormvue_type_template_id_aaac09fe_render,
|
|
9278
|
+
processFormvue_type_template_id_aaac09fe_staticRenderFns,
|
|
9273
9279
|
false,
|
|
9274
9280
|
null,
|
|
9275
9281
|
null,
|
|
@@ -10127,8 +10133,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
10127
10133
|
)
|
|
10128
10134
|
|
|
10129
10135
|
/* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
|
|
10130
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
10131
|
-
var
|
|
10136
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=432cf815&
|
|
10137
|
+
var processRejectvue_type_template_id_432cf815_render = function () {
|
|
10132
10138
|
var _vm = this
|
|
10133
10139
|
var _h = _vm.$createElement
|
|
10134
10140
|
var _c = _vm._self._c || _h
|
|
@@ -10319,11 +10325,11 @@ var processRejectvue_type_template_id_b5a52fc0_render = function () {
|
|
|
10319
10325
|
1
|
|
10320
10326
|
)
|
|
10321
10327
|
}
|
|
10322
|
-
var
|
|
10323
|
-
|
|
10328
|
+
var processRejectvue_type_template_id_432cf815_staticRenderFns = []
|
|
10329
|
+
processRejectvue_type_template_id_432cf815_render._withStripped = true
|
|
10324
10330
|
|
|
10325
10331
|
|
|
10326
|
-
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
10332
|
+
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=432cf815&
|
|
10327
10333
|
|
|
10328
10334
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
|
|
10329
10335
|
//
|
|
@@ -10475,6 +10481,9 @@ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
|
|
|
10475
10481
|
|
|
10476
10482
|
// 提交表单
|
|
10477
10483
|
subProcess: function subProcess(formName) {
|
|
10484
|
+
this.saveProcess(formName);
|
|
10485
|
+
},
|
|
10486
|
+
saveProcess: function saveProcess(formName) {
|
|
10478
10487
|
var _this2 = this;
|
|
10479
10488
|
|
|
10480
10489
|
this.$refs[formName].validate(function (valid) {
|
|
@@ -10601,8 +10610,8 @@ processRejectvue_type_template_id_b5a52fc0_render._withStripped = true
|
|
|
10601
10610
|
|
|
10602
10611
|
var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
10603
10612
|
src_processRejectvue_type_script_lang_js_,
|
|
10604
|
-
|
|
10605
|
-
|
|
10613
|
+
processRejectvue_type_template_id_432cf815_render,
|
|
10614
|
+
processRejectvue_type_template_id_432cf815_staticRenderFns,
|
|
10606
10615
|
false,
|
|
10607
10616
|
null,
|
|
10608
10617
|
null,
|
|
@@ -12977,6 +12986,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
12977
12986
|
//
|
|
12978
12987
|
//
|
|
12979
12988
|
//
|
|
12989
|
+
//
|
|
12990
|
+
//
|
|
12991
|
+
//
|
|
12992
|
+
//
|
|
12980
12993
|
|
|
12981
12994
|
|
|
12982
12995
|
|
|
@@ -13460,7 +13473,10 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13460
13473
|
|
|
13461
13474
|
util["a" /* default */].ajax({
|
|
13462
13475
|
url: api["u" /* findCodeValues */],
|
|
13463
|
-
params: {
|
|
13476
|
+
params: {
|
|
13477
|
+
ccCode: 'notification_type',
|
|
13478
|
+
userId: util["a" /* default */].getStorage('userId')
|
|
13479
|
+
}
|
|
13464
13480
|
}).then(function (res) {
|
|
13465
13481
|
var status = res.status,
|
|
13466
13482
|
data = res.data;
|
|
@@ -13548,11 +13564,22 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13548
13564
|
* @date 2022年5月25日
|
|
13549
13565
|
**/
|
|
13550
13566
|
rejectBtn: function rejectBtn() {
|
|
13567
|
+
var _this8 = this;
|
|
13568
|
+
|
|
13551
13569
|
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
13552
|
-
if (
|
|
13553
|
-
|
|
13570
|
+
if (this.beforeSubmit != undefined) {
|
|
13571
|
+
this.beforeSubmit().then(function (next) {
|
|
13572
|
+
if (!_this8.value) {
|
|
13573
|
+
return _this8.$message.warning('请填写意见');
|
|
13574
|
+
}
|
|
13575
|
+
_this8.showReject = true;
|
|
13576
|
+
}).catch(function (e) {});
|
|
13577
|
+
} else {
|
|
13578
|
+
if (!this.value) {
|
|
13579
|
+
return this.$message.warning('请填写意见');
|
|
13580
|
+
}
|
|
13581
|
+
this.showReject = true;
|
|
13554
13582
|
}
|
|
13555
|
-
this.showReject = true;
|
|
13556
13583
|
},
|
|
13557
13584
|
|
|
13558
13585
|
/**
|
|
@@ -13562,10 +13589,20 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13562
13589
|
* @date 2022年5月25日
|
|
13563
13590
|
**/
|
|
13564
13591
|
taskReadBtn: function taskReadBtn() {
|
|
13592
|
+
var _this9 = this;
|
|
13593
|
+
|
|
13565
13594
|
// return this.$message.warning('暂未开放!敬请期待');
|
|
13566
|
-
if (this.
|
|
13567
|
-
|
|
13568
|
-
|
|
13595
|
+
if (this.beforeSubmit != undefined) {
|
|
13596
|
+
this.beforeSubmit().then(function (next) {
|
|
13597
|
+
if (_this9.value === '') _this9.value = _this9.nodeDefaultRejectOpinion;
|
|
13598
|
+
_this9.taskReadType = 'create';
|
|
13599
|
+
_this9.showTaskRead = true;
|
|
13600
|
+
}).catch(function (e) {});
|
|
13601
|
+
} else {
|
|
13602
|
+
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
13603
|
+
this.taskReadType = 'create';
|
|
13604
|
+
this.showTaskRead = true;
|
|
13605
|
+
}
|
|
13569
13606
|
},
|
|
13570
13607
|
|
|
13571
13608
|
/**
|
|
@@ -13575,7 +13612,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13575
13612
|
* @date 2022年5月25日
|
|
13576
13613
|
**/
|
|
13577
13614
|
getFind: function getFind() {
|
|
13578
|
-
var
|
|
13615
|
+
var _this10 = this;
|
|
13579
13616
|
|
|
13580
13617
|
util["a" /* default */].ajax({
|
|
13581
13618
|
url: api["w" /* findSysCodes */]
|
|
@@ -13584,11 +13621,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13584
13621
|
message = res.message;
|
|
13585
13622
|
|
|
13586
13623
|
if (status === 'success') {
|
|
13587
|
-
|
|
13624
|
+
_this10.nextNode.notificationType = message.split(',');
|
|
13588
13625
|
}
|
|
13589
13626
|
}).catch(function (err) {
|
|
13590
13627
|
if (err.message && err.message !== 'canceled') {
|
|
13591
|
-
|
|
13628
|
+
_this10.$message.error(err.message);
|
|
13592
13629
|
}
|
|
13593
13630
|
});
|
|
13594
13631
|
},
|
|
@@ -13601,41 +13638,52 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13601
13638
|
* @date 2022年5月25日
|
|
13602
13639
|
**/
|
|
13603
13640
|
endFlows: function endFlows(res) {
|
|
13604
|
-
var
|
|
13641
|
+
var _this11 = this;
|
|
13642
|
+
|
|
13643
|
+
if (this.beforeSubmit != undefined) {
|
|
13644
|
+
this.beforeSubmit().then(function (next) {
|
|
13645
|
+
_this11.saveEndFlows(res);
|
|
13646
|
+
}).catch(function (e) {});
|
|
13647
|
+
} else {
|
|
13648
|
+
this.saveEndFlows(res);
|
|
13649
|
+
}
|
|
13650
|
+
},
|
|
13651
|
+
saveEndFlows: function saveEndFlows(res) {
|
|
13652
|
+
var _this12 = this;
|
|
13605
13653
|
|
|
13606
13654
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
13607
13655
|
var params = {
|
|
13608
13656
|
url: api["t" /* endFlowHtml */],
|
|
13609
13657
|
headers: { Accept: 'application/json,text/plain' },
|
|
13610
13658
|
method: 'post',
|
|
13611
|
-
data: mainvue_type_script_lang_js_extends({},
|
|
13612
|
-
opinion:
|
|
13659
|
+
data: mainvue_type_script_lang_js_extends({}, _this12.endFlowInfo, _this12.nextNode, {
|
|
13660
|
+
opinion: _this12.value,
|
|
13613
13661
|
userId: util["a" /* default */].getStorage('userId'),
|
|
13614
|
-
nextUserId:
|
|
13615
|
-
addSignUserId:
|
|
13616
|
-
customPresetUserJson: JSON.stringify(
|
|
13617
|
-
presetUserJson: JSON.stringify(
|
|
13618
|
-
removeSignUserId:
|
|
13619
|
-
notificationType:
|
|
13662
|
+
nextUserId: _this12.multiple ? _this12.nextNode.nextUserId.join(',') : _this12.nextNode.nextUserId,
|
|
13663
|
+
addSignUserId: _this12.nextNode.addSignUserId.join(','),
|
|
13664
|
+
customPresetUserJson: JSON.stringify(_this12.presetList),
|
|
13665
|
+
presetUserJson: JSON.stringify(_this12.presetUserJson),
|
|
13666
|
+
removeSignUserId: _this12.nextNode.removeSignUserId.join(','),
|
|
13667
|
+
notificationType: _this12.nextNode.notificationType.join(',')
|
|
13620
13668
|
})
|
|
13621
13669
|
};
|
|
13622
|
-
|
|
13670
|
+
_this12.loading = util["a" /* default */].loading(_this12.$loading, '加载中...');
|
|
13623
13671
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
13624
13672
|
var status = res.status,
|
|
13625
13673
|
message = res.message;
|
|
13626
13674
|
|
|
13627
|
-
|
|
13675
|
+
_this12.loading.close();
|
|
13628
13676
|
if (status === 'success') {
|
|
13629
|
-
|
|
13630
|
-
|
|
13677
|
+
_this12.$message.success('提交成功');
|
|
13678
|
+
_this12.$emit('success');
|
|
13631
13679
|
} else {
|
|
13632
|
-
|
|
13633
|
-
|
|
13680
|
+
_this12.$message.error(message || '系统错误,请联系管理员!');
|
|
13681
|
+
_this12.$emit('error');
|
|
13634
13682
|
}
|
|
13635
13683
|
}).catch(function (err) {
|
|
13636
|
-
|
|
13684
|
+
_this12.loading.close();
|
|
13637
13685
|
if (err.message && err.message !== 'canceled') {
|
|
13638
|
-
|
|
13686
|
+
_this12.$message.error(err.message);
|
|
13639
13687
|
}
|
|
13640
13688
|
});
|
|
13641
13689
|
}).catch(function (e) {});
|
|
@@ -13730,7 +13778,19 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13730
13778
|
* @date 2022年9月29日
|
|
13731
13779
|
**/
|
|
13732
13780
|
toTakeAdvice: function toTakeAdvice(res) {
|
|
13733
|
-
var
|
|
13781
|
+
var _this13 = this;
|
|
13782
|
+
|
|
13783
|
+
if (this.beforeSubmit != undefined) {
|
|
13784
|
+
this.beforeSubmit().then(function (next) {
|
|
13785
|
+
_this13.saveToTakeAdvice(res);
|
|
13786
|
+
}).catch(function (e) {});
|
|
13787
|
+
} else {
|
|
13788
|
+
this.saveToTakeAdvice(res);
|
|
13789
|
+
}
|
|
13790
|
+
// return this.$message.warning('暂未开放!敬请期待');
|
|
13791
|
+
},
|
|
13792
|
+
saveToTakeAdvice: function saveToTakeAdvice(res) {
|
|
13793
|
+
var _this14 = this;
|
|
13734
13794
|
|
|
13735
13795
|
var params = {
|
|
13736
13796
|
url: api["Z" /* isCanStartSubFlow */],
|
|
@@ -13745,19 +13805,18 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13745
13805
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
13746
13806
|
var message = res.message;
|
|
13747
13807
|
|
|
13748
|
-
|
|
13808
|
+
_this14.loading.close();
|
|
13749
13809
|
if (message == 'success') {
|
|
13750
|
-
|
|
13810
|
+
_this14.showTaskUnionExamine = true;
|
|
13751
13811
|
} else {
|
|
13752
|
-
|
|
13812
|
+
_this14.$message.error(message || '系统错误,请联系管理员!');
|
|
13753
13813
|
}
|
|
13754
13814
|
}).catch(function (err) {
|
|
13755
|
-
|
|
13815
|
+
_this14.loading.close();
|
|
13756
13816
|
if (err.message && err.message !== 'canceled') {
|
|
13757
|
-
|
|
13817
|
+
_this14.$message.error(err.message);
|
|
13758
13818
|
}
|
|
13759
13819
|
});
|
|
13760
|
-
// return this.$message.warning('暂未开放!敬请期待');
|
|
13761
13820
|
},
|
|
13762
13821
|
|
|
13763
13822
|
/**
|
|
@@ -13767,7 +13826,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13767
13826
|
* @date 2022年9月29日
|
|
13768
13827
|
**/
|
|
13769
13828
|
toStartDraf: function toStartDraf(res) {
|
|
13770
|
-
|
|
13829
|
+
var _this15 = this;
|
|
13830
|
+
|
|
13831
|
+
if (this.beforeSubmit != undefined) {
|
|
13832
|
+
this.beforeSubmit().then(function (next) {
|
|
13833
|
+
_this15.showTaskUnionExamine = true;
|
|
13834
|
+
}).catch(function (e) {});
|
|
13835
|
+
} else {
|
|
13836
|
+
this.showTaskUnionExamine = true;
|
|
13837
|
+
}
|
|
13771
13838
|
},
|
|
13772
13839
|
|
|
13773
13840
|
/**
|
|
@@ -13777,7 +13844,15 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13777
13844
|
* @date 2022年9月29日
|
|
13778
13845
|
**/
|
|
13779
13846
|
toSendMsg: function toSendMsg(res) {
|
|
13780
|
-
|
|
13847
|
+
var _this16 = this;
|
|
13848
|
+
|
|
13849
|
+
if (this.beforeSubmit != undefined) {
|
|
13850
|
+
this.beforeSubmit().then(function (next) {
|
|
13851
|
+
_this16.showSendMsg = true;
|
|
13852
|
+
}).catch(function (e) {});
|
|
13853
|
+
} else {
|
|
13854
|
+
this.showSendMsg = true;
|
|
13855
|
+
}
|
|
13781
13856
|
},
|
|
13782
13857
|
|
|
13783
13858
|
/**
|
|
@@ -13787,9 +13862,19 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13787
13862
|
* @date 2022年9月29日
|
|
13788
13863
|
**/
|
|
13789
13864
|
toTaskReadAndEnd: function toTaskReadAndEnd(res) {
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
this.
|
|
13865
|
+
var _this17 = this;
|
|
13866
|
+
|
|
13867
|
+
if (this.beforeSubmit != undefined) {
|
|
13868
|
+
this.beforeSubmit().then(function (next) {
|
|
13869
|
+
if (_this17.value === '') _this17.value = _this17.nodeDefaultRejectOpinion;
|
|
13870
|
+
_this17.taskReadType = 'taskReadAndEnd';
|
|
13871
|
+
_this17.showTaskRead = true;
|
|
13872
|
+
}).catch(function (e) {});
|
|
13873
|
+
} else {
|
|
13874
|
+
if (this.value === '') this.value = this.nodeDefaultRejectOpinion;
|
|
13875
|
+
this.taskReadType = 'taskReadAndEnd';
|
|
13876
|
+
this.showTaskRead = true;
|
|
13877
|
+
}
|
|
13793
13878
|
},
|
|
13794
13879
|
|
|
13795
13880
|
/**
|
|
@@ -13799,43 +13884,53 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13799
13884
|
* @date 2022年9月29日
|
|
13800
13885
|
**/
|
|
13801
13886
|
rejectAndEnd: function rejectAndEnd(res) {
|
|
13802
|
-
var
|
|
13887
|
+
var _this18 = this;
|
|
13888
|
+
|
|
13889
|
+
if (this.beforeSubmit != undefined) {
|
|
13890
|
+
this.beforeSubmit().then(function (next) {
|
|
13891
|
+
_this18.saveRejectAndEnd(res);
|
|
13892
|
+
}).catch(function (e) {});
|
|
13893
|
+
} else {
|
|
13894
|
+
this.saveRejectAndEnd(res);
|
|
13895
|
+
}
|
|
13896
|
+
},
|
|
13897
|
+
saveRejectAndEnd: function saveRejectAndEnd(res) {
|
|
13898
|
+
var _this19 = this;
|
|
13803
13899
|
|
|
13804
13900
|
this.$confirm('确认' + res.value + '?').then(function () {
|
|
13805
|
-
if (
|
|
13901
|
+
if (_this19.isOpinionRequired == 1 && (_this19.value == '' || !_this19.value)) return _this19.$message.warning('请填写意见');
|
|
13806
13902
|
var params = {
|
|
13807
13903
|
url: api["mb" /* rejectAndEnd */],
|
|
13808
13904
|
headers: { Accept: 'application/json,text/plain' },
|
|
13809
13905
|
method: 'post',
|
|
13810
13906
|
data: {
|
|
13811
|
-
opinion:
|
|
13812
|
-
pendingId:
|
|
13907
|
+
opinion: _this19.value,
|
|
13908
|
+
pendingId: _this19.pendingId,
|
|
13813
13909
|
isSinglePage: false
|
|
13814
13910
|
}
|
|
13815
13911
|
};
|
|
13816
|
-
|
|
13912
|
+
_this19.loading = util["a" /* default */].loading(_this19.$loading, '加载中...');
|
|
13817
13913
|
util["a" /* default */].ajax(params).then(function (res) {
|
|
13818
13914
|
var status = res.status,
|
|
13819
13915
|
message = res.message;
|
|
13820
13916
|
|
|
13821
|
-
|
|
13917
|
+
_this19.loading.close();
|
|
13822
13918
|
if (status === 'success') {
|
|
13823
|
-
|
|
13824
|
-
|
|
13919
|
+
_this19.$message.success('提交成功');
|
|
13920
|
+
_this19.$emit('success');
|
|
13825
13921
|
} else {
|
|
13826
|
-
|
|
13827
|
-
|
|
13922
|
+
_this19.$message.error(message || '系统错误,请联系管理员!');
|
|
13923
|
+
_this19.$emit('error');
|
|
13828
13924
|
}
|
|
13829
13925
|
}).catch(function (err) {
|
|
13830
|
-
|
|
13926
|
+
_this19.loading.close();
|
|
13831
13927
|
if (err.message && err.message !== 'canceled') {
|
|
13832
|
-
|
|
13928
|
+
_this19.$message.error(err.message);
|
|
13833
13929
|
}
|
|
13834
13930
|
});
|
|
13835
13931
|
}).catch(function () {
|
|
13836
13932
|
// on cancel
|
|
13837
13933
|
});
|
|
13838
|
-
// return this.$message.warning('暂未开放!敬请期待');
|
|
13839
13934
|
},
|
|
13840
13935
|
|
|
13841
13936
|
/**
|
|
@@ -13845,9 +13940,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13845
13940
|
* @date 2022年9月29日
|
|
13846
13941
|
**/
|
|
13847
13942
|
toTransfer: function toTransfer(res) {
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
|
|
13943
|
+
var _this20 = this;
|
|
13944
|
+
|
|
13945
|
+
if (this.beforeSubmit != undefined) {
|
|
13946
|
+
this.beforeSubmit().then(function (next) {
|
|
13947
|
+
_this20.taskReadType = 'transfer';
|
|
13948
|
+
_this20.showTaskRead = true;
|
|
13949
|
+
}).catch(function (e) {});
|
|
13950
|
+
} else {
|
|
13951
|
+
this.taskReadType = 'transfer';
|
|
13952
|
+
this.showTaskRead = true;
|
|
13953
|
+
}
|
|
13851
13954
|
},
|
|
13852
13955
|
|
|
13853
13956
|
/**
|
|
@@ -13857,7 +13960,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13857
13960
|
* @date 2022年5月25日
|
|
13858
13961
|
**/
|
|
13859
13962
|
getNodeInfo: function getNodeInfo() {
|
|
13860
|
-
var
|
|
13963
|
+
var _this21 = this;
|
|
13861
13964
|
|
|
13862
13965
|
var params = {
|
|
13863
13966
|
processDefinitionId: this.nodeInfo.nextNode,
|
|
@@ -13872,42 +13975,42 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13872
13975
|
message = res.message,
|
|
13873
13976
|
data = res.data;
|
|
13874
13977
|
|
|
13875
|
-
|
|
13978
|
+
_this21.loading.close();
|
|
13876
13979
|
if (status === 'success') {
|
|
13877
13980
|
if (data != null) {
|
|
13878
13981
|
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) {
|
|
13879
|
-
|
|
13982
|
+
_this21.getIsShowNextUser(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
13880
13983
|
} else {
|
|
13881
|
-
|
|
13984
|
+
_this21.isMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType, _this21.choiceOrgId, _this21.choiceDeptId, _this21.pOrgId);
|
|
13882
13985
|
}
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
|
|
13986
|
+
_this21.isReadMultiple(data.nodeExtAttr && data.nodeExtAttr.userSelectionType);
|
|
13987
|
+
_this21.isTaskread = data.nodeExtAttr.isTaskread;
|
|
13988
|
+
_this21.isHandleExplain = data.nodeExtAttr.isHandleExplain;
|
|
13989
|
+
_this21.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
13990
|
+
_this21.nodeType = data.nodeExtAttr.nodeType;
|
|
13888
13991
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
13889
|
-
if (
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13992
|
+
if (_this21.nodeType === 1 || _this21.nodeType === 2) {
|
|
13993
|
+
_this21.isMainSubProcess === true ? _this21.isNodeShowProcess = true : _this21.isNodeShowProcess = false;
|
|
13994
|
+
_this21.isMainSubProcess === true ? _this21.isMainSubProcess = true : _this21.isMainSubProcess = false;
|
|
13995
|
+
_this21.isNextUser = false;
|
|
13996
|
+
_this21.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
13997
|
+
_this21.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
13895
13998
|
} else {
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13999
|
+
_this21.isHideCurrentOrg = false;
|
|
14000
|
+
_this21.isHideOtherOrg = false;
|
|
14001
|
+
_this21.isNodeShowProcess = false;
|
|
14002
|
+
_this21.isMainSubProcess = false;
|
|
14003
|
+
_this21.isNextUser = true;
|
|
13901
14004
|
// this.isMainSubProcess === true
|
|
13902
14005
|
// ? (this.isMainSubProcess = true)
|
|
13903
14006
|
// : (this.isMainSubProcess = false);
|
|
13904
14007
|
}
|
|
13905
|
-
|
|
13906
|
-
if (
|
|
14008
|
+
_this21.multiple ? _this21.nextNode.nextUserId = [] : _this21.nextNode.nextUserId = '';
|
|
14009
|
+
if (_this21.multiple && data.nodeExtAttr.isDefSelectedObj == 1 && data.nextUserList !== undefined) {
|
|
13907
14010
|
data.nextUserList.map(function (item) {
|
|
13908
14011
|
if (item.userId && item.username) {
|
|
13909
|
-
|
|
13910
|
-
|
|
14012
|
+
_this21.nextNode.nextUserId.push(item.userId);
|
|
14013
|
+
_this21.selectUserList.push({
|
|
13911
14014
|
showname: item.username,
|
|
13912
14015
|
showid: item.userId
|
|
13913
14016
|
});
|
|
@@ -13916,37 +14019,37 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13916
14019
|
}
|
|
13917
14020
|
data.nextUserList.map(function (item) {
|
|
13918
14021
|
if (item.userId && item.username) {
|
|
13919
|
-
|
|
14022
|
+
_this21.options.push({
|
|
13920
14023
|
showname: item.username,
|
|
13921
14024
|
showid: item.userId
|
|
13922
14025
|
});
|
|
13923
14026
|
}
|
|
13924
14027
|
});
|
|
13925
14028
|
if (data.nodeExtAttr.presetEdit != 0) {
|
|
13926
|
-
|
|
14029
|
+
_this21.radioList = _this21.options;
|
|
13927
14030
|
}
|
|
13928
|
-
if (!
|
|
13929
|
-
|
|
13930
|
-
|
|
14031
|
+
if (!_this21.multiple && data.nextUserList.length > 0 && data.nodeExtAttr.isDefSelectedObj == 1) {
|
|
14032
|
+
_this21.nextNode.nextUserId = data.nextUserList[0].userId;
|
|
14033
|
+
_this21.selectUserList.push({
|
|
13931
14034
|
showname: data.nextUserList[0].username,
|
|
13932
14035
|
showid: data.nextUserList[0].userId
|
|
13933
14036
|
});
|
|
13934
14037
|
}
|
|
13935
|
-
|
|
13936
|
-
|
|
13937
|
-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
data.globalNodeType === 'endEvent' ?
|
|
14038
|
+
_this21.isLimitedTimeHandling = data.nodeExtAttr.isLimitedTimeHandling;
|
|
14039
|
+
_this21.isCustomUser = data.nodeExtAttr.isCustomUser;
|
|
14040
|
+
_this21.presetEdit = data.nodeExtAttr.presetEdit;
|
|
14041
|
+
_this21.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
|
|
14042
|
+
_this21.handleMode = data.countersignaturetypeText;
|
|
14043
|
+
data.globalNodeType === 'endEvent' ? _this21.endFlow = true : '';
|
|
13941
14044
|
}
|
|
13942
|
-
|
|
14045
|
+
_this21.isCustomPreset && _this21.$refs.customPreset.getPresetFlowInfo(_this21.nextNode.nextNodeId, _this21.nodeInfo.nextNode, true);
|
|
13943
14046
|
} else {
|
|
13944
|
-
|
|
14047
|
+
_this21.$message.error(message || '系统错误,请联系管理员!');
|
|
13945
14048
|
}
|
|
13946
14049
|
}).catch(function (err) {
|
|
13947
|
-
|
|
14050
|
+
_this21.loading.close();
|
|
13948
14051
|
if (err.message && err.message !== 'canceled') {
|
|
13949
|
-
|
|
14052
|
+
_this21.$message.error(err.message);
|
|
13950
14053
|
}
|
|
13951
14054
|
});
|
|
13952
14055
|
},
|
|
@@ -13959,7 +14062,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13959
14062
|
* @date 2022年5月25日
|
|
13960
14063
|
**/
|
|
13961
14064
|
selecNext: function selecNext(val, type, isDef) {
|
|
13962
|
-
var
|
|
14065
|
+
var _this22 = this;
|
|
13963
14066
|
|
|
13964
14067
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
13965
14068
|
if (this.multiple) {
|
|
@@ -13990,16 +14093,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
13990
14093
|
this.operationList.forEach(function (item) {
|
|
13991
14094
|
if (item.key === val) {
|
|
13992
14095
|
if (!item.taskNodeList) {
|
|
13993
|
-
|
|
14096
|
+
_this22.nodeInfos = [];
|
|
13994
14097
|
} else {
|
|
13995
|
-
|
|
14098
|
+
_this22.nodeInfos = item.taskNodeList;
|
|
13996
14099
|
}
|
|
13997
14100
|
return;
|
|
13998
14101
|
}
|
|
13999
14102
|
});
|
|
14000
14103
|
if (this.defaultNextNode) {
|
|
14001
14104
|
var defaultNode = this.nodeInfos.filter(function (item) {
|
|
14002
|
-
return item.nodeId ==
|
|
14105
|
+
return item.nodeId == _this22.defaultNextNode;
|
|
14003
14106
|
});
|
|
14004
14107
|
if (this.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
14005
14108
|
this.nextNode.nextNodeId = this.nodeInfos[0].nodeId;
|
|
@@ -14105,7 +14208,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14105
14208
|
* @date 2022年5月25日
|
|
14106
14209
|
**/
|
|
14107
14210
|
getHedInfo: function getHedInfo() {
|
|
14108
|
-
var
|
|
14211
|
+
var _this23 = this;
|
|
14109
14212
|
|
|
14110
14213
|
this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
14111
14214
|
var params = {
|
|
@@ -14115,7 +14218,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14115
14218
|
util["a" /* default */].ajax({ url: api["D" /* getHandleInfoHtml */], params: params }).then(function (res) {
|
|
14116
14219
|
//pc返回数据
|
|
14117
14220
|
|
|
14118
|
-
|
|
14221
|
+
_this23.loading.close();
|
|
14119
14222
|
if (res.status === 'success') {
|
|
14120
14223
|
var _res$data2 = res.data,
|
|
14121
14224
|
nextNodeList = _res$data2.nextNodeList,
|
|
@@ -14143,190 +14246,190 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14143
14246
|
isCdjxjTaskHandle = _res$data2.isCdjxjTaskHandle,
|
|
14144
14247
|
taskButtonList = _res$data2.taskButtonList;
|
|
14145
14248
|
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14249
|
+
_this23.$emit('startTaskRead', res);
|
|
14250
|
+
_this23.currentOrgName = currentOrgName;
|
|
14251
|
+
_this23.otherOrgName = otherOrgName;
|
|
14252
|
+
_this23.endFlowInfo.choiceOrgId = choiceOrgId;
|
|
14253
|
+
_this23.endFlowInfo.choiceDeptId = choiceDeptId;
|
|
14254
|
+
_this23.endFlowInfo.pendingId = _this23.pendingId;
|
|
14255
|
+
_this23.attachedCode = attachedCode;
|
|
14256
|
+
_this23.endFlowInfo.pOrgId = pOrgId;
|
|
14257
|
+
_this23.canPresetRead = canPresetRead;
|
|
14258
|
+
_this23.isCdjxjTaskHandle = isCdjxjTaskHandle;
|
|
14259
|
+
_this23.operationList = taskOperations || [];
|
|
14260
|
+
_this23.customPresetHintMessage = customPresetHintMessage;
|
|
14158
14261
|
if (canPresetRead) {
|
|
14159
14262
|
var ids = nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
14160
14263
|
var names = nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
14161
14264
|
ids.map(function (item, index) {
|
|
14162
|
-
|
|
14265
|
+
_this23.presetReadUserId.push({
|
|
14163
14266
|
showid: item,
|
|
14164
14267
|
showname: names[index]
|
|
14165
14268
|
});
|
|
14166
|
-
|
|
14269
|
+
_this23.selectPresetUserList.push({
|
|
14167
14270
|
showid: item,
|
|
14168
14271
|
showname: names[index]
|
|
14169
14272
|
});
|
|
14170
|
-
|
|
14273
|
+
_this23.nextNode.presetReadUserId.push(item);
|
|
14171
14274
|
});
|
|
14172
14275
|
}
|
|
14173
|
-
if (!
|
|
14276
|
+
if (!_this23.isFlow) _this23.getFile(_this23.pendingId, attachedCode);
|
|
14174
14277
|
if (nextNodeList && nextNodeList.length != 0) {
|
|
14175
|
-
|
|
14278
|
+
_this23.nextNodeList = nextNodeList;
|
|
14176
14279
|
}
|
|
14177
|
-
if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
|
|
14280
|
+
if (canRemoveSignUserList && canRemoveSignUserList.length != 0) _this23.removeUsers = canRemoveSignUserList;
|
|
14178
14281
|
if (taskOperations && taskOperations.length != 0) {
|
|
14179
14282
|
taskOperations.map(function (item) {
|
|
14180
|
-
if (item.key === 9)
|
|
14283
|
+
if (item.key === 9) _this23.isReject = true;
|
|
14181
14284
|
if (item.isSelected) {
|
|
14182
|
-
|
|
14183
|
-
|
|
14285
|
+
_this23.nodeInfos = [];
|
|
14286
|
+
_this23.nextNode.nextOperate = item.key;
|
|
14184
14287
|
if (item.taskNodeList != null) {
|
|
14185
|
-
|
|
14288
|
+
_this23.nodeInfos = item.taskNodeList;
|
|
14186
14289
|
}
|
|
14187
14290
|
}
|
|
14188
14291
|
if (taskOperations.length == 1) {
|
|
14189
|
-
|
|
14190
|
-
|
|
14292
|
+
_this23.nodeInfos = [];
|
|
14293
|
+
_this23.nextNode.nextOperate = taskOperations[0].key;
|
|
14191
14294
|
if (taskOperations[0].taskNodeList != null) {
|
|
14192
|
-
|
|
14295
|
+
_this23.nodeInfos = taskOperations[0].taskNodeList;
|
|
14193
14296
|
}
|
|
14194
14297
|
}
|
|
14195
14298
|
});
|
|
14196
|
-
|
|
14299
|
+
_this23.selecNext(_this23.nextNode.nextOperate, true, true);
|
|
14197
14300
|
}
|
|
14198
14301
|
|
|
14199
14302
|
if (nodeInfoMap && JSON.stringify(nodeInfoMap) != '{}') {
|
|
14200
|
-
|
|
14303
|
+
_this23.needRetrialAuth = !!nodeInfoMap.nodeExtAttr.isCurrentNodeSubmitNeedRetrialAuth;
|
|
14201
14304
|
if (nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList) {
|
|
14202
14305
|
var notice = JSON.parse(nodeInfoMap.nodeExtAttr.nodeFixedOpinionSelectList);
|
|
14203
14306
|
notice.map(function (x) {
|
|
14204
|
-
|
|
14307
|
+
_this23.nodeFixedOpinionSelectList.push({ content: x });
|
|
14205
14308
|
});
|
|
14206
14309
|
}
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14310
|
+
_this23.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
14311
|
+
_this23.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
14312
|
+
_this23.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
|
|
14313
|
+
_this23.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
14314
|
+
_this23.nodeDefaultRejectOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultRejectOpinion;
|
|
14315
|
+
_this23.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
14213
14316
|
// this.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
14214
|
-
|
|
14317
|
+
_this23.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
14215
14318
|
if (nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
14216
|
-
var defaultNode =
|
|
14319
|
+
var defaultNode = _this23.nodeInfos.filter(function (item) {
|
|
14217
14320
|
return item.nodeId == nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
14218
14321
|
});
|
|
14219
|
-
if (
|
|
14220
|
-
|
|
14322
|
+
if (_this23.nodeInfos.length > 0 && defaultNode.length == 0) {
|
|
14323
|
+
_this23.nextNode.nextNodeId = _this23.nodeInfos[0].nodeId;
|
|
14221
14324
|
} else {
|
|
14222
|
-
|
|
14325
|
+
_this23.nextNode.nextNodeId = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
14223
14326
|
}
|
|
14224
|
-
} else if (
|
|
14225
|
-
|
|
14327
|
+
} else if (_this23.nodeInfos.length > 0) {
|
|
14328
|
+
_this23.nextNode.nextNodeId = _this23.nodeInfos[0].nodeId;
|
|
14226
14329
|
}
|
|
14227
|
-
|
|
14330
|
+
_this23.isForceDisplayDefaultOptionForPrefix = nodeInfoMap.nodeExtAttr.isForceDisplayDefaultOptionForPrefix == 1;
|
|
14228
14331
|
if (nodeInfoMap.nodeExtAttr.submitText) {
|
|
14229
|
-
|
|
14332
|
+
_this23.btnList.map(function (x) {
|
|
14230
14333
|
if (x.event === 'sub') {
|
|
14231
14334
|
x.text = nodeInfoMap.nodeExtAttr.submitText;
|
|
14232
14335
|
}
|
|
14233
14336
|
});
|
|
14234
14337
|
}
|
|
14235
14338
|
}
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14339
|
+
_this23.choiceOrgId = choiceOrgId;
|
|
14340
|
+
_this23.choiceDeptId = choiceDeptId;
|
|
14341
|
+
_this23.pOrgId = pOrgId;
|
|
14239
14342
|
if (res.data && res.data.isEndUserTask != undefined) {
|
|
14240
|
-
|
|
14343
|
+
_this23.isEndUserTask = res.data.isEndUserTask;
|
|
14241
14344
|
}
|
|
14242
14345
|
if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
|
|
14243
|
-
|
|
14244
|
-
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14346
|
+
_this23.nodeInfo.nextNode = taskExamine.processDefinitionId;
|
|
14347
|
+
_this23.NodeName = taskExamine.nodeName;
|
|
14348
|
+
_this23.taskId = taskExamine.taskId;
|
|
14349
|
+
_this23.businessIds = taskExamine.businessId;
|
|
14350
|
+
_this23.appId = taskExamine.appId;
|
|
14351
|
+
_this23.taskExamineInfo = taskExamine;
|
|
14352
|
+
_this23.taskExamineInfo.choiceOrgId = choiceOrgId;
|
|
14353
|
+
_this23.taskExamineInfo.choiceDeptId = choiceDeptId;
|
|
14354
|
+
_this23.endFlowInfo.processType = taskExamine.processType;
|
|
14355
|
+
_this23.endFlowInfo.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
14356
|
+
_this23.nextNode.isReturnSubmitter = taskExamine.isReturnSubmitter;
|
|
14357
|
+
_this23.nextNode.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
14358
|
+
_this23.nextNode.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
14359
|
+
_this23.nextNode.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
14360
|
+
_this23.nextNode.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
14361
|
+
_this23.nextNode.isReadDealReply = taskExamine.isReadDealReply;
|
|
14362
|
+
_this23.nextNode.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
14363
|
+
_this23.nextNode.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
14364
|
+
_this23.nextNode.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
14365
|
+
_this23.endFlowInfo.isSubFlow = taskExamine.isSubFlow;
|
|
14366
|
+
_this23.endFlowInfo.isUndertakeReply = taskExamine.isUndertakeReply;
|
|
14367
|
+
_this23.endFlowInfo.isUndertakeEnd = taskExamine.isUndertakeEnd;
|
|
14368
|
+
_this23.endFlowInfo.isTakeAdviceEnd = taskExamine.isTakeAdviceEnd;
|
|
14369
|
+
_this23.endFlowInfo.isTakeAdviceReply = taskExamine.isTakeAdviceReply;
|
|
14370
|
+
_this23.endFlowInfo.isReadDealEnd = taskExamine.isReadDealEnd;
|
|
14371
|
+
_this23.endFlowInfo.isReadDealReply = taskExamine.isReadDealReply;
|
|
14372
|
+
_this23.endFlowInfo.isReturnRejectNode = taskExamine.isReturnRejectNode;
|
|
14373
|
+
_this23.endFlowInfo.isSerialSubmit = taskExamine.isSerialSubmit;
|
|
14271
14374
|
// this.endFlowInfo.isReadDealReply =
|
|
14272
14375
|
// taskExamine.isReadDealReplybusinessId;
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14376
|
+
_this23.endFlowInfo.appId = taskExamine.appId;
|
|
14377
|
+
_this23.endFlowInfo.businessId = taskExamine.businessId;
|
|
14378
|
+
_this23.endFlowInfo.processDefinitionId = taskExamine.processDefinitionId;
|
|
14379
|
+
_this23.endFlowInfo.nodeId = taskExamine.nodeId;
|
|
14277
14380
|
}
|
|
14278
|
-
if (
|
|
14279
|
-
|
|
14381
|
+
if (_this23.nodeName) {
|
|
14382
|
+
_this23.NodeName = _this23.nodeName;
|
|
14280
14383
|
}
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
if (
|
|
14284
|
-
|
|
14384
|
+
_this23.isCanAddSign = isCanAddSign;
|
|
14385
|
+
_this23.processObj = res.data;
|
|
14386
|
+
if (_this23.isCanAddSign) {
|
|
14387
|
+
_this23.nextNode.isAddSign = '2';
|
|
14285
14388
|
}
|
|
14286
|
-
|
|
14287
|
-
if (
|
|
14288
|
-
|
|
14389
|
+
_this23.isCanRemoveSign = isCanRemoveSign;
|
|
14390
|
+
if (_this23.isCanRemoveSign) {
|
|
14391
|
+
_this23.nextNode.isRemoveSign = '2';
|
|
14289
14392
|
}
|
|
14290
|
-
|
|
14393
|
+
_this23.isSpecial = isSpecial;
|
|
14291
14394
|
|
|
14292
|
-
if (!
|
|
14293
|
-
|
|
14395
|
+
if (!_this23.isOpinionRequired) {
|
|
14396
|
+
_this23.isOpinionRequired = 0;
|
|
14294
14397
|
}
|
|
14295
14398
|
// opinion && (this.value = opinion);
|
|
14296
|
-
|
|
14297
|
-
|
|
14399
|
+
_this23.nextNode.notificationMsg = defaultNotificationMessage;
|
|
14400
|
+
_this23.moreList = [];
|
|
14298
14401
|
if (taskButtonList && taskButtonList.length != 0) {
|
|
14299
14402
|
taskButtonList.map(function (item) {
|
|
14300
14403
|
if (item.fun === 'reject()') {
|
|
14301
|
-
|
|
14404
|
+
_this23.rejectObj = item;
|
|
14302
14405
|
} else if (item.fun === 'toStartTaskRead()') {
|
|
14303
|
-
|
|
14406
|
+
_this23.pointsReadingObj = item;
|
|
14304
14407
|
} else {
|
|
14305
|
-
|
|
14408
|
+
_this23.moreList.push(item);
|
|
14306
14409
|
}
|
|
14307
14410
|
});
|
|
14308
14411
|
}
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14412
|
+
_this23.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
14413
|
+
_this23.isCustomPreset = isCustomPreset;
|
|
14414
|
+
_this23.isPreset = isPreset;
|
|
14415
|
+
_this23.presetTaskNodeMap = presetTaskNodeMap;
|
|
14416
|
+
_this23.presetTaskNodeKeyStr = presetTaskNodeKeyStr;
|
|
14417
|
+
_this23.getFind();
|
|
14418
|
+
_this23.getNodeType();
|
|
14419
|
+
_this23.getNodeInfo();
|
|
14317
14420
|
} else {
|
|
14318
14421
|
if (res.status === 'taskCompleted') {
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14422
|
+
_this23.$emit('shrink', true);
|
|
14423
|
+
_this23.shrinkAbled = true;
|
|
14424
|
+
_this23.$message.warning(res.message || '系统错误,请联系管理员!');
|
|
14322
14425
|
} else {
|
|
14323
|
-
|
|
14426
|
+
_this23.$message.error(res.message || '系统错误,请联系管理员!');
|
|
14324
14427
|
}
|
|
14325
14428
|
}
|
|
14326
14429
|
}).catch(function (err) {
|
|
14327
|
-
|
|
14430
|
+
_this23.loading.close();
|
|
14328
14431
|
if (err.message && err.message !== 'canceled') {
|
|
14329
|
-
|
|
14432
|
+
_this23.$message.error(err.message);
|
|
14330
14433
|
}
|
|
14331
14434
|
});
|
|
14332
14435
|
},
|
|
@@ -14377,7 +14480,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14377
14480
|
* @date 2022年5月25日
|
|
14378
14481
|
**/
|
|
14379
14482
|
getProcess: function getProcess() {
|
|
14380
|
-
var
|
|
14483
|
+
var _this24 = this;
|
|
14381
14484
|
|
|
14382
14485
|
var params = {
|
|
14383
14486
|
businessId: this.businessId,
|
|
@@ -14393,32 +14496,32 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14393
14496
|
message = res.message,
|
|
14394
14497
|
data = res.data;
|
|
14395
14498
|
|
|
14396
|
-
|
|
14499
|
+
_this24.loading.close();
|
|
14397
14500
|
if (status === 'success') {
|
|
14398
14501
|
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
14399
|
-
|
|
14502
|
+
_this24.$message.error('流程不存在或未关联对应流程!');
|
|
14400
14503
|
} else {
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
return item.processDefKey ==
|
|
14504
|
+
_this24.nodeInfo.option = data.definitionList;
|
|
14505
|
+
_this24.nodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
14506
|
+
return item.processDefKey == _this24.defaultProcessKey;
|
|
14404
14507
|
});
|
|
14405
|
-
if (
|
|
14406
|
-
|
|
14508
|
+
if (_this24.nodeInfo.nextNode.length) {
|
|
14509
|
+
_this24.nodeInfo.nextNode = _this24.nodeInfo.nextNode[0].processDefId;
|
|
14407
14510
|
} else {
|
|
14408
14511
|
if (data.definitionList.length == 1) {
|
|
14409
|
-
|
|
14512
|
+
_this24.nodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
14410
14513
|
} else {
|
|
14411
|
-
|
|
14514
|
+
_this24.nodeInfo.nextNode = '';
|
|
14412
14515
|
}
|
|
14413
14516
|
}
|
|
14414
14517
|
}
|
|
14415
14518
|
} else {
|
|
14416
|
-
|
|
14519
|
+
_this24.$message.error(message || '系统错误,请联系管理员!');
|
|
14417
14520
|
}
|
|
14418
14521
|
}).catch(function (err) {
|
|
14419
|
-
|
|
14522
|
+
_this24.loading.close();
|
|
14420
14523
|
if (err.message && err.message !== 'canceled') {
|
|
14421
|
-
|
|
14524
|
+
_this24.$message.error(err.message);
|
|
14422
14525
|
}
|
|
14423
14526
|
});
|
|
14424
14527
|
},
|
|
@@ -14430,7 +14533,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14430
14533
|
* @date 2022年5月25日
|
|
14431
14534
|
**/
|
|
14432
14535
|
getPendedhistoryList: function getPendedhistoryList() {
|
|
14433
|
-
var
|
|
14536
|
+
var _this25 = this;
|
|
14434
14537
|
|
|
14435
14538
|
var params = {
|
|
14436
14539
|
apprecordId: this.businessIds,
|
|
@@ -14443,17 +14546,17 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14443
14546
|
results = res.results;
|
|
14444
14547
|
|
|
14445
14548
|
if (!rCode) {
|
|
14446
|
-
|
|
14447
|
-
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
14549
|
+
_this25.nextNode.nextUserId = [];
|
|
14550
|
+
_this25.showNews = false;
|
|
14551
|
+
_this25.nextNode.notificationType = [];
|
|
14552
|
+
_this25.pendingId = results[results.length - 1].attachId;
|
|
14553
|
+
_this25.getHedInfo();
|
|
14451
14554
|
} else {
|
|
14452
|
-
|
|
14555
|
+
_this25.$message.error(msg || '系统错误,请联系管理员!');
|
|
14453
14556
|
}
|
|
14454
14557
|
}).catch(function (err) {
|
|
14455
14558
|
if (err.message && err.message !== 'canceled') {
|
|
14456
|
-
|
|
14559
|
+
_this25.$message.error(err.message);
|
|
14457
14560
|
}
|
|
14458
14561
|
});
|
|
14459
14562
|
},
|
|
@@ -14467,21 +14570,21 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14467
14570
|
* @date 2022年5月25日
|
|
14468
14571
|
**/
|
|
14469
14572
|
subProcess: function subProcess(val) {
|
|
14470
|
-
var
|
|
14573
|
+
var _this26 = this;
|
|
14471
14574
|
|
|
14472
14575
|
this.$refs['nextNode'].validate(function (valid) {
|
|
14473
14576
|
if (valid) {
|
|
14474
|
-
if (
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
|
|
14577
|
+
if (_this26.isSubmitButtonShowAgreeAndDisagree == 1) {
|
|
14578
|
+
_this26.value = _this26.value.replace(RegExp('不同意。', 'g'), '');
|
|
14579
|
+
_this26.value = _this26.value.replace(RegExp('同意。', 'g'), '');
|
|
14580
|
+
_this26.value = val + _this26.value;
|
|
14478
14581
|
}
|
|
14479
|
-
if (!
|
|
14480
|
-
if (
|
|
14481
|
-
|
|
14582
|
+
if (!_this26.validInfo()) return;
|
|
14583
|
+
if (_this26.beforeSubmit == undefined) {
|
|
14584
|
+
_this26.subFun(_this26.sendData);
|
|
14482
14585
|
} else {
|
|
14483
|
-
|
|
14484
|
-
|
|
14586
|
+
_this26.beforeSubmit(1).then(function (next) {
|
|
14587
|
+
_this26.sendData();
|
|
14485
14588
|
}).catch(function (e) {});
|
|
14486
14589
|
}
|
|
14487
14590
|
}
|
|
@@ -14521,7 +14624,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14521
14624
|
return true;
|
|
14522
14625
|
},
|
|
14523
14626
|
sendData: function sendData() {
|
|
14524
|
-
var
|
|
14627
|
+
var _this27 = this;
|
|
14525
14628
|
|
|
14526
14629
|
this.$refs['nextNode'].validate(function () {
|
|
14527
14630
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee(valid) {
|
|
@@ -14535,89 +14638,89 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14535
14638
|
break;
|
|
14536
14639
|
}
|
|
14537
14640
|
|
|
14538
|
-
if (!
|
|
14641
|
+
if (!_this27.isFlow) {
|
|
14539
14642
|
_context.next = 3;
|
|
14540
14643
|
break;
|
|
14541
14644
|
}
|
|
14542
14645
|
|
|
14543
|
-
return _context.abrupt('return',
|
|
14646
|
+
return _context.abrupt('return', _this27.handleVisible = true);
|
|
14544
14647
|
|
|
14545
14648
|
case 3:
|
|
14546
14649
|
nextUserId = [];
|
|
14547
14650
|
|
|
14548
|
-
if (
|
|
14549
|
-
|
|
14651
|
+
if (_this27.multiple) {
|
|
14652
|
+
_this27.nextNode.nextUserId && _this27.nextNode.nextUserId.map(function (item) {
|
|
14550
14653
|
return nextUserId.push(item);
|
|
14551
14654
|
});
|
|
14552
14655
|
}
|
|
14553
14656
|
addSignUserId = [];
|
|
14554
14657
|
|
|
14555
|
-
if (
|
|
14556
|
-
|
|
14658
|
+
if (_this27.isCanAddSign && _this27.nextNode.isAddSign == '1') {
|
|
14659
|
+
_this27.nextNode.addSignUserId.map(function (item) {
|
|
14557
14660
|
addSignUserId.push(item);
|
|
14558
14661
|
});
|
|
14559
14662
|
}
|
|
14560
14663
|
removeSignUserId = [];
|
|
14561
14664
|
|
|
14562
|
-
if (
|
|
14563
|
-
|
|
14665
|
+
if (_this27.isCanRemoveSign && _this27.nextNode.isRemoveSign == '1') {
|
|
14666
|
+
_this27.nextNode.removeSignUserId.map(function (item) {
|
|
14564
14667
|
removeSignUserId.push(item);
|
|
14565
14668
|
});
|
|
14566
14669
|
}
|
|
14567
14670
|
str = '';
|
|
14568
14671
|
|
|
14569
|
-
if (
|
|
14570
|
-
str =
|
|
14672
|
+
if (_this27.value) {
|
|
14673
|
+
str = _this27.value.replace(/\s+/g, '');
|
|
14571
14674
|
}
|
|
14572
|
-
if ((!
|
|
14573
|
-
|
|
14675
|
+
if ((!_this27.value || str === '') && _this27.nodeDefaultSubmitOpinion) {
|
|
14676
|
+
_this27.value = _this27.nodeDefaultSubmitOpinion;
|
|
14574
14677
|
}
|
|
14575
|
-
if (!
|
|
14576
|
-
delete
|
|
14577
|
-
delete
|
|
14678
|
+
if (!_this27.isSpecial) {
|
|
14679
|
+
delete _this27.nextNode.nextOperate;
|
|
14680
|
+
delete _this27.nextNode.nextNodeId;
|
|
14578
14681
|
}
|
|
14579
|
-
if (
|
|
14580
|
-
|
|
14581
|
-
|
|
14682
|
+
if (_this27.nextNode.nextOperate === 9) {
|
|
14683
|
+
_this27.nextNode.isReturnRejectNode = 1;
|
|
14684
|
+
_this27.nextNode.processDefinitionId = _this27.processObj.taskExamine.processDefinitionId;
|
|
14582
14685
|
}
|
|
14583
|
-
if (
|
|
14584
|
-
delete
|
|
14686
|
+
if (_this27.nextNode.nextOperate != 0 && _this27.nextNode.nextOperate != 1) {
|
|
14687
|
+
delete _this27.nextNode.nextNodeId;
|
|
14585
14688
|
}
|
|
14586
14689
|
_context.next = 17;
|
|
14587
|
-
return
|
|
14690
|
+
return _this27.saveInfo('subMit');
|
|
14588
14691
|
|
|
14589
14692
|
case 17:
|
|
14590
|
-
|
|
14693
|
+
_this27.loading = util["a" /* default */].loading(_this27.$loading, '加载中...');
|
|
14591
14694
|
|
|
14592
14695
|
notificationType = '';
|
|
14593
14696
|
|
|
14594
|
-
notificationType =
|
|
14697
|
+
notificationType = _this27.nextNode.notificationType.join(',');
|
|
14595
14698
|
addSignUserId = addSignUserId.join(',');
|
|
14596
14699
|
removeSignUserId = removeSignUserId.join(',');
|
|
14597
|
-
params = mainvue_type_script_lang_js_extends({},
|
|
14598
|
-
pendingId:
|
|
14599
|
-
opinion:
|
|
14700
|
+
params = mainvue_type_script_lang_js_extends({}, _this27.nextNode, {
|
|
14701
|
+
pendingId: _this27.pendingId,
|
|
14702
|
+
opinion: _this27.isForceDisplayDefaultOptionForPrefix && !_this27.value.startsWith(_this27.nodeDefaultSubmitOpinion) ? _this27.nodeDefaultSubmitOpinion + _this27.value : _this27.value,
|
|
14600
14703
|
userId: util["a" /* default */].getStorage('userId'),
|
|
14601
|
-
nextUserId:
|
|
14704
|
+
nextUserId: _this27.multiple ? nextUserId.join(',') : _this27.nextNode.nextUserId,
|
|
14602
14705
|
addSignUserId: addSignUserId,
|
|
14603
|
-
customPresetUserJson: JSON.stringify(
|
|
14604
|
-
presetUserJson: JSON.stringify(
|
|
14706
|
+
customPresetUserJson: JSON.stringify(_this27.presetList),
|
|
14707
|
+
presetUserJson: JSON.stringify(_this27.presetUserJson),
|
|
14605
14708
|
removeSignUserId: removeSignUserId,
|
|
14606
|
-
nextReadUserId:
|
|
14607
|
-
nextOrgId: !
|
|
14608
|
-
presetReadUserId:
|
|
14709
|
+
nextReadUserId: _this27.readMultiple ? _this27.mixReadList && _this27.mixReadList.join('|') : _this27.nextNode.nextReadUserId,
|
|
14710
|
+
nextOrgId: !_this27.isShowNextUser ? _this27.multiple ? _this27.mixOrgIdList && _this27.mixOrgIdList.join('|') : _this27.nextNode.nextOrgId : '',
|
|
14711
|
+
presetReadUserId: _this27.mixPresetList && _this27.mixPresetList.length > 0 ? _this27.mixPresetList.join('|') : _this27.nextNode.presetReadUserId.join(','),
|
|
14609
14712
|
notificationType: notificationType
|
|
14610
14713
|
});
|
|
14611
14714
|
|
|
14612
|
-
if (
|
|
14613
|
-
if (
|
|
14715
|
+
if (_this27.activeNames != '1') delete params.customPresetUserJson;
|
|
14716
|
+
if (_this27.nextNode.isRemoveSign != '1') {
|
|
14614
14717
|
delete params.removeSignUserId;
|
|
14615
14718
|
}
|
|
14616
|
-
if (
|
|
14719
|
+
if (_this27.nextNode.isAddSign != '1') {
|
|
14617
14720
|
delete params.addSignUserId;
|
|
14618
14721
|
}
|
|
14619
|
-
|
|
14620
|
-
isEndUserTask =
|
|
14722
|
+
_this27.loading = util["a" /* default */].loading(_this27.$loading, '提交中...');
|
|
14723
|
+
isEndUserTask = _this27.isEndUserTask, choiceOrgId = _this27.choiceOrgId, choiceDeptId = _this27.choiceDeptId, pOrgId = _this27.pOrgId, taskExamineInfo = _this27.taskExamineInfo, needRetrialAuth = _this27.needRetrialAuth;
|
|
14621
14724
|
|
|
14622
14725
|
params.isEndUserTask = isEndUserTask;
|
|
14623
14726
|
params.choiceOrgId = choiceOrgId;
|
|
@@ -14634,18 +14737,18 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14634
14737
|
var status = res.status,
|
|
14635
14738
|
message = res.message;
|
|
14636
14739
|
|
|
14637
|
-
|
|
14740
|
+
_this27.loading.close();
|
|
14638
14741
|
if (status === 'success') {
|
|
14639
|
-
|
|
14640
|
-
|
|
14742
|
+
_this27.$message.success('提交成功');
|
|
14743
|
+
_this27.$emit('success');
|
|
14641
14744
|
} else {
|
|
14642
|
-
|
|
14643
|
-
|
|
14745
|
+
_this27.$message.error(message || '系统错误,请联系管理员!');
|
|
14746
|
+
_this27.$emit('error');
|
|
14644
14747
|
}
|
|
14645
14748
|
}).catch(function (err) {
|
|
14646
|
-
|
|
14749
|
+
_this27.loading.close();
|
|
14647
14750
|
if (err.message && err.message !== 'canceled') {
|
|
14648
|
-
|
|
14751
|
+
_this27.$message.error(err.message);
|
|
14649
14752
|
}
|
|
14650
14753
|
}));
|
|
14651
14754
|
|
|
@@ -14657,7 +14760,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
14657
14760
|
return _context.stop();
|
|
14658
14761
|
}
|
|
14659
14762
|
}
|
|
14660
|
-
}, _callee,
|
|
14763
|
+
}, _callee, _this27);
|
|
14661
14764
|
}));
|
|
14662
14765
|
|
|
14663
14766
|
return function (_x) {
|