From b44b5aa1dda1d9196416cbf84e610cfd1f5b1c82 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 25 九月 2024 15:54:01 +0800
Subject: [PATCH] lll

---
 admin/src/views/platform/LogisticsRecord/waybill.vue |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/admin/src/views/platform/LogisticsRecord/waybill.vue b/admin/src/views/platform/LogisticsRecord/waybill.vue
index a86666b..2084078 100644
--- a/admin/src/views/platform/LogisticsRecord/waybill.vue
+++ b/admin/src/views/platform/LogisticsRecord/waybill.vue
@@ -49,7 +49,7 @@
     <Pagination @size-change="handleSizeChange" @current-change="getList" :pagination="pagination" />
     <!--  -->
     <!--  -->
-    <DriverDetail v-if="isShowDriver" ref="DriverDetailRef" />
+    <WaybillDetailRef v-if="isShowDetail" ref="WaybillDetailRef" />
   </div>
 </template>
 
@@ -58,7 +58,7 @@
 import QueryForm from '@/components/common/QueryForm'
 import { platformJobPage, platformJobExport, platformJobDel } from '@/api'
 import { statusMap } from '../config'
-import DriverDetail from "@/views/task/driverDetail"
+import WaybillDetailRef from "../components/WaybillDetail.vue"
 import GlobalWindow from '@/components/common/GlobalWindow'
 import UploadFaceImg from '@/components/common/UploadFaceImg'
 import { Message } from 'element-ui'
@@ -67,14 +67,14 @@
   components: {
     Pagination,
     QueryForm,
-    DriverDetail,
+    WaybillDetailRef,
     GlobalWindow,
     UploadFaceImg
   },
   data() {
     return {
       statusMap,
-      isShowDriver: false,
+      isShowDetail: false,
       exLoading: false,
       loading: false,
       pagination: {
@@ -198,12 +198,11 @@
       this.getList()
     },
     handleDetail(row) {
-      this.isShowDriver = true
+      this.isShowDetail = true
       this.$nextTick(() => {
-        this.$refs.DriverDetailRef.id = row.id
-        this.$refs.DriverDetailRef.type = 6
-        this.$refs.DriverDetailRef.getDetail()
-        this.$refs.DriverDetailRef.isShowModal = true
+        this.$refs.WaybillDetailRef.isShowModal = true
+        this.$refs.WaybillDetailRef.id = row.id
+        this.$refs.WaybillDetailRef.getDetail()
       })
     },
     handleSizeChange(capacity) {

--
Gitblit v1.9.3