eoss-ui 0.8.34 → 0.8.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/eoss-ui.common.js +913 -497
- package/lib/flow-list.js +141 -124
- package/lib/flow.js +763 -364
- package/lib/index.js +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/flow/src/component/CommonOpinions.vue +376 -376
- package/packages/flow/src/component/Opinions.vue +9 -3
- package/packages/flow/src/flow.vue +68 -38
- package/packages/flow/src/main.vue +218 -143
- package/packages/flow/src/processForm.vue +205 -10
- package/packages/flow/src/processReject.vue +2 -2
- package/packages/flow/src/startTaskRead.vue +24 -11
- package/packages/flow-list/src/main.vue +2346 -2337
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +13 -2
- package/src/index.js +1 -1
package/lib/flow.js
CHANGED
|
@@ -4878,7 +4878,7 @@ module.exports = require("vuedraggable");
|
|
|
4878
4878
|
// ESM COMPAT FLAG
|
|
4879
4879
|
__webpack_require__.r(__webpack_exports__);
|
|
4880
4880
|
|
|
4881
|
-
// 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=
|
|
4881
|
+
// 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=48a0a0a2&
|
|
4882
4882
|
var render = function () {
|
|
4883
4883
|
var _vm = this
|
|
4884
4884
|
var _h = _vm.$createElement
|
|
@@ -4932,6 +4932,7 @@ var render = function () {
|
|
|
4932
4932
|
flowLabelConfig: _vm.flowLabelConfig,
|
|
4933
4933
|
isEndMessage: _vm.isEndMessage,
|
|
4934
4934
|
},
|
|
4935
|
+
on: { success: _vm.handleNewFlowSuccess },
|
|
4935
4936
|
},
|
|
4936
4937
|
"FlowNew",
|
|
4937
4938
|
_vm.$attrs,
|
|
@@ -6501,8 +6502,7 @@ var render = function () {
|
|
|
6501
6502
|
{
|
|
6502
6503
|
attrs: {
|
|
6503
6504
|
prop: "nextReadUserId",
|
|
6504
|
-
label:
|
|
6505
|
-
"\n 分阅用户\n ",
|
|
6505
|
+
label: "分阅用户",
|
|
6506
6506
|
},
|
|
6507
6507
|
},
|
|
6508
6508
|
[
|
|
@@ -7664,6 +7664,10 @@ var render = function () {
|
|
|
7664
7664
|
.newFlowStartNodeItemName,
|
|
7665
7665
|
taskParams: _vm.taskParams,
|
|
7666
7666
|
formType: _vm.processFormType,
|
|
7667
|
+
isCanReadTransferHandle:
|
|
7668
|
+
_vm.isCanReadTransferHandle,
|
|
7669
|
+
readTransferHandleFlowTypeCode:
|
|
7670
|
+
_vm.readTransferHandleFlowTypeCode,
|
|
7667
7671
|
},
|
|
7668
7672
|
on: {
|
|
7669
7673
|
cancel: function ($event) {
|
|
@@ -8012,14 +8016,14 @@ var staticRenderFns = []
|
|
|
8012
8016
|
render._withStripped = true
|
|
8013
8017
|
|
|
8014
8018
|
|
|
8015
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
8019
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=48a0a0a2&
|
|
8016
8020
|
|
|
8017
8021
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
8018
8022
|
var regenerator_ = __webpack_require__(4);
|
|
8019
8023
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
8020
8024
|
|
|
8021
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
8022
|
-
var
|
|
8025
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
|
|
8026
|
+
var CommonOpinionsvue_type_template_id_8458f882_render = function () {
|
|
8023
8027
|
var _vm = this
|
|
8024
8028
|
var _h = _vm.$createElement
|
|
8025
8029
|
var _c = _vm._self._c || _h
|
|
@@ -8229,11 +8233,11 @@ var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
|
|
|
8229
8233
|
1
|
|
8230
8234
|
)
|
|
8231
8235
|
}
|
|
8232
|
-
var
|
|
8233
|
-
|
|
8236
|
+
var CommonOpinionsvue_type_template_id_8458f882_staticRenderFns = []
|
|
8237
|
+
CommonOpinionsvue_type_template_id_8458f882_render._withStripped = true
|
|
8234
8238
|
|
|
8235
8239
|
|
|
8236
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
8240
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
|
|
8237
8241
|
|
|
8238
8242
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
8239
8243
|
var api = __webpack_require__(1);
|
|
@@ -8828,7 +8832,7 @@ var _components;
|
|
|
8828
8832
|
},
|
|
8829
8833
|
rows: {
|
|
8830
8834
|
type: [Number, String],
|
|
8831
|
-
default:
|
|
8835
|
+
default: 5
|
|
8832
8836
|
},
|
|
8833
8837
|
required: { type: Boolean, default: false }
|
|
8834
8838
|
},
|
|
@@ -8880,21 +8884,21 @@ var _components;
|
|
|
8880
8884
|
return validSate;
|
|
8881
8885
|
},
|
|
8882
8886
|
|
|
8883
|
-
/**
|
|
8884
|
-
* changeOpinion
|
|
8885
|
-
* @desc:监听意见变化
|
|
8886
|
-
* @author liufan
|
|
8887
|
-
* @date 2022年10月28日
|
|
8887
|
+
/**
|
|
8888
|
+
* changeOpinion
|
|
8889
|
+
* @desc:监听意见变化
|
|
8890
|
+
* @author liufan
|
|
8891
|
+
* @date 2022年10月28日
|
|
8888
8892
|
**/
|
|
8889
8893
|
changeOpinion: function changeOpinion() {
|
|
8890
8894
|
this.$emit('change', this.form.value);
|
|
8891
8895
|
},
|
|
8892
8896
|
|
|
8893
|
-
/**
|
|
8894
|
-
* getCommonOpion
|
|
8895
|
-
* @desc:获取意见
|
|
8896
|
-
* @author liufan
|
|
8897
|
-
* @date 2022年5月25日
|
|
8897
|
+
/**
|
|
8898
|
+
* getCommonOpion
|
|
8899
|
+
* @desc:获取意见
|
|
8900
|
+
* @author liufan
|
|
8901
|
+
* @date 2022年5月25日
|
|
8898
8902
|
**/
|
|
8899
8903
|
getCommonOpion: function getCommonOpion() {
|
|
8900
8904
|
var _this = this;
|
|
@@ -8923,24 +8927,24 @@ var _components;
|
|
|
8923
8927
|
});
|
|
8924
8928
|
},
|
|
8925
8929
|
|
|
8926
|
-
/**
|
|
8927
|
-
* upDate
|
|
8928
|
-
* @desc:修改常用语
|
|
8929
|
-
* @author liufan
|
|
8930
|
-
* @param {Object} val 修改值
|
|
8931
|
-
* @date 2022年5月25日
|
|
8930
|
+
/**
|
|
8931
|
+
* upDate
|
|
8932
|
+
* @desc:修改常用语
|
|
8933
|
+
* @author liufan
|
|
8934
|
+
* @param {Object} val 修改值
|
|
8935
|
+
* @date 2022年5月25日
|
|
8932
8936
|
**/
|
|
8933
8937
|
upDate: function upDate(val) {
|
|
8934
8938
|
this.FormData.id = val.id;
|
|
8935
8939
|
this.addVisible = true;
|
|
8936
8940
|
},
|
|
8937
8941
|
|
|
8938
|
-
/**
|
|
8939
|
-
* selectChange
|
|
8940
|
-
* @desc:常用语选择
|
|
8941
|
-
* @author liufan
|
|
8942
|
-
* @param {String} val 选中值
|
|
8943
|
-
* @date 2022年5月25日
|
|
8942
|
+
/**
|
|
8943
|
+
* selectChange
|
|
8944
|
+
* @desc:常用语选择
|
|
8945
|
+
* @author liufan
|
|
8946
|
+
* @param {String} val 选中值
|
|
8947
|
+
* @date 2022年5月25日
|
|
8944
8948
|
**/
|
|
8945
8949
|
selectChange: function selectChange(val) {
|
|
8946
8950
|
var _this2 = this;
|
|
@@ -8959,12 +8963,12 @@ var _components;
|
|
|
8959
8963
|
});
|
|
8960
8964
|
},
|
|
8961
8965
|
|
|
8962
|
-
/**
|
|
8963
|
-
* del
|
|
8964
|
-
* @desc:删除常用语
|
|
8965
|
-
* @author liufan
|
|
8966
|
-
* @param {Object} val 删除的数据
|
|
8967
|
-
* @date 2022年5月25日
|
|
8966
|
+
/**
|
|
8967
|
+
* del
|
|
8968
|
+
* @desc:删除常用语
|
|
8969
|
+
* @author liufan
|
|
8970
|
+
* @param {Object} val 删除的数据
|
|
8971
|
+
* @date 2022年5月25日
|
|
8968
8972
|
**/
|
|
8969
8973
|
del: function del(val) {
|
|
8970
8974
|
var _this3 = this;
|
|
@@ -9006,12 +9010,12 @@ var _components;
|
|
|
9006
9010
|
}).catch(function (e) {});
|
|
9007
9011
|
},
|
|
9008
9012
|
|
|
9009
|
-
/**
|
|
9010
|
-
* submit
|
|
9011
|
-
* @desc:新增/编辑意见保存
|
|
9012
|
-
* @author liufan
|
|
9013
|
-
* @param {Object} val 保存数据
|
|
9014
|
-
* @date 2022年5月25日
|
|
9013
|
+
/**
|
|
9014
|
+
* submit
|
|
9015
|
+
* @desc:新增/编辑意见保存
|
|
9016
|
+
* @author liufan
|
|
9017
|
+
* @param {Object} val 保存数据
|
|
9018
|
+
* @date 2022年5月25日
|
|
9015
9019
|
**/
|
|
9016
9020
|
submit: function submit(val) {
|
|
9017
9021
|
var _this4 = this;
|
|
@@ -9066,8 +9070,8 @@ var _components;
|
|
|
9066
9070
|
|
|
9067
9071
|
var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
9068
9072
|
component_CommonOpinionsvue_type_script_lang_js_,
|
|
9069
|
-
|
|
9070
|
-
|
|
9073
|
+
CommonOpinionsvue_type_template_id_8458f882_render,
|
|
9074
|
+
CommonOpinionsvue_type_template_id_8458f882_staticRenderFns,
|
|
9071
9075
|
false,
|
|
9072
9076
|
null,
|
|
9073
9077
|
null,
|
|
@@ -9076,8 +9080,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9076
9080
|
)
|
|
9077
9081
|
|
|
9078
9082
|
/* harmony default export */ var CommonOpinions = (CommonOpinions_component.exports);
|
|
9079
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=
|
|
9080
|
-
var
|
|
9083
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/flow.vue?vue&type=template&id=68430d4b&
|
|
9084
|
+
var flowvue_type_template_id_68430d4b_render = function () {
|
|
9081
9085
|
var _vm = this
|
|
9082
9086
|
var _h = _vm.$createElement
|
|
9083
9087
|
var _c = _vm._self._c || _h
|
|
@@ -9573,8 +9577,11 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
9573
9577
|
name: "show",
|
|
9574
9578
|
rawName: "v-show",
|
|
9575
9579
|
value:
|
|
9576
|
-
!_vm.isStartFlow &&
|
|
9577
|
-
|
|
9580
|
+
!_vm.isStartFlow &&
|
|
9581
|
+
!_vm.shrink &&
|
|
9582
|
+
_vm.typeList.length > 1,
|
|
9583
|
+
expression:
|
|
9584
|
+
"!isStartFlow && !shrink && typeList.length > 1",
|
|
9578
9585
|
},
|
|
9579
9586
|
],
|
|
9580
9587
|
staticClass: "es-flow-middle-more-btn",
|
|
@@ -10692,8 +10699,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
10692
10699
|
{
|
|
10693
10700
|
attrs: {
|
|
10694
10701
|
prop: "nextReadUserId",
|
|
10695
|
-
label:
|
|
10696
|
-
"\n 分阅用户\n ",
|
|
10702
|
+
label: "分阅用户",
|
|
10697
10703
|
},
|
|
10698
10704
|
},
|
|
10699
10705
|
[
|
|
@@ -10710,6 +10716,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
10710
10716
|
showTooltip:
|
|
10711
10717
|
_vm.showTooltip,
|
|
10712
10718
|
title: "分阅用户",
|
|
10719
|
+
params: _vm.fyParams,
|
|
10713
10720
|
mix: true,
|
|
10714
10721
|
types: _vm.types,
|
|
10715
10722
|
tabs: _vm.tabs,
|
|
@@ -10756,6 +10763,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
10756
10763
|
_vm.presetReadUserId,
|
|
10757
10764
|
presetEdit: 1,
|
|
10758
10765
|
title: "分阅用户",
|
|
10766
|
+
params: _vm.fyParams,
|
|
10759
10767
|
mix: true,
|
|
10760
10768
|
types: _vm.types,
|
|
10761
10769
|
tabs: _vm.tabs,
|
|
@@ -11285,6 +11293,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
11285
11293
|
_vm.btnType === "reject"
|
|
11286
11294
|
? _c("ProcessReject", {
|
|
11287
11295
|
ref: "reject",
|
|
11296
|
+
staticClass: "es-info",
|
|
11288
11297
|
attrs: {
|
|
11289
11298
|
"pending-id": _vm.pendingId,
|
|
11290
11299
|
option: _vm.value,
|
|
@@ -11305,11 +11314,13 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
11305
11314
|
: _vm.btnType === "toStartTaskRead"
|
|
11306
11315
|
? _c("StartTaskRead", {
|
|
11307
11316
|
ref: "toStartTaskRead",
|
|
11317
|
+
staticClass: "es-info",
|
|
11308
11318
|
attrs: {
|
|
11309
11319
|
"pending-id": _vm.pendingId,
|
|
11310
11320
|
hideBtn: "",
|
|
11311
11321
|
opinion: _vm.value,
|
|
11312
11322
|
type: _vm.taskReadType,
|
|
11323
|
+
resetAppId: _vm.resetAppId,
|
|
11313
11324
|
showTooltip: _vm.showTooltip,
|
|
11314
11325
|
flowLabelConfig: _vm.flowLabelConfig,
|
|
11315
11326
|
hideMessage: _vm.hideMessage,
|
|
@@ -11536,7 +11547,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
11536
11547
|
attrs: { size: "medium" },
|
|
11537
11548
|
on: { click: _vm.taskReadBtn },
|
|
11538
11549
|
},
|
|
11539
|
-
[_vm._v("分阅
|
|
11550
|
+
[_vm._v("分阅")]
|
|
11540
11551
|
)
|
|
11541
11552
|
: _vm._e(),
|
|
11542
11553
|
],
|
|
@@ -11752,6 +11763,7 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
11752
11763
|
flowLabelConfig: _vm.flowLabelConfig,
|
|
11753
11764
|
hideMessage: _vm.hideMessage,
|
|
11754
11765
|
selectorConfig: _vm.selectorConfig,
|
|
11766
|
+
resetAppId: _vm.resetAppId,
|
|
11755
11767
|
simpleTips: _vm.simpleTips,
|
|
11756
11768
|
subParams: _vm.subParams,
|
|
11757
11769
|
taskExamine: _vm.taskExamineInfo,
|
|
@@ -11978,14 +11990,14 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
11978
11990
|
)
|
|
11979
11991
|
: _vm._e()
|
|
11980
11992
|
}
|
|
11981
|
-
var
|
|
11982
|
-
|
|
11993
|
+
var flowvue_type_template_id_68430d4b_staticRenderFns = []
|
|
11994
|
+
flowvue_type_template_id_68430d4b_render._withStripped = true
|
|
11983
11995
|
|
|
11984
11996
|
|
|
11985
|
-
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=
|
|
11997
|
+
// CONCATENATED MODULE: ./packages/flow/src/flow.vue?vue&type=template&id=68430d4b&
|
|
11986
11998
|
|
|
11987
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=template&id=
|
|
11988
|
-
var
|
|
11999
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=template&id=5f07a050&
|
|
12000
|
+
var Opinionsvue_type_template_id_5f07a050_render = function () {
|
|
11989
12001
|
var _vm = this
|
|
11990
12002
|
var _h = _vm.$createElement
|
|
11991
12003
|
var _c = _vm._self._c || _h
|
|
@@ -12101,11 +12113,7 @@ var Opinionsvue_type_template_id_0119601a_render = function () {
|
|
|
12101
12113
|
_c("el-button", {
|
|
12102
12114
|
staticClass: "es-flow__opinions--edit",
|
|
12103
12115
|
attrs: { type: "text", icon: "es-icon-xiugai" },
|
|
12104
|
-
on: {
|
|
12105
|
-
click: function ($event) {
|
|
12106
|
-
_vm.dialogVisible = true
|
|
12107
|
-
},
|
|
12108
|
-
},
|
|
12116
|
+
on: { click: _vm.handleOpenDialog },
|
|
12109
12117
|
}),
|
|
12110
12118
|
],
|
|
12111
12119
|
1
|
|
@@ -12206,11 +12214,11 @@ var Opinionsvue_type_template_id_0119601a_render = function () {
|
|
|
12206
12214
|
1
|
|
12207
12215
|
)
|
|
12208
12216
|
}
|
|
12209
|
-
var
|
|
12210
|
-
|
|
12217
|
+
var Opinionsvue_type_template_id_5f07a050_staticRenderFns = []
|
|
12218
|
+
Opinionsvue_type_template_id_5f07a050_render._withStripped = true
|
|
12211
12219
|
|
|
12212
12220
|
|
|
12213
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/Opinions.vue?vue&type=template&id=
|
|
12221
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/Opinions.vue?vue&type=template&id=5f07a050&
|
|
12214
12222
|
|
|
12215
12223
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/Opinions.vue?vue&type=script&lang=js&
|
|
12216
12224
|
var _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; };
|
|
@@ -12423,7 +12431,7 @@ var Opinionsvue_type_script_lang_js_components;
|
|
|
12423
12431
|
},
|
|
12424
12432
|
rows: {
|
|
12425
12433
|
type: [Number, String],
|
|
12426
|
-
default:
|
|
12434
|
+
default: 5
|
|
12427
12435
|
},
|
|
12428
12436
|
required: { type: Boolean, default: false }
|
|
12429
12437
|
},
|
|
@@ -12458,8 +12466,14 @@ var Opinionsvue_type_script_lang_js_components;
|
|
|
12458
12466
|
}
|
|
12459
12467
|
},
|
|
12460
12468
|
methods: {
|
|
12469
|
+
handleOpenDialog: function handleOpenDialog() {
|
|
12470
|
+
if (this.isBanInputOpinion == '1' || this.disabled) return;
|
|
12471
|
+
this.dialogVisible = true;
|
|
12472
|
+
},
|
|
12461
12473
|
handleClickTag: function handleClickTag(item) {
|
|
12474
|
+
if (this.isBanInputOpinion == '1') return;
|
|
12462
12475
|
this.form.value = (typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object' ? item.content : item;
|
|
12476
|
+
this.$emit('change', this.form.value);
|
|
12463
12477
|
},
|
|
12464
12478
|
handleBlur: function handleBlur() {
|
|
12465
12479
|
this.$emit('blur', this.form.value);
|
|
@@ -12682,8 +12696,8 @@ var Opinionsvue_type_script_lang_js_components;
|
|
|
12682
12696
|
|
|
12683
12697
|
var Opinions_component = Object(componentNormalizer["a" /* default */])(
|
|
12684
12698
|
component_Opinionsvue_type_script_lang_js_,
|
|
12685
|
-
|
|
12686
|
-
|
|
12699
|
+
Opinionsvue_type_template_id_5f07a050_render,
|
|
12700
|
+
Opinionsvue_type_template_id_5f07a050_staticRenderFns,
|
|
12687
12701
|
false,
|
|
12688
12702
|
null,
|
|
12689
12703
|
null,
|
|
@@ -12692,8 +12706,8 @@ var Opinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
12692
12706
|
)
|
|
12693
12707
|
|
|
12694
12708
|
/* harmony default export */ var Opinions = (Opinions_component.exports);
|
|
12695
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
12696
|
-
var
|
|
12709
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=template&id=1fcc557e&
|
|
12710
|
+
var processFormvue_type_template_id_1fcc557e_render = function () {
|
|
12697
12711
|
var _vm = this
|
|
12698
12712
|
var _h = _vm.$createElement
|
|
12699
12713
|
var _c = _vm._self._c || _h
|
|
@@ -12792,21 +12806,138 @@ var processFormvue_type_template_id_69688141_render = function () {
|
|
|
12792
12806
|
},
|
|
12793
12807
|
},
|
|
12794
12808
|
[
|
|
12795
|
-
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
|
|
12802
|
-
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12809
|
+
_vm.showOpinion
|
|
12810
|
+
? _c("CommonOpinions", {
|
|
12811
|
+
staticClass: "opinions",
|
|
12812
|
+
attrs: {
|
|
12813
|
+
opinion: _vm.nextNode.newOpinion,
|
|
12814
|
+
rows:
|
|
12815
|
+
_vm.copyHistory ||
|
|
12816
|
+
_vm.formType == "readTransfer"
|
|
12817
|
+
? 2
|
|
12818
|
+
: 5,
|
|
12819
|
+
required: _vm.isOpinionRequired == 1,
|
|
12820
|
+
},
|
|
12821
|
+
on: {
|
|
12822
|
+
change: function (val) {
|
|
12823
|
+
return (_vm.nextNode.newOpinion = val)
|
|
12824
|
+
},
|
|
12825
|
+
},
|
|
12826
|
+
})
|
|
12827
|
+
: _vm._e(),
|
|
12828
|
+
],
|
|
12829
|
+
1
|
|
12830
|
+
)
|
|
12831
|
+
: _vm._e(),
|
|
12832
|
+
_vm.isCanReadTransferHandle && _vm.readTransferHandleFlowTypeCode
|
|
12833
|
+
? _c(
|
|
12834
|
+
"el-form-item",
|
|
12835
|
+
{
|
|
12836
|
+
attrs: {
|
|
12837
|
+
prop: "nextNode",
|
|
12838
|
+
label: "选择流程",
|
|
12839
|
+
rules: [
|
|
12840
|
+
// { required: true, message: `请选择流程`, trigger: 'blur' }
|
|
12841
|
+
],
|
|
12842
|
+
},
|
|
12843
|
+
},
|
|
12844
|
+
[
|
|
12845
|
+
_c(
|
|
12846
|
+
"el-input",
|
|
12847
|
+
{
|
|
12848
|
+
staticClass: "input-with-select select-process",
|
|
12849
|
+
class: {
|
|
12850
|
+
"hide-flow-char":
|
|
12851
|
+
_vm.isStartFlowChartView != "true",
|
|
12807
12852
|
},
|
|
12853
|
+
attrs: { placeholder: "请输入内容" },
|
|
12808
12854
|
},
|
|
12809
|
-
|
|
12855
|
+
[
|
|
12856
|
+
_c(
|
|
12857
|
+
"el-select",
|
|
12858
|
+
{
|
|
12859
|
+
key: _vm.optionsKey,
|
|
12860
|
+
staticStyle: { width: "calc(100% + 40px)" },
|
|
12861
|
+
attrs: {
|
|
12862
|
+
slot: "prepend",
|
|
12863
|
+
placeholder: "请选择流程",
|
|
12864
|
+
},
|
|
12865
|
+
on: { change: _vm.handleFlowChange },
|
|
12866
|
+
slot: "prepend",
|
|
12867
|
+
model: {
|
|
12868
|
+
value: _vm.currentNodeInfo.nextNode,
|
|
12869
|
+
callback: function ($$v) {
|
|
12870
|
+
_vm.$set(_vm.currentNodeInfo, "nextNode", $$v)
|
|
12871
|
+
},
|
|
12872
|
+
expression: "currentNodeInfo.nextNode",
|
|
12873
|
+
},
|
|
12874
|
+
},
|
|
12875
|
+
_vm._l(
|
|
12876
|
+
_vm.currentNodeInfo.option,
|
|
12877
|
+
function (items) {
|
|
12878
|
+
return _c("el-option", {
|
|
12879
|
+
key: items.id,
|
|
12880
|
+
attrs: {
|
|
12881
|
+
label: items.name,
|
|
12882
|
+
disabled: items.disabled,
|
|
12883
|
+
value: items.processDefId,
|
|
12884
|
+
},
|
|
12885
|
+
})
|
|
12886
|
+
}
|
|
12887
|
+
),
|
|
12888
|
+
1
|
|
12889
|
+
),
|
|
12890
|
+
_c(
|
|
12891
|
+
"div",
|
|
12892
|
+
{
|
|
12893
|
+
directives: [
|
|
12894
|
+
{
|
|
12895
|
+
name: "show",
|
|
12896
|
+
rawName: "v-show",
|
|
12897
|
+
value: _vm.isStartFlowChartView == "true",
|
|
12898
|
+
expression: "isStartFlowChartView == 'true'",
|
|
12899
|
+
},
|
|
12900
|
+
],
|
|
12901
|
+
attrs: { slot: "append" },
|
|
12902
|
+
slot: "append",
|
|
12903
|
+
},
|
|
12904
|
+
[
|
|
12905
|
+
_c("el-button", {
|
|
12906
|
+
attrs: {
|
|
12907
|
+
icon: "es-icon-shu-jituan",
|
|
12908
|
+
type: "primary",
|
|
12909
|
+
},
|
|
12910
|
+
on: {
|
|
12911
|
+
click: function () {
|
|
12912
|
+
_vm.showFlowChart = true
|
|
12913
|
+
},
|
|
12914
|
+
},
|
|
12915
|
+
}),
|
|
12916
|
+
_c("el-button", {
|
|
12917
|
+
directives: [
|
|
12918
|
+
{
|
|
12919
|
+
name: "show",
|
|
12920
|
+
rawName: "v-show",
|
|
12921
|
+
value: _vm.activitiDefinitionSort,
|
|
12922
|
+
expression: "activitiDefinitionSort",
|
|
12923
|
+
},
|
|
12924
|
+
],
|
|
12925
|
+
attrs: {
|
|
12926
|
+
icon: "es-icon-paixu",
|
|
12927
|
+
type: "primary",
|
|
12928
|
+
},
|
|
12929
|
+
on: {
|
|
12930
|
+
click: function () {
|
|
12931
|
+
_vm.showSort = true
|
|
12932
|
+
},
|
|
12933
|
+
},
|
|
12934
|
+
}),
|
|
12935
|
+
],
|
|
12936
|
+
1
|
|
12937
|
+
),
|
|
12938
|
+
],
|
|
12939
|
+
1
|
|
12940
|
+
),
|
|
12810
12941
|
],
|
|
12811
12942
|
1
|
|
12812
12943
|
)
|
|
@@ -13088,6 +13219,7 @@ var processFormvue_type_template_id_69688141_render = function () {
|
|
|
13088
13219
|
title: "分阅用户",
|
|
13089
13220
|
mix: true,
|
|
13090
13221
|
types: _vm.types,
|
|
13222
|
+
params: _vm.fyParams,
|
|
13091
13223
|
tabs: _vm.tabs,
|
|
13092
13224
|
},
|
|
13093
13225
|
on: {
|
|
@@ -13118,6 +13250,7 @@ var processFormvue_type_template_id_69688141_render = function () {
|
|
|
13118
13250
|
showTooltip: _vm.showTooltip,
|
|
13119
13251
|
options: _vm.presetOptions,
|
|
13120
13252
|
title: "分阅用户",
|
|
13253
|
+
params: _vm.fyParams,
|
|
13121
13254
|
radioList: _vm.presetReadUserId,
|
|
13122
13255
|
presetEdit: 1,
|
|
13123
13256
|
mix: true,
|
|
@@ -13528,11 +13661,11 @@ var processFormvue_type_template_id_69688141_render = function () {
|
|
|
13528
13661
|
1
|
|
13529
13662
|
)
|
|
13530
13663
|
}
|
|
13531
|
-
var
|
|
13532
|
-
|
|
13664
|
+
var processFormvue_type_template_id_1fcc557e_staticRenderFns = []
|
|
13665
|
+
processFormvue_type_template_id_1fcc557e_render._withStripped = true
|
|
13533
13666
|
|
|
13534
13667
|
|
|
13535
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
13668
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=1fcc557e&
|
|
13536
13669
|
|
|
13537
13670
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/selectUser.vue?vue&type=template&id=e270ebde&
|
|
13538
13671
|
var selectUservue_type_template_id_e270ebde_render = function () {
|
|
@@ -15070,6 +15203,8 @@ var Preset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15070
15203
|
|
|
15071
15204
|
/* harmony default export */ var Preset = (Preset_component.exports);
|
|
15072
15205
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=script&lang=js&
|
|
15206
|
+
var processFormvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
15207
|
+
|
|
15073
15208
|
var processFormvue_type_script_lang_js_components;
|
|
15074
15209
|
|
|
15075
15210
|
//
|
|
@@ -15493,6 +15628,63 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15493
15628
|
//
|
|
15494
15629
|
//
|
|
15495
15630
|
//
|
|
15631
|
+
//
|
|
15632
|
+
//
|
|
15633
|
+
//
|
|
15634
|
+
//
|
|
15635
|
+
//
|
|
15636
|
+
//
|
|
15637
|
+
//
|
|
15638
|
+
//
|
|
15639
|
+
//
|
|
15640
|
+
//
|
|
15641
|
+
//
|
|
15642
|
+
//
|
|
15643
|
+
//
|
|
15644
|
+
//
|
|
15645
|
+
//
|
|
15646
|
+
//
|
|
15647
|
+
//
|
|
15648
|
+
//
|
|
15649
|
+
//
|
|
15650
|
+
//
|
|
15651
|
+
//
|
|
15652
|
+
//
|
|
15653
|
+
//
|
|
15654
|
+
//
|
|
15655
|
+
//
|
|
15656
|
+
//
|
|
15657
|
+
//
|
|
15658
|
+
//
|
|
15659
|
+
//
|
|
15660
|
+
//
|
|
15661
|
+
//
|
|
15662
|
+
//
|
|
15663
|
+
//
|
|
15664
|
+
//
|
|
15665
|
+
//
|
|
15666
|
+
//
|
|
15667
|
+
//
|
|
15668
|
+
//
|
|
15669
|
+
//
|
|
15670
|
+
//
|
|
15671
|
+
//
|
|
15672
|
+
//
|
|
15673
|
+
//
|
|
15674
|
+
//
|
|
15675
|
+
//
|
|
15676
|
+
//
|
|
15677
|
+
//
|
|
15678
|
+
//
|
|
15679
|
+
//
|
|
15680
|
+
//
|
|
15681
|
+
//
|
|
15682
|
+
//
|
|
15683
|
+
//
|
|
15684
|
+
//
|
|
15685
|
+
//
|
|
15686
|
+
//
|
|
15687
|
+
//
|
|
15496
15688
|
|
|
15497
15689
|
|
|
15498
15690
|
|
|
@@ -15505,6 +15697,14 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15505
15697
|
|
|
15506
15698
|
components: (processFormvue_type_script_lang_js_components = {}, processFormvue_type_script_lang_js_components[Option.name] = Option, processFormvue_type_script_lang_js_components[selectUser.name] = selectUser, processFormvue_type_script_lang_js_components[CustomPreset.name] = CustomPreset, processFormvue_type_script_lang_js_components[CommonOpinions.name] = CommonOpinions, processFormvue_type_script_lang_js_components.Preset = Preset, processFormvue_type_script_lang_js_components),
|
|
15507
15699
|
props: {
|
|
15700
|
+
isCanReadTransferHandle: {
|
|
15701
|
+
type: Boolean,
|
|
15702
|
+
default: false
|
|
15703
|
+
},
|
|
15704
|
+
readTransferHandleFlowTypeCode: {
|
|
15705
|
+
type: String,
|
|
15706
|
+
default: ''
|
|
15707
|
+
},
|
|
15508
15708
|
processDefinitionId: {
|
|
15509
15709
|
type: String,
|
|
15510
15710
|
default: ''
|
|
@@ -15586,11 +15786,15 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15586
15786
|
return {
|
|
15587
15787
|
loading: false,
|
|
15588
15788
|
isCustomUser: 0,
|
|
15789
|
+
currentNodeInfo: { nextNode: '', nextUser: '', option: [] },
|
|
15790
|
+
isStartFlowChartView: false,
|
|
15589
15791
|
isCurrentNodeForbiddenChangeCandidate: 0,
|
|
15590
15792
|
allLoading: null,
|
|
15591
15793
|
selectUser: false,
|
|
15592
15794
|
multiple: false,
|
|
15593
15795
|
readMultiple: true,
|
|
15796
|
+
showOpinion: true,
|
|
15797
|
+
isOpinionRequired: 0,
|
|
15594
15798
|
currentOrgSelectorTabs: ['employee', 'persongroup'],
|
|
15595
15799
|
customPresetHintMessage: '', //流程预设标题
|
|
15596
15800
|
nextNodeCheckType: 'select',
|
|
@@ -15609,6 +15813,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15609
15813
|
defaultNextNode: '',
|
|
15610
15814
|
presetUserJson: [],
|
|
15611
15815
|
businessId: '',
|
|
15816
|
+
optionsKey: 0,
|
|
15612
15817
|
isTaskread: 0, //是否显示分阅用户
|
|
15613
15818
|
isHandleExplain: 0, //是否展示办理说明
|
|
15614
15819
|
options: [],
|
|
@@ -15646,6 +15851,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15646
15851
|
}
|
|
15647
15852
|
}
|
|
15648
15853
|
},
|
|
15854
|
+
activitiDefinitionSort: false,
|
|
15649
15855
|
userModel: {},
|
|
15650
15856
|
nextUserTabs: {},
|
|
15651
15857
|
selectPresetUserList: [],
|
|
@@ -15713,7 +15919,9 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15713
15919
|
}
|
|
15714
15920
|
},
|
|
15715
15921
|
processDefinitionId: function processDefinitionId(val) {
|
|
15922
|
+
var savedNodeInfo = processFormvue_type_script_lang_js_extends({}, this.currentNodeInfo);
|
|
15716
15923
|
Object.assign(this.$data, this.$options.data());
|
|
15924
|
+
this.currentNodeInfo = savedNodeInfo;
|
|
15717
15925
|
this.getUserInfo();
|
|
15718
15926
|
this.getNodeType();
|
|
15719
15927
|
this.getStartFlow(val);
|
|
@@ -15759,6 +15967,28 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15759
15967
|
} else {
|
|
15760
15968
|
return ['employee', 'enterprise', 'department', 'persongroup'];
|
|
15761
15969
|
}
|
|
15970
|
+
},
|
|
15971
|
+
fyParams: function fyParams() {
|
|
15972
|
+
var orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
|
|
15973
|
+
var params = {};
|
|
15974
|
+
if (this.configInfo.selectPersonValue == 1) {
|
|
15975
|
+
params.filid = orgId;
|
|
15976
|
+
} else if (this.configInfo.selectPersonValue == 2) {
|
|
15977
|
+
params.filid = orgId;
|
|
15978
|
+
} else if (this.configInfo.selectPersonValue == 3) {
|
|
15979
|
+
params.filid = 'all';
|
|
15980
|
+
} else if (this.configInfo.selectPersonValue == 4) {
|
|
15981
|
+
params.filid = 'all';
|
|
15982
|
+
} else if (this.configInfo.selectPersonValue == 5) {
|
|
15983
|
+
params.filid = '';
|
|
15984
|
+
} else if (this.configInfo.selectPersonValue == 6) {
|
|
15985
|
+
params.filid = '';
|
|
15986
|
+
} else if (this.configInfo.selectPersonValue == 7) {
|
|
15987
|
+
params.filid = orgId;
|
|
15988
|
+
} else if (this.configInfo.selectPersonValue == 8) {
|
|
15989
|
+
params.filid = orgId;
|
|
15990
|
+
}
|
|
15991
|
+
return params;
|
|
15762
15992
|
}
|
|
15763
15993
|
},
|
|
15764
15994
|
created: function created() {
|
|
@@ -15774,9 +16004,68 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15774
16004
|
} else if (this.formType != 'readTransfer') {
|
|
15775
16005
|
this.newOpinion = this.opinion;
|
|
15776
16006
|
}
|
|
16007
|
+
if (this.isCanReadTransferHandle && this.readTransferHandleFlowTypeCode) {
|
|
16008
|
+
this.getProcess(this.readTransferHandleFlowTypeCode);
|
|
16009
|
+
}
|
|
15777
16010
|
},
|
|
15778
16011
|
|
|
15779
16012
|
methods: {
|
|
16013
|
+
/**
|
|
16014
|
+
* getProcess
|
|
16015
|
+
* @desc:获取选择流程
|
|
16016
|
+
* @author liufan
|
|
16017
|
+
* @date 2022年5月25日
|
|
16018
|
+
**/
|
|
16019
|
+
getProcess: function getProcess(val) {
|
|
16020
|
+
var _this2 = this;
|
|
16021
|
+
|
|
16022
|
+
var params = {
|
|
16023
|
+
businessId: this.businessId,
|
|
16024
|
+
flowTypeCode: val || this.flowTypeCode,
|
|
16025
|
+
// defaultProcessKey: this.defaultProcessKey,
|
|
16026
|
+
isOnly: true,
|
|
16027
|
+
hideTempSave: true
|
|
16028
|
+
};
|
|
16029
|
+
var loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
16030
|
+
util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
|
|
16031
|
+
var status = res.status,
|
|
16032
|
+
message = res.message,
|
|
16033
|
+
data = res.data;
|
|
16034
|
+
|
|
16035
|
+
loading.close();
|
|
16036
|
+
if (status === 'success') {
|
|
16037
|
+
_this2.isStartFlowChartView = data.isStartFlowChartView;
|
|
16038
|
+
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
16039
|
+
_this2.$message.error('流程不存在或未关联对应流程!');
|
|
16040
|
+
} else {
|
|
16041
|
+
_this2.activitiDefinitionSort = data.activitiDefinitionSort;
|
|
16042
|
+
_this2.currentNodeInfo.option = data.definitionList;
|
|
16043
|
+
_this2.currentNodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
16044
|
+
return item.processDefKey == _this2.defaultProcessKey;
|
|
16045
|
+
});
|
|
16046
|
+
if (_this2.currentNodeInfo.nextNode.length) {
|
|
16047
|
+
_this2.currentNodeInfo.nextNode = _this2.currentNodeInfo.nextNode[0].processDefId;
|
|
16048
|
+
} else {
|
|
16049
|
+
if (data.definitionList.length != 0) {
|
|
16050
|
+
_this2.currentNodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
16051
|
+
} else {
|
|
16052
|
+
_this2.currentNodeInfo.nextNode = '';
|
|
16053
|
+
}
|
|
16054
|
+
}
|
|
16055
|
+
if (_this2.currentNodeInfo.nextNode) {
|
|
16056
|
+
_this2.handleFlowChange(_this2.currentNodeInfo.nextNode, true);
|
|
16057
|
+
}
|
|
16058
|
+
}
|
|
16059
|
+
} else {
|
|
16060
|
+
_this2.$message.error(message || '系统错误,请联系管理员!');
|
|
16061
|
+
}
|
|
16062
|
+
}).catch(function (err) {
|
|
16063
|
+
loading.close();
|
|
16064
|
+
if (err.message && err.message !== 'canceled') {
|
|
16065
|
+
_this2.$message.error(err.message);
|
|
16066
|
+
}
|
|
16067
|
+
});
|
|
16068
|
+
},
|
|
15780
16069
|
handleChangeTime: function handleChangeTime(val) {
|
|
15781
16070
|
this.nextNode.customLimitTime = val;
|
|
15782
16071
|
},
|
|
@@ -15799,6 +16088,30 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15799
16088
|
callback();
|
|
15800
16089
|
}
|
|
15801
16090
|
},
|
|
16091
|
+
handleFlowChange: function handleFlowChange(val) {
|
|
16092
|
+
this.getNodeInfoForStartFlow(val);
|
|
16093
|
+
this.$parent.$emit('flowChange', val);
|
|
16094
|
+
},
|
|
16095
|
+
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
16096
|
+
var _this3 = this;
|
|
16097
|
+
|
|
16098
|
+
var params = {
|
|
16099
|
+
url: api["bb" /* getNodeInfoForStart */],
|
|
16100
|
+
params: { processDefinitionId: processDefinitionId }
|
|
16101
|
+
};
|
|
16102
|
+
util["a" /* default */].ajax(params).then(function (res) {
|
|
16103
|
+
if (res.status == 'success') {
|
|
16104
|
+
_this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired;
|
|
16105
|
+
_this3.showOpinion = false;
|
|
16106
|
+
setTimeout(function () {
|
|
16107
|
+
_this3.showOpinion = true;
|
|
16108
|
+
}, 0);
|
|
16109
|
+
_this3.processDefinitionId = processDefinitionId;
|
|
16110
|
+
// this.getStartFlow(processDefinitionId);
|
|
16111
|
+
// this.getNodeInfos(undefined, undefined, processDefinitionId);
|
|
16112
|
+
}
|
|
16113
|
+
});
|
|
16114
|
+
},
|
|
15802
16115
|
handleChange: function handleChange() {
|
|
15803
16116
|
this.isChangeMessage = true;
|
|
15804
16117
|
},
|
|
@@ -15809,7 +16122,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15809
16122
|
}
|
|
15810
16123
|
},
|
|
15811
16124
|
getUserInfo: function getUserInfo() {
|
|
15812
|
-
var
|
|
16125
|
+
var _this4 = this;
|
|
15813
16126
|
|
|
15814
16127
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
15815
16128
|
if (mainConfig) {
|
|
@@ -15822,16 +16135,16 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15822
16135
|
data = res.data;
|
|
15823
16136
|
|
|
15824
16137
|
if (status == 'success') {
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
16138
|
+
_this4.userModel = data;
|
|
16139
|
+
_this4.foreignOrgSelectorParams.nofilid = _this4.userModel.orgId;
|
|
16140
|
+
_this4.foreignOrgSelectorParams.roleid = tthis.currentOrgSelectorParams.roleid = _this4.selectorParams.roleid;
|
|
15828
16141
|
} else {
|
|
15829
16142
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
15830
|
-
|
|
16143
|
+
_this4.$message.error(msg);
|
|
15831
16144
|
}
|
|
15832
16145
|
}).catch(function (err) {
|
|
15833
16146
|
if (err.message && err.message !== 'canceled') {
|
|
15834
|
-
|
|
16147
|
+
_this4.$message.error(err.message);
|
|
15835
16148
|
}
|
|
15836
16149
|
});
|
|
15837
16150
|
}
|
|
@@ -15901,7 +16214,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15901
16214
|
}
|
|
15902
16215
|
},
|
|
15903
16216
|
selecNext: function selecNext(val) {
|
|
15904
|
-
var
|
|
16217
|
+
var _this5 = this;
|
|
15905
16218
|
|
|
15906
16219
|
this.nextNode.nextUser = [];
|
|
15907
16220
|
this.options = [];
|
|
@@ -15915,7 +16228,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15915
16228
|
this.nextNode.nodeInfo = this.operationList[val].list;
|
|
15916
16229
|
if (this.nextNode.nodeInfo.length > 0) {
|
|
15917
16230
|
var defaultNodeData = this.nextNode.nodeInfo.filter(function (x) {
|
|
15918
|
-
return x.nodeId ==
|
|
16231
|
+
return x.nodeId == _this5.defaultNextNode;
|
|
15919
16232
|
});
|
|
15920
16233
|
length;
|
|
15921
16234
|
this.nextNode.nextNode = defaultNodeData.length > 0 ? this.defaultNextNode : this.nextNode.nodeInfo[0].nodeId;
|
|
@@ -15993,7 +16306,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15993
16306
|
this.getsubProcessColumns();
|
|
15994
16307
|
},
|
|
15995
16308
|
getNodeType: function getNodeType() {
|
|
15996
|
-
var
|
|
16309
|
+
var _this6 = this;
|
|
15997
16310
|
|
|
15998
16311
|
util["a" /* default */].ajax({
|
|
15999
16312
|
url: api["G" /* findCodeValues */],
|
|
@@ -16006,23 +16319,23 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16006
16319
|
data = res.data;
|
|
16007
16320
|
|
|
16008
16321
|
if (status === 'success') {
|
|
16009
|
-
|
|
16322
|
+
_this6.nextNode.noticeList = data;
|
|
16010
16323
|
}
|
|
16011
16324
|
}).catch(function (err) {
|
|
16012
|
-
if (
|
|
16013
|
-
|
|
16325
|
+
if (_this6.showBtn) {
|
|
16326
|
+
_this6.loading = false;
|
|
16014
16327
|
} else {
|
|
16015
|
-
|
|
16328
|
+
_this6.allLoading.close();
|
|
16016
16329
|
}
|
|
16017
16330
|
if (err.message && err.message !== 'canceled') {
|
|
16018
|
-
|
|
16331
|
+
_this6.$message.error(err.message);
|
|
16019
16332
|
}
|
|
16020
16333
|
});
|
|
16021
16334
|
},
|
|
16022
16335
|
|
|
16023
16336
|
//获取通知信息
|
|
16024
16337
|
getMessage: function getMessage() {
|
|
16025
|
-
var
|
|
16338
|
+
var _this7 = this;
|
|
16026
16339
|
|
|
16027
16340
|
var params = {
|
|
16028
16341
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -16034,21 +16347,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16034
16347
|
}
|
|
16035
16348
|
util["a" /* default */].ajax({ url: api["cb" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
16036
16349
|
if (res.status === 'success') {
|
|
16037
|
-
if (!
|
|
16038
|
-
|
|
16039
|
-
|
|
16350
|
+
if (!_this7.showBtn) {
|
|
16351
|
+
_this7.oldMessage = res.message;
|
|
16352
|
+
_this7.nextNode.noticeInfo = res.message.replace('{title}', _this7.formTitle);
|
|
16040
16353
|
} else {
|
|
16041
|
-
|
|
16354
|
+
_this7.nextNode.noticeInfo = res.message;
|
|
16042
16355
|
}
|
|
16043
16356
|
}
|
|
16044
16357
|
}).catch(function (err) {
|
|
16045
|
-
if (
|
|
16046
|
-
|
|
16358
|
+
if (_this7.showBtn) {
|
|
16359
|
+
_this7.loading = false;
|
|
16047
16360
|
} else {
|
|
16048
|
-
|
|
16361
|
+
_this7.allLoading.close();
|
|
16049
16362
|
}
|
|
16050
16363
|
if (err.message && err.message !== 'canceled') {
|
|
16051
|
-
|
|
16364
|
+
_this7.$message.error(err.message);
|
|
16052
16365
|
}
|
|
16053
16366
|
});
|
|
16054
16367
|
},
|
|
@@ -16058,11 +16371,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16058
16371
|
this.saveProcess(formName);
|
|
16059
16372
|
},
|
|
16060
16373
|
saveProcess: function saveProcess(formName) {
|
|
16061
|
-
var
|
|
16374
|
+
var _this8 = this;
|
|
16062
16375
|
|
|
16063
16376
|
this.$refs[formName].validate(function (valid) {
|
|
16064
16377
|
if (valid) {
|
|
16065
|
-
var _nextNode =
|
|
16378
|
+
var _nextNode = _this8.nextNode,
|
|
16066
16379
|
nextNode = _nextNode.nextNode,
|
|
16067
16380
|
nextUser = _nextNode.nextUser,
|
|
16068
16381
|
noticeInfo = _nextNode.noticeInfo,
|
|
@@ -16079,31 +16392,31 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16079
16392
|
// return this.$message.warning('请选择通知方式');
|
|
16080
16393
|
// }
|
|
16081
16394
|
|
|
16082
|
-
if (
|
|
16083
|
-
if ((nextUser == '' ||
|
|
16084
|
-
return
|
|
16395
|
+
if (_this8.isShowNextUser) {
|
|
16396
|
+
if ((nextUser == '' || _this8.multiple && nextUser.length == 0) && !_this8.isHideCurrentOrg && !_this8.isHideOtherOrg) {
|
|
16397
|
+
return _this8.$message.warning('\u8BF7\u9009\u62E9' + (_this8.flowLabelConfig.nextUser || '下步办理人'));
|
|
16085
16398
|
}
|
|
16086
16399
|
} else {
|
|
16087
|
-
if (nextOrgId == '' ||
|
|
16088
|
-
return
|
|
16400
|
+
if (nextOrgId == '' || _this8.multiple && nextOrgId.length == 0) {
|
|
16401
|
+
return _this8.$message.warning('请选择办理对象');
|
|
16089
16402
|
}
|
|
16090
16403
|
}
|
|
16091
|
-
if ((
|
|
16092
|
-
return
|
|
16404
|
+
if ((_this8.isHideOtherOrg || _this8.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
|
|
16405
|
+
return _this8.$message.warning('请选择办理对象');
|
|
16093
16406
|
}
|
|
16094
|
-
if (
|
|
16095
|
-
|
|
16407
|
+
if (_this8.isCancelSecondConfirmationType) {
|
|
16408
|
+
_this8.$confirm('确认提交吗?', '提示', {
|
|
16096
16409
|
confirmButtonText: '确定',
|
|
16097
16410
|
cancelButtonText: '取消',
|
|
16098
16411
|
type: 'warning'
|
|
16099
16412
|
}).then(function () {
|
|
16100
|
-
if (
|
|
16101
|
-
|
|
16413
|
+
if (_this8.showBtn) {
|
|
16414
|
+
_this8.loading = true;
|
|
16102
16415
|
} else {
|
|
16103
|
-
|
|
16416
|
+
_this8.allLoading = util["a" /* default */].loading(_this8.$loading, '加载中...');
|
|
16104
16417
|
}
|
|
16105
16418
|
var newNextUser = [];
|
|
16106
|
-
if (
|
|
16419
|
+
if (_this8.multiple) {
|
|
16107
16420
|
nextUser && nextUser.map(function (item) {
|
|
16108
16421
|
return newNextUser.push(item);
|
|
16109
16422
|
});
|
|
@@ -16113,108 +16426,108 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16113
16426
|
newNoticeType = noticeType.join(',');
|
|
16114
16427
|
}
|
|
16115
16428
|
var params = {
|
|
16116
|
-
processDefinitionId:
|
|
16117
|
-
nextUserId:
|
|
16429
|
+
processDefinitionId: _this8.processDefinitionId,
|
|
16430
|
+
nextUserId: _this8.multiple ? newNextUser.join(',') : nextUser,
|
|
16118
16431
|
nextNodeId: nextNode,
|
|
16119
|
-
businessId:
|
|
16432
|
+
businessId: _this8.businessId,
|
|
16120
16433
|
notificationType: newNoticeType,
|
|
16121
16434
|
userId: util["a" /* default */].getStorage('userId'),
|
|
16122
16435
|
notificationMsg: noticeInfo,
|
|
16123
|
-
customPresetUserJson: JSON.stringify(
|
|
16124
|
-
presetUserJson: JSON.stringify(
|
|
16125
|
-
nextReadUserId:
|
|
16126
|
-
nextOrgId: !
|
|
16436
|
+
customPresetUserJson: JSON.stringify(_this8.presetList),
|
|
16437
|
+
presetUserJson: JSON.stringify(_this8.presetUserJson),
|
|
16438
|
+
nextReadUserId: _this8.readMultiple ? _this8.mixReadList && _this8.mixReadList.join('|') : nextReadUserId,
|
|
16439
|
+
nextOrgId: !_this8.isShowNextUser ? _this8.multiple ? _this8.mixOrgIdList && _this8.mixOrgIdList.join('|') : nextOrgId : '',
|
|
16127
16440
|
handleExplain: handleExplain,
|
|
16128
|
-
presetReadUserId:
|
|
16129
|
-
opinion:
|
|
16441
|
+
presetReadUserId: _this8.mixPresetList && _this8.mixPresetList.length > 0 ? _this8.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
16442
|
+
opinion: _this8.newOpinion || newOpinion
|
|
16130
16443
|
};
|
|
16131
|
-
if (
|
|
16444
|
+
if (_this8.enableCustomLimitTimeSetting) {
|
|
16132
16445
|
params.customLimitTime = customLimitTime;
|
|
16133
16446
|
if (!customLimitTime) {
|
|
16134
|
-
|
|
16135
|
-
|
|
16447
|
+
_this8.$message.warning('请选择或输入限时办理的天数');
|
|
16448
|
+
_this8.nextNode.customLimitTime = '';
|
|
16136
16449
|
return;
|
|
16137
16450
|
} else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
|
|
16138
|
-
|
|
16139
|
-
|
|
16451
|
+
_this8.$message.warning('请输入正确的天数');
|
|
16452
|
+
_this8.nextNode.customLimitTime = '';
|
|
16140
16453
|
return;
|
|
16141
16454
|
}
|
|
16142
16455
|
}
|
|
16143
|
-
if (
|
|
16456
|
+
if (_this8.isHideCurrentOrg) {
|
|
16144
16457
|
params.nextCurrentOrgObj = nextCurrentOrgObj;
|
|
16145
16458
|
}
|
|
16146
|
-
if (
|
|
16459
|
+
if (_this8.isHideOtherOrg) {
|
|
16147
16460
|
params.nextOtherOrgObj = nextOtherOrgObj;
|
|
16148
16461
|
}
|
|
16149
|
-
if (
|
|
16150
|
-
if (
|
|
16462
|
+
if (_this8.activeNames != '1' || !_this8.isCustomPreset) delete params.customPresetUserJson;
|
|
16463
|
+
if (_this8.isFreeStartFlow || _this8.formType === 'readTransfer') {
|
|
16151
16464
|
var newParm = {};
|
|
16152
|
-
newParm.copyHistory =
|
|
16465
|
+
newParm.copyHistory = _this8.copyHistory === 'needCopyPendedHistory';
|
|
16153
16466
|
newParm.startFlowParamJson = params;
|
|
16154
16467
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
16155
16468
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
16156
|
-
startFlowFirstNodeName:
|
|
16469
|
+
startFlowFirstNodeName: _this8.taskExamineParam
|
|
16157
16470
|
};
|
|
16158
16471
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
16159
|
-
for (var key in
|
|
16160
|
-
if (Array.isArray(
|
|
16161
|
-
|
|
16472
|
+
for (var key in _this8.taskParams) {
|
|
16473
|
+
if (Array.isArray(_this8.taskParams[key])) {
|
|
16474
|
+
_this8.taskParams[key] = _this8.taskParams[key].length > 0 ? _this8.taskParams[key].join(',') : '';
|
|
16162
16475
|
}
|
|
16163
16476
|
}
|
|
16164
16477
|
|
|
16165
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
16166
|
-
if (
|
|
16478
|
+
newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
|
|
16479
|
+
if (_this8.formType == 'readTransfer') {
|
|
16167
16480
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
16168
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
16481
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
|
|
16169
16482
|
delete newParm.copyHistory;
|
|
16170
16483
|
delete newParm.startFlowParamJson;
|
|
16171
16484
|
delete newParm.submitTaskParamJson;
|
|
16172
16485
|
}
|
|
16173
16486
|
params = newParm;
|
|
16174
16487
|
}
|
|
16175
|
-
if (
|
|
16176
|
-
params.pendingId =
|
|
16488
|
+
if (_this8.copyHistory && !_this8.isFreeStartFlow) {
|
|
16489
|
+
params.pendingId = _this8.pendingId;
|
|
16177
16490
|
delete params.businessId;
|
|
16178
16491
|
}
|
|
16179
16492
|
util["a" /* default */].ajax({
|
|
16180
|
-
url:
|
|
16493
|
+
url: _this8.isFreeStartFlow ? api["M" /* freeStartFlowWithSubmitTask */] : _this8.formType == 'readTransfer' ? api["ec" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this8.copyHistory ? api["L" /* freeStartFlow */] : api["Rb" /* register */],
|
|
16181
16494
|
method: 'post',
|
|
16182
16495
|
data: params
|
|
16183
16496
|
}).then(function (res) {
|
|
16184
16497
|
var status = res.status,
|
|
16185
16498
|
message = res.message;
|
|
16186
16499
|
|
|
16187
|
-
if (
|
|
16188
|
-
|
|
16500
|
+
if (_this8.showBtn) {
|
|
16501
|
+
_this8.loading = false;
|
|
16189
16502
|
} else {
|
|
16190
|
-
|
|
16503
|
+
_this8.allLoading.close();
|
|
16191
16504
|
}
|
|
16192
16505
|
if (status === 'success' || res.rCode == 0) {
|
|
16193
|
-
|
|
16194
|
-
|
|
16506
|
+
_this8.quit(true);
|
|
16507
|
+
_this8.simpleTips && _this8.$message.success('操作成功');
|
|
16195
16508
|
} else {
|
|
16196
|
-
|
|
16509
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
16197
16510
|
}
|
|
16198
16511
|
}).catch(function (err) {
|
|
16199
|
-
if (
|
|
16200
|
-
|
|
16512
|
+
if (_this8.showBtn) {
|
|
16513
|
+
_this8.loading = false;
|
|
16201
16514
|
} else {
|
|
16202
|
-
|
|
16515
|
+
_this8.allLoading.close();
|
|
16203
16516
|
}
|
|
16204
16517
|
if (err.message && err.message !== 'canceled') {
|
|
16205
|
-
|
|
16518
|
+
_this8.$message.error(err.message);
|
|
16206
16519
|
}
|
|
16207
16520
|
});
|
|
16208
16521
|
});
|
|
16209
16522
|
return;
|
|
16210
16523
|
}
|
|
16211
|
-
if (
|
|
16212
|
-
|
|
16524
|
+
if (_this8.showBtn) {
|
|
16525
|
+
_this8.loading = true;
|
|
16213
16526
|
} else {
|
|
16214
|
-
|
|
16527
|
+
_this8.allLoading = util["a" /* default */].loading(_this8.$loading, '加载中...');
|
|
16215
16528
|
}
|
|
16216
16529
|
var newNextUser = [];
|
|
16217
|
-
if (
|
|
16530
|
+
if (_this8.multiple) {
|
|
16218
16531
|
nextUser && nextUser.map(function (item) {
|
|
16219
16532
|
return newNextUser.push(item);
|
|
16220
16533
|
});
|
|
@@ -16224,96 +16537,96 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16224
16537
|
newNoticeType = noticeType.join(',');
|
|
16225
16538
|
}
|
|
16226
16539
|
var params = {
|
|
16227
|
-
processDefinitionId:
|
|
16228
|
-
nextUserId:
|
|
16540
|
+
processDefinitionId: _this8.processDefinitionId,
|
|
16541
|
+
nextUserId: _this8.multiple ? newNextUser.join(',') : nextUser,
|
|
16229
16542
|
nextNodeId: nextNode,
|
|
16230
|
-
businessId:
|
|
16543
|
+
businessId: _this8.businessId,
|
|
16231
16544
|
notificationType: newNoticeType,
|
|
16232
16545
|
userId: util["a" /* default */].getStorage('userId'),
|
|
16233
16546
|
notificationMsg: noticeInfo,
|
|
16234
|
-
customPresetUserJson: JSON.stringify(
|
|
16235
|
-
presetUserJson: JSON.stringify(
|
|
16236
|
-
nextReadUserId:
|
|
16237
|
-
nextOrgId: !
|
|
16547
|
+
customPresetUserJson: JSON.stringify(_this8.presetList),
|
|
16548
|
+
presetUserJson: JSON.stringify(_this8.presetUserJson),
|
|
16549
|
+
nextReadUserId: _this8.readMultiple ? _this8.mixReadList && _this8.mixReadList.join('|') : nextReadUserId,
|
|
16550
|
+
nextOrgId: !_this8.isShowNextUser ? _this8.multiple ? _this8.mixOrgIdList && _this8.mixOrgIdList.join('|') : nextOrgId : '',
|
|
16238
16551
|
handleExplain: handleExplain,
|
|
16239
|
-
presetReadUserId:
|
|
16240
|
-
opinion:
|
|
16552
|
+
presetReadUserId: _this8.mixPresetList && _this8.mixPresetList.length > 0 ? _this8.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
16553
|
+
opinion: _this8.newOpinion || newOpinion
|
|
16241
16554
|
};
|
|
16242
|
-
if (
|
|
16555
|
+
if (_this8.enableCustomLimitTimeSetting) {
|
|
16243
16556
|
params.customLimitTime = customLimitTime;
|
|
16244
16557
|
if (!customLimitTime) {
|
|
16245
|
-
|
|
16246
|
-
|
|
16558
|
+
_this8.$message.warning('请选择或输入限时办理的天数');
|
|
16559
|
+
_this8.nextNode.customLimitTime = '';
|
|
16247
16560
|
return;
|
|
16248
16561
|
} else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
|
|
16249
|
-
|
|
16250
|
-
|
|
16562
|
+
_this8.$message.warning('请输入正确的天数');
|
|
16563
|
+
_this8.nextNode.customLimitTime = '';
|
|
16251
16564
|
return;
|
|
16252
16565
|
}
|
|
16253
16566
|
}
|
|
16254
|
-
if (
|
|
16567
|
+
if (_this8.isHideCurrentOrg) {
|
|
16255
16568
|
params.nextCurrentOrgObj = nextCurrentOrgObj;
|
|
16256
16569
|
}
|
|
16257
|
-
if (
|
|
16570
|
+
if (_this8.isHideOtherOrg) {
|
|
16258
16571
|
params.nextOtherOrgObj = nextOtherOrgObj;
|
|
16259
16572
|
}
|
|
16260
|
-
if (
|
|
16261
|
-
if (
|
|
16573
|
+
if (_this8.activeNames != '1' || !_this8.isCustomPreset) delete params.customPresetUserJson;
|
|
16574
|
+
if (_this8.isFreeStartFlow || _this8.formType === 'readTransfer') {
|
|
16262
16575
|
var newParm = {};
|
|
16263
|
-
newParm.copyHistory =
|
|
16576
|
+
newParm.copyHistory = _this8.copyHistory === 'needCopyPendedHistory';
|
|
16264
16577
|
newParm.startFlowParamJson = params;
|
|
16265
16578
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
16266
16579
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
16267
|
-
startFlowFirstNodeName:
|
|
16580
|
+
startFlowFirstNodeName: _this8.taskExamineParam
|
|
16268
16581
|
};
|
|
16269
16582
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
16270
|
-
for (var key in
|
|
16271
|
-
if (Array.isArray(
|
|
16272
|
-
|
|
16583
|
+
for (var key in _this8.taskParams) {
|
|
16584
|
+
if (Array.isArray(_this8.taskParams[key])) {
|
|
16585
|
+
_this8.taskParams[key] = _this8.taskParams[key].length > 0 ? _this8.taskParams[key].join(',') : '';
|
|
16273
16586
|
}
|
|
16274
16587
|
}
|
|
16275
16588
|
|
|
16276
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
16277
|
-
if (
|
|
16589
|
+
newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
|
|
16590
|
+
if (_this8.formType == 'readTransfer') {
|
|
16278
16591
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
16279
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
16592
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
|
|
16280
16593
|
delete newParm.copyHistory;
|
|
16281
16594
|
delete newParm.startFlowParamJson;
|
|
16282
16595
|
delete newParm.submitTaskParamJson;
|
|
16283
16596
|
}
|
|
16284
16597
|
params = newParm;
|
|
16285
16598
|
}
|
|
16286
|
-
if (
|
|
16287
|
-
params.pendingId =
|
|
16599
|
+
if (_this8.copyHistory && !_this8.isFreeStartFlow) {
|
|
16600
|
+
params.pendingId = _this8.pendingId;
|
|
16288
16601
|
delete params.businessId;
|
|
16289
16602
|
}
|
|
16290
16603
|
util["a" /* default */].ajax({
|
|
16291
|
-
url:
|
|
16604
|
+
url: _this8.isFreeStartFlow ? api["M" /* freeStartFlowWithSubmitTask */] : _this8.formType == 'readTransfer' ? api["ec" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this8.copyHistory ? api["L" /* freeStartFlow */] : api["Rb" /* register */],
|
|
16292
16605
|
method: 'post',
|
|
16293
16606
|
data: params
|
|
16294
16607
|
}).then(function (res) {
|
|
16295
16608
|
var status = res.status,
|
|
16296
16609
|
message = res.message;
|
|
16297
16610
|
|
|
16298
|
-
if (
|
|
16299
|
-
|
|
16611
|
+
if (_this8.showBtn) {
|
|
16612
|
+
_this8.loading = false;
|
|
16300
16613
|
} else {
|
|
16301
|
-
|
|
16614
|
+
_this8.allLoading.close();
|
|
16302
16615
|
}
|
|
16303
16616
|
if (status === 'success' || res.rCode == 0) {
|
|
16304
|
-
|
|
16305
|
-
|
|
16617
|
+
_this8.quit(true);
|
|
16618
|
+
_this8.simpleTips && _this8.$message.success('操作成功');
|
|
16306
16619
|
} else {
|
|
16307
|
-
|
|
16620
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
16308
16621
|
}
|
|
16309
16622
|
}).catch(function (err) {
|
|
16310
|
-
if (
|
|
16311
|
-
|
|
16623
|
+
if (_this8.showBtn) {
|
|
16624
|
+
_this8.loading = false;
|
|
16312
16625
|
} else {
|
|
16313
|
-
|
|
16626
|
+
_this8.allLoading.close();
|
|
16314
16627
|
}
|
|
16315
16628
|
if (err.message && err.message !== 'canceled') {
|
|
16316
|
-
|
|
16629
|
+
_this8.$message.error(err.message);
|
|
16317
16630
|
}
|
|
16318
16631
|
});
|
|
16319
16632
|
} else {
|
|
@@ -16321,11 +16634,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16321
16634
|
}
|
|
16322
16635
|
});
|
|
16323
16636
|
},
|
|
16324
|
-
getNodeInfos: function getNodeInfos(nodeId, index) {
|
|
16325
|
-
var
|
|
16637
|
+
getNodeInfos: function getNodeInfos(nodeId, index, processDefinitionId) {
|
|
16638
|
+
var _this9 = this;
|
|
16326
16639
|
|
|
16327
16640
|
var params = {
|
|
16328
|
-
processDefinitionId: this.processDefinitionId,
|
|
16641
|
+
processDefinitionId: processDefinitionId || this.processDefinitionId,
|
|
16329
16642
|
nextNodeId: nodeId ? nodeId : this.nextNode.nextNode,
|
|
16330
16643
|
businessId: this.id,
|
|
16331
16644
|
userId: util["a" /* default */].getStorage('userId')
|
|
@@ -16340,25 +16653,25 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16340
16653
|
countersignaturetypeText = _res$data.countersignaturetypeText,
|
|
16341
16654
|
countersignaturetypeCode = _res$data.countersignaturetypeCode;
|
|
16342
16655
|
|
|
16343
|
-
if (
|
|
16344
|
-
|
|
16656
|
+
if (_this9.showBtn) {
|
|
16657
|
+
_this9.loading = false;
|
|
16345
16658
|
} else {
|
|
16346
|
-
|
|
16659
|
+
_this9.allLoading.close();
|
|
16347
16660
|
}
|
|
16348
16661
|
if (status === 'success') {
|
|
16349
|
-
if (
|
|
16350
|
-
|
|
16662
|
+
if (_this9.currentOrgSelectorParams.department && !_this9.currentOrgSelectorParams.department.roleid && _this9.selectorParams.roleid && nodeExtAttr.deptRoleCode) {
|
|
16663
|
+
_this9.currentOrgSelectorParams.department.roleid = nodeExtAttr.deptRoleCode;
|
|
16351
16664
|
}
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
|
|
16355
|
-
|
|
16356
|
-
|
|
16665
|
+
_this9.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
16666
|
+
_this9.nextNode.userInfo = nextUserList;
|
|
16667
|
+
_this9.countersignaturetypeCode = countersignaturetypeCode;
|
|
16668
|
+
_this9.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
16669
|
+
_this9.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
16357
16670
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
16358
|
-
|
|
16671
|
+
_this9.nextCurrentOrgselectUserList = [];
|
|
16359
16672
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
16360
16673
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
16361
|
-
|
|
16674
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16362
16675
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
16363
16676
|
showid: x,
|
|
16364
16677
|
stype: 'department'
|
|
@@ -16367,7 +16680,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16367
16680
|
}
|
|
16368
16681
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
16369
16682
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
16370
|
-
|
|
16683
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16371
16684
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
16372
16685
|
showid: x,
|
|
16373
16686
|
stype: 'employee'
|
|
@@ -16376,80 +16689,80 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16376
16689
|
}
|
|
16377
16690
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
16378
16691
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
16379
|
-
|
|
16692
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16380
16693
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
16381
16694
|
showid: x,
|
|
16382
16695
|
stype: 'enterprise'
|
|
16383
16696
|
});
|
|
16384
16697
|
});
|
|
16385
16698
|
}
|
|
16386
|
-
|
|
16699
|
+
_this9.nextNode.nextCurrentOrgObj = nodeMoreInfo.currentOrgDefaultSelectObjects;
|
|
16387
16700
|
}
|
|
16388
|
-
if (
|
|
16389
|
-
|
|
16701
|
+
if (_this9.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
|
|
16702
|
+
_this9.nextNode.customLimitTime = _this9.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
|
|
16390
16703
|
}
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16704
|
+
_this9.isTaskread = nodeExtAttr.isTaskread;
|
|
16705
|
+
_this9.isHandleExplain = nodeExtAttr.isHandleExplain;
|
|
16706
|
+
_this9.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
|
|
16707
|
+
_this9.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
|
|
16708
|
+
_this9.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
|
|
16396
16709
|
if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
|
|
16397
|
-
|
|
16710
|
+
_this9.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
|
|
16398
16711
|
} else {
|
|
16399
|
-
var _isMultiple =
|
|
16712
|
+
var _isMultiple = _this9.isMultiple(nodeExtAttr.userSelectionType),
|
|
16400
16713
|
multiple = _isMultiple.multiple,
|
|
16401
16714
|
_params = _isMultiple.params;
|
|
16402
16715
|
|
|
16403
|
-
|
|
16404
|
-
|
|
16716
|
+
_this9.multiple = multiple;
|
|
16717
|
+
_this9.params = _params;
|
|
16405
16718
|
}
|
|
16406
16719
|
// this.isReadMultiple(nodeExtAttr.userSelectionType);
|
|
16407
16720
|
if (nodeExtAttr.nodeType === 1 || nodeExtAttr.nodeType === 2) {
|
|
16408
|
-
|
|
16409
|
-
|
|
16721
|
+
_this9.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
16722
|
+
_this9.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
16410
16723
|
} else {
|
|
16411
|
-
|
|
16412
|
-
|
|
16724
|
+
_this9.isHideCurrentOrg = false;
|
|
16725
|
+
_this9.isHideOtherOrg = false;
|
|
16413
16726
|
}
|
|
16414
16727
|
nextUserList.map(function (item) {
|
|
16415
|
-
if (
|
|
16416
|
-
|
|
16417
|
-
|
|
16728
|
+
if (_this9.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
|
|
16729
|
+
_this9.nextNode.nextUser.push(item.userId);
|
|
16730
|
+
_this9.selectUserList.push({
|
|
16418
16731
|
showname: item.username,
|
|
16419
16732
|
showid: item.userId
|
|
16420
16733
|
});
|
|
16421
16734
|
}
|
|
16422
16735
|
|
|
16423
|
-
|
|
16736
|
+
_this9.options.push({
|
|
16424
16737
|
showname: item.username,
|
|
16425
16738
|
showid: item.userId
|
|
16426
16739
|
});
|
|
16427
16740
|
});
|
|
16428
|
-
if (
|
|
16429
|
-
|
|
16741
|
+
if (_this9.multiple) {
|
|
16742
|
+
_this9.nextNode.nextReadUserId = [];
|
|
16430
16743
|
} else {
|
|
16431
|
-
|
|
16744
|
+
_this9.nextNode.nextReadUserId = '';
|
|
16432
16745
|
}
|
|
16433
|
-
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !
|
|
16434
|
-
|
|
16435
|
-
|
|
16746
|
+
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this9.multiple) {
|
|
16747
|
+
_this9.nextNode.nextUser = nextUserList[0].userId;
|
|
16748
|
+
_this9.selectUserList.push({
|
|
16436
16749
|
showname: nextUserList[0].username,
|
|
16437
16750
|
showid: nextUserList[0].userId
|
|
16438
16751
|
});
|
|
16439
16752
|
}
|
|
16440
|
-
|
|
16753
|
+
_this9.radioList = _this9.options;
|
|
16441
16754
|
} else {
|
|
16442
|
-
|
|
16755
|
+
_this9.$message.error(message || '系统错误,请联系管理员!');
|
|
16443
16756
|
}
|
|
16444
|
-
nodeId &&
|
|
16757
|
+
nodeId && _this9.$refs.selectUser[index].changeInfo();
|
|
16445
16758
|
}).catch(function (err) {
|
|
16446
|
-
if (
|
|
16447
|
-
|
|
16759
|
+
if (_this9.showBtn) {
|
|
16760
|
+
_this9.loading = false;
|
|
16448
16761
|
} else {
|
|
16449
|
-
|
|
16762
|
+
_this9.allLoading.close();
|
|
16450
16763
|
}
|
|
16451
16764
|
if (err.message && err.message !== 'canceled') {
|
|
16452
|
-
|
|
16765
|
+
_this9.$message.error(err.message);
|
|
16453
16766
|
}
|
|
16454
16767
|
});
|
|
16455
16768
|
},
|
|
@@ -16472,7 +16785,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16472
16785
|
this.$emit('cancel', false);
|
|
16473
16786
|
},
|
|
16474
16787
|
getFind: function getFind() {
|
|
16475
|
-
var
|
|
16788
|
+
var _this10 = this;
|
|
16476
16789
|
|
|
16477
16790
|
util["a" /* default */].ajax({
|
|
16478
16791
|
url: api["I" /* findSysCodes */]
|
|
@@ -16481,28 +16794,28 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16481
16794
|
message = res.message;
|
|
16482
16795
|
|
|
16483
16796
|
if (status === 'success') {
|
|
16484
|
-
if (
|
|
16485
|
-
|
|
16797
|
+
if (_this10.hideMessage) return;
|
|
16798
|
+
_this10.nextNode.noticeType = message.split(',');
|
|
16486
16799
|
var arr = [];
|
|
16487
|
-
|
|
16488
|
-
|
|
16800
|
+
_this10.nextNode.noticeList.map(function (item) {
|
|
16801
|
+
_this10.nextNode.noticeType.map(function (x) {
|
|
16489
16802
|
if (x == item.cciValue) {
|
|
16490
16803
|
arr.push(x);
|
|
16491
16804
|
}
|
|
16492
16805
|
});
|
|
16493
16806
|
});
|
|
16494
|
-
|
|
16807
|
+
_this10.nextNode.noticeType = arr;
|
|
16495
16808
|
} else {
|
|
16496
|
-
|
|
16809
|
+
_this10.$message.error(message || '系统错误,请联系管理员!');
|
|
16497
16810
|
}
|
|
16498
16811
|
}).catch(function (err) {
|
|
16499
|
-
if (
|
|
16500
|
-
|
|
16812
|
+
if (_this10.showBtn) {
|
|
16813
|
+
_this10.loading = false;
|
|
16501
16814
|
} else {
|
|
16502
|
-
|
|
16815
|
+
_this10.allLoading.close();
|
|
16503
16816
|
}
|
|
16504
16817
|
if (err.message && err.message !== 'canceled') {
|
|
16505
|
-
|
|
16818
|
+
_this10.$message.error(err.message);
|
|
16506
16819
|
}
|
|
16507
16820
|
});
|
|
16508
16821
|
},
|
|
@@ -16545,7 +16858,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16545
16858
|
return { multiple: multiple, params: params };
|
|
16546
16859
|
},
|
|
16547
16860
|
getStartFlow: function getStartFlow(processId) {
|
|
16548
|
-
var
|
|
16861
|
+
var _this11 = this;
|
|
16549
16862
|
|
|
16550
16863
|
if (!processId) {
|
|
16551
16864
|
return false;
|
|
@@ -16572,43 +16885,44 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16572
16885
|
data = res.data;
|
|
16573
16886
|
|
|
16574
16887
|
if (status == 'success') {
|
|
16575
|
-
data.nodeInfoMap.nodeExtAttr.submitTipsMsg &&
|
|
16888
|
+
data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this11.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
|
|
16576
16889
|
confirmButtonText: '确定',
|
|
16577
16890
|
cancelButtonText: '取消',
|
|
16578
16891
|
type: 'warning'
|
|
16579
16892
|
}).then(function () {}).catch(function () {
|
|
16580
|
-
|
|
16893
|
+
_this11.quit();
|
|
16581
16894
|
});
|
|
16582
|
-
data.nextNodeCheckType && (
|
|
16583
|
-
data.nextOperateCheckType && (
|
|
16895
|
+
data.nextNodeCheckType && (_this11.nextNodeCheckType = data.nextNodeCheckType);
|
|
16896
|
+
data.nextOperateCheckType && (_this11.nextOperateCheckType = data.nextOperateCheckType);
|
|
16584
16897
|
if (data.currentOrgSelectorParams) {
|
|
16585
16898
|
if (data.currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
16586
|
-
|
|
16899
|
+
_this11.currentOrgSelectorTabs = data.currentOrgSelectorParams.currentOrgType.split(',');
|
|
16587
16900
|
var currentOrgparams = data.currentOrgSelectorParams.currentOrgRange.split(',');
|
|
16588
|
-
|
|
16589
|
-
|
|
16901
|
+
_this11.currentOrgSelectorTabs.map(function (x, i) {
|
|
16902
|
+
_this11.currentOrgSelectorParams[x] = {
|
|
16590
16903
|
filid: currentOrgparams[i] == 'my' ? JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId : currentOrgparams[i],
|
|
16591
16904
|
only_filid: true
|
|
16592
16905
|
};
|
|
16593
16906
|
});
|
|
16594
16907
|
}
|
|
16595
16908
|
}
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16909
|
+
_this11.configInfo = res.data;
|
|
16910
|
+
_this11.customPresetHintMessage = data.customPresetHintMessage;
|
|
16911
|
+
_this11.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
16912
|
+
_this11.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
16913
|
+
_this11.nextNode.nodeInfo = data.nextNodeList;
|
|
16914
|
+
_this11.nextNode.nextNode = data.nextNodeList[0].nodeId;
|
|
16915
|
+
_this11.isPreset = data.isPreset;
|
|
16916
|
+
_this11.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
|
|
16917
|
+
_this11.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
16918
|
+
_this11.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
16919
|
+
_this11.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
|
|
16920
|
+
if (_this11.isChooseNextNode == 1) {
|
|
16921
|
+
_this11.operationList = [
|
|
16608
16922
|
// { key: 0, value: '默认', list: [] },
|
|
16609
16923
|
{ key: 1, value: '自定义', list: [] }];
|
|
16610
16924
|
if (data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1) {
|
|
16611
|
-
|
|
16925
|
+
_this11.operationList.unshift({
|
|
16612
16926
|
key: 0,
|
|
16613
16927
|
value: '默认',
|
|
16614
16928
|
list: data.nextNodeList
|
|
@@ -16619,69 +16933,69 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16619
16933
|
arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
|
|
16620
16934
|
}
|
|
16621
16935
|
// this.operationList[0].list = data.nextNodeList;
|
|
16622
|
-
|
|
16623
|
-
if (
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
if (
|
|
16936
|
+
_this11.operationList[data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1 ? 1 : 0].list = arr;
|
|
16937
|
+
if (_this11.isHideDefaultOperation != 1) {
|
|
16938
|
+
_this11.nextNode.nextOperate = 0;
|
|
16939
|
+
_this11.nextNode.nodeInfo = _this11.operationList[0].list;
|
|
16940
|
+
if (_this11.nextNode.nodeInfo.length > 0) {
|
|
16627
16941
|
var defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
16628
|
-
return x.nodeId ==
|
|
16942
|
+
return x.nodeId == _this11.defaultNextNode;
|
|
16629
16943
|
});
|
|
16630
|
-
|
|
16944
|
+
_this11.nextNode.nextNode = defaultNodeData.length > 0 ? _this11.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
16631
16945
|
}
|
|
16632
16946
|
}
|
|
16633
16947
|
if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
|
|
16634
16948
|
// this.nextNode.nodeInfo = data.nextNodeList
|
|
16635
|
-
|
|
16636
|
-
|
|
16949
|
+
_this11.nextNode.nextOperate = 1;
|
|
16950
|
+
_this11.nextNode.nodeInfo = _this11.operationList[_this11.isHideDefaultOperation != 1 ? 1 : 0].list;
|
|
16637
16951
|
|
|
16638
|
-
if (
|
|
16639
|
-
var _defaultNodeData =
|
|
16640
|
-
return x.nodeId ==
|
|
16952
|
+
if (_this11.nextNode.nodeInfo.length > 0) {
|
|
16953
|
+
var _defaultNodeData = _this11.nextNode.nodeInfo.filter(function (x) {
|
|
16954
|
+
return x.nodeId == _this11.defaultNextNode;
|
|
16641
16955
|
});
|
|
16642
|
-
|
|
16956
|
+
_this11.nextNode.nextNode = _defaultNodeData.length > 0 ? _this11.defaultNextNode : _this11.nextNode.nodeInfo[0].nodeId;
|
|
16643
16957
|
}
|
|
16644
16958
|
}
|
|
16645
16959
|
}
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16960
|
+
_this11.isCustomPreset = data.isCustomPreset;
|
|
16961
|
+
_this11.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
|
|
16962
|
+
_this11.presetTaskNodeMap = data.presetTaskNodeMap;
|
|
16963
|
+
_this11.isSinglePage = data.taskExamine.isSinglePage;
|
|
16964
|
+
_this11.isSinglePage && (_this11.nextNode.opinion = data.taskExamine.opinion);
|
|
16651
16965
|
// this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
|
|
16652
|
-
|
|
16653
|
-
|
|
16966
|
+
_this11.nextNode.nodeName = data.taskExamine.nodeName;
|
|
16967
|
+
_this11.canPresetRead = data.canPresetRead;
|
|
16654
16968
|
if (data.canPresetRead) {
|
|
16655
16969
|
var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
16656
16970
|
var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
16657
16971
|
ids.map(function (item, index) {
|
|
16658
|
-
|
|
16972
|
+
_this11.presetReadUserId.push({
|
|
16659
16973
|
showid: item,
|
|
16660
16974
|
showname: names[index]
|
|
16661
16975
|
});
|
|
16662
|
-
|
|
16976
|
+
_this11.selectPresetUserList.push({
|
|
16663
16977
|
showid: item,
|
|
16664
16978
|
showname: names[index]
|
|
16665
16979
|
});
|
|
16666
|
-
|
|
16980
|
+
_this11.nextNode.presetReadUserId.push(item);
|
|
16667
16981
|
});
|
|
16668
16982
|
}
|
|
16669
|
-
|
|
16983
|
+
_this11.getNodeInfos(undefined, undefined, processId);
|
|
16670
16984
|
// this.getPresetFlowInfo();
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16985
|
+
_this11.isCustomPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
|
|
16986
|
+
_this11.getFind();
|
|
16987
|
+
_this11.getMessage();
|
|
16674
16988
|
} else {
|
|
16675
|
-
|
|
16989
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
16676
16990
|
}
|
|
16677
16991
|
}).catch(function (err) {
|
|
16678
|
-
if (
|
|
16679
|
-
|
|
16992
|
+
if (_this11.showBtn) {
|
|
16993
|
+
_this11.loading = false;
|
|
16680
16994
|
} else {
|
|
16681
|
-
|
|
16995
|
+
_this11.allLoading.close();
|
|
16682
16996
|
}
|
|
16683
16997
|
if (err.message && err.message !== 'canceled') {
|
|
16684
|
-
|
|
16998
|
+
_this11.$message.error(err.message);
|
|
16685
16999
|
}
|
|
16686
17000
|
});
|
|
16687
17001
|
}
|
|
@@ -16699,8 +17013,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16699
17013
|
|
|
16700
17014
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
16701
17015
|
src_processFormvue_type_script_lang_js_,
|
|
16702
|
-
|
|
16703
|
-
|
|
17016
|
+
processFormvue_type_template_id_1fcc557e_render,
|
|
17017
|
+
processFormvue_type_template_id_1fcc557e_staticRenderFns,
|
|
16704
17018
|
false,
|
|
16705
17019
|
null,
|
|
16706
17020
|
null,
|
|
@@ -17592,8 +17906,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17592
17906
|
)
|
|
17593
17907
|
|
|
17594
17908
|
/* harmony default export */ var TimeLimit = (TimeLimit_component.exports);
|
|
17595
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
17596
|
-
var
|
|
17909
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
|
|
17910
|
+
var processRejectvue_type_template_id_6c65370c_render = function () {
|
|
17597
17911
|
var _vm = this
|
|
17598
17912
|
var _h = _vm.$createElement
|
|
17599
17913
|
var _c = _vm._self._c || _h
|
|
@@ -17631,16 +17945,15 @@ var processRejectvue_type_template_id_14451a70_render = function () {
|
|
|
17631
17945
|
_c(
|
|
17632
17946
|
"div",
|
|
17633
17947
|
{
|
|
17634
|
-
|
|
17635
|
-
"max-height
|
|
17636
|
-
"
|
|
17637
|
-
"margin-bottom
|
|
17638
|
-
},
|
|
17948
|
+
style:
|
|
17949
|
+
"max-height: 290px; overflow-y: " +
|
|
17950
|
+
(_vm.hideBtn ? "unset" : "auto") +
|
|
17951
|
+
"; margin-bottom: 10px",
|
|
17639
17952
|
},
|
|
17640
17953
|
[
|
|
17641
17954
|
_c(
|
|
17642
17955
|
"el-form-item",
|
|
17643
|
-
{ attrs: { prop: "nodeName", label: "
|
|
17956
|
+
{ attrs: { prop: "nodeName", label: "当前节点`" } },
|
|
17644
17957
|
[
|
|
17645
17958
|
_c("el-input", {
|
|
17646
17959
|
attrs: { disabled: "" },
|
|
@@ -17837,11 +18150,11 @@ var processRejectvue_type_template_id_14451a70_render = function () {
|
|
|
17837
18150
|
1
|
|
17838
18151
|
)
|
|
17839
18152
|
}
|
|
17840
|
-
var
|
|
17841
|
-
|
|
18153
|
+
var processRejectvue_type_template_id_6c65370c_staticRenderFns = []
|
|
18154
|
+
processRejectvue_type_template_id_6c65370c_render._withStripped = true
|
|
17842
18155
|
|
|
17843
18156
|
|
|
17844
|
-
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
18157
|
+
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
|
|
17845
18158
|
|
|
17846
18159
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processReject.vue?vue&type=script&lang=js&
|
|
17847
18160
|
//
|
|
@@ -18163,8 +18476,8 @@ processRejectvue_type_template_id_14451a70_render._withStripped = true
|
|
|
18163
18476
|
|
|
18164
18477
|
var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
18165
18478
|
src_processRejectvue_type_script_lang_js_,
|
|
18166
|
-
|
|
18167
|
-
|
|
18479
|
+
processRejectvue_type_template_id_6c65370c_render,
|
|
18480
|
+
processRejectvue_type_template_id_6c65370c_staticRenderFns,
|
|
18168
18481
|
false,
|
|
18169
18482
|
null,
|
|
18170
18483
|
null,
|
|
@@ -18173,8 +18486,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18173
18486
|
)
|
|
18174
18487
|
|
|
18175
18488
|
/* harmony default export */ var processReject = (processReject_component.exports);
|
|
18176
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
18177
|
-
var
|
|
18489
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=d6b2d084&
|
|
18490
|
+
var startTaskReadvue_type_template_id_d6b2d084_render = function () {
|
|
18178
18491
|
var _vm = this
|
|
18179
18492
|
var _h = _vm.$createElement
|
|
18180
18493
|
var _c = _vm._self._c || _h
|
|
@@ -18190,7 +18503,10 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18190
18503
|
},
|
|
18191
18504
|
],
|
|
18192
18505
|
staticClass: "task-read",
|
|
18193
|
-
style:
|
|
18506
|
+
style:
|
|
18507
|
+
"height: " +
|
|
18508
|
+
(_vm.typeCode == "read" || _vm.hideBtn ? "100%" : "unset") +
|
|
18509
|
+
";",
|
|
18194
18510
|
attrs: {
|
|
18195
18511
|
"element-loading-text": "加载中...",
|
|
18196
18512
|
"element-loading-spinner": "el-icon-loading",
|
|
@@ -18211,8 +18527,10 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18211
18527
|
{
|
|
18212
18528
|
style:
|
|
18213
18529
|
"max-height: " +
|
|
18214
|
-
(_vm.typeCode ? "
|
|
18215
|
-
"; overflow-y:
|
|
18530
|
+
(_vm.typeCode || _vm.hideBtn ? "100%" : "290px") +
|
|
18531
|
+
"; overflow-y:" +
|
|
18532
|
+
(_vm.hideBtn ? "unset" : "auto") +
|
|
18533
|
+
"; margin-bottom: 10px",
|
|
18216
18534
|
},
|
|
18217
18535
|
[
|
|
18218
18536
|
_vm.type === "transfer"
|
|
@@ -18600,11 +18918,11 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18600
18918
|
1
|
|
18601
18919
|
)
|
|
18602
18920
|
}
|
|
18603
|
-
var
|
|
18604
|
-
|
|
18921
|
+
var startTaskReadvue_type_template_id_d6b2d084_staticRenderFns = []
|
|
18922
|
+
startTaskReadvue_type_template_id_d6b2d084_render._withStripped = true
|
|
18605
18923
|
|
|
18606
18924
|
|
|
18607
|
-
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
18925
|
+
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=d6b2d084&
|
|
18608
18926
|
|
|
18609
18927
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
|
|
18610
18928
|
var startTaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -18851,14 +19169,14 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
18851
19169
|
var tab = {};
|
|
18852
19170
|
if (this.type != 'transfer') {
|
|
18853
19171
|
tab = {
|
|
18854
|
-
employee: {
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
},
|
|
18860
|
-
department: { param: { filid: this.orgId } }
|
|
18861
|
-
enterprise: {}
|
|
19172
|
+
// employee: {
|
|
19173
|
+
// param: {
|
|
19174
|
+
// filid: '',//this.orgId
|
|
19175
|
+
// name: '本单位用户'
|
|
19176
|
+
// }
|
|
19177
|
+
// },
|
|
19178
|
+
department: { param: { filid: this.orgId } } //this.orgId
|
|
19179
|
+
// enterprise: {}
|
|
18862
19180
|
};
|
|
18863
19181
|
} else {
|
|
18864
19182
|
tab = {
|
|
@@ -18887,6 +19205,11 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
18887
19205
|
},
|
|
18888
19206
|
|
|
18889
19207
|
methods: {
|
|
19208
|
+
// getSelectType(info){
|
|
19209
|
+
// if(info.selectPersonValue == 4){
|
|
19210
|
+
// this.selectorParams.filid = 'all'
|
|
19211
|
+
// }
|
|
19212
|
+
// },
|
|
18890
19213
|
getSelectorConfig: function getSelectorConfig() {
|
|
18891
19214
|
this.selectorTabs = this.selectorConfig.type.split(',');
|
|
18892
19215
|
this.selectorParams = this.selectorConfig.params;
|
|
@@ -19008,7 +19331,14 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19008
19331
|
} else if (this.configInfo.selectPersonValue == 6) {
|
|
19009
19332
|
this.multiple = true;
|
|
19010
19333
|
this.params.filid = '';
|
|
19334
|
+
} else if (this.configInfo.selectPersonValue == 7) {
|
|
19335
|
+
this.multiple = false;
|
|
19336
|
+
this.params.filid = orgId;
|
|
19337
|
+
} else if (this.configInfo.selectPersonValue == 8) {
|
|
19338
|
+
this.multiple = true;
|
|
19339
|
+
this.params.filid = orgId;
|
|
19011
19340
|
}
|
|
19341
|
+
console.log(this.params, 'params');
|
|
19012
19342
|
},
|
|
19013
19343
|
handleSelectCheck: function handleSelectCheck(val, data) {
|
|
19014
19344
|
var _this3 = this;
|
|
@@ -19057,6 +19387,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19057
19387
|
url: api["zc" /* toStartTaskRead */],
|
|
19058
19388
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
19059
19389
|
pendingId: this.pendingId,
|
|
19390
|
+
appId: this.resetAppId,
|
|
19060
19391
|
taskAction: this.type
|
|
19061
19392
|
}, this.param)
|
|
19062
19393
|
};
|
|
@@ -19342,8 +19673,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19342
19673
|
|
|
19343
19674
|
var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
19344
19675
|
src_startTaskReadvue_type_script_lang_js_,
|
|
19345
|
-
|
|
19346
|
-
|
|
19676
|
+
startTaskReadvue_type_template_id_d6b2d084_render,
|
|
19677
|
+
startTaskReadvue_type_template_id_d6b2d084_staticRenderFns,
|
|
19347
19678
|
false,
|
|
19348
19679
|
null,
|
|
19349
19680
|
null,
|
|
@@ -29631,6 +29962,10 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
29631
29962
|
//
|
|
29632
29963
|
//
|
|
29633
29964
|
//
|
|
29965
|
+
//
|
|
29966
|
+
//
|
|
29967
|
+
//
|
|
29968
|
+
//
|
|
29634
29969
|
|
|
29635
29970
|
|
|
29636
29971
|
|
|
@@ -29731,7 +30066,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
29731
30066
|
},
|
|
29732
30067
|
rows: {
|
|
29733
30068
|
type: [String, Number],
|
|
29734
|
-
default:
|
|
30069
|
+
default: 5
|
|
29735
30070
|
},
|
|
29736
30071
|
showOther: {
|
|
29737
30072
|
type: Boolean,
|
|
@@ -30063,6 +30398,28 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
30063
30398
|
} else {
|
|
30064
30399
|
return { width: '100%' };
|
|
30065
30400
|
}
|
|
30401
|
+
},
|
|
30402
|
+
fyParams: function fyParams() {
|
|
30403
|
+
var orgId = JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId;
|
|
30404
|
+
var params = {};
|
|
30405
|
+
if (this.configInfo.selectPersonValue == 1) {
|
|
30406
|
+
params.filid = orgId;
|
|
30407
|
+
} else if (this.configInfo.selectPersonValue == 2) {
|
|
30408
|
+
params.filid = orgId;
|
|
30409
|
+
} else if (this.configInfo.selectPersonValue == 3) {
|
|
30410
|
+
params.filid = 'all';
|
|
30411
|
+
} else if (this.configInfo.selectPersonValue == 4) {
|
|
30412
|
+
params.filid = 'all';
|
|
30413
|
+
} else if (this.configInfo.selectPersonValue == 5) {
|
|
30414
|
+
params.filid = '';
|
|
30415
|
+
} else if (this.configInfo.selectPersonValue == 6) {
|
|
30416
|
+
params.filid = '';
|
|
30417
|
+
} else if (this.configInfo.selectPersonValue == 7) {
|
|
30418
|
+
params.filid = orgId;
|
|
30419
|
+
} else if (this.configInfo.selectPersonValue == 8) {
|
|
30420
|
+
params.filid = orgId;
|
|
30421
|
+
}
|
|
30422
|
+
return params;
|
|
30066
30423
|
}
|
|
30067
30424
|
},
|
|
30068
30425
|
methods: {
|
|
@@ -31249,6 +31606,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31249
31606
|
data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
|
|
31250
31607
|
}
|
|
31251
31608
|
}
|
|
31609
|
+
console.log(_this30.$refs.customPreset.getPresetFlowInfo, 'his.$refs.customPreset');
|
|
31252
31610
|
_this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
|
|
31253
31611
|
} else {
|
|
31254
31612
|
_this30.$message.error(message || '系统错误,请联系管理员!');
|
|
@@ -32454,8 +32812,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32454
32812
|
|
|
32455
32813
|
var flow_component = Object(componentNormalizer["a" /* default */])(
|
|
32456
32814
|
src_flowvue_type_script_lang_js_,
|
|
32457
|
-
|
|
32458
|
-
|
|
32815
|
+
flowvue_type_template_id_68430d4b_render,
|
|
32816
|
+
flowvue_type_template_id_68430d4b_staticRenderFns,
|
|
32459
32817
|
false,
|
|
32460
32818
|
null,
|
|
32461
32819
|
null,
|
|
@@ -33745,6 +34103,24 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33745
34103
|
//
|
|
33746
34104
|
//
|
|
33747
34105
|
//
|
|
34106
|
+
//
|
|
34107
|
+
//
|
|
34108
|
+
//
|
|
34109
|
+
//
|
|
34110
|
+
//
|
|
34111
|
+
//
|
|
34112
|
+
//
|
|
34113
|
+
//
|
|
34114
|
+
//
|
|
34115
|
+
//
|
|
34116
|
+
//
|
|
34117
|
+
//
|
|
34118
|
+
//
|
|
34119
|
+
//
|
|
34120
|
+
//
|
|
34121
|
+
//
|
|
34122
|
+
//
|
|
34123
|
+
//
|
|
33748
34124
|
|
|
33749
34125
|
|
|
33750
34126
|
|
|
@@ -33845,7 +34221,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33845
34221
|
},
|
|
33846
34222
|
rows: {
|
|
33847
34223
|
type: [String, Number],
|
|
33848
|
-
default:
|
|
34224
|
+
default: 5
|
|
33849
34225
|
},
|
|
33850
34226
|
showOther: {
|
|
33851
34227
|
type: Boolean,
|
|
@@ -33889,6 +34265,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33889
34265
|
freeStartFlowNextNode: undefined,
|
|
33890
34266
|
otherOrgDisabledObjId: [],
|
|
33891
34267
|
isCanReadTransferHandle: false,
|
|
34268
|
+
readTransferHandleFlowTypeCode: '',
|
|
33892
34269
|
readTransferHandleDisabled: true,
|
|
33893
34270
|
showCustomLimitTimeText: false,
|
|
33894
34271
|
showSort: false,
|
|
@@ -34110,6 +34487,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34110
34487
|
}
|
|
34111
34488
|
if (this.nodeInfo.nextNode) {
|
|
34112
34489
|
this.handleChange(this.nodeInfo.nextNode, true);
|
|
34490
|
+
// this.handleChange(val, true);
|
|
34113
34491
|
}
|
|
34114
34492
|
}
|
|
34115
34493
|
},
|
|
@@ -34247,7 +34625,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34247
34625
|
this.businessId && this.getProcess();
|
|
34248
34626
|
} else if (this.newTypeCode == 'fenyue') {
|
|
34249
34627
|
this.getTaskReadFlow();
|
|
34250
|
-
} else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation') {
|
|
34628
|
+
} else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation' && !this.newFlow) {
|
|
34251
34629
|
this.getHedInfo();
|
|
34252
34630
|
}
|
|
34253
34631
|
},
|
|
@@ -34265,6 +34643,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34265
34643
|
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
34266
34644
|
var _this4 = this;
|
|
34267
34645
|
|
|
34646
|
+
console.log('processDefinitionId', processDefinitionId);
|
|
34268
34647
|
var params = {
|
|
34269
34648
|
url: api["bb" /* getNodeInfoForStart */],
|
|
34270
34649
|
params: { processDefinitionId: processDefinitionId }
|
|
@@ -34346,12 +34725,16 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34346
34725
|
_this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
|
|
34347
34726
|
});
|
|
34348
34727
|
},
|
|
34728
|
+
handleNewFlowSuccess: function handleNewFlowSuccess() {
|
|
34729
|
+
this.$emit('success');
|
|
34730
|
+
},
|
|
34349
34731
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
34350
34732
|
this.showFreeStartFlow = false;
|
|
34351
34733
|
this.flowSuccess(true);
|
|
34352
34734
|
// this.$emit('success');
|
|
34353
34735
|
},
|
|
34354
34736
|
handleChange: function handleChange(val, isForStartFlow) {
|
|
34737
|
+
console.log('handleChange val', val);
|
|
34355
34738
|
this.getNodeInfoForStartFlow(val, isForStartFlow);
|
|
34356
34739
|
this.$parent.$emit('flowChange', val);
|
|
34357
34740
|
},
|
|
@@ -34578,6 +34961,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34578
34961
|
taskExamine = _res$data.taskExamine,
|
|
34579
34962
|
taskReadOpinionRequired = _res$data.taskReadOpinionRequired,
|
|
34580
34963
|
isCanReadTransferHandle = _res$data.isCanReadTransferHandle,
|
|
34964
|
+
readTransferHandleFlowTypeCode = _res$data.readTransferHandleFlowTypeCode,
|
|
34581
34965
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
34582
34966
|
|
|
34583
34967
|
if (status === 'success') {
|
|
@@ -34586,6 +34970,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34586
34970
|
_this11.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
34587
34971
|
_this11.nextNode.notificationMsg = defaultNotificationMessage;
|
|
34588
34972
|
_this11.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
34973
|
+
_this11.readTransferHandleFlowTypeCode = readTransferHandleFlowTypeCode;
|
|
34589
34974
|
_this11.isCanFenyue = isCanFenyue;
|
|
34590
34975
|
if (_this11.nodeName) {
|
|
34591
34976
|
_this11.NodeName = _this11.nodeName;
|
|
@@ -35227,17 +35612,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35227
35612
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
35228
35613
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
35229
35614
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
35230
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35615
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35616
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
35617
|
+
showid: x,
|
|
35618
|
+
stype: 'department'
|
|
35619
|
+
});
|
|
35231
35620
|
});
|
|
35232
35621
|
}
|
|
35233
35622
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
35234
35623
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
35235
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35624
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35625
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
35626
|
+
showid: x,
|
|
35627
|
+
stype: 'employee'
|
|
35628
|
+
});
|
|
35236
35629
|
});
|
|
35237
35630
|
}
|
|
35238
35631
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
35239
35632
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
35240
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35633
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35634
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
35635
|
+
showid: x,
|
|
35636
|
+
stype: 'enterprise'
|
|
35637
|
+
});
|
|
35241
35638
|
});
|
|
35242
35639
|
}
|
|
35243
35640
|
}
|
|
@@ -35466,7 +35863,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35466
35863
|
}
|
|
35467
35864
|
if (this.endFlow && isDef) {
|
|
35468
35865
|
this.loading.close();
|
|
35469
|
-
} else {
|
|
35866
|
+
} else if (!this.newFlow) {
|
|
35470
35867
|
this.getNodeInfo();
|
|
35471
35868
|
}
|
|
35472
35869
|
},
|
|
@@ -35968,7 +36365,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35968
36365
|
_this34.showNews = false;
|
|
35969
36366
|
_this34.nextNode.notificationType = [];
|
|
35970
36367
|
_this34.pendingId = results[results.length - 1].attachId;
|
|
35971
|
-
_this34.
|
|
36368
|
+
if (!_this34.newFlow) {
|
|
36369
|
+
_this34.getHedInfo();
|
|
36370
|
+
}
|
|
35972
36371
|
} else {
|
|
35973
36372
|
_this34.$message.error(msg || '系统错误,请联系管理员!');
|
|
35974
36373
|
}
|