yudao-dev/src/api/base/qualityInspectionBoxPermissions.js

92 lines
2.0 KiB
JavaScript
Raw Normal View History

2024-01-29 15:55:16 +08:00
/*
* @Author: zhp
* @Date: 2023-12-04 14:10:37
2024-01-30 18:08:59 +08:00
* @LastEditTime: 2024-01-30 18:06:48
2024-01-29 15:55:16 +08:00
* @LastEditors: zhp
* @Description:
*/
import request from '@/utils/request'
// 创建安灯按钮16键对应
export function createQualityInspectionBoxBtn(data) {
return request({
url: '/base/quality-inspection-box-btn/updateBatch',
method: 'put',
data: data
})
}
// 更新安灯按钮16键对应
export function updateQualityInspectionBoxBtn(data) {
return request({
2024-01-30 18:08:59 +08:00
url: '/base/quality-inspection-box-btn-auth/update',
2024-01-29 15:55:16 +08:00
method: 'put',
data: data
})
}
// 删除安灯按钮16键对应
export function deleteQualityInspectionBoxBtn(id) {
return request({
2024-01-30 18:08:59 +08:00
url: 'base/quality-inspection-box-btn-auth/delete?id=' + id,
2024-01-29 15:55:16 +08:00
method: 'delete'
})
}
// 获得安灯按钮16键对应
export function getQualityInspectionBoxBtn(id) {
return request({
2024-01-30 18:08:59 +08:00
url: 'base/quality-inspection-box-btn-auth/get?id=' + id,
2024-01-29 15:55:16 +08:00
method: 'get'
})
}
// 获得安灯按钮16键对应分页
export function getQualityInspectionBoxBtnPage(query) {
return request({
url: '/base/quality-inspection-box-btn/listGroupByLineSection',
method: 'get',
params: query
})
}
// 导出安灯按钮16键对应 Excel
export function exportQualityInspectionBoxBtnExcel(query) {
return request({
url: '/base/quality-inspection-box-btn/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
export function getAllDetByTypeList(query) {
return request({
url: '/base/quality-scrap-det/scrapMap',
method: 'get',
params: query,
})
}
export function getListByLineSection(query) {
return request({
url: '/base/quality-inspection-box-btn/detListByLineSection',
method: 'get',
params: query,
})
}
export function getUserList(query) {
return request({
2024-01-29 16:50:05 +08:00
url: 'base/quality-inspection-box-btn-auth/getUserList',
2024-01-29 15:55:16 +08:00
method: 'get',
params: query,
})
}
2024-01-29 16:50:05 +08:00
export function getPage(query) {
return request({
url: 'base/quality-inspection-box-btn-auth/page',
method: 'post',
data:query
})
}