展品维保小程序前端代码接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
941 B

import http from "@/api/http";
export default {
// 查看展品信息列表
async queryShowpieceList(data) {
return http({
url: '/showpiece/queryShowpieceList',
method: 'GET',
data
})
},
// 查看维修记录列表
async queryRepairList(data) {
return http({
url: '/showpiece/queryRepairList',
method: 'GET',
data
})
},
// 查看保养记录
async queryMaintenanceList(data) {
return http({
url: '/showpiece/queryMaintenanceList',
method: 'GET',
data
})
},
// 保养-新增保养记录
async addMaintenance(data) {
return http({
url: '/showpiece/addMaintenance',
method: 'POST',
data,
needToken: true
})
},
// 报修- 查看报修单列表
async queryMalfunctionList(data) {
return http({
url: '/showpiece/queryMalfunctionList',
method: 'GET',
data
})
},
// chakan
}