艺术家
2025-06-11 4b2e902503ac1fabde7340ca26a1adbc0018d118
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import http from "../http";
//数据
export const ShowMaintence = (data) => http.post(`/api/Maintenance/ShowMaintence`, data);
 
// 获取已经被允许的数据
export const PersonnelMonitoring = (data) => http.post(`/api/Maintenance/PersonnelMonitoring`, data);
//允许数据
export const RunOperation = (id, ispossible) => http.post(`/api/Maintenance/RunOperation?id=${id}&ispossible=${ispossible}`);
//改变状态
export const ChangeTasState = (data) => http.post("/api/Maintenance/ChangeTasState", data);
//获取开始检修人员
export const YShowStartTake = () => http.post(`/api/Maintenance/YShowStartTake`);
// 强制下线
export const ForceOffline = (data) => http.post(`/api/Maintenance/RunOperation?id=${data.id}&account=${data.account}`);