eoss-mobiles 0.3.15 → 0.3.16
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 +26 -8
- package/lib/config/api.js +14 -2
- package/lib/eoss-mobile.common.js +1312 -60
- package/lib/flow-btn.js +26 -8
- package/lib/flow-list.js +26 -8
- package/lib/flow.js +1329 -71
- package/lib/index.js +1 -1
- package/lib/picker.js +26 -8
- package/lib/radio.js +26 -8
- package/lib/retrial-auth.js +26 -8
- package/lib/selector.js +26 -8
- package/lib/table-column.js +26 -8
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +2 -5
- package/packages/flow/src/components/Message.vue +1 -1
- package/packages/flow/src/components/StartFlow.vue +5 -5
- package/packages/flow/src/components/reset.vue +709 -0
- package/packages/flow/src/components/supervise.vue +118 -0
- package/packages/flow/src/main.vue +16 -0
- package/src/config/api.js +14 -0
- package/src/index.js +1 -1
|
@@ -3275,6 +3275,18 @@ var getProcessDefList = '/bpm/v1/mecpItask/getProcessDefList.json';
|
|
|
3275
3275
|
var startReadTransferHandleFlowWithTaskReadEnd = '/bpm/bpmBackend/startReadTransferHandleFlowWithTaskReadEnd';
|
|
3276
3276
|
// 自由发起流程提交
|
|
3277
3277
|
var freeStartFlowWithSubmitTask = '/bpm/bpmBackend/freeStartFlowWithSubmitTask';
|
|
3278
|
+
// 获取督办页面信息
|
|
3279
|
+
var toTaskSupervise = '/bpm/bpmBackend/toTaskSupervise';
|
|
3280
|
+
// 督办提交
|
|
3281
|
+
var toTaskSuperviseSub = '/bpm/bpmBackend/taskSupervise';
|
|
3282
|
+
// 重设流程
|
|
3283
|
+
var toResetProcessIndex = '/bpm/bpmBackend/toResetProcessIndex';
|
|
3284
|
+
// 提交重设流程
|
|
3285
|
+
var resetProcess = '/bpm/task/taskHandle/resetProcess.dhtml';
|
|
3286
|
+
// 续办流程
|
|
3287
|
+
var toTaskContinuationIndex = '/bpm/bpmBackend/toTaskContinuationIndex';
|
|
3288
|
+
// 续办提交
|
|
3289
|
+
var taskContinuation = '/bpm/task/taskHandle/taskContinuation.dhtml';
|
|
3278
3290
|
// EXTERNAL MODULE: external "axios"
|
|
3279
3291
|
var external_axios_ = __webpack_require__(4);
|
|
3280
3292
|
var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_);
|
|
@@ -12849,8 +12861,8 @@ list_src_main.install = function (Vue) {
|
|
|
12849
12861
|
};
|
|
12850
12862
|
|
|
12851
12863
|
/* harmony default export */ var list = (list_src_main);
|
|
12852
|
-
// 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=
|
|
12853
|
-
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=a746ec3a
|
|
12865
|
+
var mainvue_type_template_id_a746ec3a_render = function () {
|
|
12854
12866
|
var _vm = this
|
|
12855
12867
|
var _h = _vm.$createElement
|
|
12856
12868
|
var _c = _vm._self._c || _h
|
|
@@ -12935,19 +12947,40 @@ var mainvue_type_template_id_1bffef47_render = function () {
|
|
|
12935
12947
|
false
|
|
12936
12948
|
)
|
|
12937
12949
|
)
|
|
12950
|
+
: _vm.type === "supervise"
|
|
12951
|
+
? _c(
|
|
12952
|
+
"Supervise",
|
|
12953
|
+
_vm._b(
|
|
12954
|
+
{ attrs: { userId: _vm.userId, type: _vm.type } },
|
|
12955
|
+
"Supervise",
|
|
12956
|
+
_vm.$attrs,
|
|
12957
|
+
false
|
|
12958
|
+
)
|
|
12959
|
+
)
|
|
12960
|
+
: _vm._e(),
|
|
12961
|
+
_vm.type === "reset" || _vm.type == "continuation"
|
|
12962
|
+
? _c(
|
|
12963
|
+
"Reset",
|
|
12964
|
+
_vm._b(
|
|
12965
|
+
{ attrs: { userId: _vm.userId, beforeSubmit: _vm.beforeSubmit } },
|
|
12966
|
+
"Reset",
|
|
12967
|
+
_vm.$attrs,
|
|
12968
|
+
false
|
|
12969
|
+
)
|
|
12970
|
+
)
|
|
12938
12971
|
: _vm._e(),
|
|
12939
12972
|
],
|
|
12940
12973
|
1
|
|
12941
12974
|
)
|
|
12942
12975
|
}
|
|
12943
|
-
var
|
|
12944
|
-
|
|
12976
|
+
var mainvue_type_template_id_a746ec3a_staticRenderFns = []
|
|
12977
|
+
mainvue_type_template_id_a746ec3a_render._withStripped = true
|
|
12945
12978
|
|
|
12946
12979
|
|
|
12947
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
12980
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=a746ec3a
|
|
12948
12981
|
|
|
12949
|
-
// 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=
|
|
12950
|
-
var
|
|
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=00776333
|
|
12983
|
+
var StartFlowvue_type_template_id_00776333_render = function () {
|
|
12951
12984
|
var _vm = this
|
|
12952
12985
|
var _h = _vm.$createElement
|
|
12953
12986
|
var _c = _vm._self._c || _h
|
|
@@ -13257,11 +13290,11 @@ var StartFlowvue_type_template_id_46cbe8d2_render = function () {
|
|
|
13257
13290
|
]),
|
|
13258
13291
|
])
|
|
13259
13292
|
}
|
|
13260
|
-
var
|
|
13261
|
-
|
|
13293
|
+
var StartFlowvue_type_template_id_00776333_staticRenderFns = []
|
|
13294
|
+
StartFlowvue_type_template_id_00776333_render._withStripped = true
|
|
13262
13295
|
|
|
13263
13296
|
|
|
13264
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
13297
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=00776333
|
|
13265
13298
|
|
|
13266
13299
|
// 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
|
|
13267
13300
|
var Opinionvue_type_template_id_4d744373_render = function () {
|
|
@@ -13791,8 +13824,8 @@ var Opinion_component = normalizeComponent(
|
|
|
13791
13824
|
)
|
|
13792
13825
|
|
|
13793
13826
|
/* harmony default export */ var Opinion = (Opinion_component.exports);
|
|
13794
|
-
// 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/Message.vue?vue&type=template&id=
|
|
13795
|
-
var
|
|
13827
|
+
// 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/Message.vue?vue&type=template&id=0e3cd890
|
|
13828
|
+
var Messagevue_type_template_id_0e3cd890_render = function () {
|
|
13796
13829
|
var _vm = this
|
|
13797
13830
|
var _h = _vm.$createElement
|
|
13798
13831
|
var _c = _vm._self._c || _h
|
|
@@ -13880,11 +13913,11 @@ var Messagevue_type_template_id_0946c64a_render = function () {
|
|
|
13880
13913
|
1
|
|
13881
13914
|
)
|
|
13882
13915
|
}
|
|
13883
|
-
var
|
|
13884
|
-
|
|
13916
|
+
var Messagevue_type_template_id_0e3cd890_staticRenderFns = []
|
|
13917
|
+
Messagevue_type_template_id_0e3cd890_render._withStripped = true
|
|
13885
13918
|
|
|
13886
13919
|
|
|
13887
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=
|
|
13920
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Message.vue?vue&type=template&id=0e3cd890
|
|
13888
13921
|
|
|
13889
13922
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Message.vue?vue&type=script&lang=js
|
|
13890
13923
|
//
|
|
@@ -14006,7 +14039,7 @@ Messagevue_type_template_id_0946c64a_render._withStripped = true
|
|
|
14006
14039
|
},
|
|
14007
14040
|
// 监听默认消息类型
|
|
14008
14041
|
defaultNotificationType: function defaultNotificationType(val) {
|
|
14009
|
-
|
|
14042
|
+
console.log(val);
|
|
14010
14043
|
if (val) {
|
|
14011
14044
|
var arr = [];
|
|
14012
14045
|
this.newList.map(function (item) {
|
|
@@ -14104,8 +14137,8 @@ Messagevue_type_template_id_0946c64a_render._withStripped = true
|
|
|
14104
14137
|
|
|
14105
14138
|
var Message_component = normalizeComponent(
|
|
14106
14139
|
components_Messagevue_type_script_lang_js,
|
|
14107
|
-
|
|
14108
|
-
|
|
14140
|
+
Messagevue_type_template_id_0e3cd890_render,
|
|
14141
|
+
Messagevue_type_template_id_0e3cd890_staticRenderFns,
|
|
14109
14142
|
false,
|
|
14110
14143
|
null,
|
|
14111
14144
|
null,
|
|
@@ -14810,7 +14843,7 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
14810
14843
|
},
|
|
14811
14844
|
formType: {
|
|
14812
14845
|
type: String,
|
|
14813
|
-
default: '
|
|
14846
|
+
default: ''
|
|
14814
14847
|
},
|
|
14815
14848
|
taskParams: {
|
|
14816
14849
|
type: Object,
|
|
@@ -15047,11 +15080,11 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
15047
15080
|
if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
|
|
15048
15081
|
_this2.$emit('closePop');
|
|
15049
15082
|
} else {
|
|
15050
|
-
if
|
|
15051
|
-
|
|
15052
|
-
}
|
|
15053
|
-
|
|
15054
|
-
}
|
|
15083
|
+
// if(_that.formType == 'freeStart'){
|
|
15084
|
+
// _that.$emit('success');
|
|
15085
|
+
// }else{
|
|
15086
|
+
_that.$parent.$emit('success');
|
|
15087
|
+
// }
|
|
15055
15088
|
}
|
|
15056
15089
|
} else {
|
|
15057
15090
|
_this2.$toast(res.msg);
|
|
@@ -15281,8 +15314,8 @@ var StartFlowvue_type_script_lang_js_typeof = typeof Symbol === "function" && ty
|
|
|
15281
15314
|
|
|
15282
15315
|
var StartFlow_component = normalizeComponent(
|
|
15283
15316
|
components_StartFlowvue_type_script_lang_js,
|
|
15284
|
-
|
|
15285
|
-
|
|
15317
|
+
StartFlowvue_type_template_id_00776333_render,
|
|
15318
|
+
StartFlowvue_type_template_id_00776333_staticRenderFns,
|
|
15286
15319
|
false,
|
|
15287
15320
|
null,
|
|
15288
15321
|
null,
|
|
@@ -15291,8 +15324,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
15291
15324
|
)
|
|
15292
15325
|
|
|
15293
15326
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
15294
|
-
// 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=
|
|
15295
|
-
var
|
|
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=2f778f92
|
|
15328
|
+
var Handlevue_type_template_id_2f778f92_render = function () {
|
|
15296
15329
|
var _vm = this
|
|
15297
15330
|
var _h = _vm.$createElement
|
|
15298
15331
|
var _c = _vm._self._c || _h
|
|
@@ -15319,7 +15352,6 @@ var Handlevue_type_template_id_12279880_render = function () {
|
|
|
15319
15352
|
close: function ($event) {
|
|
15320
15353
|
_vm.showFreeStart = false
|
|
15321
15354
|
},
|
|
15322
|
-
success: _vm.handleSuccess,
|
|
15323
15355
|
closePop: function ($event) {
|
|
15324
15356
|
_vm.showFreeStart = false
|
|
15325
15357
|
},
|
|
@@ -16629,11 +16661,11 @@ var Handlevue_type_template_id_12279880_render = function () {
|
|
|
16629
16661
|
1
|
|
16630
16662
|
)
|
|
16631
16663
|
}
|
|
16632
|
-
var
|
|
16633
|
-
|
|
16664
|
+
var Handlevue_type_template_id_2f778f92_staticRenderFns = []
|
|
16665
|
+
Handlevue_type_template_id_2f778f92_render._withStripped = true
|
|
16634
16666
|
|
|
16635
16667
|
|
|
16636
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
16668
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=2f778f92
|
|
16637
16669
|
|
|
16638
16670
|
// 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
|
|
16639
16671
|
var Rejectvue_type_template_id_46f10c43_render = function () {
|
|
@@ -17861,7 +17893,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
17861
17893
|
//
|
|
17862
17894
|
//
|
|
17863
17895
|
//
|
|
17864
|
-
//
|
|
17865
17896
|
|
|
17866
17897
|
|
|
17867
17898
|
|
|
@@ -17920,7 +17951,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
17920
17951
|
return _ref = {
|
|
17921
17952
|
AddSignList: [{ name: '前置加签', value: 'preAddSign' }, { name: '后置加签', value: 'postAddSign' }],
|
|
17922
17953
|
otherOrgDisabledObjId: [],
|
|
17923
|
-
processFormType:
|
|
17954
|
+
processFormType: 'freeStart',
|
|
17924
17955
|
currentOrgDisabledObjId: [],
|
|
17925
17956
|
nextNodeDefault: 0,
|
|
17926
17957
|
showDefList: false,
|
|
@@ -18057,9 +18088,6 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18057
18088
|
}
|
|
18058
18089
|
},
|
|
18059
18090
|
methods: {
|
|
18060
|
-
handleSuccess: function handleSuccess() {
|
|
18061
|
-
this.$parent.$emit('success');
|
|
18062
|
-
},
|
|
18063
18091
|
handleClickDefList: function handleClickDefList(info) {
|
|
18064
18092
|
this.freeStartFlowParams.defId = info.defId;
|
|
18065
18093
|
this.showFreeStart = true;
|
|
@@ -18988,8 +19016,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
18988
19016
|
|
|
18989
19017
|
var Handle_component = normalizeComponent(
|
|
18990
19018
|
components_Handlevue_type_script_lang_js,
|
|
18991
|
-
|
|
18992
|
-
|
|
19019
|
+
Handlevue_type_template_id_2f778f92_render,
|
|
19020
|
+
Handlevue_type_template_id_2f778f92_staticRenderFns,
|
|
18993
19021
|
false,
|
|
18994
19022
|
null,
|
|
18995
19023
|
null,
|
|
@@ -20661,24 +20689,76 @@ var taskUnionExamine_component = normalizeComponent(
|
|
|
20661
20689
|
)
|
|
20662
20690
|
|
|
20663
20691
|
/* harmony default export */ var components_taskUnionExamine = (taskUnionExamine_component.exports);
|
|
20664
|
-
// CONCATENATED MODULE: ./node_modules/
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20671
|
-
|
|
20672
|
-
|
|
20673
|
-
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
|
|
20692
|
+
// 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/supervise.vue?vue&type=template&id=3c4c1f3e
|
|
20693
|
+
var supervisevue_type_template_id_3c4c1f3e_render = function () {
|
|
20694
|
+
var _vm = this
|
|
20695
|
+
var _h = _vm.$createElement
|
|
20696
|
+
var _c = _vm._self._c || _h
|
|
20697
|
+
return _c(
|
|
20698
|
+
"div",
|
|
20699
|
+
{ staticClass: "flow-supervise" },
|
|
20700
|
+
[
|
|
20701
|
+
_c("em-input", {
|
|
20702
|
+
attrs: { "label-width": "90", label: "标题", readonly: "" },
|
|
20703
|
+
model: {
|
|
20704
|
+
value: _vm.form.pendTitle,
|
|
20705
|
+
callback: function ($$v) {
|
|
20706
|
+
_vm.$set(_vm.form, "pendTitle", $$v)
|
|
20707
|
+
},
|
|
20708
|
+
expression: "form.pendTitle",
|
|
20709
|
+
},
|
|
20710
|
+
}),
|
|
20711
|
+
_c("em-input", {
|
|
20712
|
+
attrs: { "label-width": "90", label: "当前办理节点", readonly: "" },
|
|
20713
|
+
model: {
|
|
20714
|
+
value: _vm.form.currentHandleNode,
|
|
20715
|
+
callback: function ($$v) {
|
|
20716
|
+
_vm.$set(_vm.form, "currentHandleNode", $$v)
|
|
20717
|
+
},
|
|
20718
|
+
expression: "form.currentHandleNode",
|
|
20719
|
+
},
|
|
20720
|
+
}),
|
|
20721
|
+
_c("em-input", {
|
|
20722
|
+
attrs: { "label-width": "90", label: "当前办理人", readonly: "" },
|
|
20723
|
+
model: {
|
|
20724
|
+
value: _vm.form.pendingUserNames,
|
|
20725
|
+
callback: function ($$v) {
|
|
20726
|
+
_vm.$set(_vm.form, "pendingUserNames", $$v)
|
|
20727
|
+
},
|
|
20728
|
+
expression: "form.pendingUserNames",
|
|
20729
|
+
},
|
|
20730
|
+
}),
|
|
20731
|
+
_c("Message", {
|
|
20732
|
+
ref: "message",
|
|
20733
|
+
attrs: {
|
|
20734
|
+
code: "notification_type",
|
|
20735
|
+
baseUrl: _vm.baseUrl,
|
|
20736
|
+
showMsg: true,
|
|
20737
|
+
defaultNotificationType: _vm.form.noticeType,
|
|
20738
|
+
defaultNotificationMsg: _vm.form.notifyMessage,
|
|
20739
|
+
onlyShowType: "",
|
|
20740
|
+
},
|
|
20741
|
+
on: { onInputMsg: _vm.onInputMsg },
|
|
20742
|
+
}),
|
|
20743
|
+
_c("div", { staticClass: "btn-list" }, [
|
|
20744
|
+
_c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
|
|
20745
|
+
_vm._v("取消"),
|
|
20746
|
+
]),
|
|
20747
|
+
_c("div", { staticClass: "btn", on: { click: _vm.onSubmit } }, [
|
|
20748
|
+
_vm._v("确定"),
|
|
20749
|
+
]),
|
|
20750
|
+
]),
|
|
20751
|
+
],
|
|
20752
|
+
1
|
|
20753
|
+
)
|
|
20754
|
+
}
|
|
20755
|
+
var supervisevue_type_template_id_3c4c1f3e_staticRenderFns = []
|
|
20756
|
+
supervisevue_type_template_id_3c4c1f3e_render._withStripped = true
|
|
20757
|
+
|
|
20758
|
+
|
|
20759
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=template&id=3c4c1f3e
|
|
20760
|
+
|
|
20761
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/supervise.vue?vue&type=script&lang=js
|
|
20682
20762
|
//
|
|
20683
20763
|
//
|
|
20684
20764
|
//
|
|
@@ -20706,6 +20786,1176 @@ var taskUnionExamine_component = normalizeComponent(
|
|
|
20706
20786
|
|
|
20707
20787
|
|
|
20708
20788
|
|
|
20789
|
+
/* harmony default export */ var supervisevue_type_script_lang_js = ({
|
|
20790
|
+
components: { Message: Message },
|
|
20791
|
+
props: {
|
|
20792
|
+
baseUrl: String,
|
|
20793
|
+
businessId: String
|
|
20794
|
+
},
|
|
20795
|
+
data: function data() {
|
|
20796
|
+
return {
|
|
20797
|
+
form: {
|
|
20798
|
+
title: '123'
|
|
20799
|
+
}
|
|
20800
|
+
};
|
|
20801
|
+
},
|
|
20802
|
+
mounted: function mounted() {
|
|
20803
|
+
this.getFlowInfo();
|
|
20804
|
+
},
|
|
20805
|
+
|
|
20806
|
+
methods: {
|
|
20807
|
+
onSubmit: function onSubmit() {
|
|
20808
|
+
var _this = this;
|
|
20809
|
+
|
|
20810
|
+
console.log('点击了提交');
|
|
20811
|
+
if (this.form.noticeType.length == 0) {
|
|
20812
|
+
this.$toast('请选择通知方式');
|
|
20813
|
+
return;
|
|
20814
|
+
}
|
|
20815
|
+
if (!this.form.notificationMsg) {
|
|
20816
|
+
this.$toast('请填写通知消息内容');
|
|
20817
|
+
return;
|
|
20818
|
+
}
|
|
20819
|
+
var _form = this.form,
|
|
20820
|
+
noticeType = _form.noticeType,
|
|
20821
|
+
notificationMsg = _form.notificationMsg,
|
|
20822
|
+
pendingUserIds = _form.pendingUserIds;
|
|
20823
|
+
|
|
20824
|
+
var params = {
|
|
20825
|
+
url: toTaskSuperviseSub,
|
|
20826
|
+
params: {
|
|
20827
|
+
userId: util["a" /* default */].getStorage('userId'),
|
|
20828
|
+
urgeUserIds: pendingUserIds,
|
|
20829
|
+
notificationType: noticeType, notificationMessage: notificationMsg,
|
|
20830
|
+
businessId: this.businessId
|
|
20831
|
+
}
|
|
20832
|
+
};
|
|
20833
|
+
this.$toast.loading({
|
|
20834
|
+
duration: 0,
|
|
20835
|
+
forbidClick: true,
|
|
20836
|
+
message: '提交中...'
|
|
20837
|
+
});
|
|
20838
|
+
utils_http(params).then(function (res) {
|
|
20839
|
+
_this.$toast.clear();
|
|
20840
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
20841
|
+
_this.$toast('提交成功');
|
|
20842
|
+
_this.$parent.$emit('success');
|
|
20843
|
+
} else {
|
|
20844
|
+
_this.$message.error(res.message || '系统错误,请联系管理员!');
|
|
20845
|
+
}
|
|
20846
|
+
});
|
|
20847
|
+
},
|
|
20848
|
+
goBack: function goBack() {
|
|
20849
|
+
this.$parent.$emit('close');
|
|
20850
|
+
},
|
|
20851
|
+
getFlowInfo: function getFlowInfo() {
|
|
20852
|
+
var _this2 = this;
|
|
20853
|
+
|
|
20854
|
+
this.$toast.loading({
|
|
20855
|
+
duration: 0,
|
|
20856
|
+
forbidClick: true,
|
|
20857
|
+
message: '加载中...'
|
|
20858
|
+
});
|
|
20859
|
+
utils_http({
|
|
20860
|
+
url: toTaskSupervise,
|
|
20861
|
+
params: {
|
|
20862
|
+
businessId: this.businessId,
|
|
20863
|
+
userId: util["a" /* default */].getStorage('userId')
|
|
20864
|
+
}
|
|
20865
|
+
}).then(function (res) {
|
|
20866
|
+
_this2.$toast.clear();
|
|
20867
|
+
if (res.rCode == 0) {
|
|
20868
|
+
_this2.form = res.results;
|
|
20869
|
+
_this2.form.noticeType = res.results.defaultNotificationType.split(',');
|
|
20870
|
+
} else {
|
|
20871
|
+
_this2.$toast(res.msg);
|
|
20872
|
+
_this2.goBack();
|
|
20873
|
+
}
|
|
20874
|
+
});
|
|
20875
|
+
},
|
|
20876
|
+
|
|
20877
|
+
// 通知消息回调
|
|
20878
|
+
onInputMsg: function onInputMsg(obj) {
|
|
20879
|
+
this.form.noticeType = obj.notificationType.join(',');
|
|
20880
|
+
this.form.notificationMsg = obj.notificationMsg;
|
|
20881
|
+
}
|
|
20882
|
+
}
|
|
20883
|
+
});
|
|
20884
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue?vue&type=script&lang=js
|
|
20885
|
+
/* harmony default export */ var components_supervisevue_type_script_lang_js = (supervisevue_type_script_lang_js);
|
|
20886
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/supervise.vue
|
|
20887
|
+
|
|
20888
|
+
|
|
20889
|
+
|
|
20890
|
+
|
|
20891
|
+
|
|
20892
|
+
/* normalize component */
|
|
20893
|
+
|
|
20894
|
+
var supervise_component = normalizeComponent(
|
|
20895
|
+
components_supervisevue_type_script_lang_js,
|
|
20896
|
+
supervisevue_type_template_id_3c4c1f3e_render,
|
|
20897
|
+
supervisevue_type_template_id_3c4c1f3e_staticRenderFns,
|
|
20898
|
+
false,
|
|
20899
|
+
null,
|
|
20900
|
+
null,
|
|
20901
|
+
null
|
|
20902
|
+
|
|
20903
|
+
)
|
|
20904
|
+
|
|
20905
|
+
/* 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=b2f284b2
|
|
20907
|
+
var resetvue_type_template_id_b2f284b2_render = function () {
|
|
20908
|
+
var _vm = this
|
|
20909
|
+
var _h = _vm.$createElement
|
|
20910
|
+
var _c = _vm._self._c || _h
|
|
20911
|
+
return _c("div", { staticClass: "process-start" }, [
|
|
20912
|
+
_c(
|
|
20913
|
+
"div",
|
|
20914
|
+
{ staticClass: "startFlow-content" },
|
|
20915
|
+
[
|
|
20916
|
+
_vm.showPresentNode
|
|
20917
|
+
? _c("div", { staticClass: "present-node" }, [
|
|
20918
|
+
_c("div", { staticClass: "label" }, [_vm._v("当前节点:")]),
|
|
20919
|
+
_c("div", [_vm._v(_vm._s(_vm.processObj.nodeName))]),
|
|
20920
|
+
])
|
|
20921
|
+
: _vm._e(),
|
|
20922
|
+
_vm.showOpinion
|
|
20923
|
+
? _c("Opinion", {
|
|
20924
|
+
attrs: {
|
|
20925
|
+
code: _vm.processObj.attachedCode,
|
|
20926
|
+
ownId: _vm.businessId,
|
|
20927
|
+
esign: _vm.esign,
|
|
20928
|
+
oldOpinion: _vm.form.opinion,
|
|
20929
|
+
esignLineWidth:
|
|
20930
|
+
_vm.$attrs["esign-line-width"] ||
|
|
20931
|
+
_vm.$attrs["esignLineWidth"],
|
|
20932
|
+
isFile: false,
|
|
20933
|
+
baseUrl: _vm.baseUrl,
|
|
20934
|
+
isOpinionRequired: _vm.isOpinionRequired,
|
|
20935
|
+
disabled: _vm.isBanInputOpinion != 0,
|
|
20936
|
+
},
|
|
20937
|
+
on: { onInputOpintion: _vm.onInputOpintion },
|
|
20938
|
+
})
|
|
20939
|
+
: _vm._e(),
|
|
20940
|
+
_c("div", { staticClass: "input-box" }, [
|
|
20941
|
+
_c(
|
|
20942
|
+
"div",
|
|
20943
|
+
[
|
|
20944
|
+
_c(
|
|
20945
|
+
"div",
|
|
20946
|
+
{
|
|
20947
|
+
directives: [
|
|
20948
|
+
{
|
|
20949
|
+
name: "show",
|
|
20950
|
+
rawName: "v-show",
|
|
20951
|
+
value: _vm.isNextBox,
|
|
20952
|
+
expression: "isNextBox",
|
|
20953
|
+
},
|
|
20954
|
+
],
|
|
20955
|
+
staticClass: "next-box",
|
|
20956
|
+
},
|
|
20957
|
+
[
|
|
20958
|
+
_c(
|
|
20959
|
+
"div",
|
|
20960
|
+
{ staticClass: "item" },
|
|
20961
|
+
[
|
|
20962
|
+
_c("em-picker", {
|
|
20963
|
+
attrs: {
|
|
20964
|
+
title: "下步节点",
|
|
20965
|
+
label: "下步节点",
|
|
20966
|
+
required: "",
|
|
20967
|
+
"show-toolbar": "",
|
|
20968
|
+
"label-width": "100%",
|
|
20969
|
+
columns: _vm.nodeList,
|
|
20970
|
+
"value-key": "nodeId",
|
|
20971
|
+
"label-key": "nodeName",
|
|
20972
|
+
},
|
|
20973
|
+
on: {
|
|
20974
|
+
confirm: _vm.onConfirmNextNode,
|
|
20975
|
+
cancel: function ($event) {
|
|
20976
|
+
_vm.showNextNodeList = false
|
|
20977
|
+
},
|
|
20978
|
+
},
|
|
20979
|
+
model: {
|
|
20980
|
+
value: _vm.form.nextNodeName,
|
|
20981
|
+
callback: function ($$v) {
|
|
20982
|
+
_vm.$set(_vm.form, "nextNodeName", $$v)
|
|
20983
|
+
},
|
|
20984
|
+
expression: "form.nextNodeName",
|
|
20985
|
+
},
|
|
20986
|
+
}),
|
|
20987
|
+
],
|
|
20988
|
+
1
|
|
20989
|
+
),
|
|
20990
|
+
]
|
|
20991
|
+
),
|
|
20992
|
+
_c(
|
|
20993
|
+
"div",
|
|
20994
|
+
{ staticClass: "item item-two-line" },
|
|
20995
|
+
[
|
|
20996
|
+
_c("em-selector", {
|
|
20997
|
+
attrs: {
|
|
20998
|
+
multiple: !_vm.isRadio,
|
|
20999
|
+
isAllCheck: _vm.isAllCheck,
|
|
21000
|
+
required: "",
|
|
21001
|
+
param: {
|
|
21002
|
+
pid: _vm.pid,
|
|
21003
|
+
onlyMyOrg: false,
|
|
21004
|
+
},
|
|
21005
|
+
disabled:
|
|
21006
|
+
!_vm.isCustomUser ||
|
|
21007
|
+
_vm.isCurrentNodeForbiddenChangeCandidate == 1,
|
|
21008
|
+
baseUrl: _vm.apiBaseUrl,
|
|
21009
|
+
paddingTop: _vm.paddingTop,
|
|
21010
|
+
objType: _vm.objType,
|
|
21011
|
+
nextUserList: _vm.nextUserList,
|
|
21012
|
+
label: "办理人",
|
|
21013
|
+
},
|
|
21014
|
+
on: {
|
|
21015
|
+
change: function ($event) {
|
|
21016
|
+
_vm.handleChange($event, "nextUserSelectList")
|
|
21017
|
+
},
|
|
21018
|
+
},
|
|
21019
|
+
model: {
|
|
21020
|
+
value: _vm.nextUserSelectList,
|
|
21021
|
+
callback: function ($$v) {
|
|
21022
|
+
_vm.nextUserSelectList = $$v
|
|
21023
|
+
},
|
|
21024
|
+
expression: "nextUserSelectList",
|
|
21025
|
+
},
|
|
21026
|
+
}),
|
|
21027
|
+
],
|
|
21028
|
+
1
|
|
21029
|
+
),
|
|
21030
|
+
_vm.enableCustomLimitTimeSetting
|
|
21031
|
+
? _c(
|
|
21032
|
+
"div",
|
|
21033
|
+
{ staticClass: "item" },
|
|
21034
|
+
[
|
|
21035
|
+
!_vm.showCustomLimitTimeText
|
|
21036
|
+
? _c(
|
|
21037
|
+
"em-picker",
|
|
21038
|
+
{
|
|
21039
|
+
attrs: {
|
|
21040
|
+
label: "限时办理",
|
|
21041
|
+
title: "限时办理",
|
|
21042
|
+
placeholder: "请选择",
|
|
21043
|
+
sysAppCode: "bpm_custom_limit_time",
|
|
21044
|
+
"show-toolbar": "",
|
|
21045
|
+
},
|
|
21046
|
+
model: {
|
|
21047
|
+
value: _vm.form.customLimitTime,
|
|
21048
|
+
callback: function ($$v) {
|
|
21049
|
+
_vm.$set(_vm.form, "customLimitTime", $$v)
|
|
21050
|
+
},
|
|
21051
|
+
expression: "form.customLimitTime",
|
|
21052
|
+
},
|
|
21053
|
+
},
|
|
21054
|
+
[
|
|
21055
|
+
_c(
|
|
21056
|
+
"template",
|
|
21057
|
+
{ slot: "button" },
|
|
21058
|
+
[
|
|
21059
|
+
_c(
|
|
21060
|
+
"em-button",
|
|
21061
|
+
{
|
|
21062
|
+
attrs: { size: "small", type: "primary" },
|
|
21063
|
+
on: {
|
|
21064
|
+
click: function () {
|
|
21065
|
+
_vm.form.customLimitTime = ""
|
|
21066
|
+
_vm.showCustomLimitTimeText =
|
|
21067
|
+
!_vm.showCustomLimitTimeText
|
|
21068
|
+
},
|
|
21069
|
+
},
|
|
21070
|
+
},
|
|
21071
|
+
[_vm._v("切换文本框")]
|
|
21072
|
+
),
|
|
21073
|
+
],
|
|
21074
|
+
1
|
|
21075
|
+
),
|
|
21076
|
+
],
|
|
21077
|
+
2
|
|
21078
|
+
)
|
|
21079
|
+
: _c(
|
|
21080
|
+
"em-input",
|
|
21081
|
+
{
|
|
21082
|
+
attrs: {
|
|
21083
|
+
center: "",
|
|
21084
|
+
label: "限时办理",
|
|
21085
|
+
clearable: "",
|
|
21086
|
+
placeholder: "请输入限时办理天数",
|
|
21087
|
+
},
|
|
21088
|
+
on: { change: _vm.changeCustomLimitTime },
|
|
21089
|
+
model: {
|
|
21090
|
+
value: _vm.form.customLimitTime,
|
|
21091
|
+
callback: function ($$v) {
|
|
21092
|
+
_vm.$set(_vm.form, "customLimitTime", $$v)
|
|
21093
|
+
},
|
|
21094
|
+
expression: "form.customLimitTime",
|
|
21095
|
+
},
|
|
21096
|
+
},
|
|
21097
|
+
[
|
|
21098
|
+
_c(
|
|
21099
|
+
"template",
|
|
21100
|
+
{ slot: "button" },
|
|
21101
|
+
[
|
|
21102
|
+
_c(
|
|
21103
|
+
"em-button",
|
|
21104
|
+
{
|
|
21105
|
+
attrs: { size: "small", type: "primary" },
|
|
21106
|
+
on: {
|
|
21107
|
+
click: function () {
|
|
21108
|
+
_vm.form.customLimitTime = ""
|
|
21109
|
+
_vm.showCustomLimitTimeText =
|
|
21110
|
+
!_vm.showCustomLimitTimeText
|
|
21111
|
+
},
|
|
21112
|
+
},
|
|
21113
|
+
},
|
|
21114
|
+
[_vm._v("切换选择框")]
|
|
21115
|
+
),
|
|
21116
|
+
],
|
|
21117
|
+
1
|
|
21118
|
+
),
|
|
21119
|
+
],
|
|
21120
|
+
2
|
|
21121
|
+
),
|
|
21122
|
+
],
|
|
21123
|
+
1
|
|
21124
|
+
)
|
|
21125
|
+
: _vm._e(),
|
|
21126
|
+
_vm.processObj.isCustomPreset && _vm.isPreset
|
|
21127
|
+
? _c("ProcessSetting", {
|
|
21128
|
+
ref: "processSetting",
|
|
21129
|
+
attrs: {
|
|
21130
|
+
processDefinitionId: _vm.processObj.processDefinitionId,
|
|
21131
|
+
customPresetHintMessage:
|
|
21132
|
+
_vm.processObj.customPresetHintMessage,
|
|
21133
|
+
nodeId: _vm.form.nextNodeId,
|
|
21134
|
+
taskId: _vm.processObj.taskId,
|
|
21135
|
+
pendingId: _vm.processObj.pendingId,
|
|
21136
|
+
businessId: _vm.processObj.businessId,
|
|
21137
|
+
apiBaseUrl: _vm.apiBaseUrl,
|
|
21138
|
+
paddingTop: _vm.paddingTop,
|
|
21139
|
+
choiceOrgId: _vm.orgId,
|
|
21140
|
+
pOrgId: _vm.orgId,
|
|
21141
|
+
choiceDeptId: _vm.depId,
|
|
21142
|
+
},
|
|
21143
|
+
})
|
|
21144
|
+
: _vm._e(),
|
|
21145
|
+
_c("Message", {
|
|
21146
|
+
ref: "message",
|
|
21147
|
+
attrs: {
|
|
21148
|
+
code: "notification_type",
|
|
21149
|
+
readOnlyNotificationType: _vm.readOnlyNotificationType,
|
|
21150
|
+
notificationMessageReadOnly: _vm.notificationMessageReadOnly,
|
|
21151
|
+
defaultNotificationMsg: _vm.form.notificationMsg,
|
|
21152
|
+
baseUrl: _vm.baseUrl,
|
|
21153
|
+
defaultNotificationType: _vm.defaultNotificationType,
|
|
21154
|
+
},
|
|
21155
|
+
on: { onInputMsg: _vm.onInputMsg },
|
|
21156
|
+
}),
|
|
21157
|
+
],
|
|
21158
|
+
1
|
|
21159
|
+
),
|
|
21160
|
+
]),
|
|
21161
|
+
],
|
|
21162
|
+
1
|
|
21163
|
+
),
|
|
21164
|
+
_c("div", { staticClass: "btn-list" }, [
|
|
21165
|
+
_c("div", { staticClass: "btn", on: { click: _vm.goBack } }, [
|
|
21166
|
+
_vm._v("取消"),
|
|
21167
|
+
]),
|
|
21168
|
+
_c(
|
|
21169
|
+
"div",
|
|
21170
|
+
{
|
|
21171
|
+
staticClass: "btn",
|
|
21172
|
+
on: {
|
|
21173
|
+
click: function ($event) {
|
|
21174
|
+
_vm.onSubmit()
|
|
21175
|
+
},
|
|
21176
|
+
},
|
|
21177
|
+
},
|
|
21178
|
+
[_vm._v("确定")]
|
|
21179
|
+
),
|
|
21180
|
+
]),
|
|
21181
|
+
])
|
|
21182
|
+
}
|
|
21183
|
+
var resetvue_type_template_id_b2f284b2_staticRenderFns = []
|
|
21184
|
+
resetvue_type_template_id_b2f284b2_render._withStripped = true
|
|
21185
|
+
|
|
21186
|
+
|
|
21187
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=template&id=b2f284b2
|
|
21188
|
+
|
|
21189
|
+
// 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
|
+
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; };
|
|
21191
|
+
|
|
21192
|
+
//
|
|
21193
|
+
//
|
|
21194
|
+
//
|
|
21195
|
+
//
|
|
21196
|
+
//
|
|
21197
|
+
//
|
|
21198
|
+
//
|
|
21199
|
+
//
|
|
21200
|
+
//
|
|
21201
|
+
//
|
|
21202
|
+
//
|
|
21203
|
+
//
|
|
21204
|
+
//
|
|
21205
|
+
//
|
|
21206
|
+
//
|
|
21207
|
+
//
|
|
21208
|
+
//
|
|
21209
|
+
//
|
|
21210
|
+
//
|
|
21211
|
+
//
|
|
21212
|
+
//
|
|
21213
|
+
//
|
|
21214
|
+
//
|
|
21215
|
+
//
|
|
21216
|
+
//
|
|
21217
|
+
//
|
|
21218
|
+
//
|
|
21219
|
+
//
|
|
21220
|
+
//
|
|
21221
|
+
//
|
|
21222
|
+
//
|
|
21223
|
+
//
|
|
21224
|
+
//
|
|
21225
|
+
//
|
|
21226
|
+
//
|
|
21227
|
+
//
|
|
21228
|
+
//
|
|
21229
|
+
//
|
|
21230
|
+
//
|
|
21231
|
+
//
|
|
21232
|
+
//
|
|
21233
|
+
//
|
|
21234
|
+
//
|
|
21235
|
+
//
|
|
21236
|
+
//
|
|
21237
|
+
//
|
|
21238
|
+
//
|
|
21239
|
+
//
|
|
21240
|
+
//
|
|
21241
|
+
//
|
|
21242
|
+
//
|
|
21243
|
+
//
|
|
21244
|
+
//
|
|
21245
|
+
//
|
|
21246
|
+
//
|
|
21247
|
+
//
|
|
21248
|
+
//
|
|
21249
|
+
//
|
|
21250
|
+
//
|
|
21251
|
+
//
|
|
21252
|
+
//
|
|
21253
|
+
//
|
|
21254
|
+
//
|
|
21255
|
+
//
|
|
21256
|
+
//
|
|
21257
|
+
//
|
|
21258
|
+
//
|
|
21259
|
+
//
|
|
21260
|
+
//
|
|
21261
|
+
//
|
|
21262
|
+
//
|
|
21263
|
+
//
|
|
21264
|
+
//
|
|
21265
|
+
//
|
|
21266
|
+
//
|
|
21267
|
+
//
|
|
21268
|
+
//
|
|
21269
|
+
//
|
|
21270
|
+
//
|
|
21271
|
+
//
|
|
21272
|
+
//
|
|
21273
|
+
//
|
|
21274
|
+
//
|
|
21275
|
+
//
|
|
21276
|
+
//
|
|
21277
|
+
//
|
|
21278
|
+
//
|
|
21279
|
+
//
|
|
21280
|
+
//
|
|
21281
|
+
//
|
|
21282
|
+
//
|
|
21283
|
+
//
|
|
21284
|
+
//
|
|
21285
|
+
//
|
|
21286
|
+
//
|
|
21287
|
+
//
|
|
21288
|
+
//
|
|
21289
|
+
//
|
|
21290
|
+
//
|
|
21291
|
+
//
|
|
21292
|
+
//
|
|
21293
|
+
//
|
|
21294
|
+
//
|
|
21295
|
+
//
|
|
21296
|
+
//
|
|
21297
|
+
//
|
|
21298
|
+
//
|
|
21299
|
+
//
|
|
21300
|
+
//
|
|
21301
|
+
//
|
|
21302
|
+
//
|
|
21303
|
+
//
|
|
21304
|
+
//
|
|
21305
|
+
//
|
|
21306
|
+
//
|
|
21307
|
+
//
|
|
21308
|
+
//
|
|
21309
|
+
//
|
|
21310
|
+
//
|
|
21311
|
+
//
|
|
21312
|
+
//
|
|
21313
|
+
//
|
|
21314
|
+
//
|
|
21315
|
+
//
|
|
21316
|
+
//
|
|
21317
|
+
//
|
|
21318
|
+
//
|
|
21319
|
+
//
|
|
21320
|
+
//
|
|
21321
|
+
//
|
|
21322
|
+
//
|
|
21323
|
+
//
|
|
21324
|
+
//
|
|
21325
|
+
//
|
|
21326
|
+
//
|
|
21327
|
+
//
|
|
21328
|
+
//
|
|
21329
|
+
//
|
|
21330
|
+
//
|
|
21331
|
+
//
|
|
21332
|
+
//
|
|
21333
|
+
//
|
|
21334
|
+
//
|
|
21335
|
+
//
|
|
21336
|
+
//
|
|
21337
|
+
//
|
|
21338
|
+
//
|
|
21339
|
+
//
|
|
21340
|
+
//
|
|
21341
|
+
//
|
|
21342
|
+
//
|
|
21343
|
+
//
|
|
21344
|
+
//
|
|
21345
|
+
//
|
|
21346
|
+
//
|
|
21347
|
+
//
|
|
21348
|
+
//
|
|
21349
|
+
//
|
|
21350
|
+
//
|
|
21351
|
+
//
|
|
21352
|
+
//
|
|
21353
|
+
//
|
|
21354
|
+
//
|
|
21355
|
+
//
|
|
21356
|
+
//
|
|
21357
|
+
//
|
|
21358
|
+
//
|
|
21359
|
+
//
|
|
21360
|
+
|
|
21361
|
+
|
|
21362
|
+
|
|
21363
|
+
|
|
21364
|
+
|
|
21365
|
+
|
|
21366
|
+
|
|
21367
|
+
|
|
21368
|
+
/* harmony default export */ var resetvue_type_script_lang_js = ({
|
|
21369
|
+
name: 'reset',
|
|
21370
|
+
inheritAttrs: false,
|
|
21371
|
+
props: {
|
|
21372
|
+
showPresentNode: {
|
|
21373
|
+
type: Boolean,
|
|
21374
|
+
default: true // 是否当前节点
|
|
21375
|
+
},
|
|
21376
|
+
beforeSubmit: Function,
|
|
21377
|
+
businessId: String, //提交意见附件所需id一般是业务id
|
|
21378
|
+
defId: String, //流程id
|
|
21379
|
+
baseUrl: String, //流程地址
|
|
21380
|
+
apiBaseUrl: String,
|
|
21381
|
+
orgId: String,
|
|
21382
|
+
depId: String,
|
|
21383
|
+
appId: String,
|
|
21384
|
+
paddingTop: {
|
|
21385
|
+
type: [String, Number],
|
|
21386
|
+
default: 0
|
|
21387
|
+
},
|
|
21388
|
+
isAllCheck: {
|
|
21389
|
+
type: Boolean,
|
|
21390
|
+
default: false
|
|
21391
|
+
},
|
|
21392
|
+
isPreset: {
|
|
21393
|
+
type: Boolean,
|
|
21394
|
+
default: false
|
|
21395
|
+
},
|
|
21396
|
+
esign: {
|
|
21397
|
+
type: Boolean,
|
|
21398
|
+
default: false
|
|
21399
|
+
},
|
|
21400
|
+
userId: {
|
|
21401
|
+
type: String,
|
|
21402
|
+
default: ''
|
|
21403
|
+
},
|
|
21404
|
+
isFreeStartFlow: {
|
|
21405
|
+
type: Boolean,
|
|
21406
|
+
default: false
|
|
21407
|
+
},
|
|
21408
|
+
copyHistory: {
|
|
21409
|
+
type: String,
|
|
21410
|
+
default: ''
|
|
21411
|
+
},
|
|
21412
|
+
formType: {
|
|
21413
|
+
type: String,
|
|
21414
|
+
default: 'freeStart'
|
|
21415
|
+
},
|
|
21416
|
+
taskParams: {
|
|
21417
|
+
type: Object,
|
|
21418
|
+
default: function _default() {}
|
|
21419
|
+
},
|
|
21420
|
+
opinion: {
|
|
21421
|
+
type: String,
|
|
21422
|
+
default: ''
|
|
21423
|
+
}
|
|
21424
|
+
},
|
|
21425
|
+
data: function data() {
|
|
21426
|
+
return {
|
|
21427
|
+
showOpinion: true,
|
|
21428
|
+
readOnlyNotificationType: '',
|
|
21429
|
+
notificationMessageReadOnly: false,
|
|
21430
|
+
isCustomUser: 1,
|
|
21431
|
+
isCurrentNodeForbiddenChangeCandidate: 0,
|
|
21432
|
+
form: {
|
|
21433
|
+
nextNodeId: undefined, // 流程节点id
|
|
21434
|
+
nextNodeName: undefined, // 流程节点名称
|
|
21435
|
+
customLimitTime: '', //限时天数
|
|
21436
|
+
nextUserName: undefined, // 办理人
|
|
21437
|
+
nextUserId: undefined, // 办理人id
|
|
21438
|
+
nextName: undefined, //下一步
|
|
21439
|
+
opinion: undefined, // 审批意见
|
|
21440
|
+
nodeId: undefined,
|
|
21441
|
+
notificationMsg: undefined, //系统消息
|
|
21442
|
+
notificationType: [],
|
|
21443
|
+
isImageOpinion: 0
|
|
21444
|
+
},
|
|
21445
|
+
file: '',
|
|
21446
|
+
nextUserList: [],
|
|
21447
|
+
isChooseNextNode: 0,
|
|
21448
|
+
isOpinionRequired: 0, //办理意见是否必填
|
|
21449
|
+
isBanInputOpinion: 0, //是否禁用意见
|
|
21450
|
+
isNextBox: true, // 是否展开隐藏下步操作
|
|
21451
|
+
defaultNotificationType: [], //选中消息数组
|
|
21452
|
+
// showAppUser: false, // 办理人遮罩层
|
|
21453
|
+
showNextList: false, // 下一步遮罩层
|
|
21454
|
+
showNextNodeList: false, // 流程节点遮罩层
|
|
21455
|
+
nextList: [], //下一步列表
|
|
21456
|
+
nodeList: [], // 流程节点列表
|
|
21457
|
+
processObj: {}, //流程信息
|
|
21458
|
+
peopleObj: {}, //办理人信息
|
|
21459
|
+
isRadio: false, //办理人是否单选
|
|
21460
|
+
treeType: undefined, //办理人选择类别
|
|
21461
|
+
pid: undefined, // 办理人树选择pid
|
|
21462
|
+
objType: 'enterprise', //办理人树选择objType
|
|
21463
|
+
selectType: '', //办理人树选择selectType
|
|
21464
|
+
nextUserSelectList: [], //选中人数组
|
|
21465
|
+
enableCustomLimitTimeSetting: false,
|
|
21466
|
+
showCustomLimitTimeText: false,
|
|
21467
|
+
flowObj: {} //流程参数信息
|
|
21468
|
+
};
|
|
21469
|
+
},
|
|
21470
|
+
|
|
21471
|
+
components: {
|
|
21472
|
+
Opinion: Opinion,
|
|
21473
|
+
Message: Message,
|
|
21474
|
+
ProcessSetting: ProcessSettings
|
|
21475
|
+
},
|
|
21476
|
+
mounted: function mounted() {
|
|
21477
|
+
var obj = {
|
|
21478
|
+
processDefinitionId: this.defId,
|
|
21479
|
+
// isOnly: true,
|
|
21480
|
+
// hideTempSave: true,
|
|
21481
|
+
businessId: this.businessId
|
|
21482
|
+
};
|
|
21483
|
+
if (this.formType == 'freeStart' || this.copyHistory) {
|
|
21484
|
+
this.form.opinion = this.opinion;
|
|
21485
|
+
}
|
|
21486
|
+
this.geAllData(obj);
|
|
21487
|
+
this.getDefNoticeType();
|
|
21488
|
+
},
|
|
21489
|
+
|
|
21490
|
+
|
|
21491
|
+
methods: {
|
|
21492
|
+
getDefNoticeType: function getDefNoticeType() {
|
|
21493
|
+
var _this = this;
|
|
21494
|
+
|
|
21495
|
+
utils_http({
|
|
21496
|
+
url: findSysCodes
|
|
21497
|
+
}).then(function (res) {
|
|
21498
|
+
// this.form.notificationMsg = res.message;
|
|
21499
|
+
_this.defaultNotificationType = res.message.split(',');
|
|
21500
|
+
});
|
|
21501
|
+
},
|
|
21502
|
+
getMessage: function getMessage() {
|
|
21503
|
+
var _this2 = this;
|
|
21504
|
+
|
|
21505
|
+
var params = {
|
|
21506
|
+
url: getNotificationMsg,
|
|
21507
|
+
params: {
|
|
21508
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
21509
|
+
businessId: this.processObj.businessId,
|
|
21510
|
+
nodeId: this.form.nextNodeId
|
|
21511
|
+
}
|
|
21512
|
+
};
|
|
21513
|
+
utils_http(params).then(function (res) {
|
|
21514
|
+
// this.message=res.data.message
|
|
21515
|
+
_this2.form.notificationMsg = res.message;
|
|
21516
|
+
});
|
|
21517
|
+
},
|
|
21518
|
+
goBack: function goBack() {
|
|
21519
|
+
this.$parent.$emit('close');
|
|
21520
|
+
this.$emit('close');
|
|
21521
|
+
},
|
|
21522
|
+
handleChange: function handleChange(val, selectLabel) {
|
|
21523
|
+
// this[res.label] = res.list;
|
|
21524
|
+
// this.showAppUser = false;
|
|
21525
|
+
var label = selectLabel.substring(0, selectLabel.lastIndexOf('SelectList'));
|
|
21526
|
+
var idStr = '';
|
|
21527
|
+
val.list.map(function (r, i) {
|
|
21528
|
+
idStr = idStr + r.showid + (i === val.list.length - 1 ? '' : ',');
|
|
21529
|
+
});
|
|
21530
|
+
this.form[label + 'Id'] = idStr;
|
|
21531
|
+
},
|
|
21532
|
+
geAllData: function geAllData(res) {
|
|
21533
|
+
var _this3 = this;
|
|
21534
|
+
|
|
21535
|
+
this.flowObj = res;
|
|
21536
|
+
this.$toast.loading({
|
|
21537
|
+
message: '加载中...',
|
|
21538
|
+
forbidClick: true,
|
|
21539
|
+
loadingType: 'spinner',
|
|
21540
|
+
overlay: true,
|
|
21541
|
+
duration: 0
|
|
21542
|
+
});
|
|
21543
|
+
//获取流程发起信息后去获取节点信息和办理人信息
|
|
21544
|
+
Promise.all([this.getProcessObj(res)]).then(function () {
|
|
21545
|
+
console.log(res, _this3.form, 'asd');
|
|
21546
|
+
_this3.getPeopleObj(_this3.form.nextNodeId);
|
|
21547
|
+
});
|
|
21548
|
+
},
|
|
21549
|
+
|
|
21550
|
+
// 通知消息回调
|
|
21551
|
+
onInputMsg: function onInputMsg(obj) {
|
|
21552
|
+
this.form.notificationType = obj.notificationType.join(',');
|
|
21553
|
+
this.form.notificationMsg = obj.notificationMsg;
|
|
21554
|
+
},
|
|
21555
|
+
|
|
21556
|
+
// 删除.
|
|
21557
|
+
delteList: function delteList(label, i) {
|
|
21558
|
+
this[label].splice(i, 1);
|
|
21559
|
+
},
|
|
21560
|
+
|
|
21561
|
+
// 意见回调
|
|
21562
|
+
onInputOpintion: function onInputOpintion(val) {
|
|
21563
|
+
var opinion = val.opinion,
|
|
21564
|
+
isImageOpinion = val.isImageOpinion,
|
|
21565
|
+
file = val.file;
|
|
21566
|
+
|
|
21567
|
+
this.form.opinion = opinion;
|
|
21568
|
+
this.form.isImageOpinion = isImageOpinion;
|
|
21569
|
+
this.file = file;
|
|
21570
|
+
},
|
|
21571
|
+
|
|
21572
|
+
// 提交流程
|
|
21573
|
+
onSubmit: function onSubmit() {
|
|
21574
|
+
var _this4 = this;
|
|
21575
|
+
|
|
21576
|
+
if (!this.form.opinion && this.isOpinionRequired == 1 && this.form.isImageOpinion == 0 || !this.file && this.isOpinionRequired == 1 && this.form.isImageOpinion == 1) {
|
|
21577
|
+
this.$toast('请选择输入审批意见');
|
|
21578
|
+
return;
|
|
21579
|
+
}
|
|
21580
|
+
if (!this.form.nextUserId) {
|
|
21581
|
+
this.$toast('请选择办理人');
|
|
21582
|
+
return;
|
|
21583
|
+
}
|
|
21584
|
+
if (!this.form.nextNodeId) {
|
|
21585
|
+
this.$toast('请选择流程节点');
|
|
21586
|
+
return;
|
|
21587
|
+
}
|
|
21588
|
+
// if (!this.form.notificationType) {
|
|
21589
|
+
// this.$toast('请选择通知消息');
|
|
21590
|
+
// return;
|
|
21591
|
+
// }
|
|
21592
|
+
|
|
21593
|
+
var info = {
|
|
21594
|
+
processDefinitionId: this.flowObj.processDefinitionId,
|
|
21595
|
+
nextUserId: this.form.nextUserId,
|
|
21596
|
+
nextNodeId: this.form.nextNodeId,
|
|
21597
|
+
businessId: this.businessId,
|
|
21598
|
+
notificationType: Array.isArray(this.form.notificationType) ? '' : this.form.notificationType,
|
|
21599
|
+
opinion: this.form.opinion,
|
|
21600
|
+
customLimitTime: resetvue_type_script_lang_js_typeof(this.form.customLimitTime) === 'object' ? this.form.customLimitTime.cciValue : this.form.customLimitTime,
|
|
21601
|
+
nodeId: this.form.nodeId,
|
|
21602
|
+
notificationMsg: this.form.notificationMsg,
|
|
21603
|
+
loginType: 2, //登录方式
|
|
21604
|
+
isImageOpinion: this.form.isImageOpinion,
|
|
21605
|
+
userId: this.userId || util["a" /* default */].getStorage('userId'),
|
|
21606
|
+
mobileKey: util["a" /* default */].getStorage('deviceId') || '123'
|
|
21607
|
+
};
|
|
21608
|
+
if (!this.enableCustomLimitTimeSetting) {
|
|
21609
|
+
delete info.customLimitTime;
|
|
21610
|
+
}
|
|
21611
|
+
if (this.processObj.isCustomPreset && this.isPreset) {
|
|
21612
|
+
if (this.$refs.processSetting.active.length != 0) {
|
|
21613
|
+
if (!this.$refs.processSetting.getValue()) return;
|
|
21614
|
+
info.customPresetUserJson = this.$refs.processSetting.getValue();
|
|
21615
|
+
info.isCustomPreset = true;
|
|
21616
|
+
} else {
|
|
21617
|
+
delete info.customPresetUserJson;
|
|
21618
|
+
delete info.isCustomPreset;
|
|
21619
|
+
}
|
|
21620
|
+
}
|
|
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
|
+
if (this.beforeSubmit) {
|
|
21647
|
+
this.beforeSubmit(info);
|
|
21648
|
+
return;
|
|
21649
|
+
}
|
|
21650
|
+
var formData = new FormData();
|
|
21651
|
+
// if (this.form.isImageOpinion == 1) {
|
|
21652
|
+
// formData.append('file', this.file);
|
|
21653
|
+
// }
|
|
21654
|
+
// for (let key in info) {
|
|
21655
|
+
// if (info[key] !== '' && info[key] !== undefined) {
|
|
21656
|
+
// formData.append(key, info[key]);
|
|
21657
|
+
// }
|
|
21658
|
+
// }
|
|
21659
|
+
this.$toast.loading({
|
|
21660
|
+
message: '加载中...',
|
|
21661
|
+
forbidClick: true,
|
|
21662
|
+
loadingType: 'spinner',
|
|
21663
|
+
overlay: true,
|
|
21664
|
+
duration: 0
|
|
21665
|
+
});
|
|
21666
|
+
var _that = this;
|
|
21667
|
+
utils_http({
|
|
21668
|
+
url: (_that.apiBaseUrl || '') + (_that.isFreeStartFlow ? freeStartFlowWithSubmitTask : _that.formType == 'readTransfer' ? startReadTransferHandleFlowWithTaskReadEnd : registerNew),
|
|
21669
|
+
type: 'post',
|
|
21670
|
+
params: _that.isFreeStartFlow || _that.formType == 'readTransfer' ? info : { params: info },
|
|
21671
|
+
format: false
|
|
21672
|
+
}).then(function (res) {
|
|
21673
|
+
_this4.$toast.clear();
|
|
21674
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
21675
|
+
_this4.$toast('操作成功');
|
|
21676
|
+
if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
|
|
21677
|
+
_this4.$emit('closePop');
|
|
21678
|
+
} else {
|
|
21679
|
+
if (_that.formType == 'freeStart') {
|
|
21680
|
+
_that.$emit('success');
|
|
21681
|
+
} else {
|
|
21682
|
+
_that.$parent.$emit('success');
|
|
21683
|
+
}
|
|
21684
|
+
}
|
|
21685
|
+
} else {
|
|
21686
|
+
_this4.$toast(res.msg);
|
|
21687
|
+
setTimeout(function () {
|
|
21688
|
+
_this4.$parent.$emit('error');
|
|
21689
|
+
}, 1000);
|
|
21690
|
+
}
|
|
21691
|
+
});
|
|
21692
|
+
},
|
|
21693
|
+
|
|
21694
|
+
// 确认常用意见
|
|
21695
|
+
onConfirmOpinion: function onConfirmOpinion(val) {
|
|
21696
|
+
this.form.opinion = val.content;
|
|
21697
|
+
this.showOpinion = false;
|
|
21698
|
+
},
|
|
21699
|
+
|
|
21700
|
+
// 选择办理人
|
|
21701
|
+
onClickPeople: function onClickPeople(label) {
|
|
21702
|
+
this.$nextTick(function () {
|
|
21703
|
+
this.$refs.selectTree.getContent(label);
|
|
21704
|
+
});
|
|
21705
|
+
var obj = {
|
|
21706
|
+
label: '请选择办理人',
|
|
21707
|
+
show: true
|
|
21708
|
+
};
|
|
21709
|
+
this.$emit('informNav', obj);
|
|
21710
|
+
this.showAppUser = true;
|
|
21711
|
+
},
|
|
21712
|
+
|
|
21713
|
+
// 获取树选择范围
|
|
21714
|
+
getTreeChangeType: function getTreeChangeType() {
|
|
21715
|
+
/**
|
|
21716
|
+
* 办理人选择方式(1:机构内单选人;2:机构内多选;3:所有机构单选人;4:所有机构多选人;5:科室内单选人;6:科室内多选人;11:单选机构;12:多选机构;13:本部门角色;14:本单位角色;15:上级单位单选人;16:上级单位多选人;)
|
|
21717
|
+
*/
|
|
21718
|
+
this.treeType % 2 == 0 ? this.isRadio = false : this.isRadio = true;
|
|
21719
|
+
if (this.treeType === 1 || this.treeType === 2) {
|
|
21720
|
+
this.pid = this.orgId;
|
|
21721
|
+
this.objType = 'enterprise';
|
|
21722
|
+
this.selectType = 'employee';
|
|
21723
|
+
} else if (this.treeType === 3 || this.treeType === 4) {
|
|
21724
|
+
this.pid = 'root';
|
|
21725
|
+
this.selectType = 'employee';
|
|
21726
|
+
this.objType = 'employee';
|
|
21727
|
+
} else if (this.treeType === 5 || this.treeType === 6) {
|
|
21728
|
+
this.pid = this.depId;
|
|
21729
|
+
this.selectType = 'employee';
|
|
21730
|
+
this.objType = 'employee';
|
|
21731
|
+
} else if (this.treeType === 11 || this.treeType === 12) {
|
|
21732
|
+
this.selectType = 'employee';
|
|
21733
|
+
this.objType = 'enterprise';
|
|
21734
|
+
this.pid = '';
|
|
21735
|
+
} else if (this.treeType === 13) {
|
|
21736
|
+
this.pid = this.depId;
|
|
21737
|
+
this.selectType = 'employee';
|
|
21738
|
+
} else if (this.treeType === 14) {
|
|
21739
|
+
this.pid = this.orgId;
|
|
21740
|
+
this.selectType = 'employee';
|
|
21741
|
+
} else if (this.treeType === 15 || this.treeType === 16) {
|
|
21742
|
+
this.pid = this.orgId;
|
|
21743
|
+
this.selectType = 'employee';
|
|
21744
|
+
} else if (this.treeType == 'department') {
|
|
21745
|
+
this.pid = '';
|
|
21746
|
+
this.selectType = 'department';
|
|
21747
|
+
this.objType = 'department';
|
|
21748
|
+
}
|
|
21749
|
+
},
|
|
21750
|
+
|
|
21751
|
+
// 确认下一步操作
|
|
21752
|
+
onConfirmNext: function onConfirmNext(val) {
|
|
21753
|
+
this.form.nextName = val.itemName;
|
|
21754
|
+
this.nodeList = val.list;
|
|
21755
|
+
this.form.nextNodeId = val.list[0].nodeId;
|
|
21756
|
+
this.form.nextNodeName = val.list[0].nodeName;
|
|
21757
|
+
val.list[0].transactorInfos && (this.nextUserList = val.list[0].transactorInfos);
|
|
21758
|
+
this.showNextList = false;
|
|
21759
|
+
this.getPeopleObj(this.form.nextNodeId);
|
|
21760
|
+
},
|
|
21761
|
+
|
|
21762
|
+
// 确认流程节点操作
|
|
21763
|
+
onConfirmNextNode: function onConfirmNextNode(val) {
|
|
21764
|
+
this.form.nextNodeId = val.nodeId;
|
|
21765
|
+
this.form.nextNodeName = val.nodeName;
|
|
21766
|
+
this.showNextNodeList = false;
|
|
21767
|
+
this.getPeopleObj(this.form.nextNodeId);
|
|
21768
|
+
},
|
|
21769
|
+
|
|
21770
|
+
// 办理人选择完回调
|
|
21771
|
+
disposeAppUser: function disposeAppUser(res) {
|
|
21772
|
+
this[res.label] = res.list;
|
|
21773
|
+
this.showAppUser = false;
|
|
21774
|
+
var label = res.label.substring(0, res.label.lastIndexOf('SelectList'));
|
|
21775
|
+
var idStr = '';
|
|
21776
|
+
res.list.map(function (r, i) {
|
|
21777
|
+
idStr = idStr + r.showid + (i === res.list.length - 1 ? '' : ',');
|
|
21778
|
+
});
|
|
21779
|
+
this.form[label + 'Id'] = idStr;
|
|
21780
|
+
},
|
|
21781
|
+
|
|
21782
|
+
// 获取发起流程信息
|
|
21783
|
+
getProcessObj: function getProcessObj(res) {
|
|
21784
|
+
var that = this;
|
|
21785
|
+
return new Promise(function (resolve, reiect) {
|
|
21786
|
+
utils_http({
|
|
21787
|
+
url: that.apiBaseUrl ? that.apiBaseUrl + toResetProcessIndex : toResetProcessIndex,
|
|
21788
|
+
params: {
|
|
21789
|
+
appId: that.appId,
|
|
21790
|
+
userId: that.userId || util["a" /* default */].getStorage('userId')
|
|
21791
|
+
}
|
|
21792
|
+
}).then(function (res) {
|
|
21793
|
+
if (res.rCode == 0 || res.status == 'success') {
|
|
21794
|
+
that.isCurrentNodeForbiddenChangeCandidate = res.data.nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
21795
|
+
that.processObj = res.data.taskExamine;
|
|
21796
|
+
that.isOpinionRequired = res.data.nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
21797
|
+
that.isBanInputOpinion = res.data.nodeInfoMap.nodeExtAttr.isBanInputOpinion;
|
|
21798
|
+
if (!that.isOpinionRequired) {
|
|
21799
|
+
that.isOpinionRequired = 0;
|
|
21800
|
+
}
|
|
21801
|
+
if (!that.isBanInputOpinion) {
|
|
21802
|
+
that.isBanInputOpinion = 0;
|
|
21803
|
+
}
|
|
21804
|
+
that.isChooseNextNode = res.data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
21805
|
+
if (res.data.taskNodeList && res.data.taskNodeList.length > 0) {
|
|
21806
|
+
var obj = res.data.taskNodeList[0];
|
|
21807
|
+
for (var key in obj) {
|
|
21808
|
+
that.nodeList.push({ nodeName: obj[key], nodeId: key });
|
|
21809
|
+
}
|
|
21810
|
+
}
|
|
21811
|
+
|
|
21812
|
+
that.form.nextNodeId = that.nodeList[0].nodeId;
|
|
21813
|
+
that.form.nextNodeName = that.nodeList[0].nodeName;
|
|
21814
|
+
|
|
21815
|
+
// that.form.notificationMsg = res.results.notificationMsg;
|
|
21816
|
+
// that.form.nodeId = res.results.nodeId;
|
|
21817
|
+
that.getMessage();
|
|
21818
|
+
resolve();
|
|
21819
|
+
} else {
|
|
21820
|
+
that.$toast(res.message);
|
|
21821
|
+
reiect();
|
|
21822
|
+
}
|
|
21823
|
+
});
|
|
21824
|
+
});
|
|
21825
|
+
},
|
|
21826
|
+
|
|
21827
|
+
// 获取节点信息(获取节点属性及办理人)
|
|
21828
|
+
getPeopleObj: function getPeopleObj(res) {
|
|
21829
|
+
var _this5 = this;
|
|
21830
|
+
|
|
21831
|
+
var _that = this;
|
|
21832
|
+
utils_http({
|
|
21833
|
+
url: _that.apiBaseUrl ? _that.apiBaseUrl + api_getNodeInfo : api_getNodeInfo,
|
|
21834
|
+
params: {
|
|
21835
|
+
params: {
|
|
21836
|
+
processDefinitionId: this.processObj.processDefinitionId,
|
|
21837
|
+
nodeId: res,
|
|
21838
|
+
// taskId: this.processObj.taskId,
|
|
21839
|
+
userId: _that.userId
|
|
21840
|
+
}
|
|
21841
|
+
}
|
|
21842
|
+
}).then(function (res) {
|
|
21843
|
+
_this5.$toast.clear();
|
|
21844
|
+
if (res.rCode == 0) {
|
|
21845
|
+
_that.isCustomUser = res.data.nodeInfoMap.nodeExtAttr.isCustomUser;
|
|
21846
|
+
_this5.peopleObj = res.data.nodeInfoMap.nodeExtAttr;
|
|
21847
|
+
_that.enableCustomLimitTimeSetting = _this5.peopleObj.enableCustomLimitTimeSetting == 1;
|
|
21848
|
+
if (res.data.nodeInfoMap.nodeExtAttr.userSelectionType) {
|
|
21849
|
+
_this5.treeType = res.data.nodeInfoMap.nodeExtAttr.userSelectionType;
|
|
21850
|
+
if (res.data.nodeInfoMap.nodeExtAttr) {
|
|
21851
|
+
var idStr = '';
|
|
21852
|
+
if (res.data.nodeInfoMap.nodeExtAttr.isDefSelectedObj == 1 && _this5.nextUserList.length > 0) {
|
|
21853
|
+
_this5.nextUserList[0].checked = true;
|
|
21854
|
+
_this5.nextUserSelectList = [_this5.nextUserList[0]];
|
|
21855
|
+
idStr = _this5.nextUserSelectList[0].showid;
|
|
21856
|
+
}
|
|
21857
|
+
if (res.data.nodeInfoMap.nodeExtAttr.isSelectedAllObj == 1 && _this5.nextUserList.length > 0) {
|
|
21858
|
+
_this5.nextUserSelectList = [];
|
|
21859
|
+
idStr = '';
|
|
21860
|
+
_this5.nextUserList.map(function (x) {
|
|
21861
|
+
x.checked = true;
|
|
21862
|
+
_this5.nextUserSelectList.push(x);
|
|
21863
|
+
idStr = idStr ? idStr + ',' + x.showid : idStr;
|
|
21864
|
+
});
|
|
21865
|
+
}
|
|
21866
|
+
_this5.form.nextUserId = idStr;
|
|
21867
|
+
}
|
|
21868
|
+
// this.nextUserSelectList = list.filter(x => x.showname && x.showid);
|
|
21869
|
+
_this5.getTreeChangeType();
|
|
21870
|
+
}
|
|
21871
|
+
} else {
|
|
21872
|
+
_this5.$toast(res.message);
|
|
21873
|
+
}
|
|
21874
|
+
});
|
|
21875
|
+
}
|
|
21876
|
+
}
|
|
21877
|
+
});
|
|
21878
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue?vue&type=script&lang=js
|
|
21879
|
+
/* harmony default export */ var components_resetvue_type_script_lang_js = (resetvue_type_script_lang_js);
|
|
21880
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/reset.vue
|
|
21881
|
+
|
|
21882
|
+
|
|
21883
|
+
|
|
21884
|
+
|
|
21885
|
+
|
|
21886
|
+
/* normalize component */
|
|
21887
|
+
|
|
21888
|
+
var reset_component = normalizeComponent(
|
|
21889
|
+
components_resetvue_type_script_lang_js,
|
|
21890
|
+
resetvue_type_template_id_b2f284b2_render,
|
|
21891
|
+
resetvue_type_template_id_b2f284b2_staticRenderFns,
|
|
21892
|
+
false,
|
|
21893
|
+
null,
|
|
21894
|
+
null,
|
|
21895
|
+
null
|
|
21896
|
+
|
|
21897
|
+
)
|
|
21898
|
+
|
|
21899
|
+
/* harmony default export */ var components_reset = (reset_component.exports);
|
|
21900
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=script&lang=js
|
|
21901
|
+
//
|
|
21902
|
+
//
|
|
21903
|
+
//
|
|
21904
|
+
//
|
|
21905
|
+
//
|
|
21906
|
+
//
|
|
21907
|
+
//
|
|
21908
|
+
//
|
|
21909
|
+
//
|
|
21910
|
+
//
|
|
21911
|
+
//
|
|
21912
|
+
//
|
|
21913
|
+
//
|
|
21914
|
+
//
|
|
21915
|
+
//
|
|
21916
|
+
//
|
|
21917
|
+
//
|
|
21918
|
+
//
|
|
21919
|
+
//
|
|
21920
|
+
//
|
|
21921
|
+
//
|
|
21922
|
+
//
|
|
21923
|
+
//
|
|
21924
|
+
//
|
|
21925
|
+
//
|
|
21926
|
+
//
|
|
21927
|
+
//
|
|
21928
|
+
//
|
|
21929
|
+
//
|
|
21930
|
+
//
|
|
21931
|
+
//
|
|
21932
|
+
//
|
|
21933
|
+
//
|
|
21934
|
+
//
|
|
21935
|
+
//
|
|
21936
|
+
//
|
|
21937
|
+
//
|
|
21938
|
+
//
|
|
21939
|
+
//
|
|
21940
|
+
//
|
|
21941
|
+
//
|
|
21942
|
+
//
|
|
21943
|
+
//
|
|
21944
|
+
//
|
|
21945
|
+
//
|
|
21946
|
+
//
|
|
21947
|
+
//
|
|
21948
|
+
//
|
|
21949
|
+
//
|
|
21950
|
+
//
|
|
21951
|
+
//
|
|
21952
|
+
|
|
21953
|
+
|
|
21954
|
+
|
|
21955
|
+
|
|
21956
|
+
|
|
21957
|
+
|
|
21958
|
+
|
|
20709
21959
|
|
|
20710
21960
|
/* harmony default export */ var flow_src_mainvue_type_script_lang_js = ({
|
|
20711
21961
|
name: 'EmFlow',
|
|
@@ -20715,6 +21965,8 @@ var taskUnionExamine_component = normalizeComponent(
|
|
|
20715
21965
|
StartFlow: StartFlow,
|
|
20716
21966
|
Reject: Reject,
|
|
20717
21967
|
TaskRead: TaskRead,
|
|
21968
|
+
Supervise: supervise,
|
|
21969
|
+
Reset: components_reset,
|
|
20718
21970
|
TaskUnionExamineVue: components_taskUnionExamine
|
|
20719
21971
|
},
|
|
20720
21972
|
props: {
|
|
@@ -20747,8 +21999,8 @@ var taskUnionExamine_component = normalizeComponent(
|
|
|
20747
21999
|
|
|
20748
22000
|
var flow_src_main_component = normalizeComponent(
|
|
20749
22001
|
packages_flow_src_mainvue_type_script_lang_js,
|
|
20750
|
-
|
|
20751
|
-
|
|
22002
|
+
mainvue_type_template_id_a746ec3a_render,
|
|
22003
|
+
mainvue_type_template_id_a746ec3a_staticRenderFns,
|
|
20752
22004
|
false,
|
|
20753
22005
|
null,
|
|
20754
22006
|
null,
|
|
@@ -26182,7 +27434,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
26182
27434
|
}
|
|
26183
27435
|
|
|
26184
27436
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
26185
|
-
version: '0.3.
|
|
27437
|
+
version: '0.3.16',
|
|
26186
27438
|
install: install,
|
|
26187
27439
|
Button: packages_button,
|
|
26188
27440
|
ButtonGroup: button_group,
|