/* * @Author: zwq * @Date: 2021-01-29 09:39:04 * @LastEditors: zwq * @LastEditTime: 2021-05-28 09:44:01 * @Description: */ import request from '@/utils/request' export function equipmentDetectAreaAttrList(data) { // 获取设备关联列表 return request({ url: '/basic/detect-equ-area-re/page', method: 'post', data }) } export function equipmentDetectAreaAttrDetail(id) { // 获取设备关联单条数据 return request({ url: '/basic/detect-equ-area-re/get', method: 'post', data: { id } }) } export function equipmentDetectAreaAttrUpdate(data) { // 更新设备关联单条数据 return request({ url: '/basic/detect-equ-area-re/update', method: 'post', data }) } export function equipmentDetectAreaAttrAdd(data) { // 新增设备关联单条数据 return request({ url: '/basic/detect-equ-area-re/add', method: 'post', data }) } export function equipmentDetectAreaAttrCode() { // 获取设备关联code return request({ url: '/basic/detect-equ-area-re/get-code', method: 'post' }) } export function equipmentDetectAreaAttrDelete(id) { // 删除设备关联单条数据 return request({ url: '/basic/detect-equ-area-re/delete', method: 'post', data: { id } }) }