safecheck-client 4.0.2-1 → 4.0.2-3

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.
@@ -704,11 +704,15 @@ export default {
704
704
  }
705
705
  }, {resolveMsg: null, rejectMsg: null})
706
706
  this.checkBooks.push({label: '全部', value: ''})
707
+ let tempArr = []
707
708
  res.data.forEach(ress => {
708
- this.checkBooks.push({
709
- label: ress.f_check_book_name,
710
- value: ress.id
711
- })
709
+ if (!tempArr.includes(ress.f_check_book_name)){
710
+ tempArr.push(ress.f_check_book_name)
711
+ this.checkBooks.push({
712
+ label: ress.f_check_book_name,
713
+ value: ress.id
714
+ })
715
+ }
712
716
  })
713
717
  }else {
714
718
  this.getCheckBook()