From 4efb966091377d38b97c6320ca7acecdf0d8db79 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Thu, 18 Jun 2026 13:44:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(inspection):=20=E4=BC=98=E5=8C=96=E9=AA=8C?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7=E5=88=97=E8=A1=A8=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=B9=B6=E6=96=B0=E5=A2=9E=E6=88=91=E7=9A=84=E9=AA=8C=E8=B4=A7?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将审核链接从el-link替换为自定义class的a标签以统一样式 - 更新已审核状态显示逻辑,直接展示当前状态值 - 新增getMyInspectionList API接口用于查询我的验货清单 - 在检验申请单表格配置中添加计划验货日期列设置 - 移除登录页面的公司logo图片展示 - 优化表格列配置的数据结构和排序逻辑 --- src/api/inspection/inspectionRequestHeader.js | 3 + src/views/common/login.vue | 3 - .../inspection/inspectionRequestAudit.vue | 7 +- .../inspection/inspectionRequestList.vue | 37 ++-- .../modules/inspection/myInspectionList.vue | 161 ++++++++++++++++++ 5 files changed, 186 insertions(+), 25 deletions(-) create mode 100644 src/views/modules/inspection/myInspectionList.vue diff --git a/src/api/inspection/inspectionRequestHeader.js b/src/api/inspection/inspectionRequestHeader.js index 6b2468e..5fb1861 100644 --- a/src/api/inspection/inspectionRequestHeader.js +++ b/src/api/inspection/inspectionRequestHeader.js @@ -51,3 +51,6 @@ export const getScheduleView = (qcOperator) => createAPI(`/inspection/scheduleVi // 修改验货申请(仅允许修改建议验货日期、验货地址和联系人) export const updateInspectionRequest = (data) => createAPI(`/inspection/update`, 'post', data) + +// 查询我的验货清单 +export const getMyInspectionList = (data) => createAPI(`/inspection/getMyInspectionList`, 'post', data) diff --git a/src/views/common/login.vue b/src/views/common/login.vue index 42613cb..99f936d 100644 --- a/src/views/common/login.vue +++ b/src/views/common/login.vue @@ -4,9 +4,6 @@
-
- -
diff --git a/src/views/modules/inspection/inspectionRequestAudit.vue b/src/views/modules/inspection/inspectionRequestAudit.vue index 2585478..c4106e2 100644 --- a/src/views/modules/inspection/inspectionRequestAudit.vue +++ b/src/views/modules/inspection/inspectionRequestAudit.vue @@ -72,11 +72,10 @@ diff --git a/src/views/modules/inspection/inspectionRequestList.vue b/src/views/modules/inspection/inspectionRequestList.vue index c6ce015..82b90ea 100644 --- a/src/views/modules/inspection/inspectionRequestList.vue +++ b/src/views/modules/inspection/inspectionRequestList.vue @@ -463,6 +463,24 @@ export default { status: true, fixed: false }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: 'InspectionTable1PlanStartDate', + tableId: 'InspectionTable1', + tableName: '检验申请单', + columnProp: 'planStartDate', + headerAlign: 'center', + align: 'center', + columnLabel: '计划验货日期', + columnWidth: '120', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, { userId: this.$store.state.user.name, functionId: this.functionId, @@ -607,24 +625,7 @@ export default { status: true, fixed: false }, - { - userId: this.$store.state.user.name, - functionId: this.functionId, - serialNumber: 'InspectionTable1PlanStartDate', - tableId: 'InspectionTable1', - tableName: '检验申请单', - columnProp: 'planStartDate', - headerAlign: 'center', - align: 'center', - columnLabel: '计划验货日期', - columnWidth: '120', - columnHidden: false, - columnImage: false, - columnSortable: false, - sortLv: 0, - status: true, - fixed: false - }, + { userId: this.$store.state.user.name, functionId: this.functionId, diff --git a/src/views/modules/inspection/myInspectionList.vue b/src/views/modules/inspection/myInspectionList.vue new file mode 100644 index 0000000..0cdc14e --- /dev/null +++ b/src/views/modules/inspection/myInspectionList.vue @@ -0,0 +1,161 @@ + + + + +