eoss-mobiles 0.3.16 → 0.3.17
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/checkbox.js +27 -27
- package/lib/config/api.js +2 -2
- package/lib/eoss-mobile.common.js +352 -212
- package/lib/flow-btn.js +27 -27
- package/lib/flow-list.js +27 -27
- package/lib/flow.js +382 -242
- package/lib/index.js +1 -1
- package/lib/picker.js +27 -27
- package/lib/radio.js +27 -27
- package/lib/retrial-auth.js +27 -27
- package/lib/selector.js +54 -54
- package/lib/table-column.js +27 -27
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +62 -18
- package/packages/flow/src/components/StartFlow.vue +1 -1
- package/packages/flow/src/components/reset.vue +77 -87
- package/packages/flow/src/main.vue +1 -0
- package/packages/selector/src/selector-tree.vue +1 -1
- package/src/config/api.js +2 -2
- package/src/index.js +1 -1
|
@@ -2150,8 +2150,8 @@ mainvue_type_template_id_17308961_render._withStripped = true
|
|
|
2150
2150
|
|
|
2151
2151
|
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=17308961
|
|
2152
2152
|
|
|
2153
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
2154
|
-
var
|
|
2153
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=a36bef12
|
|
2154
|
+
var selector_treevue_type_template_id_a36bef12_render = function () {
|
|
2155
2155
|
var _vm = this
|
|
2156
2156
|
var _h = _vm.$createElement
|
|
2157
2157
|
var _c = _vm._self._c || _h
|
|
@@ -2331,11 +2331,11 @@ var selector_treevue_type_template_id_d4e42ba6_render = function () {
|
|
|
2331
2331
|
1
|
|
2332
2332
|
)
|
|
2333
2333
|
}
|
|
2334
|
-
var
|
|
2335
|
-
|
|
2334
|
+
var selector_treevue_type_template_id_a36bef12_staticRenderFns = []
|
|
2335
|
+
selector_treevue_type_template_id_a36bef12_render._withStripped = true
|
|
2336
2336
|
|
|
2337
2337
|
|
|
2338
|
-
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=
|
|
2338
|
+
// CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=a36bef12
|
|
2339
2339
|
|
|
2340
2340
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=207ee6a0
|
|
2341
2341
|
var treevue_type_template_id_207ee6a0_render = function () {
|
|
@@ -3204,8 +3204,8 @@ var taskHandleHtmlImg = pending + '/task/taskHandle/taskHandleWithHandwrittenOpi
|
|
|
3204
3204
|
var registerNew = '/bpm/task/taskHandle/startFlow.dhtml';
|
|
3205
3205
|
|
|
3206
3206
|
// 获取节点信息(获取节点属性及办理人,发起)
|
|
3207
|
-
|
|
3208
|
-
|
|
3207
|
+
var api_getNodeInfo = pending + '/task/taskHandle/getNodeInfo.dhtml';
|
|
3208
|
+
// export const getNodeInfo = '/bpm/v1/mecpItask/getNodeInfoNew.json';
|
|
3209
3209
|
|
|
3210
3210
|
// 获取发起流程信息
|
|
3211
3211
|
var toStartFlow = '/bpm/v1/mecpItask/toStartFlowNew.json';
|
|
@@ -4305,7 +4305,7 @@ var _props, _methods;
|
|
|
4305
4305
|
this.newParam.pid = 'root';
|
|
4306
4306
|
this.newParam.myUserid = this.newParam.myUserid || util["a" /* default */].getStorage('userId');
|
|
4307
4307
|
} else {
|
|
4308
|
-
this.newParam = _extends({}, this.
|
|
4308
|
+
this.newParam = _extends({}, this.newTabs[this.selectIndex].param, this.newParam);
|
|
4309
4309
|
// this.newTabs[this.selectIndex].param.pid || this.param.pid || 'root';
|
|
4310
4310
|
}
|
|
4311
4311
|
delete this.newParam.department;
|
|
@@ -4629,8 +4629,8 @@ var _props, _methods;
|
|
|
4629
4629
|
|
|
4630
4630
|
var selector_tree_component = normalizeComponent(
|
|
4631
4631
|
src_selector_treevue_type_script_lang_js,
|
|
4632
|
-
|
|
4633
|
-
|
|
4632
|
+
selector_treevue_type_template_id_a36bef12_render,
|
|
4633
|
+
selector_treevue_type_template_id_a36bef12_staticRenderFns,
|
|
4634
4634
|
false,
|
|
4635
4635
|
null,
|
|
4636
4636
|
null,
|
|
@@ -12861,8 +12861,8 @@ list_src_main.install = function (Vue) {
|
|
|
12861
12861
|
};
|
|
12862
12862
|
|
|
12863
12863
|
/* harmony default export */ var list = (list_src_main);
|
|
12864
|
-
// 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=
|
|
12865
|
-
var
|
|
12864
|
+
// 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=81a61f1c
|
|
12865
|
+
var mainvue_type_template_id_81a61f1c_render = function () {
|
|
12866
12866
|
var _vm = this
|
|
12867
12867
|
var _h = _vm.$createElement
|
|
12868
12868
|
var _c = _vm._self._c || _h
|
|
@@ -12962,7 +12962,13 @@ var mainvue_type_template_id_a746ec3a_render = function () {
|
|
|
12962
12962
|
? _c(
|
|
12963
12963
|
"Reset",
|
|
12964
12964
|
_vm._b(
|
|
12965
|
-
{
|
|
12965
|
+
{
|
|
12966
|
+
attrs: {
|
|
12967
|
+
userId: _vm.userId,
|
|
12968
|
+
type: _vm.type,
|
|
12969
|
+
beforeSubmit: _vm.beforeSubmit,
|
|
12970
|
+
},
|
|
12971
|
+
},
|
|
12966
12972
|
"Reset",
|
|
12967
12973
|
_vm.$attrs,
|
|
12968
12974
|
false
|
|
@@ -12973,14 +12979,14 @@ var mainvue_type_template_id_a746ec3a_render = function () {
|
|
|
12973
12979
|
1
|
|
12974
12980
|
)
|
|
12975
12981
|
}
|
|
12976
|
-
var
|
|
12977
|
-
|
|
12982
|
+
var mainvue_type_template_id_81a61f1c_staticRenderFns = []
|
|
12983
|
+
mainvue_type_template_id_81a61f1c_render._withStripped = true
|
|
12978
12984
|
|
|
12979
12985
|
|
|
12980
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
12986
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=81a61f1c
|
|
12981
12987
|
|
|
12982
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
12983
|
-
var
|
|
12988
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=dc8fcb64
|
|
12989
|
+
var StartFlowvue_type_template_id_dc8fcb64_render = function () {
|
|
12984
12990
|
var _vm = this
|
|
12985
12991
|
var _h = _vm.$createElement
|
|
12986
12992
|
var _c = _vm._self._c || _h
|
|
@@ -13290,11 +13296,11 @@ var StartFlowvue_type_template_id_00776333_render = function () {
|
|
|
13290
13296
|
]),
|
|
13291
13297
|
])
|
|
13292
13298
|
}
|
|
13293
|
-
var
|
|
13294
|
-
|
|
13299
|
+
var StartFlowvue_type_template_id_dc8fcb64_staticRenderFns = []
|
|
13300
|
+
StartFlowvue_type_template_id_dc8fcb64_render._withStripped = true
|
|
13295
13301
|
|
|
13296
13302
|
|
|
13297
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
13303
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=dc8fcb64
|
|
13298
13304
|
|
|
13299
13305
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=4d744373
|
|
13300
13306
|
var Opinionvue_type_template_id_4d744373_render = function () {
|
|
@@ -15087,7 +15093,7 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
15087
15093
|
// }
|
|
15088
15094
|
}
|
|
15089
15095
|
} else {
|
|
15090
|
-
_this2.$toast(res.msg);
|
|
15096
|
+
_this2.$toast(res.msg || res.message);
|
|
15091
15097
|
setTimeout(function () {
|
|
15092
15098
|
_this2.$parent.$emit('error');
|
|
15093
15099
|
}, 1000);
|
|
@@ -15314,8 +15320,8 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
15314
15320
|
|
|
15315
15321
|
var StartFlow_component = normalizeComponent(
|
|
15316
15322
|
components_StartFlowvue_type_script_lang_js,
|
|
15317
|
-
|
|
15318
|
-
|
|
15323
|
+
StartFlowvue_type_template_id_dc8fcb64_render,
|
|
15324
|
+
StartFlowvue_type_template_id_dc8fcb64_staticRenderFns,
|
|
15319
15325
|
false,
|
|
15320
15326
|
null,
|
|
15321
15327
|
null,
|
|
@@ -15324,8 +15330,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
15324
15330
|
)
|
|
15325
15331
|
|
|
15326
15332
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
15327
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
15328
|
-
var
|
|
15333
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=3f30400a
|
|
15334
|
+
var Handlevue_type_template_id_3f30400a_render = function () {
|
|
15329
15335
|
var _vm = this
|
|
15330
15336
|
var _h = _vm.$createElement
|
|
15331
15337
|
var _c = _vm._self._c || _h
|
|
@@ -15717,35 +15723,101 @@ var Handlevue_type_template_id_2f778f92_render = function () {
|
|
|
15717
15723
|
"div",
|
|
15718
15724
|
{ staticClass: "item" },
|
|
15719
15725
|
[
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
|
|
15727
|
-
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15726
|
+
_vm.nextNodeCheckType ==
|
|
15727
|
+
"select"
|
|
15728
|
+
? _c("em-picker", {
|
|
15729
|
+
attrs: {
|
|
15730
|
+
title: "下步节点",
|
|
15731
|
+
label: "下步节点",
|
|
15732
|
+
required: "",
|
|
15733
|
+
"show-toolbar": "",
|
|
15734
|
+
"label-width": "100%",
|
|
15735
|
+
columns: _vm.nodeList,
|
|
15736
|
+
"value-key": "nodeId",
|
|
15737
|
+
"label-key":
|
|
15738
|
+
"nodeName",
|
|
15739
|
+
},
|
|
15740
|
+
on: {
|
|
15741
|
+
confirm:
|
|
15742
|
+
_vm.onConfirmNextNode,
|
|
15743
|
+
},
|
|
15744
|
+
model: {
|
|
15745
|
+
value:
|
|
15746
|
+
_vm.form
|
|
15747
|
+
.nextNodeName,
|
|
15748
|
+
callback: function (
|
|
15749
|
+
$$v
|
|
15750
|
+
) {
|
|
15751
|
+
_vm.$set(
|
|
15752
|
+
_vm.form,
|
|
15753
|
+
"nextNodeName",
|
|
15754
|
+
$$v
|
|
15755
|
+
)
|
|
15756
|
+
},
|
|
15757
|
+
expression:
|
|
15758
|
+
"form.nextNodeName",
|
|
15759
|
+
},
|
|
15760
|
+
})
|
|
15761
|
+
: _c(
|
|
15762
|
+
"em-input",
|
|
15763
|
+
{
|
|
15764
|
+
staticClass:
|
|
15765
|
+
"em-flow-next-steps",
|
|
15766
|
+
attrs: {
|
|
15767
|
+
value: "下步节点",
|
|
15768
|
+
label: "下步节点",
|
|
15769
|
+
required: "",
|
|
15770
|
+
disabled: true,
|
|
15771
|
+
"label-position":
|
|
15772
|
+
"top",
|
|
15773
|
+
},
|
|
15774
|
+
},
|
|
15775
|
+
[
|
|
15776
|
+
_c(
|
|
15777
|
+
"template",
|
|
15778
|
+
{ slot: "input" },
|
|
15779
|
+
[
|
|
15780
|
+
_c(
|
|
15781
|
+
"em-radio-group",
|
|
15782
|
+
{
|
|
15783
|
+
attrs: {
|
|
15784
|
+
data: _vm.nodeList,
|
|
15785
|
+
"value-key":
|
|
15786
|
+
"nodeId",
|
|
15787
|
+
"label-key":
|
|
15788
|
+
"nodeName",
|
|
15789
|
+
direction:
|
|
15790
|
+
"horizontal",
|
|
15791
|
+
},
|
|
15792
|
+
on: {
|
|
15793
|
+
change:
|
|
15794
|
+
_vm.onConfirmNextNode,
|
|
15795
|
+
},
|
|
15796
|
+
model: {
|
|
15797
|
+
value:
|
|
15798
|
+
_vm.form
|
|
15799
|
+
.nextNodeId,
|
|
15800
|
+
callback:
|
|
15801
|
+
function (
|
|
15802
|
+
$$v
|
|
15803
|
+
) {
|
|
15804
|
+
_vm.$set(
|
|
15805
|
+
_vm.form,
|
|
15806
|
+
"nextNodeId",
|
|
15807
|
+
$$v
|
|
15808
|
+
)
|
|
15809
|
+
},
|
|
15810
|
+
expression:
|
|
15811
|
+
"form.nextNodeId",
|
|
15812
|
+
},
|
|
15813
|
+
}
|
|
15814
|
+
),
|
|
15815
|
+
],
|
|
15816
|
+
1
|
|
15817
|
+
),
|
|
15818
|
+
],
|
|
15819
|
+
2
|
|
15820
|
+
),
|
|
15749
15821
|
],
|
|
15750
15822
|
1
|
|
15751
15823
|
)
|
|
@@ -16661,11 +16733,11 @@ var Handlevue_type_template_id_2f778f92_render = function () {
|
|
|
16661
16733
|
1
|
|
16662
16734
|
)
|
|
16663
16735
|
}
|
|
16664
|
-
var
|
|
16665
|
-
|
|
16736
|
+
var Handlevue_type_template_id_3f30400a_staticRenderFns = []
|
|
16737
|
+
Handlevue_type_template_id_3f30400a_render._withStripped = true
|
|
16666
16738
|
|
|
16667
16739
|
|
|
16668
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
16740
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=3f30400a
|
|
16669
16741
|
|
|
16670
16742
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=46f10c43
|
|
16671
16743
|
var Rejectvue_type_template_id_46f10c43_render = function () {
|
|
@@ -17893,6 +17965,27 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
17893
17965
|
//
|
|
17894
17966
|
//
|
|
17895
17967
|
//
|
|
17968
|
+
//
|
|
17969
|
+
//
|
|
17970
|
+
//
|
|
17971
|
+
//
|
|
17972
|
+
//
|
|
17973
|
+
//
|
|
17974
|
+
//
|
|
17975
|
+
//
|
|
17976
|
+
//
|
|
17977
|
+
//
|
|
17978
|
+
//
|
|
17979
|
+
//
|
|
17980
|
+
//
|
|
17981
|
+
//
|
|
17982
|
+
//
|
|
17983
|
+
//
|
|
17984
|
+
//
|
|
17985
|
+
//
|
|
17986
|
+
//
|
|
17987
|
+
//
|
|
17988
|
+
//
|
|
17896
17989
|
|
|
17897
17990
|
|
|
17898
17991
|
|
|
@@ -17961,6 +18054,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
17961
18054
|
freeStartFlowParams: {}, //自由发起流程参数
|
|
17962
18055
|
taskParams: {},
|
|
17963
18056
|
isCanPreAddSign: false,
|
|
18057
|
+
nextNodeCheckType: 'select',
|
|
17964
18058
|
showAppUnit: false, // 弹窗单位
|
|
17965
18059
|
handleFlow: true,
|
|
17966
18060
|
freeValid: true,
|
|
@@ -18476,6 +18570,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18476
18570
|
|
|
18477
18571
|
// 切换下一步操作
|
|
18478
18572
|
changeNextOperate: function changeNextOperate(val, isDef) {
|
|
18573
|
+
var _this8 = this;
|
|
18574
|
+
|
|
18479
18575
|
if (!isDef && val.key === this.tagKey) return;
|
|
18480
18576
|
this.tagKey = val.key;
|
|
18481
18577
|
//恢复默认
|
|
@@ -18540,8 +18636,17 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18540
18636
|
} else {}
|
|
18541
18637
|
}
|
|
18542
18638
|
if (this.nodeList && this.nodeList.length > 0) {
|
|
18543
|
-
|
|
18544
|
-
|
|
18639
|
+
var defNode = this.nodeList.filter(function (i) {
|
|
18640
|
+
return i.nodeId === _this8.nextNodeDefault;
|
|
18641
|
+
});
|
|
18642
|
+
if (defNode.length > 0) {
|
|
18643
|
+
this.form.nextNodeId = defNode[0].nodeId;
|
|
18644
|
+
this.form.nextNodeName = defNode[0].nodeName;
|
|
18645
|
+
} else {
|
|
18646
|
+
this.form.nextNodeId = this.nodeList[0].nodeId;
|
|
18647
|
+
this.form.nextNodeName = this.nodeList[0].nodeName;
|
|
18648
|
+
}
|
|
18649
|
+
|
|
18545
18650
|
this.$toast.loading({
|
|
18546
18651
|
message: '加载中...',
|
|
18547
18652
|
forbidClick: true,
|
|
@@ -18558,8 +18663,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18558
18663
|
|
|
18559
18664
|
// 确认流程节点操作
|
|
18560
18665
|
onConfirmNextNode: function onConfirmNextNode(val) {
|
|
18561
|
-
|
|
18562
|
-
this.
|
|
18666
|
+
console.log(val, 'cal');
|
|
18667
|
+
if (this.nextNodeCheckType === 'select') {
|
|
18668
|
+
this.form.nextNodeId = val.nodeId;
|
|
18669
|
+
this.form.nextNodeName = val.nodeName;
|
|
18670
|
+
} else {
|
|
18671
|
+
this.form.nextNodeId = val;
|
|
18672
|
+
}
|
|
18563
18673
|
this.$toast.loading({
|
|
18564
18674
|
message: '加载中...',
|
|
18565
18675
|
forbidClick: true,
|
|
@@ -18667,10 +18777,12 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18667
18777
|
notificationMessageReadOnly = _res$data.notificationMessageReadOnly,
|
|
18668
18778
|
readOnlyNotificationType = _res$data.readOnlyNotificationType,
|
|
18669
18779
|
otherOrgName = _res$data.otherOrgName,
|
|
18780
|
+
nextNodeCheckType = _res$data.nextNodeCheckType,
|
|
18670
18781
|
defaultNotificationMessage = _res$data.defaultNotificationMessage,
|
|
18671
18782
|
defaultNotificationType = _res$data.defaultNotificationType,
|
|
18672
18783
|
isCanPreAddSign = _res$data.isCanPreAddSign;
|
|
18673
18784
|
|
|
18785
|
+
nextNodeCheckType && (that.nextNodeCheckType = nextNodeCheckType);
|
|
18674
18786
|
that.customPresetHintMessage = customPresetHintMessage;
|
|
18675
18787
|
that.currentOrgName = currentOrgName;
|
|
18676
18788
|
that.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
@@ -18717,10 +18829,10 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18717
18829
|
} else {
|
|
18718
18830
|
that.nodeList = that.taskOperations[0].taskNodeList;
|
|
18719
18831
|
var info = [];
|
|
18720
|
-
that.nodeList.map(function (x
|
|
18832
|
+
that.nodeList.map(function (x) {
|
|
18721
18833
|
if (x.nodeId === nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
18722
18834
|
info.push(x);
|
|
18723
|
-
that.nextNodeDefault =
|
|
18835
|
+
that.nextNodeDefault = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
18724
18836
|
}
|
|
18725
18837
|
});
|
|
18726
18838
|
if (info.length == 0 && that.nodeList.length != 0) info = [that.nodeList[0]];
|
|
@@ -18743,7 +18855,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18743
18855
|
that.nodeList.map(function (x, y) {
|
|
18744
18856
|
if (x.nodeId === nodeInfoMap.nodeExtAttr.defaultNextNode) {
|
|
18745
18857
|
_info.push(x);
|
|
18746
|
-
that.nextNodeDefault =
|
|
18858
|
+
that.nextNodeDefault = nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
18747
18859
|
}
|
|
18748
18860
|
});
|
|
18749
18861
|
if (_info.length == 0 && that.nodeList.length != 0) _info = [that.nodeList[0]];
|
|
@@ -18823,7 +18935,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18823
18935
|
});
|
|
18824
18936
|
},
|
|
18825
18937
|
getToStartTaskReadIndex: function getToStartTaskReadIndex() {
|
|
18826
|
-
var
|
|
18938
|
+
var _this9 = this;
|
|
18827
18939
|
|
|
18828
18940
|
utils_http({
|
|
18829
18941
|
url: this.baseUrl ? this.baseUrl + toStartTaskReadHtml : toStartTaskReadHtml,
|
|
@@ -18837,27 +18949,27 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18837
18949
|
taskReadOpinionRequired = _res$data2.taskReadOpinionRequired;
|
|
18838
18950
|
|
|
18839
18951
|
if (status === 'success') {
|
|
18840
|
-
|
|
18841
|
-
|
|
18842
|
-
|
|
18952
|
+
_this9.taskExamineInfo = taskExamine;
|
|
18953
|
+
_this9.isCanFenyue = isCanFenyue;
|
|
18954
|
+
_this9.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
18843
18955
|
// if (this.nodeName) {
|
|
18844
|
-
|
|
18956
|
+
_this9.processObj.taskExamine.nodeName = '分阅';
|
|
18845
18957
|
// }
|
|
18846
18958
|
} else {
|
|
18847
|
-
|
|
18959
|
+
_this9.$toast(message || '系统错误,请联系管理员!');
|
|
18848
18960
|
}
|
|
18849
|
-
|
|
18961
|
+
_this9.$toast.clear();
|
|
18850
18962
|
}).catch(function (err) {
|
|
18851
|
-
|
|
18963
|
+
_this9.$toast.clear();
|
|
18852
18964
|
if (err.message && err.message !== 'canceled') {
|
|
18853
|
-
|
|
18965
|
+
_this9.$toast(err.message);
|
|
18854
18966
|
}
|
|
18855
18967
|
});
|
|
18856
18968
|
},
|
|
18857
18969
|
|
|
18858
18970
|
// 获取节点信息(获取节点属性及办理人)
|
|
18859
18971
|
getNodeObj: function getNodeObj(res) {
|
|
18860
|
-
var
|
|
18972
|
+
var _this10 = this;
|
|
18861
18973
|
|
|
18862
18974
|
var _that = this;
|
|
18863
18975
|
utils_http({
|
|
@@ -18871,89 +18983,89 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18871
18983
|
userId: _that.userId
|
|
18872
18984
|
}
|
|
18873
18985
|
}).then(function (res) {
|
|
18874
|
-
|
|
18986
|
+
_this10.$toast.clear();
|
|
18875
18987
|
if (res.status == 'success') {
|
|
18876
18988
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
18877
18989
|
_that.enableCustomLimitTimeSetting = res.data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
18878
|
-
res.data.otherOrgDisabledObjId && (
|
|
18879
|
-
res.data.currentOrgDisabledObjId && (
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18990
|
+
res.data.otherOrgDisabledObjId && (_this10.otherOrgDisabledObjId = res.data.otherOrgDisabledObjId.split(','));
|
|
18991
|
+
res.data.currentOrgDisabledObjId && (_this10.currentOrgDisabledObjId = res.data.currentOrgDisabledObjId.split(','));
|
|
18992
|
+
_this10.appointNotUserIds = res.data.appointNotUserIds;
|
|
18993
|
+
_this10.handleRoleId = res.data.handleRoleId;
|
|
18994
|
+
_this10.nextRole = res.data.nextRole;
|
|
18995
|
+
_this10.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
|
|
18996
|
+
_this10.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
|
|
18997
|
+
_this10.userSelectionType = res.data.nodeExtAttr.userSelectionType;
|
|
18886
18998
|
// this.changePidObjtype();
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18999
|
+
_this10.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
|
|
19000
|
+
_this10.notificationType = res.data.nodeExtAttr.notificationType;
|
|
19001
|
+
_this10.nodeType = res.data.nodeExtAttr.nodeType;
|
|
19002
|
+
_this10.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
19003
|
+
_this10.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
|
|
19004
|
+
_this10.isCustomUser = res.data.nodeExtAttr.isCustomUser;
|
|
19005
|
+
_this10.presetEdit = res.data.nodeExtAttr.presetEdit;
|
|
19006
|
+
_this10.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
|
|
19007
|
+
_this10.peopleObj = res.data.nodeExtAttr;
|
|
19008
|
+
_this10.nextUserList = res.data.nextUserList.filter(function (x) {
|
|
18897
19009
|
return x.userId && x.username;
|
|
18898
19010
|
});
|
|
18899
|
-
var _this =
|
|
18900
|
-
|
|
19011
|
+
var _this = _this10;
|
|
19012
|
+
_this10.nextUserList.map(function (r) {
|
|
18901
19013
|
_this.$set(r, 'checked', false);
|
|
18902
19014
|
});
|
|
18903
19015
|
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
19016
|
+
_this10.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
|
|
19017
|
+
_this10.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
|
|
19018
|
+
_this10.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
|
|
19019
|
+
_this10.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
|
|
19020
|
+
_this10.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
18909
19021
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
18910
|
-
if (
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
19022
|
+
if (_this10.nodeType === 1 || _this10.nodeType === 2) {
|
|
19023
|
+
_this10.isMainSubProcess === true ? _this10.isNodeShowProcess = true : _this10.isNodeShowProcess = false;
|
|
19024
|
+
_this10.isMainSubProcess === true ? _this10.isMainSubProcess = true : _this10.isMainSubProcess = false;
|
|
19025
|
+
_this10.isNextUser = false;
|
|
19026
|
+
_this10.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
19027
|
+
_this10.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
18916
19028
|
} else {
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
|
|
19029
|
+
_this10.isHideCurrentOrg = false;
|
|
19030
|
+
_this10.isHideOtherOrg = false;
|
|
19031
|
+
_this10.isMainSubProcess = false;
|
|
19032
|
+
_this10.isNodeShowProcess = false;
|
|
19033
|
+
_this10.isNextUser = true;
|
|
18922
19034
|
// this.isMainSubProcess === true
|
|
18923
19035
|
// ? (this.isMainSubProcess = true)
|
|
18924
19036
|
// : (this.isMainSubProcess = false);
|
|
18925
19037
|
}
|
|
18926
19038
|
// userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
|
|
18927
|
-
|
|
19039
|
+
_this10.userSelectionType == 2 || _this10.userSelectionType == 4 || _this10.userSelectionType == 6 || _this10.userSelectionType == 8 || _this10.userSelectionType == 10 || _this10.userSelectionType == 11 || _this10.userSelectionType == 12 ? _this10.isRadio = false : _this10.isRadio = true; //判断办理人单选多选
|
|
18928
19040
|
|
|
18929
|
-
if (
|
|
18930
|
-
|
|
18931
|
-
|
|
19041
|
+
if (_this10.userSelectionType == 7 || _this10.userSelectionType == 8 || _this10.userSelectionType == 9 || _this10.userSelectionType == 10 || _this10.userSelectionType == 11 || _this10.userSelectionType == 12) {
|
|
19042
|
+
_this10.isDealObject = true;
|
|
19043
|
+
_this10.isNextUser = false;
|
|
18932
19044
|
}
|
|
18933
|
-
if (
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
19045
|
+
if (_this10.userSelectionType == 13 || _this10.userSelectionType == 14) {
|
|
19046
|
+
_this10.isNextUser = false;
|
|
19047
|
+
_this10.isDealObject = false;
|
|
19048
|
+
_this10.isDealRole = true;
|
|
19049
|
+
_this10.nextUserflag = true;
|
|
18938
19050
|
}
|
|
18939
|
-
|
|
19051
|
+
_this10.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this10.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
|
|
18940
19052
|
if (res.data.globalNodeType === 'endEvent') {
|
|
18941
|
-
|
|
18942
|
-
|
|
19053
|
+
_this10.isNextUser = false;
|
|
19054
|
+
_this10.form.nextUserId = '流程办结';
|
|
18943
19055
|
} else {
|
|
18944
|
-
|
|
19056
|
+
_this10.nodeType != 1 && _this10.nodeType != 2 && (_this10.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
|
|
18945
19057
|
}
|
|
18946
|
-
|
|
18947
|
-
|
|
19058
|
+
_this10.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
|
|
19059
|
+
_this10.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this10.choiceOrgId, _this10.choiceDeptId, _this10.pOrgId);
|
|
18948
19060
|
} else {
|
|
18949
|
-
|
|
19061
|
+
_this10.$toast(res.message);
|
|
18950
19062
|
}
|
|
18951
19063
|
});
|
|
18952
19064
|
},
|
|
18953
19065
|
|
|
18954
19066
|
// 修改默认办理人
|
|
18955
19067
|
changeDefPeople: function changeDefPeople(def, all) {
|
|
18956
|
-
var
|
|
19068
|
+
var _this11 = this;
|
|
18957
19069
|
|
|
18958
19070
|
this.nextUserSelectList = [];
|
|
18959
19071
|
if (def == 1 && all == 1 || def == 0 && all == 1) {
|
|
@@ -18961,9 +19073,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18961
19073
|
this.nextUserList.map(function (r, i) {
|
|
18962
19074
|
r.showid = r.userId;
|
|
18963
19075
|
r.showname = r.username;
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
ids += r.userId + (i ===
|
|
19076
|
+
_this11.$set(r, 'checked', true);
|
|
19077
|
+
_this11.nextUserSelectList.push(r);
|
|
19078
|
+
ids += r.userId + (i === _this11.nextUserList.length - 1 ? '' : ',');
|
|
18967
19079
|
});
|
|
18968
19080
|
this.form.nextUserId = ids;
|
|
18969
19081
|
} else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
|
|
@@ -19016,8 +19128,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
19016
19128
|
|
|
19017
19129
|
var Handle_component = normalizeComponent(
|
|
19018
19130
|
components_Handlevue_type_script_lang_js,
|
|
19019
|
-
|
|
19020
|
-
|
|
19131
|
+
Handlevue_type_template_id_3f30400a_render,
|
|
19132
|
+
Handlevue_type_template_id_3f30400a_staticRenderFns,
|
|
19021
19133
|
false,
|
|
19022
19134
|
null,
|
|
19023
19135
|
null,
|
|
@@ -20903,8 +21015,8 @@ var supervise_component = normalizeComponent(
|
|
|
20903
21015
|
)
|
|
20904
21016
|
|
|
20905
21017
|
/* harmony default export */ var supervise = (supervise_component.exports);
|
|
20906
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=template&id=
|
|
20907
|
-
var
|
|
21018
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=template&id=c502f2b2
|
|
21019
|
+
var resetvue_type_template_id_c502f2b2_render = function () {
|
|
20908
21020
|
var _vm = this
|
|
20909
21021
|
var _h = _vm.$createElement
|
|
20910
21022
|
var _c = _vm._self._c || _h
|
|
@@ -20913,12 +21025,37 @@ var resetvue_type_template_id_b2f284b2_render = function () {
|
|
|
20913
21025
|
"div",
|
|
20914
21026
|
{ staticClass: "startFlow-content" },
|
|
20915
21027
|
[
|
|
20916
|
-
|
|
20917
|
-
|
|
20918
|
-
|
|
20919
|
-
|
|
20920
|
-
|
|
20921
|
-
|
|
21028
|
+
_c(
|
|
21029
|
+
"div",
|
|
21030
|
+
{ staticStyle: { "border-radius": "5px", overflow: "hidden" } },
|
|
21031
|
+
[
|
|
21032
|
+
_c("em-input", {
|
|
21033
|
+
attrs: { "label-width": "90", label: "标题", readonly: "" },
|
|
21034
|
+
model: {
|
|
21035
|
+
value: _vm.title,
|
|
21036
|
+
callback: function ($$v) {
|
|
21037
|
+
_vm.title = $$v
|
|
21038
|
+
},
|
|
21039
|
+
expression: "title",
|
|
21040
|
+
},
|
|
21041
|
+
}),
|
|
21042
|
+
_c("em-input", {
|
|
21043
|
+
attrs: {
|
|
21044
|
+
"label-width": "90",
|
|
21045
|
+
label: "当前办理节点",
|
|
21046
|
+
readonly: "",
|
|
21047
|
+
},
|
|
21048
|
+
model: {
|
|
21049
|
+
value: _vm.processObj.nodeName,
|
|
21050
|
+
callback: function ($$v) {
|
|
21051
|
+
_vm.$set(_vm.processObj, "nodeName", $$v)
|
|
21052
|
+
},
|
|
21053
|
+
expression: "processObj.nodeName",
|
|
21054
|
+
},
|
|
21055
|
+
}),
|
|
21056
|
+
],
|
|
21057
|
+
1
|
|
21058
|
+
),
|
|
20922
21059
|
_vm.showOpinion
|
|
20923
21060
|
? _c("Opinion", {
|
|
20924
21061
|
attrs: {
|
|
@@ -21180,11 +21317,11 @@ var resetvue_type_template_id_b2f284b2_render = function () {
|
|
|
21180
21317
|
]),
|
|
21181
21318
|
])
|
|
21182
21319
|
}
|
|
21183
|
-
var
|
|
21184
|
-
|
|
21320
|
+
var resetvue_type_template_id_c502f2b2_staticRenderFns = []
|
|
21321
|
+
resetvue_type_template_id_c502f2b2_render._withStripped = true
|
|
21185
21322
|
|
|
21186
21323
|
|
|
21187
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=
|
|
21324
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=c502f2b2
|
|
21188
21325
|
|
|
21189
21326
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/reset.vue?vue&type=script&lang=js
|
|
21190
21327
|
var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
@@ -21381,6 +21518,7 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21381
21518
|
orgId: String,
|
|
21382
21519
|
depId: String,
|
|
21383
21520
|
appId: String,
|
|
21521
|
+
type: String,
|
|
21384
21522
|
paddingTop: {
|
|
21385
21523
|
type: [String, Number],
|
|
21386
21524
|
default: 0
|
|
@@ -21409,10 +21547,6 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21409
21547
|
type: String,
|
|
21410
21548
|
default: ''
|
|
21411
21549
|
},
|
|
21412
|
-
formType: {
|
|
21413
|
-
type: String,
|
|
21414
|
-
default: 'freeStart'
|
|
21415
|
-
},
|
|
21416
21550
|
taskParams: {
|
|
21417
21551
|
type: Object,
|
|
21418
21552
|
default: function _default() {}
|
|
@@ -21424,6 +21558,7 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21424
21558
|
},
|
|
21425
21559
|
data: function data() {
|
|
21426
21560
|
return {
|
|
21561
|
+
title: '',
|
|
21427
21562
|
showOpinion: true,
|
|
21428
21563
|
readOnlyNotificationType: '',
|
|
21429
21564
|
notificationMessageReadOnly: false,
|
|
@@ -21480,9 +21615,7 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21480
21615
|
// hideTempSave: true,
|
|
21481
21616
|
businessId: this.businessId
|
|
21482
21617
|
};
|
|
21483
|
-
|
|
21484
|
-
this.form.opinion = this.opinion;
|
|
21485
|
-
}
|
|
21618
|
+
|
|
21486
21619
|
this.geAllData(obj);
|
|
21487
21620
|
this.getDefNoticeType();
|
|
21488
21621
|
},
|
|
@@ -21591,17 +21724,16 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21591
21724
|
// }
|
|
21592
21725
|
|
|
21593
21726
|
var info = {
|
|
21594
|
-
processDefinitionId: this.
|
|
21727
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
21595
21728
|
nextUserId: this.form.nextUserId,
|
|
21596
21729
|
nextNodeId: this.form.nextNodeId,
|
|
21597
|
-
businessId: this.businessId,
|
|
21730
|
+
businessId: this.processObj.businessId,
|
|
21731
|
+
pendingId: this.processObj.pendingId,
|
|
21598
21732
|
notificationType: Array.isArray(this.form.notificationType) ? '' : this.form.notificationType,
|
|
21599
21733
|
opinion: this.form.opinion,
|
|
21600
21734
|
customLimitTime: resetvue_type_script_lang_js_typeof(this.form.customLimitTime) === 'object' ? this.form.customLimitTime.cciValue : this.form.customLimitTime,
|
|
21601
|
-
nodeId: this.form.nodeId,
|
|
21602
21735
|
notificationMsg: this.form.notificationMsg,
|
|
21603
21736
|
loginType: 2, //登录方式
|
|
21604
|
-
isImageOpinion: this.form.isImageOpinion,
|
|
21605
21737
|
userId: this.userId || util["a" /* default */].getStorage('userId'),
|
|
21606
21738
|
mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
|
|
21607
21739
|
};
|
|
@@ -21618,31 +21750,6 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21618
21750
|
delete info.isCustomPreset;
|
|
21619
21751
|
}
|
|
21620
21752
|
}
|
|
21621
|
-
if (this.isFreeStartFlow || this.formType === 'readTransfer') {
|
|
21622
|
-
var newParm = {};
|
|
21623
|
-
newParm.copyHistory = this.copyHistory === 'needCopyPendedHistory';
|
|
21624
|
-
newParm.startFlowParamJson = info;
|
|
21625
|
-
newParm.startFlowParamJson.businessId = this.businessId; //this.businessId
|
|
21626
|
-
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
21627
|
-
for (var key in this.taskParams) {
|
|
21628
|
-
if (Array.isArray(this.taskParams[key])) {
|
|
21629
|
-
this.taskParams[key] = this.taskParams[key].length > 0 ? this.taskParams[key].join(',') : '';
|
|
21630
|
-
}
|
|
21631
|
-
}
|
|
21632
|
-
|
|
21633
|
-
newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
|
|
21634
|
-
if (this.formType == 'readTransfer') {
|
|
21635
|
-
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(info);
|
|
21636
|
-
newParm.taskReadEndParamJson = JSON.stringify(this.taskParams);
|
|
21637
|
-
delete newParm.copyHistory;
|
|
21638
|
-
delete newParm.startFlowParamJson;
|
|
21639
|
-
delete newParm.submitTaskParamJson;
|
|
21640
|
-
}
|
|
21641
|
-
info = newParm;
|
|
21642
|
-
}
|
|
21643
|
-
if (this.formType == 'freeStart' && !this.isFreeStartFlow) {
|
|
21644
|
-
info.businessId = this.businessId; //this.businessId
|
|
21645
|
-
}
|
|
21646
21753
|
if (this.beforeSubmit) {
|
|
21647
21754
|
this.beforeSubmit(info);
|
|
21648
21755
|
return;
|
|
@@ -21665,23 +21772,15 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21665
21772
|
});
|
|
21666
21773
|
var _that = this;
|
|
21667
21774
|
utils_http({
|
|
21668
|
-
url: (_that.apiBaseUrl || '') +
|
|
21775
|
+
url: (_that.apiBaseUrl || '') + _that.type === 'reset' ? resetProcess : taskContinuation,
|
|
21669
21776
|
type: 'post',
|
|
21670
|
-
params:
|
|
21777
|
+
params: info,
|
|
21671
21778
|
format: false
|
|
21672
21779
|
}).then(function (res) {
|
|
21673
21780
|
_this4.$toast.clear();
|
|
21674
21781
|
if (res.rCode == 0 || res.status == 'success') {
|
|
21675
21782
|
_this4.$toast('操作成功');
|
|
21676
|
-
|
|
21677
|
-
_this4.$emit('closePop');
|
|
21678
|
-
} else {
|
|
21679
|
-
if (_that.formType == 'freeStart') {
|
|
21680
|
-
_that.$emit('success');
|
|
21681
|
-
} else {
|
|
21682
|
-
_that.$parent.$emit('success');
|
|
21683
|
-
}
|
|
21684
|
-
}
|
|
21783
|
+
_that.$parent.$emit('success');
|
|
21685
21784
|
} else {
|
|
21686
21785
|
_this4.$toast(res.msg);
|
|
21687
21786
|
setTimeout(function () {
|
|
@@ -21750,6 +21849,7 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21750
21849
|
|
|
21751
21850
|
// 确认下一步操作
|
|
21752
21851
|
onConfirmNext: function onConfirmNext(val) {
|
|
21852
|
+
console.log(val, 'vaaav');
|
|
21753
21853
|
this.form.nextName = val.itemName;
|
|
21754
21854
|
this.nodeList = val.list;
|
|
21755
21855
|
this.form.nextNodeId = val.list[0].nodeId;
|
|
@@ -21764,6 +21864,14 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21764
21864
|
this.form.nextNodeId = val.nodeId;
|
|
21765
21865
|
this.form.nextNodeName = val.nodeName;
|
|
21766
21866
|
this.showNextNodeList = false;
|
|
21867
|
+
this.nextUserSelectList = [];
|
|
21868
|
+
this.$toast.loading({
|
|
21869
|
+
message: '加载中...',
|
|
21870
|
+
forbidClick: true,
|
|
21871
|
+
loadingType: 'spinner',
|
|
21872
|
+
overlay: true,
|
|
21873
|
+
duration: 0
|
|
21874
|
+
});
|
|
21767
21875
|
this.getPeopleObj(this.form.nextNodeId);
|
|
21768
21876
|
},
|
|
21769
21877
|
|
|
@@ -21782,15 +21890,17 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21782
21890
|
// 获取发起流程信息
|
|
21783
21891
|
getProcessObj: function getProcessObj(res) {
|
|
21784
21892
|
var that = this;
|
|
21893
|
+
var url = that.type === 'reset' ? toResetProcessIndex : toTaskContinuationIndex;
|
|
21785
21894
|
return new Promise(function (resolve, reiect) {
|
|
21786
21895
|
utils_http({
|
|
21787
|
-
url: that.apiBaseUrl ? that.apiBaseUrl +
|
|
21896
|
+
url: that.apiBaseUrl ? that.apiBaseUrl + url : url,
|
|
21788
21897
|
params: {
|
|
21789
21898
|
appId: that.appId,
|
|
21790
21899
|
userId: that.userId || util["a" /* default */].getStorage('userId')
|
|
21791
21900
|
}
|
|
21792
21901
|
}).then(function (res) {
|
|
21793
21902
|
if (res.rCode == 0 || res.status == 'success') {
|
|
21903
|
+
that.title = res.data.pendtitle || res.data.taskExamine.businessName;
|
|
21794
21904
|
that.isCurrentNodeForbiddenChangeCandidate = res.data.nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
21795
21905
|
that.processObj = res.data.taskExamine;
|
|
21796
21906
|
that.isOpinionRequired = res.data.nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
@@ -21808,6 +21918,27 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21808
21918
|
that.nodeList.push({ nodeName: obj[key], nodeId: key });
|
|
21809
21919
|
}
|
|
21810
21920
|
}
|
|
21921
|
+
if (res.data.taskNodeList && res.data.taskNodeList.length > 0) {
|
|
21922
|
+
for (var _key in res.data.taskNodeList[0]) {
|
|
21923
|
+
that.nodeList.push({
|
|
21924
|
+
nodeName: res.data.taskNodeList[0][_key],
|
|
21925
|
+
nodeId: _key
|
|
21926
|
+
});
|
|
21927
|
+
}
|
|
21928
|
+
} else {
|
|
21929
|
+
for (var _key2 in res.data.taskNodeMap) {
|
|
21930
|
+
that.nodeList.push({
|
|
21931
|
+
nodeName: res.data.taskNodeMap[_key2],
|
|
21932
|
+
nodeId: _key2
|
|
21933
|
+
});
|
|
21934
|
+
}
|
|
21935
|
+
}
|
|
21936
|
+
// if (res.data.taskNodeMap && res.data.taskNodeMap.length > 0) {
|
|
21937
|
+
// let obj = res.data.taskNodeMap;
|
|
21938
|
+
// for (let key in obj) {
|
|
21939
|
+
// that.nodeList.push({ nodeName: obj[key], nodeId: key });
|
|
21940
|
+
// }
|
|
21941
|
+
// }
|
|
21811
21942
|
|
|
21812
21943
|
that.form.nextNodeId = that.nodeList[0].nodeId;
|
|
21813
21944
|
that.form.nextNodeName = that.nodeList[0].nodeName;
|
|
@@ -21832,29 +21963,37 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21832
21963
|
utils_http({
|
|
21833
21964
|
url: _that.apiBaseUrl ? _that.apiBaseUrl + api_getNodeInfo : api_getNodeInfo,
|
|
21834
21965
|
params: {
|
|
21835
|
-
params: {
|
|
21836
|
-
|
|
21837
|
-
|
|
21838
|
-
|
|
21839
|
-
|
|
21840
|
-
|
|
21966
|
+
// params: {
|
|
21967
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
21968
|
+
nextNodeId: res,
|
|
21969
|
+
businessId: this.processObj.businessId,
|
|
21970
|
+
// taskId: this.processObj.taskId,
|
|
21971
|
+
pendingId: this.processObj.pendingId,
|
|
21972
|
+
userId: _that.userId
|
|
21973
|
+
// }
|
|
21841
21974
|
}
|
|
21842
21975
|
}).then(function (res) {
|
|
21843
21976
|
_this5.$toast.clear();
|
|
21844
|
-
if (res.rCode == 0) {
|
|
21845
|
-
_that.isCustomUser = res.data.
|
|
21846
|
-
_this5.peopleObj = res.data.
|
|
21977
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
21978
|
+
_that.isCustomUser = res.data.nodeExtAttr.isCustomUser;
|
|
21979
|
+
_this5.peopleObj = res.data.nodeExtAttr;
|
|
21980
|
+
_this5.nextUserList = res.data.nextUserList.map(function (x) {
|
|
21981
|
+
return {
|
|
21982
|
+
showname: x.username,
|
|
21983
|
+
showid: x.userId
|
|
21984
|
+
};
|
|
21985
|
+
});
|
|
21847
21986
|
_that.enableCustomLimitTimeSetting = _this5.peopleObj.enableCustomLimitTimeSetting == 1;
|
|
21848
|
-
if (res.data.
|
|
21849
|
-
_this5.treeType = res.data.
|
|
21850
|
-
if (res.data.
|
|
21987
|
+
if (res.data.nodeExtAttr.userSelectionType) {
|
|
21988
|
+
_this5.treeType = res.data.nodeExtAttr.userSelectionType;
|
|
21989
|
+
if (res.data.nodeExtAttr) {
|
|
21851
21990
|
var idStr = '';
|
|
21852
|
-
if (res.data.
|
|
21991
|
+
if (res.data.nodeExtAttr.isDefSelectedObj == 1 && _this5.nextUserList.length > 0) {
|
|
21853
21992
|
_this5.nextUserList[0].checked = true;
|
|
21854
21993
|
_this5.nextUserSelectList = [_this5.nextUserList[0]];
|
|
21855
21994
|
idStr = _this5.nextUserSelectList[0].showid;
|
|
21856
21995
|
}
|
|
21857
|
-
if (res.data.
|
|
21996
|
+
if (res.data.nodeExtAttr.isSelectedAllObj == 1 && _this5.nextUserList.length > 0) {
|
|
21858
21997
|
_this5.nextUserSelectList = [];
|
|
21859
21998
|
idStr = '';
|
|
21860
21999
|
_this5.nextUserList.map(function (x) {
|
|
@@ -21887,8 +22026,8 @@ var resetvue_type_script_lang_js_typeof = typeof Symbol === "function" && typeof
|
|
|
21887
22026
|
|
|
21888
22027
|
var reset_component = normalizeComponent(
|
|
21889
22028
|
components_resetvue_type_script_lang_js,
|
|
21890
|
-
|
|
21891
|
-
|
|
22029
|
+
resetvue_type_template_id_c502f2b2_render,
|
|
22030
|
+
resetvue_type_template_id_c502f2b2_staticRenderFns,
|
|
21892
22031
|
false,
|
|
21893
22032
|
null,
|
|
21894
22033
|
null,
|
|
@@ -21949,6 +22088,7 @@ var reset_component = normalizeComponent(
|
|
|
21949
22088
|
//
|
|
21950
22089
|
//
|
|
21951
22090
|
//
|
|
22091
|
+
//
|
|
21952
22092
|
|
|
21953
22093
|
|
|
21954
22094
|
|
|
@@ -21999,8 +22139,8 @@ var reset_component = normalizeComponent(
|
|
|
21999
22139
|
|
|
22000
22140
|
var flow_src_main_component = normalizeComponent(
|
|
22001
22141
|
packages_flow_src_mainvue_type_script_lang_js,
|
|
22002
|
-
|
|
22003
|
-
|
|
22142
|
+
mainvue_type_template_id_81a61f1c_render,
|
|
22143
|
+
mainvue_type_template_id_81a61f1c_staticRenderFns,
|
|
22004
22144
|
false,
|
|
22005
22145
|
null,
|
|
22006
22146
|
null,
|
|
@@ -27434,7 +27574,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
27434
27574
|
}
|
|
27435
27575
|
|
|
27436
27576
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
27437
|
-
version: '0.3.
|
|
27577
|
+
version: '0.3.17',
|
|
27438
27578
|
install: install,
|
|
27439
27579
|
Button: packages_button,
|
|
27440
27580
|
ButtonGroup: button_group,
|