update - 年度不良率同比报表

master
yinq 7 months ago
parent af51566c3f
commit 089025f9e0

@ -179,3 +179,12 @@ export function downgradeProportionReportList(query) {
params: query
})
}
// 年度不良同比报表
export function adverseRecordYearOnYearList(query) {
return request({
url: '/report/qualityReport/adverseRecordYearOnYearList',
method: 'get',
params: query
})
}

@ -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();

Loading…
Cancel
Save