张晓波
2023-10-18 c84b78391bbc6ff68ffb4a1e55ff9b603fa697dc
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/**
 * 设备管理
 */
 import axios from '../request';
 export default{
    /**
     * 生产采集设备
     *
     */
    // 查询设备列表信息
    searchProductDevice: params =>
        axios.post('/engineering/device/deviceList', params),
    // 添加设备信息
    insertProductDevice: params =>
        axios.post('/engineering/device/deviceInsert', params),
    // 修改设备信息
    updateProductDevice: params =>
        axios.post('/engineering/device/deviceUpdate', params),
    // 设备信息详情
    detailsProductDevice: params =>
        axios.get('/engineering/device/deviceInfo', {params}),
    // 删除设备信息
    deleteProductDevice: params =>
        axios.get('/engineering/device/deviceDel', {params}),
 
    /**
     * 视频监控
     */
    // 查询视频列表信息
    searchDeviceInfo: params =>
        axios.post('/materials/video/webVideoList', params),
    // 添加视频信息
    insertDeviceInfo: params =>
        axios.post('/engineering/video/videoInsert', params),
    // 修改视频信息
    updateDeviceInfo: params =>
        axios.post('/engineering/video/videoUpdate', params),
    // 视频信息详情
    detailsDeviceInfo: params =>
        axios.get('/engineering/video/videoInfo', {params}),
    // 删除视频信息
    deleteDeviceInfo: params =>
        axios.get('/engineering/video/videoDel', {params}),
    //返回视频播放地址
    backVideosUrlList: params =>
        axios.post('/materials/video/videoListPath', params),
 
    /**
     * 大型生产设备
     */
    // 查询大型生产设备列表信息
    searchBigDevice: params =>
        axios.post('/engineering/bigDevice/bigDeviceList', params),
    // 添加大型生产设备信息
    insertBigDevice: params =>
        axios.post('/engineering/bigDevice/bigDeviceInsert', params),
    // 修改大型生产设备信息
    updateBigDevice: params =>
        axios.post('/engineering/bigDevice/bigDeviceUpdate', params),
    // 大型生产设备信息详情
    detailsBigDevice: params =>
        axios.get('/engineering/bigDevice/bigDeviceInfo', {params}),
    // 删除大型生产设备信息
    deleteBigDevice: params =>
        axios.get('/engineering/bigDevice/bigDeviceDel', {params}),
    //大型生产设备下拉
    getAllBigDevice: params =>
        axios.get('/engineering/bigDevice/bigDevicePull', {params}),
    //导出数据
    exportBigDatas:params=>
        axios({
            method: 'post',
            url: '/engineering/bigDevice/bigDeviceExcel',
            responseType: 'blob',
            data: params
        }),
 
    /**
     * 设备检查
     */
 
    // 设备检查列表信息
    searchCheckDevice: params =>
        axios.post('/engineering/bigInspect/bigInspectList', params),
    // 添加设备检查信息
    insertCheckDevice: params =>
        axios.post('/engineering/bigInspect/bigInspectInsert', params),
    // 修改设备检查信息
    updateCheckDevice: params =>
        axios.post('/engineering/bigInspect/bigInspectUpdate', params),
    // 设备检查信息详情
    detailsCheckDevice: params =>
        axios.get('/engineering/bigInspect/bigInspectInfo', {params}),
    // 删除设备检查信息
    deleteCheckDevice: params =>
        axios.get('/engineering/bigInspect/bigInspectDel', {params}),
 
    /**
     * 设备保养
     */
 
    // 设备保养列表信息
    searchKeepDevice: params =>
        axios.post('/engineering/maintenance/maintenanceList', params),
    // 添加设备保养信息
    insertKeepDevice: params =>
        axios.post('/engineering/maintenance/maintenanceInsert', params),
    // 修改设备保养信息
    updateKeepDevice: params =>
        axios.post('/engineering/maintenance/maintenanceUpdate', params),
    // 设备保养详情
    detailsKeepDevice: params =>
        axios.get('/engineering/maintenance/maintenanceInfo', {params}),
    // 删除设备保养信息
    deleteKeepDevice: params =>
        axios.get('/engineering/maintenance/maintenanceDel', {params}),
 
    /**
     * 设备维修
     */
    // 设备维修列表信息
    searchServiceDevice: params =>
        axios.post('/engineering/overhaul/overhaulList', params),
    // 添加设备维修信息
    insertServiceDevice: params =>
        axios.post('/engineering/overhaul/overhaulInsert', params),
    // 修改设备维修信息
    updateServiceDevice: params =>
        axios.post('/engineering/overhaul/overhaulUpdate', params),
    // 设备维修详情
    detailsServiceDevice: params =>
        axios.get('/engineering/overhaul/overhaulInfo', {params}),
    // 删除设备维修信息
    deleteServiceDevice: params =>
        axios.get('/engineering/overhaul/overhaulDel', {params}),
 
    /**
     *  设备点检
    */
    // 查询设备点检列表信息
    searchSpotCheckList: (params) =>
        axios({
            method: 'post',
            url: '/m/checkDevice/findList',
            headers: {
                pageNum: params.pageNum,
                pageSize: params.pageSize
            },
            data: params
        }),
    // 添加设备点检信息
    insertSpotCheckInfo: (params) =>
        axios.post('m/checkDevice/addCheckDevice', params),
    // 修改设备点检信息
    updateSpotCheckInfo: (params) =>
    axios.post('m/checkDevice/addCheckDevice', params),
    //删除设备点检信息
    deleteSpotCheckInfo: (params) =>
        axios.post('/m/checkDevice/delete', params),
    // 获取点检详情
    getSpotCheckDetail: (params) =>
        axios.post('m/checkDevice/checkDeviceInfo', params),
    // 获取全部设备信息
    getAllDeviceData: () =>
        axios.post('/m/checkDevice/deviceList'),
 }