jiangping
2024-12-27 5506edbe54883b31db3cc8e4a1d9d0795a18a3c9
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')
      }