eoss-mobiles 0.1.50 → 0.1.52
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-mobile.common.js +151 -86
- package/lib/flow.js +153 -88
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +136 -51
- package/packages/flow/src/components/StartFlow.vue +1 -1
- package/src/index.js +1 -1
|
@@ -9963,8 +9963,8 @@ mainvue_type_template_id_56353196_render._withStripped = true
|
|
|
9963
9963
|
|
|
9964
9964
|
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=56353196&
|
|
9965
9965
|
|
|
9966
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
9967
|
-
var
|
|
9966
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=template&id=8801d1d2&
|
|
9967
|
+
var StartFlowvue_type_template_id_8801d1d2_render = function () {
|
|
9968
9968
|
var _vm = this
|
|
9969
9969
|
var _h = _vm.$createElement
|
|
9970
9970
|
var _c = _vm._self._c || _h
|
|
@@ -10168,11 +10168,11 @@ var StartFlowvue_type_template_id_652918df_render = function () {
|
|
|
10168
10168
|
]),
|
|
10169
10169
|
])
|
|
10170
10170
|
}
|
|
10171
|
-
var
|
|
10172
|
-
|
|
10171
|
+
var StartFlowvue_type_template_id_8801d1d2_staticRenderFns = []
|
|
10172
|
+
StartFlowvue_type_template_id_8801d1d2_render._withStripped = true
|
|
10173
10173
|
|
|
10174
10174
|
|
|
10175
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=
|
|
10175
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/StartFlow.vue?vue&type=template&id=8801d1d2&
|
|
10176
10176
|
|
|
10177
10177
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Opinion.vue?vue&type=template&id=f682be22&
|
|
10178
10178
|
var Opinionvue_type_template_id_f682be22_render = function () {
|
|
@@ -10660,6 +10660,8 @@ var Message_component = normalizeComponent(
|
|
|
10660
10660
|
|
|
10661
10661
|
/* harmony default export */ var Message = (Message_component.exports);
|
|
10662
10662
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/StartFlow.vue?vue&type=script&lang=js&
|
|
10663
|
+
var StartFlowvue_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; };
|
|
10664
|
+
|
|
10663
10665
|
//
|
|
10664
10666
|
//
|
|
10665
10667
|
//
|
|
@@ -10935,9 +10937,7 @@ var Message_component = normalizeComponent(
|
|
|
10935
10937
|
utils_http({
|
|
10936
10938
|
url: _that.baseUrl ? _that.baseUrl + registerNew : registerNew,
|
|
10937
10939
|
type: 'post',
|
|
10938
|
-
params: {
|
|
10939
|
-
params: JSON.stringify(info)
|
|
10940
|
-
}
|
|
10940
|
+
params: StartFlowvue_type_script_lang_js_extends({}, info)
|
|
10941
10941
|
}).then(function (res) {
|
|
10942
10942
|
_this2.$toast.clear();
|
|
10943
10943
|
if (res.rCode == 0) {
|
|
@@ -11143,8 +11143,8 @@ var Message_component = normalizeComponent(
|
|
|
11143
11143
|
|
|
11144
11144
|
var StartFlow_component = normalizeComponent(
|
|
11145
11145
|
components_StartFlowvue_type_script_lang_js_,
|
|
11146
|
-
|
|
11147
|
-
|
|
11146
|
+
StartFlowvue_type_template_id_8801d1d2_render,
|
|
11147
|
+
StartFlowvue_type_template_id_8801d1d2_staticRenderFns,
|
|
11148
11148
|
false,
|
|
11149
11149
|
null,
|
|
11150
11150
|
null,
|
|
@@ -11153,8 +11153,8 @@ var StartFlow_component = normalizeComponent(
|
|
|
11153
11153
|
)
|
|
11154
11154
|
|
|
11155
11155
|
/* harmony default export */ var StartFlow = (StartFlow_component.exports);
|
|
11156
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
11157
|
-
var
|
|
11156
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=a6e9dff2&
|
|
11157
|
+
var Handlevue_type_template_id_a6e9dff2_render = function () {
|
|
11158
11158
|
var _vm = this
|
|
11159
11159
|
var _h = _vm.$createElement
|
|
11160
11160
|
var _c = _vm._self._c || _h
|
|
@@ -11609,8 +11609,7 @@ var Handlevue_type_template_id_faa0dc8c_render = function () {
|
|
|
11609
11609
|
objType: "enterprise",
|
|
11610
11610
|
tabs: "department,employee",
|
|
11611
11611
|
param: {
|
|
11612
|
-
pid:
|
|
11613
|
-
filid: _vm.userInfo.orgId,
|
|
11612
|
+
pid: _vm.orgId,
|
|
11614
11613
|
},
|
|
11615
11614
|
isOtherUnit: false,
|
|
11616
11615
|
label: _vm.currentOrgName
|
|
@@ -11649,10 +11648,9 @@ var Handlevue_type_template_id_faa0dc8c_render = function () {
|
|
|
11649
11648
|
paddingTop: _vm.paddingTop,
|
|
11650
11649
|
objType: "enterprise",
|
|
11651
11650
|
param: {
|
|
11652
|
-
pid:
|
|
11653
|
-
filid: _vm.userInfo.orgId,
|
|
11651
|
+
pid: "root",
|
|
11654
11652
|
},
|
|
11655
|
-
tabs: "
|
|
11653
|
+
tabs: "enterprise",
|
|
11656
11654
|
isOtherUnit: true,
|
|
11657
11655
|
label: _vm.otherOrgName
|
|
11658
11656
|
? _vm.otherOrgName
|
|
@@ -11683,12 +11681,20 @@ var Handlevue_type_template_id_faa0dc8c_render = function () {
|
|
|
11683
11681
|
"div",
|
|
11684
11682
|
{ staticClass: "item" },
|
|
11685
11683
|
[
|
|
11686
|
-
_c("
|
|
11684
|
+
_c("em-picker", {
|
|
11687
11685
|
attrs: {
|
|
11688
|
-
value: "主办",
|
|
11689
11686
|
label: "主办",
|
|
11690
|
-
|
|
11691
|
-
placeholder: "
|
|
11687
|
+
title: "主办",
|
|
11688
|
+
placeholder: "请选择主办",
|
|
11689
|
+
"show-toolbar": "",
|
|
11690
|
+
columns: _vm.subProcessColumns,
|
|
11691
|
+
},
|
|
11692
|
+
model: {
|
|
11693
|
+
value: _vm.subProcessInfo,
|
|
11694
|
+
callback: function ($$v) {
|
|
11695
|
+
_vm.subProcessInfo = $$v
|
|
11696
|
+
},
|
|
11697
|
+
expression: "subProcessInfo",
|
|
11692
11698
|
},
|
|
11693
11699
|
}),
|
|
11694
11700
|
],
|
|
@@ -12115,11 +12121,11 @@ var Handlevue_type_template_id_faa0dc8c_render = function () {
|
|
|
12115
12121
|
1
|
|
12116
12122
|
)
|
|
12117
12123
|
}
|
|
12118
|
-
var
|
|
12119
|
-
|
|
12124
|
+
var Handlevue_type_template_id_a6e9dff2_staticRenderFns = []
|
|
12125
|
+
Handlevue_type_template_id_a6e9dff2_render._withStripped = true
|
|
12120
12126
|
|
|
12121
12127
|
|
|
12122
|
-
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=
|
|
12128
|
+
// CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=a6e9dff2&
|
|
12123
12129
|
|
|
12124
12130
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=873f59d2&
|
|
12125
12131
|
var Rejectvue_type_template_id_873f59d2_render = function () {
|
|
@@ -13109,6 +13115,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13109
13115
|
//
|
|
13110
13116
|
//
|
|
13111
13117
|
//
|
|
13118
|
+
//
|
|
13119
|
+
//
|
|
13120
|
+
//
|
|
13121
|
+
//
|
|
13122
|
+
//
|
|
13123
|
+
//
|
|
13124
|
+
//
|
|
13125
|
+
//
|
|
13112
13126
|
|
|
13113
13127
|
|
|
13114
13128
|
|
|
@@ -13154,6 +13168,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13154
13168
|
isNextBox: true, // 是否展开隐藏下步操作
|
|
13155
13169
|
isOtherUnit: true, //是否是外单位
|
|
13156
13170
|
isShowNode: false,
|
|
13171
|
+
subProcessInfo: '',
|
|
13157
13172
|
isHiddenOftenOpinion: undefined, //是否隐藏常用意见
|
|
13158
13173
|
isAddSignList: [{ name: '是', value: '1' }, { name: '否', value: '2' }],
|
|
13159
13174
|
form: {
|
|
@@ -13226,7 +13241,26 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13226
13241
|
});
|
|
13227
13242
|
},
|
|
13228
13243
|
|
|
13229
|
-
|
|
13244
|
+
computed: {
|
|
13245
|
+
subProcessColumns: function subProcessColumns() {
|
|
13246
|
+
if (!this.isMainSubProcess) return [];
|
|
13247
|
+
var data = [];
|
|
13248
|
+
var obj = { name: '[部门员工]-' };
|
|
13249
|
+
this.nextCurrentOrgObjSelect.map(function (x) {
|
|
13250
|
+
if (x.objType == 'employee') {
|
|
13251
|
+
obj.name = !obj.value ? obj.name + x.showname : obj.name + ',' + x.showname;
|
|
13252
|
+
obj.value = obj.value ? obj.value + ',' + x.showid : x.showid;
|
|
13253
|
+
} else {
|
|
13254
|
+
data.push({ name: '[部门]' + x.showname, value: x.showid });
|
|
13255
|
+
}
|
|
13256
|
+
});
|
|
13257
|
+
obj.value && data.push(obj);
|
|
13258
|
+
this.nextOtherOrgObjSelect.map(function (x) {
|
|
13259
|
+
data.push({ name: '[企业]' + x.showname, value: x.showid });
|
|
13260
|
+
});
|
|
13261
|
+
return data;
|
|
13262
|
+
}
|
|
13263
|
+
},
|
|
13230
13264
|
methods: {
|
|
13231
13265
|
//限时办理时间确认
|
|
13232
13266
|
onConfirmTimeList: function onConfirmTimeList(val) {
|
|
@@ -13271,7 +13305,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13271
13305
|
this.$toast('请选择办理人');
|
|
13272
13306
|
return;
|
|
13273
13307
|
}
|
|
13274
|
-
if (!this.form.nextNodeId && this.nodeList && this.nodeList.length > 0 && this.isSpecial && !this.isReject) {
|
|
13308
|
+
if (!this.form.nextNodeId && this.nodeList && this.nodeList.length > 0 && this.isSpecial && !this.isReject && this.isShowNode) {
|
|
13275
13309
|
this.$toast('请选择流程节点');
|
|
13276
13310
|
return;
|
|
13277
13311
|
}
|
|
@@ -13346,7 +13380,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13346
13380
|
_that.form.processDefinitionId = taskExamineInfo.processDefinitionId;
|
|
13347
13381
|
_that.form.isSubFlow = taskExamineInfo.isSubFlow;
|
|
13348
13382
|
_that.form.nodeId = taskExamineInfo.nodeId;
|
|
13349
|
-
_that.form.nextNodeId = _that.form.nextOperate ==
|
|
13383
|
+
_that.form.nextNodeId = _that.form.nextOperate == 0 || _that.form.nextOperate == 1 ? _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode : '';
|
|
13350
13384
|
utils_http({
|
|
13351
13385
|
url: _that.baseUrl ? _that.baseUrl + taskHandleHtml : taskHandleHtml,
|
|
13352
13386
|
type: 'post',
|
|
@@ -13522,12 +13556,43 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13522
13556
|
|
|
13523
13557
|
// 单位选择完回调
|
|
13524
13558
|
disposeAppUnit: function disposeAppUnit(res, type) {
|
|
13559
|
+
var _this4 = this;
|
|
13560
|
+
|
|
13525
13561
|
var label = type.substring(0, type.lastIndexOf('Select'));
|
|
13526
13562
|
var idStr = '';
|
|
13563
|
+
var types = '';
|
|
13564
|
+
this.form[label + 'Name'] = '';
|
|
13565
|
+
var obj = {};
|
|
13566
|
+
console.log(res, 'ddd');
|
|
13527
13567
|
res.list.map(function (r, i) {
|
|
13528
|
-
|
|
13568
|
+
if (!types || types.indexOf(r.objType) == -1) {
|
|
13569
|
+
idStr = !types ? r.objType + '-' + r.showid + (i === res.list.length - 1 ? '' : ',') : idStr + '|' + r.objType + '-' + r.showid + (i === res.list.length - 1 ? '' : ',');
|
|
13570
|
+
types = types ? types + ',' + r.objType : r.objType;
|
|
13571
|
+
} else {
|
|
13572
|
+
idStr = idStr + r.showid + (i === res.list.length - 1 ? '' : ',');
|
|
13573
|
+
}
|
|
13574
|
+
_this4.form[label + 'SerialId'] = r.showid + (i === res.list.length - 1 ? '' : ',');
|
|
13575
|
+
if (obj[r.objType]) {
|
|
13576
|
+
obj[r.objType].push(r.showname);
|
|
13577
|
+
} else {
|
|
13578
|
+
obj[r.objType] = [r.showname];
|
|
13579
|
+
}
|
|
13580
|
+
console.log(obj, 'objobj');
|
|
13529
13581
|
});
|
|
13530
13582
|
this.form[label] = idStr;
|
|
13583
|
+
for (var key in obj) {
|
|
13584
|
+
if (key === 'enterprise' && this.form[label + 'Name'].indexOf('[企业]') == -1) {
|
|
13585
|
+
this.form[label + 'Name'] = this.form[label + 'Name'] ? this.form[label + 'Name'] + '|' + '[企业]-' + obj[key].join(',') : '' + '[企业]-' + obj[key].join(',');
|
|
13586
|
+
}
|
|
13587
|
+
if (key === 'department' && this.form[label + 'Name'].indexOf('[部门]') == -1) {
|
|
13588
|
+
this.form[label + 'Name'] = this.form[label + 'Name'] ? this.form[label + 'Name'] + '|' + '[部门]-' + obj[key].join(',') : '' + '[部门]-' + obj[key].join(',');
|
|
13589
|
+
}
|
|
13590
|
+
if (key === 'employee' && this.form[label + 'Name'].indexOf('[部门员工]') == -1) {
|
|
13591
|
+
this.form[label + 'Name'] = this.form[label + 'Name'] ? this.form[label + 'Name'] + '|' + '[部门员工]-' + obj[key].join(',') : '' + '[部门员工]-' + obj[key].join(',');
|
|
13592
|
+
}
|
|
13593
|
+
}
|
|
13594
|
+
// this.form[label + 'Name'] = obj.enterprise?;
|
|
13595
|
+
this.form[label + 'Json'] = JSON.stringify(res.list);
|
|
13531
13596
|
},
|
|
13532
13597
|
|
|
13533
13598
|
// 获取发起流程信息
|
|
@@ -13673,7 +13738,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13673
13738
|
that.countersignaturetypeText = res.data.taskExamine.nodeName;
|
|
13674
13739
|
}
|
|
13675
13740
|
that.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 && res.data.countersignaturetypeCode != undefined ? true : false;
|
|
13676
|
-
that.isMainSubProcess = res.data.isMainSubProcess
|
|
13741
|
+
that.isMainSubProcess = res.data.isMainSubProcess == 'true';
|
|
13677
13742
|
that.isCustomPreset = res.data.isCustomPreset;
|
|
13678
13743
|
// form.isRemoveSign !== '1' &&
|
|
13679
13744
|
// form.isAddSign !== '1' &&
|
|
@@ -13694,7 +13759,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13694
13759
|
|
|
13695
13760
|
// 获取节点信息(获取节点属性及办理人)
|
|
13696
13761
|
getNodeObj: function getNodeObj(res) {
|
|
13697
|
-
var
|
|
13762
|
+
var _this5 = this;
|
|
13698
13763
|
|
|
13699
13764
|
var _that = this;
|
|
13700
13765
|
utils_http({
|
|
@@ -13707,83 +13772,83 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13707
13772
|
businessId: this.taskExamineInfo.businessId
|
|
13708
13773
|
}
|
|
13709
13774
|
}).then(function (res) {
|
|
13710
|
-
|
|
13775
|
+
_this5.$toast.clear();
|
|
13711
13776
|
if (res.status == 'success') {
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13777
|
+
_this5.appointNotUserIds = res.data.appointNotUserIds;
|
|
13778
|
+
_this5.handleRoleId = res.data.handleRoleId;
|
|
13779
|
+
_this5.nextRole = res.data.nextRole;
|
|
13780
|
+
_this5.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
|
|
13781
|
+
_this5.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
|
|
13782
|
+
_this5.userSelectionType = res.data.nodeExtAttr.userSelectionType;
|
|
13718
13783
|
// this.changePidObjtype();
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13784
|
+
_this5.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
|
|
13785
|
+
_this5.notificationType = res.data.nodeExtAttr.notificationType;
|
|
13786
|
+
_this5.nodeType = res.data.nodeExtAttr.nodeType;
|
|
13787
|
+
_this5.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
13788
|
+
_this5.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
|
|
13789
|
+
_this5.isCustomUser = res.data.nodeExtAttr.isCustomUser;
|
|
13790
|
+
_this5.presetEdit = res.data.nodeExtAttr.presetEdit;
|
|
13791
|
+
_this5.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
|
|
13792
|
+
_this5.peopleObj = res.data.nodeExtAttr;
|
|
13793
|
+
_this5.nextUserList = res.data.nextUserList.filter(function (x) {
|
|
13729
13794
|
return x.userId && x.username;
|
|
13730
13795
|
});
|
|
13731
|
-
var _this =
|
|
13732
|
-
|
|
13796
|
+
var _this = _this5;
|
|
13797
|
+
_this5.nextUserList.map(function (r) {
|
|
13733
13798
|
_this.$set(r, 'checked', false);
|
|
13734
13799
|
});
|
|
13735
13800
|
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13801
|
+
_this5.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
|
|
13802
|
+
_this5.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
|
|
13803
|
+
_this5.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
|
|
13804
|
+
_this5.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
|
|
13805
|
+
_this5.countersignaturetypeText = res.data.countersignaturetypeText;
|
|
13741
13806
|
//如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
|
|
13742
|
-
if (
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13807
|
+
if (_this5.nodeType === 1 || _this5.nodeType === 2) {
|
|
13808
|
+
_this5.isMainSubProcess === true ? _this5.isMainSubProcess = true : _this5.isMainSubProcess = false;
|
|
13809
|
+
_this5.isNextUser = false;
|
|
13810
|
+
_this5.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
|
|
13811
|
+
_this5.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
|
|
13747
13812
|
} else {
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13813
|
+
_this5.isHideCurrentOrg = false;
|
|
13814
|
+
_this5.isHideOtherOrg = false;
|
|
13815
|
+
_this5.isMainSubProcess = false;
|
|
13816
|
+
_this5.isNextUser = true;
|
|
13752
13817
|
// this.isMainSubProcess === true
|
|
13753
13818
|
// ? (this.isMainSubProcess = true)
|
|
13754
13819
|
// : (this.isMainSubProcess = false);
|
|
13755
13820
|
}
|
|
13756
13821
|
// userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
|
|
13757
|
-
|
|
13822
|
+
_this5.userSelectionType == 2 || _this5.userSelectionType == 4 || _this5.userSelectionType == 6 || _this5.userSelectionType == 8 || _this5.userSelectionType == 10 || _this5.userSelectionType == 11 || _this5.userSelectionType == 12 ? _this5.isRadio = false : _this5.isRadio = true; //判断办理人单选多选
|
|
13758
13823
|
|
|
13759
|
-
if (
|
|
13760
|
-
|
|
13761
|
-
|
|
13824
|
+
if (_this5.userSelectionType == 7 || _this5.userSelectionType == 8 || _this5.userSelectionType == 9 || _this5.userSelectionType == 10 || _this5.userSelectionType == 11 || _this5.userSelectionType == 12) {
|
|
13825
|
+
_this5.isDealObject = true;
|
|
13826
|
+
_this5.isNextUser = false;
|
|
13762
13827
|
}
|
|
13763
|
-
if (
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13828
|
+
if (_this5.userSelectionType == 13 || _this5.userSelectionType == 14) {
|
|
13829
|
+
_this5.isNextUser = false;
|
|
13830
|
+
_this5.isDealObject = false;
|
|
13831
|
+
_this5.isDealRole = true;
|
|
13832
|
+
_this5.nextUserflag = true;
|
|
13768
13833
|
}
|
|
13769
|
-
|
|
13834
|
+
_this5.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this5.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
|
|
13770
13835
|
if (res.data.globalNodeType === 'endEvent') {
|
|
13771
|
-
|
|
13772
|
-
|
|
13836
|
+
_this5.isNextUser = false;
|
|
13837
|
+
_this5.form.nextUserId = '流程办结';
|
|
13773
13838
|
} else {
|
|
13774
|
-
|
|
13839
|
+
_this5.nodeType != 1 && _this5.nodeType != 2 && (_this5.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
|
|
13775
13840
|
}
|
|
13776
|
-
|
|
13777
|
-
|
|
13841
|
+
_this5.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
|
|
13842
|
+
_this5.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this5.choiceOrgId, _this5.choiceDeptId, _this5.pOrgId);
|
|
13778
13843
|
} else {
|
|
13779
|
-
|
|
13844
|
+
_this5.$toast(res.message);
|
|
13780
13845
|
}
|
|
13781
13846
|
});
|
|
13782
13847
|
},
|
|
13783
13848
|
|
|
13784
13849
|
// 修改默认办理人
|
|
13785
13850
|
changeDefPeople: function changeDefPeople(def, all) {
|
|
13786
|
-
var
|
|
13851
|
+
var _this6 = this;
|
|
13787
13852
|
|
|
13788
13853
|
this.nextUserSelectList = [];
|
|
13789
13854
|
if (def == 1 && all == 1 || def == 0 && all == 1) {
|
|
@@ -13791,9 +13856,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13791
13856
|
this.nextUserList.map(function (r, i) {
|
|
13792
13857
|
r.showid = r.userId;
|
|
13793
13858
|
r.showname = r.username;
|
|
13794
|
-
|
|
13795
|
-
|
|
13796
|
-
ids += r.userId + (i ===
|
|
13859
|
+
_this6.$set(r, 'checked', true);
|
|
13860
|
+
_this6.nextUserSelectList.push(r);
|
|
13861
|
+
ids += r.userId + (i === _this6.nextUserList.length - 1 ? '' : ',');
|
|
13797
13862
|
});
|
|
13798
13863
|
this.form.nextUserId = ids;
|
|
13799
13864
|
} else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
|
|
@@ -13845,8 +13910,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
13845
13910
|
|
|
13846
13911
|
var Handle_component = normalizeComponent(
|
|
13847
13912
|
components_Handlevue_type_script_lang_js_,
|
|
13848
|
-
|
|
13849
|
-
|
|
13913
|
+
Handlevue_type_template_id_a6e9dff2_render,
|
|
13914
|
+
Handlevue_type_template_id_a6e9dff2_staticRenderFns,
|
|
13850
13915
|
false,
|
|
13851
13916
|
null,
|
|
13852
13917
|
null,
|
|
@@ -17308,7 +17373,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
17308
17373
|
}
|
|
17309
17374
|
|
|
17310
17375
|
/* harmony default export */ var src = __webpack_exports__["default"] = ({
|
|
17311
|
-
version: '0.1.
|
|
17376
|
+
version: '0.1.52',
|
|
17312
17377
|
install: install,
|
|
17313
17378
|
Button: packages_button,
|
|
17314
17379
|
ButtonGroup: button_group,
|