import axios from '@/utils/request';
|
|
// 查询列表
|
export function getDataList(data) {
|
return axios.post('/api/t-qa-test-item/evaluateList', { ...data })
|
}
|
|
|
//获取详情
|
export function getDetail(id) {
|
return axios.get(`/open/t-qa-test-item/getDetailById?id=${id}`)
|
}
|
|
|
//评定QA检测项管理
|
export function evaluate(data) {
|
return axios.post(`/api/t-qa-test-item/evaluate`, { ...data })
|
}
|
|
|
// 下面的是二级的接口
|
|
export function detailPageList(data) {
|
return axios.post(`/api/t-qa-test-item-report/pageList`,{...data})
|
}
|
export function detailAuditReport(data) {
|
return axios.post(`/api/t-qa-test-item-report/auditReport`,{...data})
|
}
|
|
|
|
|
export function getDetailInfo(data) {
|
return axios.get(`/open/t-qa-test-item-report/getDetailById?id=${data.id}`)
|
}
|
// 获取QA检测项报告管理下拉列表-化验师使用、评定使用
|
export function getListByItemId(data) {
|
return axios.get(`/open/t-qa-test-item-report/getListByItemId?itemId=${data.id}`)
|
}
|