/* * @Author: zhp * @Date: 2023-12-04 14:10:37 * @LastEditTime: 2024-01-29 16:48:40 * @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({ url: '/base/quality-inspection-box-btn/updateBatch', method: 'put', data: data }) } // 删除安灯按钮16键对应 export function deleteQualityInspectionBoxBtn(id) { return request({ url: '/base/quality-inspection-box-btn/delete?id=' + id, method: 'delete' }) } // 获得安灯按钮16键对应 export function getQualityInspectionBoxBtn(id) { return request({ url: '/base/quality-inspection-box-btn/get?id=' + id, 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({ url: 'base/quality-inspection-box-btn-auth/getUserList', method: 'get', params: query, }) } export function getPage(query) { return request({ url: 'base/quality-inspection-box-btn-auth/page', method: 'post', data:query }) }