From b32cda3e853f8f2d2102a98518284f04177064cb Mon Sep 17 00:00:00 2001 From: huhao Date: Thu, 20 Aug 2026 17:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/hj.js | 9 +- pages/todo/list.vue | 4 +- scanpages/hj/weld_joint_search.vue | 192 ++++++++++++++++++++--------- utils/constant.js | 3 +- utils/request.js | 7 +- 5 files changed, 139 insertions(+), 76 deletions(-) diff --git a/api/hj.js b/api/hj.js index 3bcea7b..9fa5dbd 100644 --- a/api/hj.js +++ b/api/hj.js @@ -17,7 +17,7 @@ export const reqGetWeldJointByWeldJointId = (id) => get(`PipeJoint/getWeldJointB /** * 搜索筛选焊口(下料/组对等中间页) - * @param {Object} params - { projectId, keyword?, pageIndex?, pageSize? } + * @param {Object} params - { projectId, pipelineCode?, weldJointCode?, pageIndex?, pageSize? } */ export const reqPipeJointWeldedJoints = (params = {}) => request('PipeJoint/GetWeldedJoints', { method: 'GET', @@ -246,13 +246,6 @@ 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 diff --git a/pages/todo/list.vue b/pages/todo/list.vue index fc0060f..057d0eb 100644 --- a/pages/todo/list.vue +++ b/pages/todo/list.vue @@ -90,7 +90,7 @@ import { ref, onMounted } from 'vue' import { onShow, onReachBottom } from '@dcloudio/uni-app' import { storeToRefs } from 'pinia' import { useUserStore } from '@/store' - +import { reqToDoItemByProjectIdUserId } from '@/api/base' const userStore = useUserStore() const { userInfo, currentProject } = storeToRefs(userStore) @@ -140,7 +140,7 @@ async function onRefresh() { } // ===== 模拟数据(开发调试用,上线前改为 false) ===== -const USE_MOCK = true +const USE_MOCK = false const mockData = [ { diff --git a/scanpages/hj/weld_joint_search.vue b/scanpages/hj/weld_joint_search.vue index f86d616..56b96c3 100644 --- a/scanpages/hj/weld_joint_search.vue +++ b/scanpages/hj/weld_joint_search.vue @@ -1,31 +1,50 @@