From b3fedd4221b807a07058be9d5d5d8ba8998adbcb Mon Sep 17 00:00:00 2001
From: Bang Hu <hu_bang@hotmail.com>
Date: 星期四, 11 九月 2025 21:35:31 +0800
Subject: [PATCH] Bug修改代码提交

---
 src/views/productManage/productOrderStatusDialog/index.vue |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/views/productManage/productOrderStatusDialog/index.vue b/src/views/productManage/productOrderStatusDialog/index.vue
index eecbacf..04b9e12 100644
--- a/src/views/productManage/productOrderStatusDialog/index.vue
+++ b/src/views/productManage/productOrderStatusDialog/index.vue
@@ -1,7 +1,7 @@
 <template>
   <el-dialog
     v-model="visible"
-    title="浜у搧璁㈠崟"
+    title="浜у搧璁㈣喘"
     width="900px"
     destroy-on-close
     class="order-status-dialog"
@@ -30,19 +30,22 @@
           <table class="order-info-table">
             <tbody>
               <tr>
-                <td class="label">璁㈠崟缂栧彿锛�</td>
-                <td class="value">{{ order.id }}</td>
-                <td class="label">鐢宠鏃堕棿锛�</td>
+                <td class="label">璁㈠崟缂栧彿</td>
+                <td class="value">
+                  {{ order.id }}
+                  <el-link type="primary" @click="goBuyerCenter" style="margin-left: 8px">鍓嶅線涔板涓績</el-link>
+                </td>
+                <td class="label">鐢宠鏃堕棿</td>
                 <td class="value">{{ order.applyTime }}</td>
               </tr>
               <tr>
-                <td class="label">浜у搧鍚嶇О锛�</td>
+                <td class="label">浜у搧鍚嶇О</td>
                 <td class="value">{{ order.productName }}</td>
-                <td class="label">鎻愪緵鑰咃細</td>
+                <td class="label">鎻愪緵鑰�</td>
                 <td class="value">{{ order.provider }}</td>
               </tr>
               <tr>
-                <td class="label">璁㈠崟鐘舵�侊細</td>
+                <td class="label">璁㈠崟鐘舵��</td>
                 <td class="value">{{ statusText(order.status) }}</td>
                 <td></td>
                 <td class="value link">
@@ -65,6 +68,7 @@
 
 <script setup lang="ts">
 import { ref, computed, watch } from 'vue'
+import { useRouter } from 'vue-router'
 
 interface Props {
   modelValue: boolean
@@ -92,6 +96,7 @@
 
 const loading = ref(false)
 const order = ref<OrderDetail | null>(null)
+const router = useRouter()
 
 // 妯℃嫙璁㈠崟鏁版嵁
 const mockOrders: Record<string, OrderDetail> = {
@@ -158,6 +163,10 @@
   // 浠呮紨绀�
   window.alert('杩欓噷鍙烦杞埌璁㈠崟璇︽儏椤碉紙绀轰緥锛�')
 }
+
+const goBuyerCenter = () => {
+  router.push({ name: 'tradeBuyerCenter', query: { t: String(Date.now()) } })
+}
 </script>
 
 <style scoped lang="scss">

--
Gitblit v1.8.0