k94314517
2025-07-04 50fb58286ed3b718c39a97e0987ee7561a295651
company/src/components/enterprise/importEmployees.vue
@@ -48,7 +48,8 @@
      applyId: null,
      addList: [],
      delList: [],
      fileName: ''
      fileName: '',
      hasDispatchUnit: null
    }
  },
  methods: {
@@ -63,6 +64,7 @@
      this.applyId = obj.insuranceApplyId
      this.list = obj.arr
      this.price = obj.price
      this.hasDispatchUnit = obj.hasDispatchUnit
      this.importing= false
      this.confirming= false
    },
@@ -70,7 +72,11 @@
    exportTemplate () {
      // 投保申请
      if (this.type === 1) {
        window.open('/template/personnel_add.xlsx')
        if (this.hasDispatchUnit === 1) {
          window.open('/template/personnel_no.xlsx')
        } else {
          window.open('/template/personnel_add.xlsx')
        }
      } else {
        window.open('/template/personnel_reduce.xlsx')
      }
@@ -123,6 +129,7 @@
        .then(res => {
          res.forEach(item => {
            item.memberName = item.name
            item.reducePrice = item.fee
          })
          this.delList = res
          this.fileName = e.target.files[0].name