eoss-ui 0.8.34 → 0.8.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,43 +5,44 @@
5
5
  :style="styles"
6
6
  v-if="!shrinkAbled"
7
7
  >
8
- <FlowNew
9
- v-bind="$attrs"
10
- v-if="!shrinkAbled && newFlow"
11
- :hideMessage="hideMessage"
12
- :showShrink="showShrink"
13
- :showTooltip="showTooltip"
14
- :isStartFlow="isStartFlow"
15
- :businessId="businessId"
16
- :pendingId="pendingId"
17
- :nodeName="nodeName"
18
- :typeCode="typeCode"
19
- :selectorConfig="selectorConfig"
20
- :flowTypeCode="flowTypeCode"
21
- :defaultProcessKey="defaultProcessKey"
22
- :isCirculate="isCirculate"
23
- :newFlow="newFlow"
24
- :formLabelPosition="formLabelPosition"
25
- :flowListDisabled="flowListDisabled"
26
- :subFun="subFun"
27
- :urgencyLevel="urgencyLevel"
28
- :beforeSubmit="beforeSubmit"
29
- :title="title"
30
- :formTitle="formTitle"
31
- :closeParent="closeParent"
32
- :param="param"
33
- :subParams="subParams"
34
- :selectorParams="selectorParams"
35
- :fullFlow="fullFlow"
36
- :showReadConfirm="showReadConfirm"
37
- :width="width"
38
- :resetAppId="resetAppId"
39
- :userSelectRange="userSelectRange"
40
- :rows="rows"
41
- :showOther="showOther"
42
- :flowLabelConfig="flowLabelConfig"
43
- :isEndMessage="isEndMessage"
44
- />
8
+ <FlowNew
9
+ v-bind="$attrs"
10
+ v-if="!shrinkAbled && newFlow"
11
+ :hideMessage="hideMessage"
12
+ :showShrink="showShrink"
13
+ :showTooltip="showTooltip"
14
+ :isStartFlow="isStartFlow"
15
+ :businessId="businessId"
16
+ :pendingId="pendingId"
17
+ :nodeName="nodeName"
18
+ :typeCode="typeCode"
19
+ :selectorConfig="selectorConfig"
20
+ :flowTypeCode="flowTypeCode"
21
+ :defaultProcessKey="defaultProcessKey"
22
+ :isCirculate="isCirculate"
23
+ :newFlow="newFlow"
24
+ :formLabelPosition="formLabelPosition"
25
+ :flowListDisabled="flowListDisabled"
26
+ :subFun="subFun"
27
+ :urgencyLevel="urgencyLevel"
28
+ :beforeSubmit="beforeSubmit"
29
+ :title="title"
30
+ :formTitle="formTitle"
31
+ :closeParent="closeParent"
32
+ :param="param"
33
+ :subParams="subParams"
34
+ :selectorParams="selectorParams"
35
+ :fullFlow="fullFlow"
36
+ :showReadConfirm="showReadConfirm"
37
+ :width="width"
38
+ :resetAppId="resetAppId"
39
+ :userSelectRange="userSelectRange"
40
+ :rows="rows"
41
+ @success="handleNewFlowSuccess"
42
+ :showOther="showOther"
43
+ :flowLabelConfig="flowLabelConfig"
44
+ :isEndMessage="isEndMessage"
45
+ />
45
46
  <div
46
47
  v-if="showCirculate && newTypeCode != 'fenyue' && !newFlow"
47
48
  style="height: 100%; display: flex; flex-direction: column"
@@ -88,9 +89,14 @@
88
89
  :isBanInputOpinion="isBanInputOpinion"
89
90
  :nodeFixedOpinionSelectList="nodeFixedOpinionSelectList"
90
91
  />
