n20-common-lib 2.7.30 → 2.7.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.7.30",
3
+ "version": "2.7.32",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -641,37 +641,41 @@ export default {
641
641
  return this.addErrFn()
642
642
  }
643
643
  let { isCheck, taskId, appNo, groupNo, typeCode, orderId } = this.$route.query
644
- let params = {
645
- plainText: '',
646
- signText: '',
647
- isCheck,
648
- auditAdvanceDtos: [
649
- {
650
- appNo: appNo,
651
- taskId,
652
- groupNo,
653
- typeCode,
654
- isAgentcy,
655
- isCheck,
656
- businessId: orderId
644
+ if (isCheck === '1') {
645
+ let params = {
646
+ plainText: '',
647
+ signText: '',
648
+ isCheck,
649
+ auditAdvanceDtos: [
650
+ {
651
+ appNo: appNo,
652
+ taskId,
653
+ groupNo,
654
+ typeCode,
655
+ isAgentcy,
656
+ isCheck,
657
+ businessId: orderId
658
+ }
659
+ ]
660
+ }
661
+ const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`, params)
662
+ if (code === 200) {
663
+ this.promptType = data.promptType
664
+ switch (data.promptType) {
665
+ case '0':
666
+ this.approvalFn()
667
+ break
668
+ case '1':
669
+ this.verifyV = true
670
+ this.verifyMsg = data
671
+ break
672
+ case '2':
673
+ this.verifyV = true
674
+ break
657
675
  }
658
- ]
659
- }
660
- const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`, params)
661
- if (code === 200) {
662
- this.promptType = data.promptType
663
- switch (data.promptType) {
664
- case '0':
665
- this.approvalFn()
666
- break
667
- case '1':
668
- this.verifyV = true
669
- this.verifyMsg = data
670
- break
671
- case '2':
672
- this.verifyV = true
673
- break
674
676
  }
677
+ } else {
678
+ this.approvalFn()
675
679
  }
676
680
  },
677
681
  onceCancelFn() {
@@ -447,7 +447,9 @@ export default {
447
447
  return this.batchPrintMethod(this.selectionList)
448
448
  }
449
449
  const { code, data } = await axios.post(
450
- apiPrefix ? apiPrefix + `/neams/eamsbaserecord/mergeDownladPdf` : `/neams/eamsbaserecord/mergeDownladPdf`,
450
+ this.apiPrefix
451
+ ? this.apiPrefix + `/neams/eamsbaserecord/mergeDownladPdf`
452
+ : `/neams/eamsbaserecord/mergeDownladPdf`,
451
453
  this.selectionList.map((res) => res.beid) || [],
452
454
  {
453
455
  responseType: 'blob'
@@ -551,8 +553,8 @@ export default {
551
553
  } else {
552
554
  // 下载
553
555
  let blob = await axios.get(
554
- apiPrefix
555
- ? apiPrefix + `/neams/eamsbaserecord/download/${row[this.keys.rowKey]}`
556
+ this.apiPrefix
557
+ ? this.apiPrefix + `/neams/eamsbaserecord/download/${row[this.keys.rowKey]}`
556
558
  : `/neams/eamsbaserecord/download/${row[this.keys.rowKey]}`,
557
559
  null,
558
560
  {