flx:提交高处作业

This commit is contained in:
X_Rian 2024-08-16 18:23:35 +08:00
parent 4d30064a56
commit 37c167a5d6
4 changed files with 864 additions and 1250 deletions

View 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);

View File

@ -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