From 5999aeff12f805d6f9ba4549ea261c006723cb6b Mon Sep 17 00:00:00 2001
From: hly <2783385703@qq.com>
Date: Wed, 13 Aug 2025 15:48:46 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E8=B4=A8=E6=A3=80=E6=8A=A5=E5=91=8A):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B4=A8=E6=A3=80=E8=AF=A6=E6=83=85=E9=A1=B5?=
=?UTF-8?q?=E5=9B=BE=E7=89=87=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98=E5=B9=B6?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
feat(订单详情): 添加isSelf参数控制质检图片查看权限
style: 统一格式化代码缩进和空格
refactor(质检报告): 使用全局配置图片作为默认质检图片
---
config.js | 2 +-
pages/manager/inspect-result.vue | 4 +-
pages/manager/order-detail.vue | 2 +-
pages/subcomponent/inspection-detail.vue | 129 +++++++++++++++++++-----
pages/subcomponent/inspection-report.vue | 164 ++++++++++++++++++++-----------
5 files changed, 214 insertions(+), 87 deletions(-)
diff --git a/config.js b/config.js
index 61604a8..a7176df 100644
--- a/config.js
+++ b/config.js
@@ -1,5 +1,5 @@
// config.js
-const type = 'prod'
+const type = 'local'
const config = {
local: {
diff --git a/pages/manager/inspect-result.vue b/pages/manager/inspect-result.vue
index 8ba81f2..ab89549 100644
--- a/pages/manager/inspect-result.vue
+++ b/pages/manager/inspect-result.vue
@@ -98,8 +98,8 @@
订单编号
{{ order?.ordeNo }} 复制
+ @click="$utils.copyText(order?.ordeNo)"
+ >{{ order?.ordeNo }} 复制
取件时间
diff --git a/pages/manager/order-detail.vue b/pages/manager/order-detail.vue
index 2417967..67f0bba 100644
--- a/pages/manager/order-detail.vue
+++ b/pages/manager/order-detail.vue
@@ -343,7 +343,7 @@ export default {
goToInspection() {
if (!this.order.id) return;
uni.navigateTo({
- url: `/pages/subcomponent/inspection-report?orderId=${this.order.id}`
+ url: `/pages/subcomponent/inspection-report?orderId=${this.order.id}&isSelf=true`
})
},
// 判断是否显示单价格(根据estimatedPrice格式判断)
diff --git a/pages/subcomponent/inspection-detail.vue b/pages/subcomponent/inspection-detail.vue
index 639f42a..9f62716 100644
--- a/pages/subcomponent/inspection-detail.vue
+++ b/pages/subcomponent/inspection-detail.vue
@@ -1,7 +1,7 @@
-
+
@@ -11,7 +11,7 @@
-
+