flx:提交高处作业
This commit is contained in:
parent
4d30064a56
commit
37c167a5d6
14
src/assets/js/api/operationManage.js
Normal file
14
src/assets/js/api/operationManage.js
Normal file
@ -0,0 +1,14 @@
|
||||
import {get, post } from '../http'
|
||||
|
||||
// 作业管理
|
||||
// 高处作业
|
||||
// 分页列表查询高处作业许可证信息
|
||||
export const getHighPermitPageApi = data => get('xmgl/heightPermit/page', data);
|
||||
// 通过id查询高处作业许可证信息
|
||||
export const getHighPermitByIdApi = data => get('xmgl/heightPermit/queryById', data);
|
||||
// 添加高处作业许可证信息
|
||||
export const addHighPermitApi = data => post('xmgl/heightPermit/add', data);
|
||||
// 编辑高处作业许可证信息
|
||||
export const editHighPermitApi = data => post('xmgl/heightPermit/edit', data);
|
||||
// 删除高处作业许可证信息
|
||||
export const deleteHighPermitApi = data => post('xmgl/heightPermit/delete', data);
|
||||
@ -426,8 +426,8 @@ export default {
|
||||
this.pointList = res.result.records.map(item => {
|
||||
return {
|
||||
...item,
|
||||
firstExampleFile: isJSON(item.firstExampleFile) ? JSON.parse(item.firstExampleFile) : [],
|
||||
firstExampleVideo: isJSON(item.firstExampleVideo) ? JSON.parse(item.firstExampleVideo) : [],
|
||||
firstExampleFile: isJSON(item.firstExampleFile) && item.firstExampleFile != null ? JSON.parse(item.firstExampleFile) : [],
|
||||
firstExampleVideo: isJSON(item.firstExampleVideo) && item.firstExampleVideo != null ? JSON.parse(item.firstExampleVideo) : [],
|
||||
}
|
||||
});
|
||||
this.total = res.result.total;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user