| | |
| | | return time.getTime() > new Date() |
| | | } |
| | | }, |
| | | reportName: '' |
| | | }, |
| | | } |
| | | }, |
| | |
| | | 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) { |
| | |
| | | }, |
| | | |
| | | selectReport() { |
| | | if (this.carInput == '') { |
| | | if (this.carInput === '') { |
| | | this.$message('请选择走航车') |
| | | return false |
| | | } |
| | |
| | | } |
| | | 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 |
| | | }) |
| | |
| | | /deep/.el-upload-list__item { |
| | | width: 30%; |
| | | } |
| | | </style> |
| | | </style> |