eoss-ui 0.8.34 → 0.8.35
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 +859 -493
- package/lib/flow-list.js +141 -124
- package/lib/flow.js +709 -360
- 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 +8 -3
- package/packages/flow/src/main.vue +176 -103
- package/packages/flow/src/processForm.vue +180 -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=5f3621e7&
|
|
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,
|
|
@@ -7664,6 +7665,10 @@ var render = function () {
|
|
|
7664
7665
|
.newFlowStartNodeItemName,
|
|
7665
7666
|
taskParams: _vm.taskParams,
|
|
7666
7667
|
formType: _vm.processFormType,
|
|
7668
|
+
isCanReadTransferHandle:
|
|
7669
|
+
_vm.isCanReadTransferHandle,
|
|
7670
|
+
readTransferHandleFlowTypeCode:
|
|
7671
|
+
_vm.readTransferHandleFlowTypeCode,
|
|
7667
7672
|
},
|
|
7668
7673
|
on: {
|
|
7669
7674
|
cancel: function ($event) {
|
|
@@ -8012,14 +8017,14 @@ var staticRenderFns = []
|
|
|
8012
8017
|
render._withStripped = true
|
|
8013
8018
|
|
|
8014
8019
|
|
|
8015
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
8020
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=5f3621e7&
|
|
8016
8021
|
|
|
8017
8022
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
8018
8023
|
var regenerator_ = __webpack_require__(4);
|
|
8019
8024
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
8020
8025
|
|
|
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
|
|
8026
|
+
// 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&
|
|
8027
|
+
var CommonOpinionsvue_type_template_id_8458f882_render = function () {
|
|
8023
8028
|
var _vm = this
|
|
8024
8029
|
var _h = _vm.$createElement
|
|
8025
8030
|
var _c = _vm._self._c || _h
|
|
@@ -8229,11 +8234,11 @@ var CommonOpinionsvue_type_template_id_7b4f1542_render = function () {
|
|
|
8229
8234
|
1
|
|
8230
8235
|
)
|
|
8231
8236
|
}
|
|
8232
|
-
var
|
|
8233
|
-
|
|
8237
|
+
var CommonOpinionsvue_type_template_id_8458f882_staticRenderFns = []
|
|
8238
|
+
CommonOpinionsvue_type_template_id_8458f882_render._withStripped = true
|
|
8234
8239
|
|
|
8235
8240
|
|
|
8236
|
-
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=
|
|
8241
|
+
// CONCATENATED MODULE: ./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=8458f882&
|
|
8237
8242
|
|
|
8238
8243
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
8239
8244
|
var api = __webpack_require__(1);
|
|
@@ -8828,7 +8833,7 @@ var _components;
|
|
|
8828
8833
|
},
|
|
8829
8834
|
rows: {
|
|
8830
8835
|
type: [Number, String],
|
|
8831
|
-
default:
|
|
8836
|
+
default: 5
|
|
8832
8837
|
},
|
|
8833
8838
|
required: { type: Boolean, default: false }
|
|
8834
8839
|
},
|
|
@@ -8880,21 +8885,21 @@ var _components;
|
|
|
8880
8885
|
return validSate;
|
|
8881
8886
|
},
|
|
8882
8887
|
|
|
8883
|
-
/**
|
|
8884
|
-
* changeOpinion
|
|
8885
|
-
* @desc:监听意见变化
|
|
8886
|
-
* @author liufan
|
|
8887
|
-
* @date 2022年10月28日
|
|
8888
|
+
/**
|
|
8889
|
+
* changeOpinion
|
|
8890
|
+
* @desc:监听意见变化
|
|
8891
|
+
* @author liufan
|
|
8892
|
+
* @date 2022年10月28日
|
|
8888
8893
|
**/
|
|
8889
8894
|
changeOpinion: function changeOpinion() {
|
|
8890
8895
|
this.$emit('change', this.form.value);
|
|
8891
8896
|
},
|
|
8892
8897
|
|
|
8893
|
-
/**
|
|
8894
|
-
* getCommonOpion
|
|
8895
|
-
* @desc:获取意见
|
|
8896
|
-
* @author liufan
|
|
8897
|
-
* @date 2022年5月25日
|
|
8898
|
+
/**
|
|
8899
|
+
* getCommonOpion
|
|
8900
|
+
* @desc:获取意见
|
|
8901
|
+
* @author liufan
|
|
8902
|
+
* @date 2022年5月25日
|
|
8898
8903
|
**/
|
|
8899
8904
|
getCommonOpion: function getCommonOpion() {
|
|
8900
8905
|
var _this = this;
|
|
@@ -8923,24 +8928,24 @@ var _components;
|
|
|
8923
8928
|
});
|
|
8924
8929
|
},
|
|
8925
8930
|
|
|
8926
|
-
/**
|
|
8927
|
-
* upDate
|
|
8928
|
-
* @desc:修改常用语
|
|
8929
|
-
* @author liufan
|
|
8930
|
-
* @param {Object} val 修改值
|
|
8931
|
-
* @date 2022年5月25日
|
|
8931
|
+
/**
|
|
8932
|
+
* upDate
|
|
8933
|
+
* @desc:修改常用语
|
|
8934
|
+
* @author liufan
|
|
8935
|
+
* @param {Object} val 修改值
|
|
8936
|
+
* @date 2022年5月25日
|
|
8932
8937
|
**/
|
|
8933
8938
|
upDate: function upDate(val) {
|
|
8934
8939
|
this.FormData.id = val.id;
|
|
8935
8940
|
this.addVisible = true;
|
|
8936
8941
|
},
|
|
8937
8942
|
|
|
8938
|
-
/**
|
|
8939
|
-
* selectChange
|
|
8940
|
-
* @desc:常用语选择
|
|
8941
|
-
* @author liufan
|
|
8942
|
-
* @param {String} val 选中值
|
|
8943
|
-
* @date 2022年5月25日
|
|
8943
|
+
/**
|
|
8944
|
+
* selectChange
|
|
8945
|
+
* @desc:常用语选择
|
|
8946
|
+
* @author liufan
|
|
8947
|
+
* @param {String} val 选中值
|
|
8948
|
+
* @date 2022年5月25日
|
|
8944
8949
|
**/
|
|
8945
8950
|
selectChange: function selectChange(val) {
|
|
8946
8951
|
var _this2 = this;
|
|
@@ -8959,12 +8964,12 @@ var _components;
|
|
|
8959
8964
|
});
|
|
8960
8965
|
},
|
|
8961
8966
|
|
|
8962
|
-
/**
|
|
8963
|
-
* del
|
|
8964
|
-
* @desc:删除常用语
|
|
8965
|
-
* @author liufan
|
|
8966
|
-
* @param {Object} val 删除的数据
|
|
8967
|
-
* @date 2022年5月25日
|
|
8967
|
+
/**
|
|
8968
|
+
* del
|
|
8969
|
+
* @desc:删除常用语
|
|
8970
|
+
* @author liufan
|
|
8971
|
+
* @param {Object} val 删除的数据
|
|
8972
|
+
* @date 2022年5月25日
|
|
8968
8973
|
**/
|
|
8969
8974
|
del: function del(val) {
|
|
8970
8975
|
var _this3 = this;
|
|
@@ -9006,12 +9011,12 @@ var _components;
|
|
|
9006
9011
|
}).catch(function (e) {});
|
|
9007
9012
|
},
|
|
9008
9013
|
|
|
9009
|
-
/**
|
|
9010
|
-
* submit
|
|
9011
|
-
* @desc:新增/编辑意见保存
|
|
9012
|
-
* @author liufan
|
|
9013
|
-
* @param {Object} val 保存数据
|
|
9014
|
-
* @date 2022年5月25日
|
|
9014
|
+
/**
|
|
9015
|
+
* submit
|
|
9016
|
+
* @desc:新增/编辑意见保存
|
|
9017
|
+
* @author liufan
|
|
9018
|
+
* @param {Object} val 保存数据
|
|
9019
|
+
* @date 2022年5月25日
|
|
9015
9020
|
**/
|
|
9016
9021
|
submit: function submit(val) {
|
|
9017
9022
|
var _this4 = this;
|
|
@@ -9066,8 +9071,8 @@ var _components;
|
|
|
9066
9071
|
|
|
9067
9072
|
var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
9068
9073
|
component_CommonOpinionsvue_type_script_lang_js_,
|
|
9069
|
-
|
|
9070
|
-
|
|
9074
|
+
CommonOpinionsvue_type_template_id_8458f882_render,
|
|
9075
|
+
CommonOpinionsvue_type_template_id_8458f882_staticRenderFns,
|
|
9071
9076
|
false,
|
|
9072
9077
|
null,
|
|
9073
9078
|
null,
|
|
@@ -9076,8 +9081,8 @@ var CommonOpinions_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9076
9081
|
)
|
|
9077
9082
|
|
|
9078
9083
|
/* 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
|
|
9084
|
+
// 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=53d37cbc&
|
|
9085
|
+
var flowvue_type_template_id_53d37cbc_render = function () {
|
|
9081
9086
|
var _vm = this
|
|
9082
9087
|
var _h = _vm.$createElement
|
|
9083
9088
|
var _c = _vm._self._c || _h
|
|
@@ -9573,8 +9578,11 @@ var flowvue_type_template_id_6c57ccab_render = function () {
|
|
|
9573
9578
|
name: "show",
|
|
9574
9579
|
rawName: "v-show",
|
|
9575
9580
|
value:
|
|
9576
|
-
!_vm.isStartFlow &&
|
|
9577
|
-
|
|
9581
|
+
!_vm.isStartFlow &&
|
|
9582
|
+
!_vm.shrink &&
|
|
9583
|
+
_vm.typeList.length > 1,
|
|
9584
|
+
expression:
|
|
9585
|
+
"!isStartFlow && !shrink && typeList.length>1",
|
|
9578
9586
|
},
|
|
9579
9587
|
],
|
|
9580
9588
|
staticClass: "es-flow-middle-more-btn",
|
|
@@ -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_53d37cbc_staticRenderFns = []
|
|
11994
|
+
flowvue_type_template_id_53d37cbc_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=53d37cbc&
|
|
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=f523153e&
|
|
12710
|
+
var processFormvue_type_template_id_f523153e_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
|
)
|
|
@@ -13528,11 +13659,11 @@ var processFormvue_type_template_id_69688141_render = function () {
|
|
|
13528
13659
|
1
|
|
13529
13660
|
)
|
|
13530
13661
|
}
|
|
13531
|
-
var
|
|
13532
|
-
|
|
13662
|
+
var processFormvue_type_template_id_f523153e_staticRenderFns = []
|
|
13663
|
+
processFormvue_type_template_id_f523153e_render._withStripped = true
|
|
13533
13664
|
|
|
13534
13665
|
|
|
13535
|
-
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=
|
|
13666
|
+
// CONCATENATED MODULE: ./packages/flow/src/processForm.vue?vue&type=template&id=f523153e&
|
|
13536
13667
|
|
|
13537
13668
|
// 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
13669
|
var selectUservue_type_template_id_e270ebde_render = function () {
|
|
@@ -15070,6 +15201,8 @@ var Preset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15070
15201
|
|
|
15071
15202
|
/* harmony default export */ var Preset = (Preset_component.exports);
|
|
15072
15203
|
// 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&
|
|
15204
|
+
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; };
|
|
15205
|
+
|
|
15073
15206
|
var processFormvue_type_script_lang_js_components;
|
|
15074
15207
|
|
|
15075
15208
|
//
|
|
@@ -15493,6 +15626,61 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15493
15626
|
//
|
|
15494
15627
|
//
|
|
15495
15628
|
//
|
|
15629
|
+
//
|
|
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
|
+
//
|
|
15496
15684
|
|
|
15497
15685
|
|
|
15498
15686
|
|
|
@@ -15505,6 +15693,14 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15505
15693
|
|
|
15506
15694
|
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
15695
|
props: {
|
|
15696
|
+
isCanReadTransferHandle: {
|
|
15697
|
+
type: Boolean,
|
|
15698
|
+
default: false
|
|
15699
|
+
},
|
|
15700
|
+
readTransferHandleFlowTypeCode: {
|
|
15701
|
+
type: String,
|
|
15702
|
+
default: ''
|
|
15703
|
+
},
|
|
15508
15704
|
processDefinitionId: {
|
|
15509
15705
|
type: String,
|
|
15510
15706
|
default: ''
|
|
@@ -15586,11 +15782,15 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15586
15782
|
return {
|
|
15587
15783
|
loading: false,
|
|
15588
15784
|
isCustomUser: 0,
|
|
15785
|
+
currentNodeInfo: { nextNode: '', nextUser: '', option: [] },
|
|
15786
|
+
isStartFlowChartView: false,
|
|
15589
15787
|
isCurrentNodeForbiddenChangeCandidate: 0,
|
|
15590
15788
|
allLoading: null,
|
|
15591
15789
|
selectUser: false,
|
|
15592
15790
|
multiple: false,
|
|
15593
15791
|
readMultiple: true,
|
|
15792
|
+
showOpinion: true,
|
|
15793
|
+
isOpinionRequired: 0,
|
|
15594
15794
|
currentOrgSelectorTabs: ['employee', 'persongroup'],
|
|
15595
15795
|
customPresetHintMessage: '', //流程预设标题
|
|
15596
15796
|
nextNodeCheckType: 'select',
|
|
@@ -15609,6 +15809,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15609
15809
|
defaultNextNode: '',
|
|
15610
15810
|
presetUserJson: [],
|
|
15611
15811
|
businessId: '',
|
|
15812
|
+
optionsKey: 0,
|
|
15612
15813
|
isTaskread: 0, //是否显示分阅用户
|
|
15613
15814
|
isHandleExplain: 0, //是否展示办理说明
|
|
15614
15815
|
options: [],
|
|
@@ -15646,6 +15847,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15646
15847
|
}
|
|
15647
15848
|
}
|
|
15648
15849
|
},
|
|
15850
|
+
activitiDefinitionSort: false,
|
|
15649
15851
|
userModel: {},
|
|
15650
15852
|
nextUserTabs: {},
|
|
15651
15853
|
selectPresetUserList: [],
|
|
@@ -15713,7 +15915,9 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15713
15915
|
}
|
|
15714
15916
|
},
|
|
15715
15917
|
processDefinitionId: function processDefinitionId(val) {
|
|
15918
|
+
var savedNodeInfo = processFormvue_type_script_lang_js_extends({}, this.currentNodeInfo);
|
|
15716
15919
|
Object.assign(this.$data, this.$options.data());
|
|
15920
|
+
this.currentNodeInfo = savedNodeInfo;
|
|
15717
15921
|
this.getUserInfo();
|
|
15718
15922
|
this.getNodeType();
|
|
15719
15923
|
this.getStartFlow(val);
|
|
@@ -15774,9 +15978,68 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15774
15978
|
} else if (this.formType != 'readTransfer') {
|
|
15775
15979
|
this.newOpinion = this.opinion;
|
|
15776
15980
|
}
|
|
15981
|
+
if (this.isCanReadTransferHandle && this.readTransferHandleFlowTypeCode) {
|
|
15982
|
+
this.getProcess(this.readTransferHandleFlowTypeCode);
|
|
15983
|
+
}
|
|
15777
15984
|
},
|
|
15778
15985
|
|
|
15779
15986
|
methods: {
|
|
15987
|
+
/**
|
|
15988
|
+
* getProcess
|
|
15989
|
+
* @desc:获取选择流程
|
|
15990
|
+
* @author liufan
|
|
15991
|
+
* @date 2022年5月25日
|
|
15992
|
+
**/
|
|
15993
|
+
getProcess: function getProcess(val) {
|
|
15994
|
+
var _this2 = this;
|
|
15995
|
+
|
|
15996
|
+
var params = {
|
|
15997
|
+
businessId: this.businessId,
|
|
15998
|
+
flowTypeCode: val || this.flowTypeCode,
|
|
15999
|
+
// defaultProcessKey: this.defaultProcessKey,
|
|
16000
|
+
isOnly: true,
|
|
16001
|
+
hideTempSave: true
|
|
16002
|
+
};
|
|
16003
|
+
var loading = util["a" /* default */].loading(this.$loading, '加载中...');
|
|
16004
|
+
util["a" /* default */].ajax({ url: api["gb" /* getProcessDefList */], params: params }).then(function (res) {
|
|
16005
|
+
var status = res.status,
|
|
16006
|
+
message = res.message,
|
|
16007
|
+
data = res.data;
|
|
16008
|
+
|
|
16009
|
+
loading.close();
|
|
16010
|
+
if (status === 'success') {
|
|
16011
|
+
_this2.isStartFlowChartView = data.isStartFlowChartView;
|
|
16012
|
+
if (!Object.keys(data).length || data.definitionList && !data.definitionList.length) {
|
|
16013
|
+
_this2.$message.error('流程不存在或未关联对应流程!');
|
|
16014
|
+
} else {
|
|
16015
|
+
_this2.activitiDefinitionSort = data.activitiDefinitionSort;
|
|
16016
|
+
_this2.currentNodeInfo.option = data.definitionList;
|
|
16017
|
+
_this2.currentNodeInfo.nextNode = data.definitionList.filter(function (item) {
|
|
16018
|
+
return item.processDefKey == _this2.defaultProcessKey;
|
|
16019
|
+
});
|
|
16020
|
+
if (_this2.currentNodeInfo.nextNode.length) {
|
|
16021
|
+
_this2.currentNodeInfo.nextNode = _this2.currentNodeInfo.nextNode[0].processDefId;
|
|
16022
|
+
} else {
|
|
16023
|
+
if (data.definitionList.length != 0) {
|
|
16024
|
+
_this2.currentNodeInfo.nextNode = data.definitionList[0].processDefId;
|
|
16025
|
+
} else {
|
|
16026
|
+
_this2.currentNodeInfo.nextNode = '';
|
|
16027
|
+
}
|
|
16028
|
+
}
|
|
16029
|
+
if (_this2.currentNodeInfo.nextNode) {
|
|
16030
|
+
_this2.handleFlowChange(_this2.currentNodeInfo.nextNode, true);
|
|
16031
|
+
}
|
|
16032
|
+
}
|
|
16033
|
+
} else {
|
|
16034
|
+
_this2.$message.error(message || '系统错误,请联系管理员!');
|
|
16035
|
+
}
|
|
16036
|
+
}).catch(function (err) {
|
|
16037
|
+
loading.close();
|
|
16038
|
+
if (err.message && err.message !== 'canceled') {
|
|
16039
|
+
_this2.$message.error(err.message);
|
|
16040
|
+
}
|
|
16041
|
+
});
|
|
16042
|
+
},
|
|
15780
16043
|
handleChangeTime: function handleChangeTime(val) {
|
|
15781
16044
|
this.nextNode.customLimitTime = val;
|
|
15782
16045
|
},
|
|
@@ -15799,6 +16062,30 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15799
16062
|
callback();
|
|
15800
16063
|
}
|
|
15801
16064
|
},
|
|
16065
|
+
handleFlowChange: function handleFlowChange(val) {
|
|
16066
|
+
this.getNodeInfoForStartFlow(val);
|
|
16067
|
+
this.$parent.$emit('flowChange', val);
|
|
16068
|
+
},
|
|
16069
|
+
getNodeInfoForStartFlow: function getNodeInfoForStartFlow(processDefinitionId) {
|
|
16070
|
+
var _this3 = this;
|
|
16071
|
+
|
|
16072
|
+
var params = {
|
|
16073
|
+
url: api["bb" /* getNodeInfoForStart */],
|
|
16074
|
+
params: { processDefinitionId: processDefinitionId }
|
|
16075
|
+
};
|
|
16076
|
+
util["a" /* default */].ajax(params).then(function (res) {
|
|
16077
|
+
if (res.status == 'success') {
|
|
16078
|
+
_this3.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired;
|
|
16079
|
+
_this3.showOpinion = false;
|
|
16080
|
+
setTimeout(function () {
|
|
16081
|
+
_this3.showOpinion = true;
|
|
16082
|
+
}, 0);
|
|
16083
|
+
_this3.processDefinitionId = processDefinitionId;
|
|
16084
|
+
// this.getStartFlow(processDefinitionId);
|
|
16085
|
+
// this.getNodeInfos(undefined, undefined, processDefinitionId);
|
|
16086
|
+
}
|
|
16087
|
+
});
|
|
16088
|
+
},
|
|
15802
16089
|
handleChange: function handleChange() {
|
|
15803
16090
|
this.isChangeMessage = true;
|
|
15804
16091
|
},
|
|
@@ -15809,7 +16096,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15809
16096
|
}
|
|
15810
16097
|
},
|
|
15811
16098
|
getUserInfo: function getUserInfo() {
|
|
15812
|
-
var
|
|
16099
|
+
var _this4 = this;
|
|
15813
16100
|
|
|
15814
16101
|
var mainConfig = util["a" /* default */].getStorage('mainConfig');
|
|
15815
16102
|
if (mainConfig) {
|
|
@@ -15822,16 +16109,16 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15822
16109
|
data = res.data;
|
|
15823
16110
|
|
|
15824
16111
|
if (status == 'success') {
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
16112
|
+
_this4.userModel = data;
|
|
16113
|
+
_this4.foreignOrgSelectorParams.nofilid = _this4.userModel.orgId;
|
|
16114
|
+
_this4.foreignOrgSelectorParams.roleid = tthis.currentOrgSelectorParams.roleid = _this4.selectorParams.roleid;
|
|
15828
16115
|
} else {
|
|
15829
16116
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
15830
|
-
|
|
16117
|
+
_this4.$message.error(msg);
|
|
15831
16118
|
}
|
|
15832
16119
|
}).catch(function (err) {
|
|
15833
16120
|
if (err.message && err.message !== 'canceled') {
|
|
15834
|
-
|
|
16121
|
+
_this4.$message.error(err.message);
|
|
15835
16122
|
}
|
|
15836
16123
|
});
|
|
15837
16124
|
}
|
|
@@ -15901,7 +16188,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15901
16188
|
}
|
|
15902
16189
|
},
|
|
15903
16190
|
selecNext: function selecNext(val) {
|
|
15904
|
-
var
|
|
16191
|
+
var _this5 = this;
|
|
15905
16192
|
|
|
15906
16193
|
this.nextNode.nextUser = [];
|
|
15907
16194
|
this.options = [];
|
|
@@ -15915,7 +16202,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15915
16202
|
this.nextNode.nodeInfo = this.operationList[val].list;
|
|
15916
16203
|
if (this.nextNode.nodeInfo.length > 0) {
|
|
15917
16204
|
var defaultNodeData = this.nextNode.nodeInfo.filter(function (x) {
|
|
15918
|
-
return x.nodeId ==
|
|
16205
|
+
return x.nodeId == _this5.defaultNextNode;
|
|
15919
16206
|
});
|
|
15920
16207
|
length;
|
|
15921
16208
|
this.nextNode.nextNode = defaultNodeData.length > 0 ? this.defaultNextNode : this.nextNode.nodeInfo[0].nodeId;
|
|
@@ -15993,7 +16280,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
15993
16280
|
this.getsubProcessColumns();
|
|
15994
16281
|
},
|
|
15995
16282
|
getNodeType: function getNodeType() {
|
|
15996
|
-
var
|
|
16283
|
+
var _this6 = this;
|
|
15997
16284
|
|
|
15998
16285
|
util["a" /* default */].ajax({
|
|
15999
16286
|
url: api["G" /* findCodeValues */],
|
|
@@ -16006,23 +16293,23 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16006
16293
|
data = res.data;
|
|
16007
16294
|
|
|
16008
16295
|
if (status === 'success') {
|
|
16009
|
-
|
|
16296
|
+
_this6.nextNode.noticeList = data;
|
|
16010
16297
|
}
|
|
16011
16298
|
}).catch(function (err) {
|
|
16012
|
-
if (
|
|
16013
|
-
|
|
16299
|
+
if (_this6.showBtn) {
|
|
16300
|
+
_this6.loading = false;
|
|
16014
16301
|
} else {
|
|
16015
|
-
|
|
16302
|
+
_this6.allLoading.close();
|
|
16016
16303
|
}
|
|
16017
16304
|
if (err.message && err.message !== 'canceled') {
|
|
16018
|
-
|
|
16305
|
+
_this6.$message.error(err.message);
|
|
16019
16306
|
}
|
|
16020
16307
|
});
|
|
16021
16308
|
},
|
|
16022
16309
|
|
|
16023
16310
|
//获取通知信息
|
|
16024
16311
|
getMessage: function getMessage() {
|
|
16025
|
-
var
|
|
16312
|
+
var _this7 = this;
|
|
16026
16313
|
|
|
16027
16314
|
var params = {
|
|
16028
16315
|
processDefinitionId: this.processDefinitionId,
|
|
@@ -16034,21 +16321,21 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16034
16321
|
}
|
|
16035
16322
|
util["a" /* default */].ajax({ url: api["cb" /* getNotificationMsg */], params: params, methods: 'post' }).then(function (res) {
|
|
16036
16323
|
if (res.status === 'success') {
|
|
16037
|
-
if (!
|
|
16038
|
-
|
|
16039
|
-
|
|
16324
|
+
if (!_this7.showBtn) {
|
|
16325
|
+
_this7.oldMessage = res.message;
|
|
16326
|
+
_this7.nextNode.noticeInfo = res.message.replace('{title}', _this7.formTitle);
|
|
16040
16327
|
} else {
|
|
16041
|
-
|
|
16328
|
+
_this7.nextNode.noticeInfo = res.message;
|
|
16042
16329
|
}
|
|
16043
16330
|
}
|
|
16044
16331
|
}).catch(function (err) {
|
|
16045
|
-
if (
|
|
16046
|
-
|
|
16332
|
+
if (_this7.showBtn) {
|
|
16333
|
+
_this7.loading = false;
|
|
16047
16334
|
} else {
|
|
16048
|
-
|
|
16335
|
+
_this7.allLoading.close();
|
|
16049
16336
|
}
|
|
16050
16337
|
if (err.message && err.message !== 'canceled') {
|
|
16051
|
-
|
|
16338
|
+
_this7.$message.error(err.message);
|
|
16052
16339
|
}
|
|
16053
16340
|
});
|
|
16054
16341
|
},
|
|
@@ -16058,11 +16345,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16058
16345
|
this.saveProcess(formName);
|
|
16059
16346
|
},
|
|
16060
16347
|
saveProcess: function saveProcess(formName) {
|
|
16061
|
-
var
|
|
16348
|
+
var _this8 = this;
|
|
16062
16349
|
|
|
16063
16350
|
this.$refs[formName].validate(function (valid) {
|
|
16064
16351
|
if (valid) {
|
|
16065
|
-
var _nextNode =
|
|
16352
|
+
var _nextNode = _this8.nextNode,
|
|
16066
16353
|
nextNode = _nextNode.nextNode,
|
|
16067
16354
|
nextUser = _nextNode.nextUser,
|
|
16068
16355
|
noticeInfo = _nextNode.noticeInfo,
|
|
@@ -16079,31 +16366,31 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16079
16366
|
// return this.$message.warning('请选择通知方式');
|
|
16080
16367
|
// }
|
|
16081
16368
|
|
|
16082
|
-
if (
|
|
16083
|
-
if ((nextUser == '' ||
|
|
16084
|
-
return
|
|
16369
|
+
if (_this8.isShowNextUser) {
|
|
16370
|
+
if ((nextUser == '' || _this8.multiple && nextUser.length == 0) && !_this8.isHideCurrentOrg && !_this8.isHideOtherOrg) {
|
|
16371
|
+
return _this8.$message.warning('\u8BF7\u9009\u62E9' + (_this8.flowLabelConfig.nextUser || '下步办理人'));
|
|
16085
16372
|
}
|
|
16086
16373
|
} else {
|
|
16087
|
-
if (nextOrgId == '' ||
|
|
16088
|
-
return
|
|
16374
|
+
if (nextOrgId == '' || _this8.multiple && nextOrgId.length == 0) {
|
|
16375
|
+
return _this8.$message.warning('请选择办理对象');
|
|
16089
16376
|
}
|
|
16090
16377
|
}
|
|
16091
|
-
if ((
|
|
16092
|
-
return
|
|
16378
|
+
if ((_this8.isHideOtherOrg || _this8.isHideCurrentOrg) && !nextCurrentOrgObj && !nextOtherOrgObj) {
|
|
16379
|
+
return _this8.$message.warning('请选择办理对象');
|
|
16093
16380
|
}
|
|
16094
|
-
if (
|
|
16095
|
-
|
|
16381
|
+
if (_this8.isCancelSecondConfirmationType) {
|
|
16382
|
+
_this8.$confirm('确认提交吗?', '提示', {
|
|
16096
16383
|
confirmButtonText: '确定',
|
|
16097
16384
|
cancelButtonText: '取消',
|
|
16098
16385
|
type: 'warning'
|
|
16099
16386
|
}).then(function () {
|
|
16100
|
-
if (
|
|
16101
|
-
|
|
16387
|
+
if (_this8.showBtn) {
|
|
16388
|
+
_this8.loading = true;
|
|
16102
16389
|
} else {
|
|
16103
|
-
|
|
16390
|
+
_this8.allLoading = util["a" /* default */].loading(_this8.$loading, '加载中...');
|
|
16104
16391
|
}
|
|
16105
16392
|
var newNextUser = [];
|
|
16106
|
-
if (
|
|
16393
|
+
if (_this8.multiple) {
|
|
16107
16394
|
nextUser && nextUser.map(function (item) {
|
|
16108
16395
|
return newNextUser.push(item);
|
|
16109
16396
|
});
|
|
@@ -16113,108 +16400,108 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16113
16400
|
newNoticeType = noticeType.join(',');
|
|
16114
16401
|
}
|
|
16115
16402
|
var params = {
|
|
16116
|
-
processDefinitionId:
|
|
16117
|
-
nextUserId:
|
|
16403
|
+
processDefinitionId: _this8.processDefinitionId,
|
|
16404
|
+
nextUserId: _this8.multiple ? newNextUser.join(',') : nextUser,
|
|
16118
16405
|
nextNodeId: nextNode,
|
|
16119
|
-
businessId:
|
|
16406
|
+
businessId: _this8.businessId,
|
|
16120
16407
|
notificationType: newNoticeType,
|
|
16121
16408
|
userId: util["a" /* default */].getStorage('userId'),
|
|
16122
16409
|
notificationMsg: noticeInfo,
|
|
16123
|
-
customPresetUserJson: JSON.stringify(
|
|
16124
|
-
presetUserJson: JSON.stringify(
|
|
16125
|
-
nextReadUserId:
|
|
16126
|
-
nextOrgId: !
|
|
16410
|
+
customPresetUserJson: JSON.stringify(_this8.presetList),
|
|
16411
|
+
presetUserJson: JSON.stringify(_this8.presetUserJson),
|
|
16412
|
+
nextReadUserId: _this8.readMultiple ? _this8.mixReadList && _this8.mixReadList.join('|') : nextReadUserId,
|
|
16413
|
+
nextOrgId: !_this8.isShowNextUser ? _this8.multiple ? _this8.mixOrgIdList && _this8.mixOrgIdList.join('|') : nextOrgId : '',
|
|
16127
16414
|
handleExplain: handleExplain,
|
|
16128
|
-
presetReadUserId:
|
|
16129
|
-
opinion:
|
|
16415
|
+
presetReadUserId: _this8.mixPresetList && _this8.mixPresetList.length > 0 ? _this8.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
16416
|
+
opinion: _this8.newOpinion || newOpinion
|
|
16130
16417
|
};
|
|
16131
|
-
if (
|
|
16418
|
+
if (_this8.enableCustomLimitTimeSetting) {
|
|
16132
16419
|
params.customLimitTime = customLimitTime;
|
|
16133
16420
|
if (!customLimitTime) {
|
|
16134
|
-
|
|
16135
|
-
|
|
16421
|
+
_this8.$message.warning('请选择或输入限时办理的天数');
|
|
16422
|
+
_this8.nextNode.customLimitTime = '';
|
|
16136
16423
|
return;
|
|
16137
16424
|
} else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
|
|
16138
|
-
|
|
16139
|
-
|
|
16425
|
+
_this8.$message.warning('请输入正确的天数');
|
|
16426
|
+
_this8.nextNode.customLimitTime = '';
|
|
16140
16427
|
return;
|
|
16141
16428
|
}
|
|
16142
16429
|
}
|
|
16143
|
-
if (
|
|
16430
|
+
if (_this8.isHideCurrentOrg) {
|
|
16144
16431
|
params.nextCurrentOrgObj = nextCurrentOrgObj;
|
|
16145
16432
|
}
|
|
16146
|
-
if (
|
|
16433
|
+
if (_this8.isHideOtherOrg) {
|
|
16147
16434
|
params.nextOtherOrgObj = nextOtherOrgObj;
|
|
16148
16435
|
}
|
|
16149
|
-
if (
|
|
16150
|
-
if (
|
|
16436
|
+
if (_this8.activeNames != '1' || !_this8.isCustomPreset) delete params.customPresetUserJson;
|
|
16437
|
+
if (_this8.isFreeStartFlow || _this8.formType === 'readTransfer') {
|
|
16151
16438
|
var newParm = {};
|
|
16152
|
-
newParm.copyHistory =
|
|
16439
|
+
newParm.copyHistory = _this8.copyHistory === 'needCopyPendedHistory';
|
|
16153
16440
|
newParm.startFlowParamJson = params;
|
|
16154
16441
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
16155
16442
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
16156
|
-
startFlowFirstNodeName:
|
|
16443
|
+
startFlowFirstNodeName: _this8.taskExamineParam
|
|
16157
16444
|
};
|
|
16158
16445
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
16159
|
-
for (var key in
|
|
16160
|
-
if (Array.isArray(
|
|
16161
|
-
|
|
16446
|
+
for (var key in _this8.taskParams) {
|
|
16447
|
+
if (Array.isArray(_this8.taskParams[key])) {
|
|
16448
|
+
_this8.taskParams[key] = _this8.taskParams[key].length > 0 ? _this8.taskParams[key].join(',') : '';
|
|
16162
16449
|
}
|
|
16163
16450
|
}
|
|
16164
16451
|
|
|
16165
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
16166
|
-
if (
|
|
16452
|
+
newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
|
|
16453
|
+
if (_this8.formType == 'readTransfer') {
|
|
16167
16454
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
16168
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
16455
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
|
|
16169
16456
|
delete newParm.copyHistory;
|
|
16170
16457
|
delete newParm.startFlowParamJson;
|
|
16171
16458
|
delete newParm.submitTaskParamJson;
|
|
16172
16459
|
}
|
|
16173
16460
|
params = newParm;
|
|
16174
16461
|
}
|
|
16175
|
-
if (
|
|
16176
|
-
params.pendingId =
|
|
16462
|
+
if (_this8.copyHistory && !_this8.isFreeStartFlow) {
|
|
16463
|
+
params.pendingId = _this8.pendingId;
|
|
16177
16464
|
delete params.businessId;
|
|
16178
16465
|
}
|
|
16179
16466
|
util["a" /* default */].ajax({
|
|
16180
|
-
url:
|
|
16467
|
+
url: _this8.isFreeStartFlow ? api["M" /* freeStartFlowWithSubmitTask */] : _this8.formType == 'readTransfer' ? api["ec" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this8.copyHistory ? api["L" /* freeStartFlow */] : api["Rb" /* register */],
|
|
16181
16468
|
method: 'post',
|
|
16182
16469
|
data: params
|
|
16183
16470
|
}).then(function (res) {
|
|
16184
16471
|
var status = res.status,
|
|
16185
16472
|
message = res.message;
|
|
16186
16473
|
|
|
16187
|
-
if (
|
|
16188
|
-
|
|
16474
|
+
if (_this8.showBtn) {
|
|
16475
|
+
_this8.loading = false;
|
|
16189
16476
|
} else {
|
|
16190
|
-
|
|
16477
|
+
_this8.allLoading.close();
|
|
16191
16478
|
}
|
|
16192
16479
|
if (status === 'success' || res.rCode == 0) {
|
|
16193
|
-
|
|
16194
|
-
|
|
16480
|
+
_this8.quit(true);
|
|
16481
|
+
_this8.simpleTips && _this8.$message.success('操作成功');
|
|
16195
16482
|
} else {
|
|
16196
|
-
|
|
16483
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
16197
16484
|
}
|
|
16198
16485
|
}).catch(function (err) {
|
|
16199
|
-
if (
|
|
16200
|
-
|
|
16486
|
+
if (_this8.showBtn) {
|
|
16487
|
+
_this8.loading = false;
|
|
16201
16488
|
} else {
|
|
16202
|
-
|
|
16489
|
+
_this8.allLoading.close();
|
|
16203
16490
|
}
|
|
16204
16491
|
if (err.message && err.message !== 'canceled') {
|
|
16205
|
-
|
|
16492
|
+
_this8.$message.error(err.message);
|
|
16206
16493
|
}
|
|
16207
16494
|
});
|
|
16208
16495
|
});
|
|
16209
16496
|
return;
|
|
16210
16497
|
}
|
|
16211
|
-
if (
|
|
16212
|
-
|
|
16498
|
+
if (_this8.showBtn) {
|
|
16499
|
+
_this8.loading = true;
|
|
16213
16500
|
} else {
|
|
16214
|
-
|
|
16501
|
+
_this8.allLoading = util["a" /* default */].loading(_this8.$loading, '加载中...');
|
|
16215
16502
|
}
|
|
16216
16503
|
var newNextUser = [];
|
|
16217
|
-
if (
|
|
16504
|
+
if (_this8.multiple) {
|
|
16218
16505
|
nextUser && nextUser.map(function (item) {
|
|
16219
16506
|
return newNextUser.push(item);
|
|
16220
16507
|
});
|
|
@@ -16224,96 +16511,96 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16224
16511
|
newNoticeType = noticeType.join(',');
|
|
16225
16512
|
}
|
|
16226
16513
|
var params = {
|
|
16227
|
-
processDefinitionId:
|
|
16228
|
-
nextUserId:
|
|
16514
|
+
processDefinitionId: _this8.processDefinitionId,
|
|
16515
|
+
nextUserId: _this8.multiple ? newNextUser.join(',') : nextUser,
|
|
16229
16516
|
nextNodeId: nextNode,
|
|
16230
|
-
businessId:
|
|
16517
|
+
businessId: _this8.businessId,
|
|
16231
16518
|
notificationType: newNoticeType,
|
|
16232
16519
|
userId: util["a" /* default */].getStorage('userId'),
|
|
16233
16520
|
notificationMsg: noticeInfo,
|
|
16234
|
-
customPresetUserJson: JSON.stringify(
|
|
16235
|
-
presetUserJson: JSON.stringify(
|
|
16236
|
-
nextReadUserId:
|
|
16237
|
-
nextOrgId: !
|
|
16521
|
+
customPresetUserJson: JSON.stringify(_this8.presetList),
|
|
16522
|
+
presetUserJson: JSON.stringify(_this8.presetUserJson),
|
|
16523
|
+
nextReadUserId: _this8.readMultiple ? _this8.mixReadList && _this8.mixReadList.join('|') : nextReadUserId,
|
|
16524
|
+
nextOrgId: !_this8.isShowNextUser ? _this8.multiple ? _this8.mixOrgIdList && _this8.mixOrgIdList.join('|') : nextOrgId : '',
|
|
16238
16525
|
handleExplain: handleExplain,
|
|
16239
|
-
presetReadUserId:
|
|
16240
|
-
opinion:
|
|
16526
|
+
presetReadUserId: _this8.mixPresetList && _this8.mixPresetList.length > 0 ? _this8.mixPresetList.join('|') : presetReadUserId.join(','),
|
|
16527
|
+
opinion: _this8.newOpinion || newOpinion
|
|
16241
16528
|
};
|
|
16242
|
-
if (
|
|
16529
|
+
if (_this8.enableCustomLimitTimeSetting) {
|
|
16243
16530
|
params.customLimitTime = customLimitTime;
|
|
16244
16531
|
if (!customLimitTime) {
|
|
16245
|
-
|
|
16246
|
-
|
|
16532
|
+
_this8.$message.warning('请选择或输入限时办理的天数');
|
|
16533
|
+
_this8.nextNode.customLimitTime = '';
|
|
16247
16534
|
return;
|
|
16248
16535
|
} else if (!Number(customLimitTime) || customLimitTime.indexOf('.') != -1 || Number(customLimitTime) < 0) {
|
|
16249
|
-
|
|
16250
|
-
|
|
16536
|
+
_this8.$message.warning('请输入正确的天数');
|
|
16537
|
+
_this8.nextNode.customLimitTime = '';
|
|
16251
16538
|
return;
|
|
16252
16539
|
}
|
|
16253
16540
|
}
|
|
16254
|
-
if (
|
|
16541
|
+
if (_this8.isHideCurrentOrg) {
|
|
16255
16542
|
params.nextCurrentOrgObj = nextCurrentOrgObj;
|
|
16256
16543
|
}
|
|
16257
|
-
if (
|
|
16544
|
+
if (_this8.isHideOtherOrg) {
|
|
16258
16545
|
params.nextOtherOrgObj = nextOtherOrgObj;
|
|
16259
16546
|
}
|
|
16260
|
-
if (
|
|
16261
|
-
if (
|
|
16547
|
+
if (_this8.activeNames != '1' || !_this8.isCustomPreset) delete params.customPresetUserJson;
|
|
16548
|
+
if (_this8.isFreeStartFlow || _this8.formType === 'readTransfer') {
|
|
16262
16549
|
var newParm = {};
|
|
16263
|
-
newParm.copyHistory =
|
|
16550
|
+
newParm.copyHistory = _this8.copyHistory === 'needCopyPendedHistory';
|
|
16264
16551
|
newParm.startFlowParamJson = params;
|
|
16265
16552
|
// newParm.startFlowParamJson.businessId = this.id; //this.id
|
|
16266
16553
|
newParm.startFlowParamJson.taskExamineParam = {
|
|
16267
|
-
startFlowFirstNodeName:
|
|
16554
|
+
startFlowFirstNodeName: _this8.taskExamineParam
|
|
16268
16555
|
};
|
|
16269
16556
|
newParm.startFlowParamJson = JSON.stringify(newParm.startFlowParamJson);
|
|
16270
|
-
for (var key in
|
|
16271
|
-
if (Array.isArray(
|
|
16272
|
-
|
|
16557
|
+
for (var key in _this8.taskParams) {
|
|
16558
|
+
if (Array.isArray(_this8.taskParams[key])) {
|
|
16559
|
+
_this8.taskParams[key] = _this8.taskParams[key].length > 0 ? _this8.taskParams[key].join(',') : '';
|
|
16273
16560
|
}
|
|
16274
16561
|
}
|
|
16275
16562
|
|
|
16276
|
-
newParm.submitTaskParamJson = JSON.stringify(
|
|
16277
|
-
if (
|
|
16563
|
+
newParm.submitTaskParamJson = JSON.stringify(_this8.taskParams);
|
|
16564
|
+
if (_this8.formType == 'readTransfer') {
|
|
16278
16565
|
newParm.readTransferHandleStartFlowParamJson = JSON.stringify(params);
|
|
16279
|
-
newParm.taskReadEndParamJson = JSON.stringify(
|
|
16566
|
+
newParm.taskReadEndParamJson = JSON.stringify(_this8.taskParams);
|
|
16280
16567
|
delete newParm.copyHistory;
|
|
16281
16568
|
delete newParm.startFlowParamJson;
|
|
16282
16569
|
delete newParm.submitTaskParamJson;
|
|
16283
16570
|
}
|
|
16284
16571
|
params = newParm;
|
|
16285
16572
|
}
|
|
16286
|
-
if (
|
|
16287
|
-
params.pendingId =
|
|
16573
|
+
if (_this8.copyHistory && !_this8.isFreeStartFlow) {
|
|
16574
|
+
params.pendingId = _this8.pendingId;
|
|
16288
16575
|
delete params.businessId;
|
|
16289
16576
|
}
|
|
16290
16577
|
util["a" /* default */].ajax({
|
|
16291
|
-
url:
|
|
16578
|
+
url: _this8.isFreeStartFlow ? api["M" /* freeStartFlowWithSubmitTask */] : _this8.formType == 'readTransfer' ? api["ec" /* startReadTransferHandleFlowWithTaskReadEnd */] : _this8.copyHistory ? api["L" /* freeStartFlow */] : api["Rb" /* register */],
|
|
16292
16579
|
method: 'post',
|
|
16293
16580
|
data: params
|
|
16294
16581
|
}).then(function (res) {
|
|
16295
16582
|
var status = res.status,
|
|
16296
16583
|
message = res.message;
|
|
16297
16584
|
|
|
16298
|
-
if (
|
|
16299
|
-
|
|
16585
|
+
if (_this8.showBtn) {
|
|
16586
|
+
_this8.loading = false;
|
|
16300
16587
|
} else {
|
|
16301
|
-
|
|
16588
|
+
_this8.allLoading.close();
|
|
16302
16589
|
}
|
|
16303
16590
|
if (status === 'success' || res.rCode == 0) {
|
|
16304
|
-
|
|
16305
|
-
|
|
16591
|
+
_this8.quit(true);
|
|
16592
|
+
_this8.simpleTips && _this8.$message.success('操作成功');
|
|
16306
16593
|
} else {
|
|
16307
|
-
|
|
16594
|
+
_this8.$message.error(message || '系统错误,请联系管理员!');
|
|
16308
16595
|
}
|
|
16309
16596
|
}).catch(function (err) {
|
|
16310
|
-
if (
|
|
16311
|
-
|
|
16597
|
+
if (_this8.showBtn) {
|
|
16598
|
+
_this8.loading = false;
|
|
16312
16599
|
} else {
|
|
16313
|
-
|
|
16600
|
+
_this8.allLoading.close();
|
|
16314
16601
|
}
|
|
16315
16602
|
if (err.message && err.message !== 'canceled') {
|
|
16316
|
-
|
|
16603
|
+
_this8.$message.error(err.message);
|
|
16317
16604
|
}
|
|
16318
16605
|
});
|
|
16319
16606
|
} else {
|
|
@@ -16321,11 +16608,11 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16321
16608
|
}
|
|
16322
16609
|
});
|
|
16323
16610
|
},
|
|
16324
|
-
getNodeInfos: function getNodeInfos(nodeId, index) {
|
|
16325
|
-
var
|
|
16611
|
+
getNodeInfos: function getNodeInfos(nodeId, index, processDefinitionId) {
|
|
16612
|
+
var _this9 = this;
|
|
16326
16613
|
|
|
16327
16614
|
var params = {
|
|
16328
|
-
processDefinitionId: this.processDefinitionId,
|
|
16615
|
+
processDefinitionId: processDefinitionId || this.processDefinitionId,
|
|
16329
16616
|
nextNodeId: nodeId ? nodeId : this.nextNode.nextNode,
|
|
16330
16617
|
businessId: this.id,
|
|
16331
16618
|
userId: util["a" /* default */].getStorage('userId')
|
|
@@ -16340,25 +16627,25 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16340
16627
|
countersignaturetypeText = _res$data.countersignaturetypeText,
|
|
16341
16628
|
countersignaturetypeCode = _res$data.countersignaturetypeCode;
|
|
16342
16629
|
|
|
16343
|
-
if (
|
|
16344
|
-
|
|
16630
|
+
if (_this9.showBtn) {
|
|
16631
|
+
_this9.loading = false;
|
|
16345
16632
|
} else {
|
|
16346
|
-
|
|
16633
|
+
_this9.allLoading.close();
|
|
16347
16634
|
}
|
|
16348
16635
|
if (status === 'success') {
|
|
16349
|
-
if (
|
|
16350
|
-
|
|
16636
|
+
if (_this9.currentOrgSelectorParams.department && !_this9.currentOrgSelectorParams.department.roleid && _this9.selectorParams.roleid && nodeExtAttr.deptRoleCode) {
|
|
16637
|
+
_this9.currentOrgSelectorParams.department.roleid = nodeExtAttr.deptRoleCode;
|
|
16351
16638
|
}
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
|
|
16355
|
-
|
|
16356
|
-
|
|
16639
|
+
_this9.isCurrentNodeForbiddenChangeCandidate = nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
16640
|
+
_this9.nextNode.userInfo = nextUserList;
|
|
16641
|
+
_this9.countersignaturetypeCode = countersignaturetypeCode;
|
|
16642
|
+
_this9.nextNode.countersignaturetypeText = countersignaturetypeText;
|
|
16643
|
+
_this9.enableCustomLimitTimeSetting = nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
16357
16644
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
16358
|
-
|
|
16645
|
+
_this9.nextCurrentOrgselectUserList = [];
|
|
16359
16646
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
16360
16647
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
16361
|
-
|
|
16648
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16362
16649
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
16363
16650
|
showid: x,
|
|
16364
16651
|
stype: 'department'
|
|
@@ -16367,7 +16654,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16367
16654
|
}
|
|
16368
16655
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
16369
16656
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
16370
|
-
|
|
16657
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16371
16658
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
16372
16659
|
showid: x,
|
|
16373
16660
|
stype: 'employee'
|
|
@@ -16376,80 +16663,80 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16376
16663
|
}
|
|
16377
16664
|
if (nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
16378
16665
|
nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
16379
|
-
|
|
16666
|
+
_this9.nextCurrentOrgselectUserList.push({
|
|
16380
16667
|
showname: nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
16381
16668
|
showid: x,
|
|
16382
16669
|
stype: 'enterprise'
|
|
16383
16670
|
});
|
|
16384
16671
|
});
|
|
16385
16672
|
}
|
|
16386
|
-
|
|
16673
|
+
_this9.nextNode.nextCurrentOrgObj = nodeMoreInfo.currentOrgDefaultSelectObjects;
|
|
16387
16674
|
}
|
|
16388
|
-
if (
|
|
16389
|
-
|
|
16675
|
+
if (_this9.enableCustomLimitTimeSetting && nodeMoreInfo.defaultCustomLimitDays) {
|
|
16676
|
+
_this9.nextNode.customLimitTime = _this9.nextNode.customLimitTimeText = nodeMoreInfo.defaultCustomLimitDays + '';
|
|
16390
16677
|
}
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16678
|
+
_this9.isTaskread = nodeExtAttr.isTaskread;
|
|
16679
|
+
_this9.isHandleExplain = nodeExtAttr.isHandleExplain;
|
|
16680
|
+
_this9.isCustomUser = nodeExtAttr.isCustomUser; //是否展示选人组件按钮
|
|
16681
|
+
_this9.presetEdit = nodeExtAttr.presetEdit; //是否展示备选人
|
|
16682
|
+
_this9.isDefSelectedObj = nodeExtAttr.isDefSelectedObj; //是否默认选中
|
|
16396
16683
|
if (nodeExtAttr.userSelectionType == 7 || nodeExtAttr.userSelectionType == 8 || nodeExtAttr.userSelectionType == 9 || nodeExtAttr.userSelectionType == 10 || nodeExtAttr.userSelectionType == 11 || nodeExtAttr.userSelectionType == 12) {
|
|
16397
|
-
|
|
16684
|
+
_this9.getIsShowNextUser(nodeExtAttr && nodeExtAttr.userSelectionType);
|
|
16398
16685
|
} else {
|
|
16399
|
-
var _isMultiple =
|
|
16686
|
+
var _isMultiple = _this9.isMultiple(nodeExtAttr.userSelectionType),
|
|
16400
16687
|
multiple = _isMultiple.multiple,
|
|
16401
16688
|
_params = _isMultiple.params;
|
|
16402
16689
|
|
|
16403
|
-
|
|
16404
|
-
|
|
16690
|
+
_this9.multiple = multiple;
|
|
16691
|
+
_this9.params = _params;
|
|
16405
16692
|
}
|
|
16406
16693
|
// this.isReadMultiple(nodeExtAttr.userSelectionType);
|
|
16407
16694
|
if (nodeExtAttr.nodeType === 1 || nodeExtAttr.nodeType === 2) {
|
|
16408
|
-
|
|
16409
|
-
|
|
16695
|
+
_this9.isHideCurrentOrg = nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
16696
|
+
_this9.isHideOtherOrg = nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
16410
16697
|
} else {
|
|
16411
|
-
|
|
16412
|
-
|
|
16698
|
+
_this9.isHideCurrentOrg = false;
|
|
16699
|
+
_this9.isHideOtherOrg = false;
|
|
16413
16700
|
}
|
|
16414
16701
|
nextUserList.map(function (item) {
|
|
16415
|
-
if (
|
|
16416
|
-
|
|
16417
|
-
|
|
16702
|
+
if (_this9.multiple && nodeExtAttr.isDefSelectedObj == 1 && nextUserList !== undefined) {
|
|
16703
|
+
_this9.nextNode.nextUser.push(item.userId);
|
|
16704
|
+
_this9.selectUserList.push({
|
|
16418
16705
|
showname: item.username,
|
|
16419
16706
|
showid: item.userId
|
|
16420
16707
|
});
|
|
16421
16708
|
}
|
|
16422
16709
|
|
|
16423
|
-
|
|
16710
|
+
_this9.options.push({
|
|
16424
16711
|
showname: item.username,
|
|
16425
16712
|
showid: item.userId
|
|
16426
16713
|
});
|
|
16427
16714
|
});
|
|
16428
|
-
if (
|
|
16429
|
-
|
|
16715
|
+
if (_this9.multiple) {
|
|
16716
|
+
_this9.nextNode.nextReadUserId = [];
|
|
16430
16717
|
} else {
|
|
16431
|
-
|
|
16718
|
+
_this9.nextNode.nextReadUserId = '';
|
|
16432
16719
|
}
|
|
16433
|
-
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !
|
|
16434
|
-
|
|
16435
|
-
|
|
16720
|
+
if (nextUserList.length > 0 && nodeExtAttr.isDefSelectedObj == 1 && !_this9.multiple) {
|
|
16721
|
+
_this9.nextNode.nextUser = nextUserList[0].userId;
|
|
16722
|
+
_this9.selectUserList.push({
|
|
16436
16723
|
showname: nextUserList[0].username,
|
|
16437
16724
|
showid: nextUserList[0].userId
|
|
16438
16725
|
});
|
|
16439
16726
|
}
|
|
16440
|
-
|
|
16727
|
+
_this9.radioList = _this9.options;
|
|
16441
16728
|
} else {
|
|
16442
|
-
|
|
16729
|
+
_this9.$message.error(message || '系统错误,请联系管理员!');
|
|
16443
16730
|
}
|
|
16444
|
-
nodeId &&
|
|
16731
|
+
nodeId && _this9.$refs.selectUser[index].changeInfo();
|
|
16445
16732
|
}).catch(function (err) {
|
|
16446
|
-
if (
|
|
16447
|
-
|
|
16733
|
+
if (_this9.showBtn) {
|
|
16734
|
+
_this9.loading = false;
|
|
16448
16735
|
} else {
|
|
16449
|
-
|
|
16736
|
+
_this9.allLoading.close();
|
|
16450
16737
|
}
|
|
16451
16738
|
if (err.message && err.message !== 'canceled') {
|
|
16452
|
-
|
|
16739
|
+
_this9.$message.error(err.message);
|
|
16453
16740
|
}
|
|
16454
16741
|
});
|
|
16455
16742
|
},
|
|
@@ -16472,7 +16759,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16472
16759
|
this.$emit('cancel', false);
|
|
16473
16760
|
},
|
|
16474
16761
|
getFind: function getFind() {
|
|
16475
|
-
var
|
|
16762
|
+
var _this10 = this;
|
|
16476
16763
|
|
|
16477
16764
|
util["a" /* default */].ajax({
|
|
16478
16765
|
url: api["I" /* findSysCodes */]
|
|
@@ -16481,28 +16768,28 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16481
16768
|
message = res.message;
|
|
16482
16769
|
|
|
16483
16770
|
if (status === 'success') {
|
|
16484
|
-
if (
|
|
16485
|
-
|
|
16771
|
+
if (_this10.hideMessage) return;
|
|
16772
|
+
_this10.nextNode.noticeType = message.split(',');
|
|
16486
16773
|
var arr = [];
|
|
16487
|
-
|
|
16488
|
-
|
|
16774
|
+
_this10.nextNode.noticeList.map(function (item) {
|
|
16775
|
+
_this10.nextNode.noticeType.map(function (x) {
|
|
16489
16776
|
if (x == item.cciValue) {
|
|
16490
16777
|
arr.push(x);
|
|
16491
16778
|
}
|
|
16492
16779
|
});
|
|
16493
16780
|
});
|
|
16494
|
-
|
|
16781
|
+
_this10.nextNode.noticeType = arr;
|
|
16495
16782
|
} else {
|
|
16496
|
-
|
|
16783
|
+
_this10.$message.error(message || '系统错误,请联系管理员!');
|
|
16497
16784
|
}
|
|
16498
16785
|
}).catch(function (err) {
|
|
16499
|
-
if (
|
|
16500
|
-
|
|
16786
|
+
if (_this10.showBtn) {
|
|
16787
|
+
_this10.loading = false;
|
|
16501
16788
|
} else {
|
|
16502
|
-
|
|
16789
|
+
_this10.allLoading.close();
|
|
16503
16790
|
}
|
|
16504
16791
|
if (err.message && err.message !== 'canceled') {
|
|
16505
|
-
|
|
16792
|
+
_this10.$message.error(err.message);
|
|
16506
16793
|
}
|
|
16507
16794
|
});
|
|
16508
16795
|
},
|
|
@@ -16545,7 +16832,7 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16545
16832
|
return { multiple: multiple, params: params };
|
|
16546
16833
|
},
|
|
16547
16834
|
getStartFlow: function getStartFlow(processId) {
|
|
16548
|
-
var
|
|
16835
|
+
var _this11 = this;
|
|
16549
16836
|
|
|
16550
16837
|
if (!processId) {
|
|
16551
16838
|
return false;
|
|
@@ -16572,43 +16859,43 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16572
16859
|
data = res.data;
|
|
16573
16860
|
|
|
16574
16861
|
if (status == 'success') {
|
|
16575
|
-
data.nodeInfoMap.nodeExtAttr.submitTipsMsg &&
|
|
16862
|
+
data.nodeInfoMap.nodeExtAttr.submitTipsMsg && _this11.$confirm(data.nodeInfoMap.nodeExtAttr.submitTipsMsg, '提示', {
|
|
16576
16863
|
confirmButtonText: '确定',
|
|
16577
16864
|
cancelButtonText: '取消',
|
|
16578
16865
|
type: 'warning'
|
|
16579
16866
|
}).then(function () {}).catch(function () {
|
|
16580
|
-
|
|
16867
|
+
_this11.quit();
|
|
16581
16868
|
});
|
|
16582
|
-
data.nextNodeCheckType && (
|
|
16583
|
-
data.nextOperateCheckType && (
|
|
16869
|
+
data.nextNodeCheckType && (_this11.nextNodeCheckType = data.nextNodeCheckType);
|
|
16870
|
+
data.nextOperateCheckType && (_this11.nextOperateCheckType = data.nextOperateCheckType);
|
|
16584
16871
|
if (data.currentOrgSelectorParams) {
|
|
16585
16872
|
if (data.currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
16586
|
-
|
|
16873
|
+
_this11.currentOrgSelectorTabs = data.currentOrgSelectorParams.currentOrgType.split(',');
|
|
16587
16874
|
var currentOrgparams = data.currentOrgSelectorParams.currentOrgRange.split(',');
|
|
16588
|
-
|
|
16589
|
-
|
|
16875
|
+
_this11.currentOrgSelectorTabs.map(function (x, i) {
|
|
16876
|
+
_this11.currentOrgSelectorParams[x] = {
|
|
16590
16877
|
filid: currentOrgparams[i] == 'my' ? JSON.parse(util["a" /* default */].getStorage('mainConfig')).userModel.orgId : currentOrgparams[i],
|
|
16591
16878
|
only_filid: true
|
|
16592
16879
|
};
|
|
16593
16880
|
});
|
|
16594
16881
|
}
|
|
16595
16882
|
}
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
if (
|
|
16607
|
-
|
|
16883
|
+
_this11.customPresetHintMessage = data.customPresetHintMessage;
|
|
16884
|
+
_this11.readOnlyNotificationType = data.readOnlyNotificationType;
|
|
16885
|
+
_this11.notificationMessageReadOnly = data.notificationMessageReadOnly == 'true';
|
|
16886
|
+
_this11.nextNode.nodeInfo = data.nextNodeList;
|
|
16887
|
+
_this11.nextNode.nextNode = data.nextNodeList[0].nodeId;
|
|
16888
|
+
_this11.isPreset = data.isPreset;
|
|
16889
|
+
_this11.isHideDefaultOperation = data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation;
|
|
16890
|
+
_this11.defaultNextNode = data.nodeInfoMap.nodeExtAttr.defaultNextNode;
|
|
16891
|
+
_this11.isChooseNextNode = data.nodeInfoMap.nodeExtAttr.isChooseNextNode;
|
|
16892
|
+
_this11.isCdjxjTaskHandle = data.isCdjxjTaskHandle;
|
|
16893
|
+
if (_this11.isChooseNextNode == 1) {
|
|
16894
|
+
_this11.operationList = [
|
|
16608
16895
|
// { key: 0, value: '默认', list: [] },
|
|
16609
16896
|
{ key: 1, value: '自定义', list: [] }];
|
|
16610
16897
|
if (data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1) {
|
|
16611
|
-
|
|
16898
|
+
_this11.operationList.unshift({
|
|
16612
16899
|
key: 0,
|
|
16613
16900
|
value: '默认',
|
|
16614
16901
|
list: data.nextNodeList
|
|
@@ -16619,69 +16906,69 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16619
16906
|
arr.push({ nodeName: data.taskNodeMap[key], nodeId: key });
|
|
16620
16907
|
}
|
|
16621
16908
|
// this.operationList[0].list = data.nextNodeList;
|
|
16622
|
-
|
|
16623
|
-
if (
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
if (
|
|
16909
|
+
_this11.operationList[data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation != 1 ? 1 : 0].list = arr;
|
|
16910
|
+
if (_this11.isHideDefaultOperation != 1) {
|
|
16911
|
+
_this11.nextNode.nextOperate = 0;
|
|
16912
|
+
_this11.nextNode.nodeInfo = _this11.operationList[0].list;
|
|
16913
|
+
if (_this11.nextNode.nodeInfo.length > 0) {
|
|
16627
16914
|
var defaultNodeData = data.nextNodeList.filter(function (x) {
|
|
16628
|
-
return x.nodeId ==
|
|
16915
|
+
return x.nodeId == _this11.defaultNextNode;
|
|
16629
16916
|
});
|
|
16630
|
-
|
|
16917
|
+
_this11.nextNode.nextNode = defaultNodeData.length > 0 ? _this11.defaultNextNode : data.nextNodeList[0].nodeId;
|
|
16631
16918
|
}
|
|
16632
16919
|
}
|
|
16633
16920
|
if (data.nodeInfoMap.nodeExtAttr.defaultNextOperate == 1 || data.nodeInfoMap.nodeExtAttr.isHideDefaultOperation == 1) {
|
|
16634
16921
|
// this.nextNode.nodeInfo = data.nextNodeList
|
|
16635
|
-
|
|
16636
|
-
|
|
16922
|
+
_this11.nextNode.nextOperate = 1;
|
|
16923
|
+
_this11.nextNode.nodeInfo = _this11.operationList[_this11.isHideDefaultOperation != 1 ? 1 : 0].list;
|
|
16637
16924
|
|
|
16638
|
-
if (
|
|
16639
|
-
var _defaultNodeData =
|
|
16640
|
-
return x.nodeId ==
|
|
16925
|
+
if (_this11.nextNode.nodeInfo.length > 0) {
|
|
16926
|
+
var _defaultNodeData = _this11.nextNode.nodeInfo.filter(function (x) {
|
|
16927
|
+
return x.nodeId == _this11.defaultNextNode;
|
|
16641
16928
|
});
|
|
16642
|
-
|
|
16929
|
+
_this11.nextNode.nextNode = _defaultNodeData.length > 0 ? _this11.defaultNextNode : _this11.nextNode.nodeInfo[0].nodeId;
|
|
16643
16930
|
}
|
|
16644
16931
|
}
|
|
16645
16932
|
}
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16933
|
+
_this11.isCustomPreset = data.isCustomPreset;
|
|
16934
|
+
_this11.presetTaskNodeKeyStr = data.presetTaskNodeKeyStr;
|
|
16935
|
+
_this11.presetTaskNodeMap = data.presetTaskNodeMap;
|
|
16936
|
+
_this11.isSinglePage = data.taskExamine.isSinglePage;
|
|
16937
|
+
_this11.isSinglePage && (_this11.nextNode.opinion = data.taskExamine.opinion);
|
|
16651
16938
|
// this.nextNode.noticeInfo = data.taskExamine.notificationMsg;
|
|
16652
|
-
|
|
16653
|
-
|
|
16939
|
+
_this11.nextNode.nodeName = data.taskExamine.nodeName;
|
|
16940
|
+
_this11.canPresetRead = data.canPresetRead;
|
|
16654
16941
|
if (data.canPresetRead) {
|
|
16655
16942
|
var ids = data.nodeInfoMap.nodeExtAttr.presetReadCandinateIds.split(',');
|
|
16656
16943
|
var names = data.nodeInfoMap.nodeExtAttr.presetReadCandinateNames.split(',');
|
|
16657
16944
|
ids.map(function (item, index) {
|
|
16658
|
-
|
|
16945
|
+
_this11.presetReadUserId.push({
|
|
16659
16946
|
showid: item,
|
|
16660
16947
|
showname: names[index]
|
|
16661
16948
|
});
|
|
16662
|
-
|
|
16949
|
+
_this11.selectPresetUserList.push({
|
|
16663
16950
|
showid: item,
|
|
16664
16951
|
showname: names[index]
|
|
16665
16952
|
});
|
|
16666
|
-
|
|
16953
|
+
_this11.nextNode.presetReadUserId.push(item);
|
|
16667
16954
|
});
|
|
16668
16955
|
}
|
|
16669
|
-
|
|
16956
|
+
_this11.getNodeInfos(undefined, undefined, processId);
|
|
16670
16957
|
// this.getPresetFlowInfo();
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16958
|
+
_this11.isCustomPreset && _this11.$refs.customPreset.getPresetFlowInfo(_this11.nextNode.nextNode, undefined, true);
|
|
16959
|
+
_this11.getFind();
|
|
16960
|
+
_this11.getMessage();
|
|
16674
16961
|
} else {
|
|
16675
|
-
|
|
16962
|
+
_this11.$message.error(message || '系统错误,请联系管理员!');
|
|
16676
16963
|
}
|
|
16677
16964
|
}).catch(function (err) {
|
|
16678
|
-
if (
|
|
16679
|
-
|
|
16965
|
+
if (_this11.showBtn) {
|
|
16966
|
+
_this11.loading = false;
|
|
16680
16967
|
} else {
|
|
16681
|
-
|
|
16968
|
+
_this11.allLoading.close();
|
|
16682
16969
|
}
|
|
16683
16970
|
if (err.message && err.message !== 'canceled') {
|
|
16684
|
-
|
|
16971
|
+
_this11.$message.error(err.message);
|
|
16685
16972
|
}
|
|
16686
16973
|
});
|
|
16687
16974
|
}
|
|
@@ -16699,8 +16986,8 @@ var processFormvue_type_script_lang_js_components;
|
|
|
16699
16986
|
|
|
16700
16987
|
var processForm_component = Object(componentNormalizer["a" /* default */])(
|
|
16701
16988
|
src_processFormvue_type_script_lang_js_,
|
|
16702
|
-
|
|
16703
|
-
|
|
16989
|
+
processFormvue_type_template_id_f523153e_render,
|
|
16990
|
+
processFormvue_type_template_id_f523153e_staticRenderFns,
|
|
16704
16991
|
false,
|
|
16705
16992
|
null,
|
|
16706
16993
|
null,
|
|
@@ -17592,8 +17879,8 @@ var TimeLimit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17592
17879
|
)
|
|
17593
17880
|
|
|
17594
17881
|
/* 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
|
|
17882
|
+
// 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&
|
|
17883
|
+
var processRejectvue_type_template_id_6c65370c_render = function () {
|
|
17597
17884
|
var _vm = this
|
|
17598
17885
|
var _h = _vm.$createElement
|
|
17599
17886
|
var _c = _vm._self._c || _h
|
|
@@ -17631,16 +17918,15 @@ var processRejectvue_type_template_id_14451a70_render = function () {
|
|
|
17631
17918
|
_c(
|
|
17632
17919
|
"div",
|
|
17633
17920
|
{
|
|
17634
|
-
|
|
17635
|
-
"max-height
|
|
17636
|
-
"
|
|
17637
|
-
"margin-bottom
|
|
17638
|
-
},
|
|
17921
|
+
style:
|
|
17922
|
+
"max-height: 290px; overflow-y: " +
|
|
17923
|
+
(_vm.hideBtn ? "unset" : "auto") +
|
|
17924
|
+
"; margin-bottom: 10px",
|
|
17639
17925
|
},
|
|
17640
17926
|
[
|
|
17641
17927
|
_c(
|
|
17642
17928
|
"el-form-item",
|
|
17643
|
-
{ attrs: { prop: "nodeName", label: "
|
|
17929
|
+
{ attrs: { prop: "nodeName", label: "当前节点`" } },
|
|
17644
17930
|
[
|
|
17645
17931
|
_c("el-input", {
|
|
17646
17932
|
attrs: { disabled: "" },
|
|
@@ -17837,11 +18123,11 @@ var processRejectvue_type_template_id_14451a70_render = function () {
|
|
|
17837
18123
|
1
|
|
17838
18124
|
)
|
|
17839
18125
|
}
|
|
17840
|
-
var
|
|
17841
|
-
|
|
18126
|
+
var processRejectvue_type_template_id_6c65370c_staticRenderFns = []
|
|
18127
|
+
processRejectvue_type_template_id_6c65370c_render._withStripped = true
|
|
17842
18128
|
|
|
17843
18129
|
|
|
17844
|
-
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=
|
|
18130
|
+
// CONCATENATED MODULE: ./packages/flow/src/processReject.vue?vue&type=template&id=6c65370c&
|
|
17845
18131
|
|
|
17846
18132
|
// 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
18133
|
//
|
|
@@ -18163,8 +18449,8 @@ processRejectvue_type_template_id_14451a70_render._withStripped = true
|
|
|
18163
18449
|
|
|
18164
18450
|
var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
18165
18451
|
src_processRejectvue_type_script_lang_js_,
|
|
18166
|
-
|
|
18167
|
-
|
|
18452
|
+
processRejectvue_type_template_id_6c65370c_render,
|
|
18453
|
+
processRejectvue_type_template_id_6c65370c_staticRenderFns,
|
|
18168
18454
|
false,
|
|
18169
18455
|
null,
|
|
18170
18456
|
null,
|
|
@@ -18173,8 +18459,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18173
18459
|
)
|
|
18174
18460
|
|
|
18175
18461
|
/* 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
|
|
18462
|
+
// 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&
|
|
18463
|
+
var startTaskReadvue_type_template_id_d6b2d084_render = function () {
|
|
18178
18464
|
var _vm = this
|
|
18179
18465
|
var _h = _vm.$createElement
|
|
18180
18466
|
var _c = _vm._self._c || _h
|
|
@@ -18190,7 +18476,10 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18190
18476
|
},
|
|
18191
18477
|
],
|
|
18192
18478
|
staticClass: "task-read",
|
|
18193
|
-
style:
|
|
18479
|
+
style:
|
|
18480
|
+
"height: " +
|
|
18481
|
+
(_vm.typeCode == "read" || _vm.hideBtn ? "100%" : "unset") +
|
|
18482
|
+
";",
|
|
18194
18483
|
attrs: {
|
|
18195
18484
|
"element-loading-text": "加载中...",
|
|
18196
18485
|
"element-loading-spinner": "el-icon-loading",
|
|
@@ -18211,8 +18500,10 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18211
18500
|
{
|
|
18212
18501
|
style:
|
|
18213
18502
|
"max-height: " +
|
|
18214
|
-
(_vm.typeCode ? "
|
|
18215
|
-
"; overflow-y:
|
|
18503
|
+
(_vm.typeCode || _vm.hideBtn ? "100%" : "290px") +
|
|
18504
|
+
"; overflow-y:" +
|
|
18505
|
+
(_vm.hideBtn ? "unset" : "auto") +
|
|
18506
|
+
"; margin-bottom: 10px",
|
|
18216
18507
|
},
|
|
18217
18508
|
[
|
|
18218
18509
|
_vm.type === "transfer"
|
|
@@ -18600,11 +18891,11 @@ var startTaskReadvue_type_template_id_48c99383_render = function () {
|
|
|
18600
18891
|
1
|
|
18601
18892
|
)
|
|
18602
18893
|
}
|
|
18603
|
-
var
|
|
18604
|
-
|
|
18894
|
+
var startTaskReadvue_type_template_id_d6b2d084_staticRenderFns = []
|
|
18895
|
+
startTaskReadvue_type_template_id_d6b2d084_render._withStripped = true
|
|
18605
18896
|
|
|
18606
18897
|
|
|
18607
|
-
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
18898
|
+
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=d6b2d084&
|
|
18608
18899
|
|
|
18609
18900
|
// 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
18901
|
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 +19142,14 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
18851
19142
|
var tab = {};
|
|
18852
19143
|
if (this.type != 'transfer') {
|
|
18853
19144
|
tab = {
|
|
18854
|
-
employee: {
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
},
|
|
18860
|
-
department: { param: { filid: this.orgId } }
|
|
18861
|
-
enterprise: {}
|
|
19145
|
+
// employee: {
|
|
19146
|
+
// param: {
|
|
19147
|
+
// filid: '',//this.orgId
|
|
19148
|
+
// name: '本单位用户'
|
|
19149
|
+
// }
|
|
19150
|
+
// },
|
|
19151
|
+
department: { param: { filid: this.orgId } } //this.orgId
|
|
19152
|
+
// enterprise: {}
|
|
18862
19153
|
};
|
|
18863
19154
|
} else {
|
|
18864
19155
|
tab = {
|
|
@@ -18887,6 +19178,11 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
18887
19178
|
},
|
|
18888
19179
|
|
|
18889
19180
|
methods: {
|
|
19181
|
+
// getSelectType(info){
|
|
19182
|
+
// if(info.selectPersonValue == 4){
|
|
19183
|
+
// this.selectorParams.filid = 'all'
|
|
19184
|
+
// }
|
|
19185
|
+
// },
|
|
18890
19186
|
getSelectorConfig: function getSelectorConfig() {
|
|
18891
19187
|
this.selectorTabs = this.selectorConfig.type.split(',');
|
|
18892
19188
|
this.selectorParams = this.selectorConfig.params;
|
|
@@ -19008,7 +19304,14 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19008
19304
|
} else if (this.configInfo.selectPersonValue == 6) {
|
|
19009
19305
|
this.multiple = true;
|
|
19010
19306
|
this.params.filid = '';
|
|
19307
|
+
} else if (this.configInfo.selectPersonValue == 7) {
|
|
19308
|
+
this.multiple = false;
|
|
19309
|
+
this.params.filid = orgId;
|
|
19310
|
+
} else if (this.configInfo.selectPersonValue == 8) {
|
|
19311
|
+
this.multiple = true;
|
|
19312
|
+
this.params.filid = orgId;
|
|
19011
19313
|
}
|
|
19314
|
+
console.log(this.params, 'params');
|
|
19012
19315
|
},
|
|
19013
19316
|
handleSelectCheck: function handleSelectCheck(val, data) {
|
|
19014
19317
|
var _this3 = this;
|
|
@@ -19057,6 +19360,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19057
19360
|
url: api["zc" /* toStartTaskRead */],
|
|
19058
19361
|
params: startTaskReadvue_type_script_lang_js_extends({
|
|
19059
19362
|
pendingId: this.pendingId,
|
|
19363
|
+
appId: this.resetAppId,
|
|
19060
19364
|
taskAction: this.type
|
|
19061
19365
|
}, this.param)
|
|
19062
19366
|
};
|
|
@@ -19342,8 +19646,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
19342
19646
|
|
|
19343
19647
|
var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
19344
19648
|
src_startTaskReadvue_type_script_lang_js_,
|
|
19345
|
-
|
|
19346
|
-
|
|
19649
|
+
startTaskReadvue_type_template_id_d6b2d084_render,
|
|
19650
|
+
startTaskReadvue_type_template_id_d6b2d084_staticRenderFns,
|
|
19347
19651
|
false,
|
|
19348
19652
|
null,
|
|
19349
19653
|
null,
|
|
@@ -29631,6 +29935,10 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
29631
29935
|
//
|
|
29632
29936
|
//
|
|
29633
29937
|
//
|
|
29938
|
+
//
|
|
29939
|
+
//
|
|
29940
|
+
//
|
|
29941
|
+
//
|
|
29634
29942
|
|
|
29635
29943
|
|
|
29636
29944
|
|
|
@@ -29731,7 +30039,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
29731
30039
|
},
|
|
29732
30040
|
rows: {
|
|
29733
30041
|
type: [String, Number],
|
|
29734
|
-
default:
|
|
30042
|
+
default: 5
|
|
29735
30043
|
},
|
|
29736
30044
|
showOther: {
|
|
29737
30045
|
type: Boolean,
|
|
@@ -31249,6 +31557,7 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
31249
31557
|
data.globalNodeType === 'endEvent' ? _this30.endFlow = true : '';
|
|
31250
31558
|
}
|
|
31251
31559
|
}
|
|
31560
|
+
console.log(_this30.$refs.customPreset.getPresetFlowInfo, 'his.$refs.customPreset');
|
|
31252
31561
|
_this30.isCustomPreset && _this30.$refs.customPreset.getPresetFlowInfo(_this30.nextNode.nextNodeId, _this30.nodeInfo.nextNode, true);
|
|
31253
31562
|
} else {
|
|
31254
31563
|
_this30.$message.error(message || '系统错误,请联系管理员!');
|
|
@@ -32454,8 +32763,8 @@ function flowvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
32454
32763
|
|
|
32455
32764
|
var flow_component = Object(componentNormalizer["a" /* default */])(
|
|
32456
32765
|
src_flowvue_type_script_lang_js_,
|
|
32457
|
-
|
|
32458
|
-
|
|
32766
|
+
flowvue_type_template_id_53d37cbc_render,
|
|
32767
|
+
flowvue_type_template_id_53d37cbc_staticRenderFns,
|
|
32459
32768
|
false,
|
|
32460
32769
|
null,
|
|
32461
32770
|
null,
|
|
@@ -33745,6 +34054,26 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33745
34054
|
//
|
|
33746
34055
|
//
|
|
33747
34056
|
//
|
|
34057
|
+
//
|
|
34058
|
+
//
|
|
34059
|
+
//
|
|
34060
|
+
//
|
|
34061
|
+
//
|
|
34062
|
+
//
|
|
34063
|
+
//
|
|
34064
|
+
//
|
|
34065
|
+
//
|
|
34066
|
+
//
|
|
34067
|
+
//
|
|
34068
|
+
//
|
|
34069
|
+
//
|
|
34070
|
+
//
|
|
34071
|
+
//
|
|
34072
|
+
//
|
|
34073
|
+
//
|
|
34074
|
+
//
|
|
34075
|
+
//
|
|
34076
|
+
//
|
|
33748
34077
|
|
|
33749
34078
|
|
|
33750
34079
|
|
|
@@ -33845,7 +34174,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33845
34174
|
},
|
|
33846
34175
|
rows: {
|
|
33847
34176
|
type: [String, Number],
|
|
33848
|
-
default:
|
|
34177
|
+
default: 5
|
|
33849
34178
|
},
|
|
33850
34179
|
showOther: {
|
|
33851
34180
|
type: Boolean,
|
|
@@ -33889,6 +34218,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
33889
34218
|
freeStartFlowNextNode: undefined,
|
|
33890
34219
|
otherOrgDisabledObjId: [],
|
|
33891
34220
|
isCanReadTransferHandle: false,
|
|
34221
|
+
readTransferHandleFlowTypeCode: '',
|
|
33892
34222
|
readTransferHandleDisabled: true,
|
|
33893
34223
|
showCustomLimitTimeText: false,
|
|
33894
34224
|
showSort: false,
|
|
@@ -34247,7 +34577,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34247
34577
|
this.businessId && this.getProcess();
|
|
34248
34578
|
} else if (this.newTypeCode == 'fenyue') {
|
|
34249
34579
|
this.getTaskReadFlow();
|
|
34250
|
-
} else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation') {
|
|
34580
|
+
} else if (this.newTypeCode != 'reset' && this.newTypeCode != 'continuation' && !this.newFlow) {
|
|
34251
34581
|
this.getHedInfo();
|
|
34252
34582
|
}
|
|
34253
34583
|
},
|
|
@@ -34346,6 +34676,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34346
34676
|
_this6.$refs.esContent.scrollTop += _this6.$refs.messagebox.clientHeight;
|
|
34347
34677
|
});
|
|
34348
34678
|
},
|
|
34679
|
+
handleNewFlowSuccess: function handleNewFlowSuccess() {
|
|
34680
|
+
this.$emit('success');
|
|
34681
|
+
},
|
|
34349
34682
|
freeStartFlowSuccess: function freeStartFlowSuccess() {
|
|
34350
34683
|
this.showFreeStartFlow = false;
|
|
34351
34684
|
this.flowSuccess(true);
|
|
@@ -34578,6 +34911,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34578
34911
|
taskExamine = _res$data.taskExamine,
|
|
34579
34912
|
taskReadOpinionRequired = _res$data.taskReadOpinionRequired,
|
|
34580
34913
|
isCanReadTransferHandle = _res$data.isCanReadTransferHandle,
|
|
34914
|
+
readTransferHandleFlowTypeCode = _res$data.readTransferHandleFlowTypeCode,
|
|
34581
34915
|
defaultNotificationMessage = _res$data.defaultNotificationMessage;
|
|
34582
34916
|
|
|
34583
34917
|
if (status === 'success') {
|
|
@@ -34586,6 +34920,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
34586
34920
|
_this11.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
34587
34921
|
_this11.nextNode.notificationMsg = defaultNotificationMessage;
|
|
34588
34922
|
_this11.isCanReadTransferHandle = isCanReadTransferHandle;
|
|
34923
|
+
_this11.readTransferHandleFlowTypeCode = readTransferHandleFlowTypeCode;
|
|
34589
34924
|
_this11.isCanFenyue = isCanFenyue;
|
|
34590
34925
|
if (_this11.nodeName) {
|
|
34591
34926
|
_this11.NodeName = _this11.nodeName;
|
|
@@ -35227,17 +35562,29 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35227
35562
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
|
|
35228
35563
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0) {
|
|
35229
35564
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(function (x, i) {
|
|
35230
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35565
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35566
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],
|
|
35567
|
+
showid: x,
|
|
35568
|
+
stype: 'department'
|
|
35569
|
+
});
|
|
35231
35570
|
});
|
|
35232
35571
|
}
|
|
35233
35572
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0) {
|
|
35234
35573
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(function (x, i) {
|
|
35235
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35574
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35575
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],
|
|
35576
|
+
showid: x,
|
|
35577
|
+
stype: 'employee'
|
|
35578
|
+
});
|
|
35236
35579
|
});
|
|
35237
35580
|
}
|
|
35238
35581
|
if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0) {
|
|
35239
35582
|
data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(function (x, i) {
|
|
35240
|
-
_this30.nextCurrentOrgselectUserList.push({
|
|
35583
|
+
_this30.nextCurrentOrgselectUserList.push({
|
|
35584
|
+
showname: data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],
|
|
35585
|
+
showid: x,
|
|
35586
|
+
stype: 'enterprise'
|
|
35587
|
+
});
|
|
35241
35588
|
});
|
|
35242
35589
|
}
|
|
35243
35590
|
}
|
|
@@ -35466,7 +35813,7 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35466
35813
|
}
|
|
35467
35814
|
if (this.endFlow && isDef) {
|
|
35468
35815
|
this.loading.close();
|
|
35469
|
-
} else {
|
|
35816
|
+
} else if (!this.newFlow) {
|
|
35470
35817
|
this.getNodeInfo();
|
|
35471
35818
|
}
|
|
35472
35819
|
},
|
|
@@ -35968,7 +36315,9 @@ function mainvue_type_script_lang_js_asyncToGenerator(fn) { return function () {
|
|
|
35968
36315
|
_this34.showNews = false;
|
|
35969
36316
|
_this34.nextNode.notificationType = [];
|
|
35970
36317
|
_this34.pendingId = results[results.length - 1].attachId;
|
|
35971
|
-
_this34.
|
|
36318
|
+
if (!_this34.newFlow) {
|
|
36319
|
+
_this34.getHedInfo();
|
|
36320
|
+
}
|
|
35972
36321
|
} else {
|
|
35973
36322
|
_this34.$message.error(msg || '系统错误,请联系管理员!');
|
|
35974
36323
|
}
|