新增焊缝外观检测
This commit is contained in:
+10
@@ -31,6 +31,16 @@ export const reqToDoItemByProjectIdUserId = (projectId, personId)=>get(`ToDoItem
|
||||
*/
|
||||
export const reqGetGrooveTypeList = ()=>get(`BaseInfo/GetGrooveType`)
|
||||
|
||||
/**
|
||||
* 获取焊缝类型列表
|
||||
*/
|
||||
export const reqGetWeldTypeList = () => get(`BaseInfo/GetWeldType`)
|
||||
|
||||
/**
|
||||
* 获取焊接方法列表
|
||||
*/
|
||||
export const reqGetWeldingMethodList = () => get(`BaseInfo/GetWeldingMethod`)
|
||||
|
||||
/**
|
||||
* 附件上传
|
||||
* @param {string} filePath - 本地文件路径
|
||||
|
||||
@@ -15,7 +15,8 @@ export const reqHJIndexData = (projectId) => get(`HJGLIndex/GetJGLIndexItem?proj
|
||||
export const reqGetWeldJointByWeldJointId = (id) => get(`PipeJoint/getWeldJointByWeldJointId?WeldJointId=${id}`)
|
||||
|
||||
/**
|
||||
* 焊接日报填报
|
||||
* 焊接日报填报(提交时传 WeldTypeId / WeldingMethodId,后端同步更新焊口对应字段)
|
||||
* @param {Object} data - { WeldJointId, Personid, time, weldingLocation, welderType, WeldTypeId, WeldingMethodId, PreWeldAttachUrl, PostWeldAttachUrl }
|
||||
*/
|
||||
export const reqSaveWeldingDailyByWeldJointId = (data={}) => post(
|
||||
`PreWeldingDaily/SaveWeldingDailyByWeldJointId`,data
|
||||
@@ -157,6 +158,12 @@ export const reqPreWeldJointByWeldJointId = (WeldJointId)=>get(`PreWeldInspectio
|
||||
*/
|
||||
export const reqCuttingCheckByWeldJointId = (weldJointId)=>get(`/PreWeldCuttingCheck/GetRecordsByWeldJointId?weldJointId=${weldJointId}`)
|
||||
|
||||
/**
|
||||
* 获取专项审核办理人列表
|
||||
* @param {String} projectId
|
||||
*/
|
||||
export const reqGetSpecialReviewers = (projectId) => get(`/PreWeldCuttingCheck/GetSpecialReviewers`, { projectId })
|
||||
|
||||
/**
|
||||
* 保存下料检查记录
|
||||
* @param {Object} data
|
||||
@@ -221,3 +228,22 @@ export const reqAuditWeldingDaily = (data = {}) => post(`/PreWeldingDaily/AuditP
|
||||
*/
|
||||
export const reqDeleteWeldingDaily = (data = {}) => post(`/PreWeldingDaily/DeletePendingWeldingDailyTempDetails`, data)
|
||||
|
||||
// ========================= 焊缝外观检测 ====================================
|
||||
/**
|
||||
* 分页查询当前项目中已焊接的焊口
|
||||
* @param {Object} params - { projectId, pipelineCode?, weldJointCode?, pageIndex?, pageSize? }
|
||||
*/
|
||||
export const reqWeldedJoints = (params = {}) => get('/WeldAppearanceCheck/GetWeldedJoints', params)
|
||||
|
||||
/**
|
||||
* 查询焊口基础信息及历史外观检测记录
|
||||
* @param {String} weldJointId 焊口ID
|
||||
*/
|
||||
export const reqWeldAppearanceJointDetail = (weldJointId) => get('/WeldAppearanceCheck/GetJointDetail', { weldJointId })
|
||||
|
||||
/**
|
||||
* 保存焊缝外观检测记录
|
||||
* @param {Object} data - { AppearanceCheckId?, ProjectId, WeldJointId, IsQualified, CheckPerson, CheckTime, Remark, AttachUrl, CreateUser }
|
||||
*/
|
||||
export const reqSaveWeldAppearanceCheck = (data = {}) => post('/WeldAppearanceCheck/SaveRecord', data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user