/* * @Author: Do not edit * @Date: 2023-11-08 15:56:52 * @LastEditTime: 2023-11-10 09:04:50 * @LastEditors: DY * @Description: */ import request from '@/utils/request' // 获得设备巡检设置 export function getEqCheck(id) { return request({ url: '/base/equipment-check-config/get?id=' + id, method: 'get' }) } // 创建巡检项目 export function createCheckDet(data) { return request({ url: '/base/equipment-check-config-det/create', method: 'post', data: data }) } // 更新巡检项目 export function updateCheckDet(data) { return request({ url: '/base/equipment-check-config-det/update', method: 'put', data: data }) } // 删除巡检项目 export function deleteCheckDet(id) { return request({ url: '/base/equipment-check-config-det/delete?id=' + id, method: 'delete' }) } //巡检项目 export function getCheckDet(id) { return request({ url: '/base/equipment-check-config-det/get?id=' + id, method: 'get' }) } // 获得巡检项目分页 export function getCheckDetPage(query) { return request({ url: '/base/equipment-check-config-det/page', method: 'get', params: query }) } // 获得x巡检所有列表 export function getcheckList(query) { return request({ url: '/base/equipment-check/list', method: 'get', params: query }) }