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.
@@ -60,7 +60,7 @@
60
60
  >
61
61
 
62
62
  </div>
63
- <el-dropdown trigger="click" @command="handleClickTag">
63
+ <el-dropdown trigger="click" @command="handleClickTag">
64
64
  <span class="el-dropdown-link">
65
65
  <i class="el-icon-arrow-down el-icon--right"></i>
66
66
  </span>
@@ -72,7 +72,7 @@
72
72
  type="text"
73
73
  class="es-flow__opinions--edit"
74
74
  icon="es-icon-xiugai"
75
- @click="dialogVisible = true"
75
+ @click="handleOpenDialog"
76
76
  >
77
77
  </el-button>
78
78
  </div>
@@ -210,7 +210,7 @@ export default {
210
210
  },
211
211
  rows: {
212
212
  type: [Number, String],
213
- default: 10
213
+ default: 5
214
214
  },
215
215
  required: { type: Boolean, default: false }
216
216
  },
@@ -246,8 +246,14 @@ export default {
246
246
  }
247
247
  },
248
248
  methods: {
249
+ handleOpenDialog(){
250
+ if(this.isBanInputOpinion == '1' || this.disabled) return
251
+ this.dialogVisible = true
252
+ },
249
253
  handleClickTag(item) {
254
+ if(this.isBanInputOpinion == '1') return
250
255
  this.form.value = typeof item === 'object' ? item.content : item;
256
+ this.$emit('change', this.form.value);
251
257
  },
252
258
  handleBlur() {
253
259
  this.$emit('blur', this.form.value);
@@ -221,7 +221,7 @@
221
221
  />
222
222
  </div>
223
223
  <div
224
- v-show="!isStartFlow && !shrink && isSpecial"
224
+ v-show="!isStartFlow && !shrink && typeList.length>1"
225
225
  class="es-flow-middle-more-btn"
226
226
  :style="{
227
227
  flex: getFlexStyle()
@@ -916,6 +916,7 @@
916
916
  ref="reject"
917
917
  :pending-id="pendingId"
918
918
  :option="value"
919
+ class="es-info"
919
920
  hideBtn
920
921
  :showTooltip="showTooltip"
921
922
  :simpleTips="simpleTips"
@@ -930,8 +931,10 @@
930
931
  ref="toStartTaskRead"
931
932
  :pending-id="pendingId"
932
933
  hideBtn
934
+ class="es-info"
933
935
  :opinion="value"
934
936
  :type="taskReadType"
937
+ :resetAppId="resetAppId"
935
938
  :showTooltip="showTooltip"
936
939
  :flowLabelConfig="flowLabelConfig"
937
940
  :hideMessage="hideMessage"
@@ -1111,7 +1114,7 @@
1111
1114
  size="medium"
1112
1115
  style="margin: 10px 0px; margin-left: 10px"
1113
1116
  @click="taskReadBtn"
1114
- >分阅222</el-button
1117
+ >分阅</el-button
1115
1118
  >
1116
1119
  </div>
1117
1120
  <!-- 弹窗内容 -->
@@ -1226,6 +1229,7 @@
1226
1229
  :flowLabelConfig="flowLabelConfig"
1227
1230
  :hideMessage="hideMessage"
1228
1231
  :selectorConfig="selectorConfig"
1232
+ :resetAppId="resetAppId"
1229
1233
  :simpleTips="simpleTips"
1230
1234
  :subParams="subParams"
1231
1235
  :taskExamine="taskExamineInfo"
@@ -1474,7 +1478,7 @@ export default {
1474
1478
  },
1475
1479
  rows: {
1476
1480
  type: [String, Number],
1477
- default: 10
1481
+ default: 5
1478
1482
  },
1479
1483
  showOther: {
1480
1484
  type: Boolean,
@@ -3134,6 +3138,7 @@ export default {
3134
3138
  data.globalNodeType === 'endEvent' ? (this.endFlow = true) : '';
3135
3139
  }
3136
3140
  }
3141
+ console.log(this.$refs.customPreset.getPresetFlowInfo,'his.$refs.customPreset')
3137
3142
  this.isCustomPreset &&
3138
3143
  this.$refs.customPreset.getPresetFlowInfo(
3139
3144
  this.nextNode.nextNodeId,
@@ -38,6 +38,7 @@
38
38
  :resetAppId="resetAppId"
39
39
  :userSelectRange="userSelectRange"
40
40
  :rows="rows"
41
+ @success="handleNewFlowSuccess"
41
42
  :showOther="showOther"
42
43
  :flowLabelConfig="flowLabelConfig"
43
44
  :isEndMessage="isEndMessage"
@@ -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="
@@ -740,7 +758,7 @@
740
758
  @changeActiveNames="(val) => (activeNames = val)"
741
759
  @loadingEnd="customLoading('end')"
742
760
  :flowLabelConfig="flowLabelConfig"
743
- :hideMessage="hideMessage"
761
+ :hideMessage="hideMessage"
744
762
  :showTooltip="showTooltip"
745
763
  @loadingStart="customLoading('start')"
746
764
  :nextNode="nextNode.nextNodeId"
@@ -761,7 +779,7 @@
761
779
  :showTooltip="showTooltip"
762
780
  :businessId="businessIds"
763
781
  :flowLabelConfig="flowLabelConfig"
764
- :hideMessage="hideMessage"
782
+ :hideMessage="hideMessage"
765
783
  :customPresetHintMessage="customPresetHintMessage"
766
784
  :processDefinitionId="nodeInfo.nextNode"
767
785
  :presetTaskNodeMap="presetTaskNodeMap"
@@ -1105,6 +1123,8 @@
1105
1123
  :taskExamineParam="freeStartFlowParams.newFlowStartNodeItemName"
1106
1124
  :taskParams="taskParams"
1107
1125
  :formType="processFormType"
1126
+ :isCanReadTransferHandle="isCanReadTransferHandle"
1127
+ :readTransferHandleFlowTypeCode="readTransferHandleFlowTypeCode"
1108
1128
  @cancel="closeProcess($event, 'handleVisible', closeParent)"
1109
1129
  />
1110
1130
  </es-dialog>
@@ -1355,7 +1375,7 @@ export default {
1355
1375
  type: String,
1356
1376
  default: 'left'
1357
1377
  },
1358
-
1378
+
1359
1379
  flowListDisabled: {
1360
1380
  type: Boolean,
1361
1381
  default: false
@@ -1395,7 +1415,7 @@ export default {
1395
1415
  return {};
1396
1416
  }
1397
1417
  },
1398
- fullFlow:{
1418
+ fullFlow: {
1399
1419
  type: Boolean,
1400
1420
  default: true
1401
1421
  },
@@ -1412,15 +1432,17 @@ export default {
1412
1432
  },
1413
1433
  rows: {
1414
1434
  type: [String, Number],
1415
- default: 10
1435
+ default: 5
1416
1436
  },
1417
1437
  showOther: {
1418
1438
  type: Boolean,
1419
1439
  default: true
1420
1440
  },
1421
- flowLabelConfig: {
1422
- type:Object,
1423
- default: () => {return {}}
1441
+ flowLabelConfig: {
1442
+ type: Object,
1443
+ default: () => {
1444
+ return {};
1445
+ }
1424
1446
  },
1425
1447
  isEndMessage: { type: Boolean, default: false }
1426
1448
  },
@@ -1452,6 +1474,7 @@ export default {
1452
1474
  freeStartFlowNextNode: undefined,
1453
1475
  otherOrgDisabledObjId: [],
1454
1476
  isCanReadTransferHandle: false,
1477
+ readTransferHandleFlowTypeCode: '',
1455
1478
  readTransferHandleDisabled: true,
1456
1479
  showCustomLimitTimeText: false,
1457
1480
  showSort: false,
@@ -1861,7 +1884,7 @@ export default {
1861
1884
  this.getTaskReadFlow();
1862
1885
  } else if (
1863
1886
  this.newTypeCode != 'reset' &&
1864
- this.newTypeCode != 'continuation'
1887
+ this.newTypeCode != 'continuation' &&!this.newFlow
1865
1888
  ) {
1866
1889
  this.getHedInfo();
1867
1890
  }
@@ -1953,6 +1976,9 @@ export default {
1953
1976
  this.$refs.esContent.scrollTop += this.$refs.messagebox.clientHeight;
1954
1977
  });
1955
1978
  },
1979
+ handleNewFlowSuccess(){
1980
+ this.$emit('success');
1981
+ },
1956
1982
  freeStartFlowSuccess() {
1957
1983
  this.showFreeStartFlow = false;
1958
1984
  this.flowSuccess(true);
@@ -2093,65 +2119,64 @@ export default {
2093
2119
  this.loading.close();
2094
2120
  }
2095
2121
  },
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
- });
2122
+ subRead() {
2123
+ this.loading = util.loading(this.$loading, '加载中...');
2124
+ const { businessId, appId, processDefinitionId, pendingId } =
2125
+ this.taskExamineInfo;
2126
+ let params = {
2127
+ businessId,
2128
+ appId,
2129
+ processDefinitionId,
2130
+ pendingId,
2131
+ opinion: this.value,
2132
+ taskAction: 'complete'
2133
+ };
2134
+ util
2135
+ .ajax({
2136
+ url: taskReadHtml,
2137
+ params: { taskAction: 'complete' },
2138
+ headers: {
2139
+ Accept: 'application/json,text/plain'
2140
+ },
2141
+ method: 'post',
2142
+ data: params
2143
+ })
2144
+ .then((res) => {
2145
+ const { status, message } = res;
2146
+ this.loading.close();
2147
+ if (status === 'success') {
2148
+ this.flowSuccess();
2149
+ // this.$message.success('提交成功');
2150
+ // this.$emit('success');
2151
+ } else {
2152
+ this.$message.error(message || '系统错误,请联系管理员!');
2153
+ this.$emit('error');
2154
+ }
2155
+ })
2156
+ .catch((err) => {
2157
+ this.loading.close();
2158
+ if (err.message && err.message !== 'canceled') {
2159
+ this.$message.error(err.message);
2160
+ }
2161
+ });
2136
2162
  },
2137
2163
  taskRead() {
2138
2164
  if (this.taskReadOpinionRequired == 'true' && !this.value) {
2139
2165
  if (!this.$refs.commonOpinions.validate()) return;
2140
2166
  }
2141
- if(this.showReadConfirm){
2142
- this.$confirm('确认提交?', '提示', {
2143
- confirmButtonText: '确定',
2144
- cancelButtonText: '取消',
2145
- type: 'warning'
2146
- })
2147
- .then(() => {
2148
- this.subRead()
2167
+ if (this.showReadConfirm) {
2168
+ this.$confirm('确认提交?', '提示', {
2169
+ confirmButtonText: '确定',
2170
+ cancelButtonText: '取消',
2171
+ type: 'warning'
2149
2172
  })
2150
- .catch(() => {});
2151
- }else{
2152
- this.subRead()
2173
+ .then(() => {
2174
+ this.subRead();
2175
+ })
2176
+ .catch(() => {});
2177
+ } else {
2178
+ this.subRead();
2153
2179
  }
2154
-
2155
2180
  },
2156
2181
  validReadTransferHandle(
2157
2182
  readTransferHandleBusinessId,
@@ -2188,6 +2213,7 @@ this.$confirm('确认提交?', '提示', {
2188
2213
  taskExamine,
2189
2214
  taskReadOpinionRequired,
2190
2215
  isCanReadTransferHandle,
2216
+ readTransferHandleFlowTypeCode,
2191
2217
  defaultNotificationMessage
2192
2218
  }
2193
2219
  } = res;
@@ -2197,6 +2223,8 @@ this.$confirm('确认提交?', '提示', {
2197
2223
  this.taskReadOpinionRequired = taskReadOpinionRequired;
2198
2224
  this.nextNode.notificationMsg = defaultNotificationMessage;
2199
2225
  this.isCanReadTransferHandle = isCanReadTransferHandle;
2226
+ this.readTransferHandleFlowTypeCode =
2227
+ readTransferHandleFlowTypeCode;
2200
2228
  this.isCanFenyue = isCanFenyue;
2201
2229
  if (this.nodeName) {
2202
2230
  this.NodeName = this.nodeName;
@@ -2419,7 +2447,7 @@ this.$confirm('确认提交?', '提示', {
2419
2447
  .then((res) => {
2420
2448
  const { status, message } = res;
2421
2449
  if (status === 'success') {
2422
- if(this.hideMessage) return
2450
+ if (this.hideMessage) return;
2423
2451
  this.nextNode.notificationType = message.split(',');
2424
2452
  let arr = [];
2425
2453
  this.newsList.map((item) => {
@@ -2853,27 +2881,65 @@ this.$confirm('确认提交?', '提示', {
2853
2881
  this.nextNode.customLimitTimeText =
2854
2882
  data.nodeMoreInfo.defaultCustomLimitDays + '';
2855
2883
  }
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
- })
2884
+ if (
2885
+ this.currentOrgSelectorParams.department &&
2886
+ !this.currentOrgSelectorParams.department.roleid &&
2887
+ this.selectorParams.roleid &&
2888
+ data.nodeExtAttr.deptRoleCode
2889
+ ) {
2890
+ this.currentOrgSelectorParams.department.roleid =
2891
+ data.nodeExtAttr.deptRoleCode;
2869
2892
  }
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
- })
2893
+ if (data.nodeMoreInfo.currentOrgDefaultSelectObjectItems) {
2894
+ if (
2895
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds
2896
+ .length > 0
2897
+ ) {
2898
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.deptIds.map(
2899
+ (x, i) => {
2900
+ this.nextCurrentOrgselectUserList.push({
2901
+ showname:
2902
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2903
+ .deptNames[i],
2904
+ showid: x,
2905
+ stype: 'department'
2906
+ });
2907
+ }
2908
+ );
2909
+ }
2910
+ if (
2911
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds
2912
+ .length > 0
2913
+ ) {
2914
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.userIds.map(
2915
+ (x, i) => {
2916
+ this.nextCurrentOrgselectUserList.push({
2917
+ showname:
2918
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2919
+ .userNames[i],
2920
+ showid: x,
2921
+ stype: 'employee'
2922
+ });
2923
+ }
2924
+ );
2925
+ }
2926
+ if (
2927
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds
2928
+ .length > 0
2929
+ ) {
2930
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems.orgIds.map(
2931
+ (x, i) => {
2932
+ this.nextCurrentOrgselectUserList.push({
2933
+ showname:
2934
+ data.nodeMoreInfo.currentOrgDefaultSelectObjectItems
2935
+ .orgNames[i],
2936
+ showid: x,
2937
+ stype: 'enterprise'
2938
+ });
2939
+ }
2940
+ );
2941
+ }
2874
2942
  }
2875
-
2876
- }
2877
2943
  if (
2878
2944
  data.nodeMoreInfo
2879
2945
  .chooseCurrentOrgUserCandidateNeedForbiddenSubDept === true
@@ -2979,7 +3045,7 @@ this.$confirm('确认提交?', '提示', {
2979
3045
  }
2980
3046
  this.isLimitedTimeHandling =
2981
3047
  data.nodeExtAttr.isLimitedTimeHandling;
2982
- this.isCustomUser = data.nodeExtAttr.isCustomUser;
3048
+ this.isCustomUser = data.nodeExtAttr.isCustomUser;
2983
3049
  this.presetEdit = data.nodeExtAttr.presetEdit;
2984
3050
  this.countersignaturetypeCode = data.countersignaturetypeCode; //是否展示处理方式
2985
3051
  this.handleMode = data.countersignaturetypeText;
@@ -3143,7 +3209,7 @@ this.$confirm('确认提交?', '提示', {
3143
3209
  }
3144
3210
  if (this.endFlow && isDef) {
3145
3211
  this.loading.close();
3146
- } else {
3212
+ } else if(!this.newFlow){
3147
3213
  this.getNodeInfo();
3148
3214
  }
3149
3215
  },
@@ -3280,7 +3346,7 @@ this.$confirm('确认提交?', '提示', {
3280
3346
  ? choiceOrgId
3281
3347
  : currentOrgparams[i],
3282
3348
  only_filid: true,
3283
- roleid:this.selectorParams.roleid
3349
+ roleid: this.selectorParams.roleid
3284
3350
  };
3285
3351
  });
3286
3352
  }
@@ -3365,14 +3431,17 @@ this.$confirm('确认提交?', '提示', {
3365
3431
  if (!this.isFlow) this.getFile(this.pendingId, attachedCode);
3366
3432
  if (nextNodeList && nextNodeList.length != 0) {
3367
3433
  this.nextNodeList = nextNodeList;
3368
- if (nextNodeList[0].nodeType === 'endEvent' && nextNodeList.length==1) {
3434
+ if (
3435
+ nextNodeList[0].nodeType === 'endEvent' &&
3436
+ nextNodeList.length == 1
3437
+ ) {
3369
3438
  this.isNextUser = nextNodeList[0].nodeType != 'endEvent';
3370
3439
  nextNodeList[0].nodeType === 'endEvent'
3371
3440
  ? (this.endFlow = true)
3372
3441
  : '';
3373
3442
  }
3374
- }else if(nextNodeList){
3375
- this.endFlow = true
3443
+ } else if (nextNodeList) {
3444
+ this.endFlow = true;
3376
3445
  }
3377
3446
 
3378
3447
  if (canRemoveSignUserList && canRemoveSignUserList.length != 0)
@@ -3710,7 +3779,9 @@ this.$confirm('确认提交?', '提示', {
3710
3779
  this.showNews = false;
3711
3780
  this.nextNode.notificationType = [];
3712
3781
  this.pendingId = results[results.length - 1].attachId;
3713
- this.getHedInfo();
3782
+ if(!this.newFlow){
3783
+ this.getHedInfo();
3784
+ }
3714
3785
  } else {
3715
3786
  this.$message.error(msg || '系统错误,请联系管理员!');
3716
3787
  }
@@ -3843,7 +3914,9 @@ this.$confirm('确认提交?', '提示', {
3843
3914
  this.nextNode.nextUserId == '' ||
3844
3915
  (this.multiple && this.nextNode.nextUserId.length == 0)
3845
3916
  ) {
3846
- this.$message.warning(`请选择${this.flowLabelConfig.nextUser || '下步办理人'}`);
3917
+ this.$message.warning(
3918
+ `请选择${this.flowLabelConfig.nextUser || '下步办理人'}`
3919
+ );
3847
3920
  return false;
3848
3921
  }
3849
3922
  } else {
@@ -3910,9 +3983,9 @@ this.$confirm('确认提交?', '提示', {
3910
3983
  },
3911
3984
 
3912
3985
  sendData(freetype) {
3913
- if(this.isFlow && !this.nodeInfo.nextNode){
3986
+ if (this.isFlow && !this.nodeInfo.nextNode) {
3914
3987
  this.$message.warning('请选择流程');
3915
- return
3988
+ return;
3916
3989
  }
3917
3990
  if (
3918
3991
  this.isFlow &&