|
@@ -75,7 +75,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getMonthReport, exportMonthReport } from '@/api/report/measure-log'
|
|
|
+import { getMonthReport, exportMonthReport, exportMonthReportMonth } from '@/api/report/measure-log'
|
|
|
import { Chart } from '@antv/g2'
|
|
|
import PrintInMeasureLogReport from '@/views/dashboard/modules/PrintInMeasureLogReport'
|
|
|
import DetailMeasureLogReport from '@/views/dashboard/modules/DetailMeasureLogReport'
|
|
@@ -108,8 +108,7 @@ export default {
|
|
|
// year: 2021,
|
|
|
startMonth: this.BaseTool.Moment().format(this.BaseTool.Date.PICKER_NORM_YEAR) + '-01-01',
|
|
|
endMonth: this.BaseTool.Moment().format(this.BaseTool.Date.PICKER_NORM_YEAR) + '-12-01',
|
|
|
- standardLevel: 2,
|
|
|
- sbLevel: 1
|
|
|
+ type: 1
|
|
|
},
|
|
|
years: [],
|
|
|
levelMap: {},
|
|
@@ -167,10 +166,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
moment,
|
|
|
- changeLevel (value) {
|
|
|
- this.queryParam.standardLevel = value
|
|
|
- this.getData()
|
|
|
- },
|
|
|
onStartChange (date, dateString) {
|
|
|
this.$nextTick(() => {
|
|
|
this.queryParam.startMonth = this.BaseTool.Date.formatter(dateString + '-01', this.BaseTool.Date.PICKER_NORM_DATE_PATTERN)
|
|
@@ -242,7 +237,7 @@ export default {
|
|
|
month: record.month,
|
|
|
year: record.year
|
|
|
}
|
|
|
- exportMonthReport(parameter).then(file => {
|
|
|
+ exportMonthReportMonth(parameter).then(file => {
|
|
|
this.BaseTool.UPLOAD.downLoadExportExcel(file)
|
|
|
})
|
|
|
},
|