91
- <div :class="`es-info ${formLabelPosition == 'left' ? 'form-left' : 'form-right'}`" :style="{'flex':fullFlow?'1' : 'unset'}">
92
+ <div
93
+ :class="`es-info ${
94
+ formLabelPosition == 'left' ? 'form-left' : 'form-right'
95
+ }`"
96
+ :style="{ flex: fullFlow ? '1' : 'unset' }"
97
+ >
92
98
  <el-form
93
- v-if="showCirculate"
99
+ v-if="showCirculate"
94
100
  ref="form"
95
101
  :model="circulateForm"
96
102
  label-width="120px"
@@ -119,7 +125,7 @@
119
125
  </el-form-item>
120
126
  </el-form>
121
127
  <circulate
122
- v-if="showCirculate"
128
+ v-if="showCirculate"
123
129
  style="margin-top: 10px"
124
130
  :businessId="businessIds"
125
131
  :label-position="formLabelPosition"
@@ -163,7 +169,7 @@
163
169
  :resetAppId="resetAppId"
164
170
  :taskExamine="taskExamineInfo"
165
171
  :flowLabelConfig="flowLabelConfig"
166
- :hideMessage="hideMessage"
172
+ :hideMessage="hideMessage"
167
173
  :subParams="subParams"
168
174
  :news-info="nextNode.notificationMsg"
169
175
  @cancel="closeProcess($event)"
@@ -177,7 +183,7 @@
177
183
  :showTooltip="showTooltip"
178
184
  :selectorParams="selectorParams"
179
185
  :flowLabelConfig="flowLabelConfig"
180
- :hideMessage="hideMessage"
186
+ :hideMessage="hideMessage"
181
187
  :formLabelPosition="formLabelPosition"
182
188
  :simpleTips="simpleTips"
183
189
  />
@@ -186,7 +192,7 @@
186
192
  :appId="resetAppId"
187
193
  :showTooltip="showTooltip"
188
194
  :flowLabelConfig="flowLabelConfig"
189
- :hideMessage="hideMessage"
195
+ :hideMessage="hideMessage"
190
196
  :simpleTips="simpleTips"
191
197
  @cancel="closeProcess($event)"
192
198
  v-else-if="typeCode == 'supervise' && !newFlow"
@@ -198,13 +204,19 @@
198
204
  :simpleTips="simpleTips"
199
205
  :appId="resetAppId"
200
206
  :flowLabelConfig="flowLabelConfig"
201
- :hideMessage="hideMessage"
207
+ :hideMessage="hideMessage"
202
208
  @cancel="closeProcess($event)"
203
209
  :flowParams="param"
204
210
  :subParams="subParams"
205
- v-else-if="newTypeCode == 'reset' || newTypeCode == 'continuation' && !newFlow"
211
+ v-else-if="
212
+ newTypeCode == 'reset' || (newTypeCode == 'continuation' && !newFlow)
213
+ "
206
214
  />
207
- <div class="es-flow-content" :style="{'justify-content':fullFlow?'space-between' : 'unset'}" v-else-if="!newFlow">
215
+ <div
216
+ class="es-flow-content"
217
+ :style="{ 'justify-content': fullFlow ? 'space-between' : 'unset' }"
218
+ v-else-if="!newFlow"
219
+ >
208
220
  <div class="es-flow-top">
209
221
  <div class="es-flow-title">
210
222
  <span v-show="!shrink"
@@ -296,8 +308,10 @@
296
308
  !shrink
297
309
  "
298
310
  ref="esContent"
299
- :class="`es-info ${formLabelPosition == 'left' ? 'form-left' : 'form-right'}`"
300
- :style="{'flex':fullFlow?'1' : 'unset'}"
311
+ :class="`es-info ${
312
+ formLabelPosition == 'left' ? 'form-left' : 'form-right'
313
+ }`"
314
+ :style="{ flex: fullFlow ? '1' : 'unset' }"
301
315
  >
302
316
  <el-form
303
317
  ref="nextNode"
@@ -528,7 +542,11 @@
528
542
  <el-form-item
529
543
  v-if="isNextUser"
530
544
  :prop="isShowNextUser ? 'nextUserId' : 'nextOrgId'"
531
- :label="isShowNextUser ? `${flowLabelConfig.nextUser||'下步办理人'}` : '办理对象'"
545
+ :label="
546
+ isShowNextUser
547
+ ? `${flowLabelConfig.nextUser || '下步办理人'}`
548
+ : '办理对象'
549
+ "
532
550
  >
533
551
  <SelectUser
534
552
  :nextUser="
@@ -618,9 +636,7 @@
618
636
  <el-form-item
619
637
  prop="nextReadUserId"
620
638
  v-if="isTaskread == 1"
621
- label="
622
- 分阅用户
623
- "
639
+ label="分阅用户"
624
640
  >
625
641
  <SelectUser
626
642
  :nextUser="nextNode.nextReadUserId"
@@ -740,7 +756,7 @@
740
756
  @changeActiveNames="(val) => (activeNames = val)"
741
757
  @loadingEnd="customLoading('end')"
742
758
  :flowLabelConfig="flowLabelConfig"
743
- :hideMessage="hideMessage"
759
+ :hideMessage="hideMessage"
744
760
  :showTooltip="showTooltip"
745
761
  @loadingStart="customLoading('start')"
746
762
  :nextNode="nextNode.nextNodeId"
@@ -761,7 +777,7 @@
761
777
  :showTooltip="showTooltip"
762
778
  :businessId="businessIds"
763
779
  :flowLabelConfig="flowLabelConfig"
764
- :hideMessage="hideMessage"
780
+ :hideMessage="hideMessage"
765
781
  :customPresetHintMessage="customPresetHintMessage"
766
782
  :processDefinitionId="nodeInfo.nextNode"
767
783
  :presetTaskNodeMap="presetTaskNodeMap"
@@ -1105,6 +1121,8 @@
1105
1121
  :taskExamineParam="freeStartFlowParams.newFlowStartNodeItemName"
1106
1122
  :taskParams="taskParams"
1107
1123
  :formType="processFormType"
1124
+ :isCanReadTransferHandle="isCanReadTransferHandle"
1125
+ :readTransferHandleFlowTypeCode="readTransferHandleFlowTypeCode"
1108
1126
  @cancel="closeProcess($event, 'handleVisible', closeParent)"
1109
1127
  />
1110
1128
  </es-dialog>
@@ -1355,7 +1373,7 @@ export default {
1355
1373
  type: String,
1356
1374
  default: 'left'
1357
1375
  },
1358
-
1376
+
1359
1377
  flowListDisabled: {
1360
1378
  type: Boolean,
1361
1379
  default: false
@@ -1395,7 +1413,7 @@ export default {
1395
1413
  return {};
1396
1414
  }
1397
1415
  },
1398
- fullFlow:{
1416
+ fullFlow: {
1399
1417
  type: Boolean,
1400
1418
  default: true
1401
1419
  },
@@ -1412,15 +1430,17 @@ export default {
1412
1430
  },
1413
1431
  rows: {
1414
1432
  type: [String, Number],
1415
- default: 10
1433
+ default: 5
1416
1434
  },
1417
1435
  showOther: {
1418
1436
  type: Boolean,
1419
1437
  default: true
1420
1438
  },
1421
- flowLabelConfig: {
1422
- type:Object,
1423
- default: () => {return {}}
1439
+ flowLabelConfig: {
1440
+ type: Object,
1441
+ default: () => {
1442
+ return {};
1443
+ }
1424
1444
  },
1425
1445
  isEndMessage: { type: Boolean, default: false }
1426
1446
  },
@@ -1452,6 +1472,7 @@ export default {
1452
1472
  freeStartFlowNextNode: undefined,
1453
1473
  otherOrgDisabledObjId: [],
1454
1474
  isCanReadTransferHandle: false,
1475
+ readTransferHandleFlowTypeCode: '',
1455
1476
  readTransferHandleDisabled: true,
1456
1477
  showCustomLimitTimeText: false,
1457
1478
  showSort: false,
@@ -1713,6 +1734,7 @@ export default {
1713
1734
  }
1714
1735
  if (this.nodeInfo.nextNode) {
1715
1736
  this.handleChange(this.nodeInfo.nextNode, true);
1737
+ // this.handleChange(val, true);
1716
1738
  }
1717
1739
  }
1718
1740
  },
@@ -1861,7 +1883,8 @@ export default {
1861
1883
  this.getTaskReadFlow();
1862
1884
  } else if (
1863
1885
  this.newTypeCode != 'reset' &&
1864
- this.newTypeCode != 'continuation'
1886
+ this.newTypeCode != 'continuation' &&
1887
+ !this.newFlow
1865
1888
  ) {
1866
1889
  this.getHedInfo();
1867
1890
  }
@@ -1878,6 +1901,7 @@ export default {
1878
1901
  }
1879
1902
  },
1880
1903
  getNodeInfoForStartFlow(processDefinitionId) {
1904
+ console.log('processDefinitionId',processDefinitionId);
1881
1905
  let params = {
1882
1906
  url: getNodeInfoForStart,
1883
1907
  params: { processDefinitionId }
@@ -1953,12 +1977,16 @@ export default {
1953
1977
  this.$refs.esContent.scrollTop += this.$refs.messagebox.clientHeight;
1954
1978
  });
1955
1979
  },
1980
+ handleNewFlowSuccess() {
1981
+ this.$emit('success');
1982
+ },
1956
1983
  freeStartFlowSuccess() {
1957
1984
  this.showFreeStartFlow = false;
1958
1985
  this.flowSuccess(true);
1959
1986
  // this.$emit('success');
1960
1987
  },
1961
1988
  handleChange(val, isForStartFlow) {
1989
+ console.log('handleChange val', val);
1962
1990
  this.getNodeInfoForStartFlow(val, isForStartFlow);
1963
1991
  this.$parent.$emit('flowChange', val);
1964
1992
  },
@@ -2093,65 +2121,64 @@ export default {
2093
2121
  this.loading.close();
2094
2122
  }
2095
2123
  },
2096
- subRead(){
2097
- this.loading = util.loading(this.$loading, '加载中...');
2098
- const { businessId, appId, processDefinitionId, pendingId } =
2099
- this.taskExamineInfo;
2100
- let params = {
2101
- businessId,
2102
- appId,
2103
- processDefinitionId,
2104
- pendingId,
2105
- opinion: this.value,
2106
- taskAction: 'complete'
2107
- };
2108
- util
2109
- .ajax({
2110
- url: taskReadHtml,
2111
- params: { taskAction: 'complete' },
2112
- headers: {
2113
- Accept: 'application/json,text/plain'
2114
- },
2115
- method: 'post',
2116
- data: params
2117
- })
2118
- .then((res) => {
2119
- const { status, message } = res;
2120
- this.loading.close();
2121
- if (status === 'success') {
2122
- this.flowSuccess();
2123
- // this.$message.success('提交成功');
2124
- // this.$emit('success');
2125
- } else {
2126
- this.$message.error(message || '系统错误,请联系管理员!');
2127
- this.$emit('error');
2128
- }
2129
- })
2130
- .catch((err) => {
2131
- this.loading.close();
2132
- if (err.message && err.message !== 'canceled') {
2133
- this.$message.error(err.message);
2134
- }
2135
- });
2124
+ subRead() {
2125
+ this.loading = util.loading(this.$loading, '加载中...');
2126
+ const { businessId, appId, processDefinitionId, pendingId } =
2127
+ this.taskExamineInfo;
2128
+ let params = {
2129
+ businessId,
2130
+ appId,
2131
+ processDefinitionId,
2132
+ pendingId,
2133
+ opinion: this.value,
2134
+ taskAction: 'complete'
2135
+ };
2136
+ util
2137
+ .ajax({
2138
+ url: taskReadHtml,
2139
+ params: { taskAction: 'complete' },
2140
+ headers: {
2141
+ Accept: 'application/json,text/plain'
2142
+ },
2143
+ method: 'post',
2144
+ data: params
2145
+ })
2146
+ .then((res) => {
2147
+ const { status, message } = res;
2148
+ this.loading.close();
2149
+ if (status === 'success') {
2150
+ this.flowSuccess();
2151
+ // this.$message.success('提交成功');
2152
+ // this.$emit('success');
2153
+ } else {
2154
+ this.$message.error(message || '系统错误,请联系管理员!');
2155
+ this.$emit('error');
2156
+ }
2157
+ })
2158
+ .catch((err) => {
2159
+ this.loading.close();
2160
+ if (err.message && err.message !== 'canceled') {
2161
+ this.$message.error(err.message);
2162
+ }
2163
+ });
2136
2164
  },
2137
2165
  taskRead() {
2138
2166
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
2139
2167
  if (!this.$refs.commonOpinions.validate()) return;
2140
2168
  }
2141
- if(this.showReadConfirm){
2142
- this.$confirm('确认提交?', '提示', {
2143
- confirmButtonText: '确定',
2144
- cancelButtonText: '取消',
2145
- type: 'warning'
2146
- })
2147
- .then(() => {
2148
- this.subRead()
2169
+ if (this.showReadConfirm) {
2170
+ this.$confirm('确认提交?', '提示', {
2171
+ confirmButtonText: '确定',
2172
+ cancelButtonText: '取消',
2173
+ type: 'warning'
2149
2174
  })
2150
- .catch(() => {});
2151
- }else{
2152
- this.subRead()
2175
+ .then(() => {
2176
+ this.subRead();
2177
+ })
2178
+ .catch(() => {});
2179
+ } else {
2180
+ this.subRead();
2153
2181
  }
2154
-
2155
2182
  },
2156
2183
  validReadTransferHandle(
2157
2184
  readTransferHandleBusinessId,
@@ -2188,6 +2215,7 @@ this.$confirm('确认提交?', '提示', {
2188
2215
  taskExamine,
2189
2216
  taskReadOpinionRequired,
2190
2217
  isCanReadTransferHandle,
2218
+ readTransferHandleFlowTypeCode,
2191
2219
  defaultNotificationMessage
2192
2220
  }
2193
2221
  } = res;
@@ -2197,6 +2225,8 @@ this.$confirm('确认提交?', '提示', {
2197
2225
  this.taskReadOpinionRequired = taskReadOpinionRequired;
2198
2226
  this.nextNode.notificationMsg = defaultNotificationMessage;
2199
2227
  this.isCanReadTransferHandle = isCanReadTransferHandle;
2228
+ this.readTransferHandleFlowTypeCode =
2229
+ readTransferHandleFlowTypeCode;
2200
2230
  this.isCanFenyue = isCanFenyue;
2201
2231
  if (this.nodeName) {
2202
2232
  this.NodeName = this.nodeName;
@@ -2419,7 +2449,7 @@ this.$confirm('确认提交?', '提示', {
2419
2449
  .then((res) => {
2420
2450
  const { status, message } = res;
2421
2451
  if (status === 'success') {
2422
- if(this.hideMessage) return
2452
+ if (this.hideMessage) return;
2423
2453
  this.nextNode.notificationType = message.split(',');
2424
2454
  let arr = [];
2425
2455
  this.newsList.map((item) => {
@@ -2853,27 +2883,65 @@ this.$confirm('确认提交?', '提示', {
2853
2883
  this.nextNode.customLimitTimeText =
2854
2884
  data.nodeMoreInfo.defaultCustomLimitDays + '';
2855
2885
  }
2856
- if( this.currentOrgSelectorParams.department && !this.currentOrgSelectorParams.department.roleid && this.selectorParams.roleid && data.nodeExtAttr.deptRoleCode){
2857
- this.currentOrgSelectorParams.department.roleid = data.nodeExtAttr.deptRoleCode;
2858
- }
2859
- if(data.nodeMoreInfo.currentOrgDefaultSelectObjectItems){
2860
- if(data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.length > 0){
2861
- data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map((x,i) => {
2862
- this.nextCurrentOrgselectUserList.push({showname:data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptNames[i],showid:x,stype:'department'})
2863
- })
2864
- }
2865
- if(data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.length > 0){
2866
- data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map((x,i) => {
2867
- this.nextCurrentOrgselectUserList.push({showname:data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userNames[i],showid:x,stype:'employee'})
2868
- })
2886
+ if (
2887
+ this.currentOrgSelectorParams.department &&
2888
+ !this.currentOrgSelectorParams.department.roleid &&
2889
+ this.selectorParams.roleid &&
2890
+ data.nodeExtAttr.deptRoleCode
2891
+ ) {
2892
+ this.currentOrgSelectorParams.department.roleid =
2893
+ data.nodeExtAttr.deptRoleCode;
2869
2894
  }
2870
- if(data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.length > 0){
2871
- data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map((x,i) => {
2872
- this.nextCurrentOrgselectUserList.push({showname:data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgNames[i],showid:x,stype:'enterprise'})
2873
- })
2895
+ if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
2896
+ if (
2897
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds
2898
+ .length > 0
2899
+ ) {
2900
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(
2901
+ (x, i) => {
2902
+ this.nextCurrentOrgselectUserList.push({
2903
+ showname:
2904
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2905
+ .deptNames[i],
2906
+ showid: x,
2907
+ stype: 'department'
2908
+ });
2909
+ }
2910
+ );
2911
+ }
2912
+ if (
2913
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds
2914
+ .length > 0
2915
+ ) {
2916
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(
2917
+ (x, i) => {
2918
+ this.nextCurrentOrgselectUserList.push({
2919
+ showname:
2920
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2921
+ .userNames[i],
2922
+ showid: x,
2923
+ stype: 'employee'
2924
+ });
2925
+ }
2926
+ );
2927
+ }
2928
+ if (
2929
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds
2930
+ .length > 0
2931
+ ) {
2932
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(
2933
+ (x, i) => {
2934
+ this.nextCurrentOrgselectUserList.push({
2935
+ showname:
2936
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2937
+ .orgNames[i],
2938
+ showid: x,
2939
+ stype: 'enterprise'
2940
+ });
2941
+ }
2942
+ );
2943
+ }
2874
2944
  }
2875
-
2876
- }
2877
2945
  if (
2878
2946
  data.nodeMoreInfo
2879
2947
  .chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true
@@ -2979,7 +3047,7 @@ this.$confirm('确认提交?', '提示', {
2979
3047
  }
2980
3048
  this.isLimitedTimeHandling =
2981
3049
  data.nodeExtAttr.isLimitedTimeHandling;
2982
- this.isCustomUser = data.nodeExtAttr.isCustomUser;
3050
+ this.isCustomUser = data.nodeExtAttr.isCustomUser;
2983
3051
  this.presetEdit = data.nodeExtAttr.presetEdit;
2984
3052
  this.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
2985
3053
  this.handleMode = data.countersignaturetypeText;
@@ -3143,7 +3211,7 @@ this.$confirm('确认提交?', '提示', {
3143
3211
  }
3144
3212
  if (this.endFlow && isDef) {
3145
3213
  this.loading.close();
3146
- } else {
3214
+ } else if (!this.newFlow) {
3147
3215
  this.getNodeInfo();
3148
3216
  }
3149
3217
  },
@@ -3280,7 +3348,7 @@ this.$confirm('确认提交?', '提示', {
3280
3348
  ? choiceOrgId
3281
3349
  : currentOrgparams[i],
3282
3350
  only_filid: true,
3283
- roleid:this.selectorParams.roleid
3351
+ roleid: this.selectorParams.roleid
3284
3352
  };
3285
3353
  });
3286
3354
  }
@@ -3365,14 +3433,17 @@ this.$confirm('确认提交?', '提示', {
3365
3433
  if (!this.isFlow) this.getFile(this.pendingId, attachedCode);
3366
3434
  if (nextNodeList && nextNodeList.length != 0) {
3367
3435
  this.nextNodeList = nextNodeList;
3368
- if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length==1) {
3436
+ if (
3437
+ nextNodeList[0].nodeType === 'endEvent' &&
3438
+ nextNodeList.length == 1
3439
+ ) {
3369
3440
  this.isNextUser = nextNodeList[0].nodeType != 'endEvent';
3370
3441
  nextNodeList[0].nodeType === 'endEvent'
3371
3442
  ? (this.endFlow = true)
3372
3443
  : '';
3373
3444
  }
3374
- }else if(nextNodeList){
3375
- this.endFlow = true
3445
+ } else if (nextNodeList) {
3446
+ this.endFlow = true;
3376
3447
  }
3377
3448
 
3378
3449
  if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
@@ -3710,7 +3781,9 @@ this.$confirm('确认提交?', '提示', {
3710
3781
  this.showNews = false;
3711
3782
  this.nextNode.notificationType = [];
3712
3783
  this.pendingId = results[results.length - 1].attachId;
3713
- this.getHedInfo();
3784
+ if (!this.newFlow) {
3785
+ this.getHedInfo();
3786
+ }
3714
3787
  } else {
3715
3788
  this.$message.error(msg || '系统错误,请联系管理员!');
3716
3789
  }
@@ -3843,7 +3916,9 @@ this.$confirm('确认提交?', '提示', {
3843
3916
  this.nextNode.nextUserId == '' ||
3844
3917
  (this.multiple && this.nextNode.nextUserId.length == 0)
3845
3918
  ) {
3846
- this.$message.warning(`请选择${this.flowLabelConfig.nextUser || '下步办理人'}`);
3919
+ this.$message.warning(
3920
+ `请选择${this.flowLabelConfig.nextUser || '下步办理人'}`
3921
+ );
3847
3922
  return false;
3848
3923
  }
3849
3924
  } else {
@@ -3910,9 +3985,9 @@ this.$confirm('确认提交?', '提示', {
3910
3985
  },
3911
3986
 
3912
3987
  sendData(freetype) {
3913
- if(this.isFlow && !this.nodeInfo.nextNode){
3988
+ if (this.isFlow && !this.nodeInfo.nextNode) {
3914
3989
  this.$message.warning('请选择流程');
3915
- return
3990
+ return;
3916
3991
  }
3917
3992
  if (
3918
3993
  this.isFlow &&