无人机管理后台前端(已迁走)
张含笑
2025-09-01 2ca94de8ede18ac07ccfd8dec7b6f6a707adde9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import request from '@/axios';
 
export const getList = (data,current,size) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/pageList?current='+current+"&size="+size,
    method: 'post',
    data,
  });
};
 
export const saveUpdateOrderLog = (data) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/saveUpdateOrderLog',
    method: 'post',
    data,
  });
};
 
// 获取工单详细信息
export const orderLogDetails = (id) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/details',
    method: 'get',
    params: { id }, // 使用工单 ID 查询
  });
};
// 撤回
export const orderLogRecall = (id) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/recall',
    method: 'get',
    params: { id }, // 使用工单 ID 查询
  });
};
 
// 驳回
export const orderLogReject = (id,remaker) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/reject',
    method: 'get',
    params: { id,remaker }, 
  });
};
// 通过
export const orderLogPass = (id) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/pass',
    method: 'get',
    params: { id }, 
  });
};
 
 
// 导出
export const orderLogExport = (data) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/export',
    method: 'post',
    data,
    responseType: 'blob',
  });
};
 
export const jobStatusNum = () => {
  return request({
    url: '/drone-device-core/wayline/orderLog/jobStatusNum',
    method: 'get'
  });
};
 
 
// 草稿转发布
export const userPublish = (id) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/userPublish',
    method: 'get',
    params: { id }, 
  });
};
//删除
export const deleteOrderLog = (id) => {
  return request({
    url: '/drone-device-core/wayline/orderLog/deleteOrderLog',
    method: 'get',
    params: { id }, 
  });
};