import { get, post } from '@/utils/request.js' /** * 获取焊接首页数据 */ export const reqHJIndexData = (projectId) => get(`HJGLIndex/GetJGLIndexItem?projectId=${projectId}`) /** * 获取点口管理列表 */ export const reqGetNotEndPointBatch = (unitWorkId, projectId) => get( `NDETrust/getNotEndPointBatch?unitWorkId=${unitWorkId}&projectId=${projectId}`) /** * 获取点口详情列表 */ export const reqGetPointBatchDetail = (id) => get(`NDETrust/getPointBatchDetail?pointBatchId=${id}`) /** * 获取焊接日报详情 */ export const reqGetWeldJointByWeldJointId = (id) => get(`PipeJoint/getWeldJointByWeldJointId?WeldJointId=${id}`) /** * 焊接日报填报 */ export const reqSaveWeldingDailyByWeldJointId = (data) => get( `PreWeldingDaily/SaveWeldingDailyByWeldJointId?WeldJointId=${data.WeldJointId||''}&Personid=${data.Personid||''}&time=${data.time||''}&weldingLocation=${data.weldingLocation||''}&welderType=${data.welderType||''}` ) /** * 点口 */ export const reqGetManualPointSave = (weldJointId)=>get(`NDETrust/getManualPointSave?weldJointId=${weldJointId}`)