diff --git a/src/api/report/reportAPI.js b/src/api/report/reportAPI.js index 4ada0b2..abcd094 100644 --- a/src/api/report/reportAPI.js +++ b/src/api/report/reportAPI.js @@ -179,3 +179,12 @@ export function downgradeProportionReportList(query) { params: query }) } + +// 年度不良同比报表 +export function adverseRecordYearOnYearList(query) { + return request({ + url: '/report/qualityReport/adverseRecordYearOnYearList', + method: 'get', + params: query + }) +} diff --git a/src/views/report/adverseRecordYearOnYear/index.vue b/src/views/report/adverseRecordYearOnYear/index.vue index e44d7b0..b494836 100644 --- a/src/views/report/adverseRecordYearOnYear/index.vue +++ b/src/views/report/adverseRecordYearOnYear/index.vue @@ -45,8 +45,9 @@ import {findProductLineList} from '@//api/base/productLine' import {parseTime} from '@//utils/ruoyi' import { + adverseRecordYearOnYearList, boxTraceabilityDetailReport, - boxTraceabilityReport, + boxTraceabilityReport } from '@//api/report/reportAPI' export default { @@ -259,7 +260,11 @@ export default { }, methods: { onSubmit(){ - console.log(this.form) + adverseRecordYearOnYearList({ year: '2024', productionLine: 'CX_02'}).then(response => { + //分页查询 + console.log(response) + this.loading = false + }); }, resetForm(formName) { this.$refs[formName].resetFields();