update - 年度不良率同比报表加接口

master
yinq 7 months ago
parent 089025f9e0
commit d85c4b299f

@ -188,3 +188,21 @@ export function adverseRecordYearOnYearList(query) {
params: query
})
}
// 高故障率TOP20报表
export function highFaultList(query) {
return request({
url: '/report/qualityReport/highFaultList',
method: 'get',
params: query
})
}
// 焊漏率报表
export function weldLeakRateList(query) {
return request({
url: '/report/qualityReport/weldLeakRateList',
method: 'get',
params: query
})
}

@ -60,6 +60,7 @@
<script>
import Chart from "@/components/board/Chart";
import { highFaultList } from '@//api/report/reportAPI'
export default {
name: 'ProductOffLine',
@ -152,7 +153,12 @@ export default {
},
methods: {
getList(){
console.log(this.form)
highFaultList({ beginBeginTime: '2024-03-28', endBeginTime: '2024-04-28'
, FACTORY_CODE: '1301' , PRODUCT_LINE_CODE: 'CX_02'}).then(response => {
//
console.log(response)
this.loading = false
});
},
resetForm(formName) {
this.$refs[formName].resetFields();

@ -51,6 +51,7 @@
<script>
import Chart from "@/components/board/Chart";
import { highFaultList, weldLeakRateList } from '@//api/report/reportAPI'
export default {
name: 'ProductOffLine',
@ -266,7 +267,11 @@ export default {
,
methods: {
getList() {
console.log(this.form)
weldLeakRateList({ year: '\'2022\'', }).then(response => {
//
console.log(response)
this.loading = false
});
}
,
resetForm(formName) {

Loading…
Cancel
Save