叶松
2023-11-08 bac982d78843150c2637b7334c32b583350d1e85
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
/**
 * 劳务人员模块接口
 */
 
import axios from '../http.js';
import basrUrl from '../http.js'
 
export default {
    /**
     * 入厂审核模块 
    */
 
    // 获取入厂审核列表
    getPlatUserApplyList: (params) =>
        axios.post('/staff/platUser/applyList', {
            realName: params.realName,
            header: {
                "content-type":'application/json',
                pageNum: params.pageNum,
                pageSize: params.pageSize
            }
        }),
    // 获取审核详情信息
    getPlatUserapplyDetail: (params) =>
        axios.post('/staff/platUser/applyDetail', params),
    // 审核信息
    checkPlatUserInfo: (params) =>
        axios.post('/staff/platUser/apply', params),
        
    /**
     * 生产监控模块
     */
    //查询项目尺寸
    searchProjectSize: (params) =>
        axios.post('/engineering/project/projectSizeList', {
            header: {
                "content-type":'application/json'
            },
            ...params
        }),
    //查询项目配筋和块号(数据) 
        searchProjectBears: params =>
            axios.get('/engineering/project/projectProList?proId='+params),
    //查询配筋块号数据列表(数据)
        searchRing: params =>
            axios.post('/materials/steelProduce/appProduceLoopingData', {
                header: {
                    "content-type":'application/json'
                },
                ...params
            }),    
    //管片成环统计数据
        searchRingNumbers: params =>
            axios.post('/materials/steelProduce/appProduceLooping', {
                header: {
                    "content-type":'application/json'
                },
                ...params
            }),    
            
    /*
    *蒸养监控模块
    */
    //查询蒸养列表
    searchSteamLists: params =>
        axios.post('/engineering/device/steamList', {
            header: {
                "content-type":'application/json'
            },
            ...params
        }),    
    
    /**
     * 安全考核模块
     */
    // 获取考核信息列表
    getSafetyCheckList: (params) =>
        axios.post('/secure/exam/miniList', {
            header: {
                "content-type":'application/json',
                pageNum: params.pageNum,
                pageSize: 100000
            }    
        }),
    // 进入考核获取考题
    getCheckTopicInfo: (params) =>
        axios.post('/secure/exam/goExam', params),
    // 下一题
    nextCommitAnswer: (params) =>
        axios.post('/secure/exam/commitAnswer', params),
    /**
     * 安全培训模块
     */
    //查询列表
    getAllTrainingList: (params) =>
        axios.post('/secure/secureTrain/secureTrainList', params),
    //培训详情
    getTrainingInfo: (params) =>
        axios.post('/secure/secureTrain/secureTrainInfo', params),
    //培训记录详情
    getAllUsersList: (params) =>
        axios.post('/secure/secureTrain/secureTrainRecord', params),
        
    /**
     * 安全检查模块
     */
    //安全检查添加
    insertCheck: (params) =>
        axios.post('/secure/inspect/inspectInsert', params),
    //安全检查列表
    searchCheckLists: (params) =>
        axios.post('/secure/inspect/inspectList', params),
    //安全检查详情
    detailsCheckSafe: (params) =>
        axios.post('/secure/inspect/inspectInfo', params),
        
    /**
     * 安全资料模块
     */
    //安全资料列表
    searchDatumLists: (params) =>
        axios.post('/secure/material/materialList', params),
    //获取安全资料类型
    getDatnmSafeType: (params) =>
        axios.post('/engineering/dict/dictList', params),
    //安全资料详情
    detailsDatumInfo: (params) =>
        axios.post('/secure/material/materialInfo', params),
        
    /**
     * 整改通知模块
     */
    //整改通知列表
    searchNoticeLists: (params) =>
        axios.post('/secure/inspect/rectificationNoticeList', params),
        
    /**
     * 奖惩处理模块
     */
    //奖惩记录添加
    punishRecordAdd: (params) =>
        axios.post('/secure/encourage/encourageRecordInsert', params),
    //奖惩记录列表
    punishRecordLists: (params) =>
        axios.post('/secure/encourage/encourageRecordList', params),
    //获取所有奖惩事项
    punishMatterLists: (params) =>
        axios.post('/secure/encourage/encourageList', params),
        
    /**
     * 岗位职责模块
     */
    //岗位职责列表
    workPositonLists: (params) =>
        axios.post('/staff/position/findList', params),
        
    /**
     * 钢筋管理模块
     */
    getRebarLists: (params) =>
        axios.post('/materials/steel/steelList', params),
    
    /**
     * 备品备件模块
     */
    getSpareLists: (params) =>
        axios.post('/materials/spare/findList', {
            header: {
                "content-type":'application/json',
                pageNum: params.pageNum,
                pageSize: params.pageSize
            }
        }),
        
    /**
     * 辅材管理模块
     */
    getAxiliaryLists: (params) =>
        axios.post('/materials/assist/assistList', params),
        
    /**
     * 大型生产设备模块
     */
    getBigDevicesLists: (params) =>
        axios.post('/engineering/bigDevice/bigDeviceList', params),
    //获取二维码
    getQRImages: (params) =>
        axios.get('/materials/steelPrint/test?num='+params),
        
    /**
     * 检查设备模块
     */
    getCheckDeviceLists: (params) =>
        axios.post('/engineering/bigInspect/bigInspectList', params),
        
    /**
     * 保养设备模块
     */
    getKeepDeviceLists: (params) =>
        axios.post('/engineering/maintenance/maintenanceList', params),
        
    /**
     * 维修设备模块
     */
    getServeDeviceLists: (params) =>
        axios.post('/engineering/overhaul/overhaulList', params),
        
    /**
     * 监控视频模块
     */
    getMonitotLists: (params) =>
        axios.post('/materials/video/webVideoList',params),
    //返回视频地址
    backVideosUrlList: params =>
        axios.post('/materials/video/videoListPathWX', {
            header: {
                "content-type":'application/x-www-form-urlencoded'
            },
            ...params
        }),
    
        
    /**
     * 区域负责人模块
     */
    getAreaUserLists: (params) =>
        axios.post('/staff/area/findList', params),
        
    /**
     * 员工档案模块
     */
    getStaffLists: (params) =>
        axios.post('/staff/platUser/findList',{
            realName:params.realName,
            userType:2,
            header: {
                "content-type":'application/json',
                pageNum: params.pageNum,
                pageSize: params.pageSize
            }
        }),
    //人员详情
    userSelfInfo: (params) =>
        axios.post('/secure/encourage/platUserPlatInfo', params),
        
    /**
     * 值班管理模块
     */
    getDutyLists: (params) =>
        axios.post('/staff/duty/findList',{
            dutyDate:params.dutyDate,
            header: {
                "content-type":'application/json',
                pageNum: params.pageNum,
                pageSize: params.pageSize
            }
        }),
        
    /*
    * 宿舍管理模块
    */
   //下拉框
    getRoomPulls: (params) =>
        axios.post('/engineering/room/pulldown', params),
    //获取宿舍数据列表
    getDormLists: (params) =>
        axios.post('/staff/dorm/findList', params),
    //获取宿舍人头
    getDormNumsLists: (params) =>
        axios.post('/staff/dorm/findUserList', params),
        
    /*
    *隐患举报模块
    */
    //查询隐患列表
    searchHiddenLists: (params) =>
        axios.post('/secure/hiddendanger/selectPageList', params),
    //添加隐患举报
    addHiddenInfo: (params) =>
        axios.post('/secure/hiddendanger/insert', params),
    //修改隐患举报
    updateHiddenInfo: (params) =>
        axios.post('/secure/hiddendanger/update', params),
    //删除隐患举报
    deleteHiddenInfo: (params) =>
        axios.get('/secure/hiddendanger/delete?id='+params),
    //隐患举报详情
    detailsHiddenInfo: (params) =>
        axios.get('/secure/hiddendanger/selectInfo?id='+params),
}