value
2024-06-23 7345595fdb083a70e8c708dce246af34b2d7f69f
src/components/do/b3-work-time-management/work-time-statistics.vue
@@ -125,7 +125,9 @@
          inputType: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
         },
      entity:{
        month:getYearAndMonthAndDays()
        month:getYearAndMonthAndDays(),
        name:'',
        departLims:''
      },
      entityCopy:{},
      entityCopy0:{},
@@ -194,13 +196,13 @@
      let entity = {...this.entity}
      entity.month = entity.month.split('-')[0]+'-'+entity.month.split('-')[1]
      this.outLoading = true
      this.$axios.get(this.$api.auxiliaryOriginalHours.exportOriginalHours,{
        params:entity,
      this.$axios.post(this.$api.auxiliaryOriginalHours.exportOriginalHours,{
        ...entity
        // params:entity,
      },{responseType: "blob"}).then(res => {
        this.outLoading = false
        this.$message.success('导出成功')
        const blob = new Blob([res],{ type: 'application/octet-stream' });
        console.log(blob)
        const url = URL.createObjectURL(blob);
        const link = document.createElement('a');
        link.href = url;