eoss-ui 0.8.37 → 0.8.39

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.
@@ -1253,17 +1253,24 @@ export default {
1253
1253
  ) {
1254
1254
  return this.$message.warning('请选择办理对象');
1255
1255
  }
1256
- if (this.isCustomPreset && this.activeNames == '1'){
1256
+ if (this.isCustomPreset && this.activeNames == '1') {
1257
1257
  for (let i = 0; i < this.presetList.length; i++) {
1258
- if(this.presetList[i].name && this.presetList[i].name != '1' && this.presetList[i].name != 'endEvent' &&( !this.presetList[i].value || this.presetList[i].value.length == 0)){
1259
-
1260
- return this.$message.warning(`预设节点<节点${this.presetList[i].sequence}-${this.presetList[i].label}>必须选择办理人!`);
1261
- }else{
1258
+ if (
1259
+ this.presetList[i].name &&
1260
+ this.presetList[i].name != '1' &&
1261
+ this.presetList[i].name != 'endEvent' &&
1262
+ (!this.presetList[i].value ||
1263
+ this.presetList[i].value.length == 0)
1264
+ ) {
1265
+ return this.$message.warning(
1266
+ `预设节点<节点${this.presetList[i].sequence}-${this.presetList[i].label}>必须选择办理人!`
1267
+ );
1268
+ } else {
1262
1269
  delete this.presetList[i].label;
1263
1270
  }
1264
1271
  }
1265
1272
  }
1266
-
1273
+
1267
1274
  if (this.isCancelSecondConfirmationType) {
1268
1275
  this.$confirm('确认提交吗?', '提示', {
1269
1276
  confirmButtonText: '确定',
@@ -1355,6 +1362,8 @@ export default {
1355
1362
 
1356
1363
  newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
1357
1364
  if (this.formType == 'readTransfer') {
1365
+ newParm.customPresetUserJson = params.customPresetUserJson;
1366
+ delete params.customPresetUserJson;
1358
1367
  newParm.readTransferHandleStartFlowParamJson =
1359
1368
  JSON.stringify(params);
1360
1369
  newParm.taskReadEndParamJson = JSON.stringify(
@@ -1493,13 +1502,17 @@ export default {
1493
1502
 
1494
1503
  newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
1495
1504
  if (this.formType == 'readTransfer') {
1505
+ newParm.customPresetUserJson = params.customPresetUserJson;
1506
+ newParm.taskReadEndParamJson = JSON.stringify(this.taskParams);
1507
+ delete params.customPresetUserJson;
1496
1508
  newParm.readTransferHandleStartFlowParamJson =
1497
1509
  JSON.stringify(params);
1498
- newParm.taskReadEndParamJson = JSON.stringify(this.taskParams);
1510
+
1499
1511
  delete newParm.copyHistory;
1500
1512
  delete newParm.startFlowParamJson;
1501
1513
  delete newParm.submitTaskParamJson;
1502
1514
  }
1515
+
1503
1516
  params = newParm;
1504
1517
  }
1505
1518
  if (this.copyHistory && !this.isFreeStartFlow) {
@@ -1516,6 +1529,7 @@ export default {
1516
1529
  ? freeStartFlow
1517
1530
  : register,
1518
1531
  method: 'post',
1532
+
1519
1533
  data: params
1520
1534
  })
1521
1535
  .then((res) => {
@@ -1820,7 +1834,6 @@ export default {
1820
1834
  if (pOrgId) {
1821
1835
  params.filid = pOrgId;
1822
1836
  }
1823
-
1824
1837
  }
1825
1838
  return { multiple, params };
1826
1839
  },
@@ -70,6 +70,7 @@
70
70
  :title="title"
71
71
  :showFilterListDep="false"
72
72
  reset
73
+ destroyOnClose
73
74
  :classify="classify"
74
75
  :collapse-tags="selectorTags"
75
76
  :mix="mix"
@@ -243,6 +243,7 @@ export default {
243
243
  configInfo: {}
244
244
  };
245
245
  },
246
+
246
247
  computed: {
247
248
  tabs() {
248
249
  let tab = {};
@@ -574,6 +575,7 @@ export default {
574
575
  },
575
576
  // 提交表单
576
577
  subProcess(formName) {
578
+
577
579
  this.submit(formName)
578
580
  },
579
581
  // 提交表单
@@ -584,7 +586,6 @@ export default {
584
586
  this.$message.warning('请选择输入审批意见');
585
587
  return;
586
588
  }
587
- console.log(this.mixList, 'this.mixList');
588
589
  // let nextUser = [];
589
590
  // this.nextNode.nextUser.map(item => {
590
591
  // nextUser.push(item);
@@ -61,7 +61,7 @@
61
61
  })
62
62
  "
63
63
  :display="activeName === String(indexs)"
64
- :key="index"
64
+ :key="'fl-' + index + '-' + flowListKey"
65
65
  ></es-flow-list>
66
66
  <es-data-table
67
67
  v-if="
@@ -179,7 +179,7 @@
179
179
  })
180
180
  "
181
181
  :display="activeName === String(indexs)"
182
- :key="index"
182
+ :key="'fl-' + index + '-' + flowListKey"
183
183
  ></es-flow-list>
184
184
  <es-data-table
185
185
  v-if="
@@ -338,6 +338,7 @@
338
338
  })
339
339
  "
340
340
  :display="activeName === String(indexs)"
341
+ :key="'fl-' + flowListKey"
341
342
  ></es-flow-list>
342
343
  <es-data-table
343
344
  v-if="
@@ -438,6 +439,7 @@
438
439
  @success="handleSuccess"
439
440
  @save="handleSave"
440
441
  @endMessageChange="handleEndMessageChange"
442
+ @successRead="handleSuccessRead"
441
443
  :closeParent="closeParent"
442
444
  ></es-flow>
443
445
  <slot></slot>
@@ -504,7 +506,8 @@ export default {
504
506
  taskExamineAppId: this.appId,
505
507
  showMsg: true,
506
508
  formRefs: this.refs,
507
- submits: null
509
+ submits: null,
510
+ flowListKey: 0
508
511
  };
509
512
  },
510
513
  computed: {
@@ -545,6 +548,9 @@ export default {
545
548
  },
546
549
  mounted() {},
547
550
  methods: {
551
+ handleSuccessRead() {
552
+ this.flowListKey++;
553
+ },
548
554
  handleHide(res) {
549
555
  return typeof res === 'boolean'
550
556
  ? !res