src/views/sectionReport/index.vue
@@ -199,6 +199,7 @@
            return time.getTime() > new Date()
          }
        },
        reportName: ''
      },
    }
  },
@@ -310,8 +311,7 @@
        this.valueDate.list1 = res.data.list1
        this.valueDate.list2 = res.data.list2
        this.valueDate.time = res.data.time
        exportLUImage('/Section.docx', this.valueDate, `尘负荷走航车报告.docx`)
        exportLUImage('/Section.docx', this.valueDate, `${this.reportName}.docx`)
      })
    },
    handleRemove(file, fileList) {
@@ -335,7 +335,7 @@
    },
    selectReport() {
      if (this.carInput == '') {
      if (this.carInput === '') {
        this.$message('请选择走航车')
        return false
      }
@@ -361,8 +361,13 @@
          }
          info.map((v) => {
            console.log(v)
            var time = v.time.substring(0, 10)
            v.time = `道路积尘负荷走航监测报告${time}`
            var time = v.time.substring(0, 10).split('-').join('')
            if (this.cityChoose === 'gx') {
              v.time = `苏州高新区道路积尘负荷走航监测报告${time}`
            } else {
              v.time = `道路积尘负荷走航监测报告${time}`
            }
            this.reportName = v.time
          })
          this.tableData = info
        })
@@ -445,4 +450,4 @@
/deep/.el-upload-list__item {
  width: 30%;
}
</style>
</style>