| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 | import request from "@/utils/request";// 查询【请填写功能名称】列表export function list(query) {  return request({    url: "/core/resumption/protection/page",    method: "get",    params: query,  });}// 查询【请填写功能名称】详细export function get(id) {  return request({    url: "/core/resumption/protection/" + id,    method: "get",  });}// 修改【请填写功能名称】export function update(data) {  return request({    url: "/core/resumption/protection/edit",    method: "post",    data: data,    showLoading: true,  });}// 删除【请填写功能名称】export function del(id) {  return request({    url: "/core/resumption/protection/" + id,    method: "delete",  });}// 更新状态export function updateStatus(id,status) {    return request({      url: `/core/resumption/protection/updatestatus/${id}/${status}`,      method: "post",    });  }// 更新状态export function history(query) {  // query.startTime=new Date().toLocaleString()  // delete query.updateTime;  return request({    url: `/core/resumption/protection/log/page`,    method: "get",    params:query  });}//布撤防控制export function subSystemControl(data) {  return request({    url: `/core/resumption/protection/subSystemControl`,    method: "post",    data: data  });}export function updateSubSystemInBook(id,inBook) {  return request({    url: `/core/resumption/protection/inBook/${id}/${inBook}`,    method: "put",  });}
 |