From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

---
 admin/src/views/task/visSubDetail.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/admin/src/views/task/visSubDetail.vue b/admin/src/views/task/visSubDetail.vue
index ce0413c..b52369b 100644
--- a/admin/src/views/task/visSubDetail.vue
+++ b/admin/src/views/task/visSubDetail.vue
@@ -1,5 +1,5 @@
 <template>
-  <GlobalWindow :title="title" :visible.sync="isShowModal" @confirm="confirm">
+  <GlobalWindow :title="title" :visible.sync="isShowModal" @close="close" @confirm="confirm">
     <div class="modal_wrap">
       <div class="modal_content">
         <div class="header">
@@ -37,7 +37,7 @@
               <div class="value">{{ info.carNos }}</div>
             </div>
             <div class="item">
-              <div class="label">鏂藉伐浜哄憳</div>
+              <div class="label">娑夊強鏂藉伐浣滀笟</div>
               <div class="value">{{ info.type == "0" ? "鍚�" : "鏄�" }}</div>
             </div>
             <div class="item">
@@ -78,7 +78,7 @@
             <el-table-column label="鍏徃鍚嶇О" prop="companyName" min-width="120" />
             <el-table-column label="浜鸿劯鐓х墖" prop="" min-width="80">
               <template slot-scope="{ row }">
-                <el-image :src="row.prefix + row.faceImg" :preview-src-list="[row.prefix + row.faceImg]">
+                <el-image v-if="row.prefix && row.faceImg" :src="row.prefix + row.faceImg" :preview-src-list="[row.prefix + row.faceImg]">
                 </el-image>
               </template>
             </el-table-column>
@@ -154,7 +154,7 @@
         info.approveDateVO.canBeApproved != null &&
         info.approveDateVO.canBeApproved == 1
       ">鎷掔粷</el-button>
-      <el-button @click="isShowModal = false">杩斿洖</el-button>
+      <el-button @click="close">杩斿洖</el-button>
     </template>
     <!--  鍚屾剰/鎷掔粷 -->
     <el-dialog append-to-body :title="param.status == 2 ? '鍚屾剰' : '鎷掔粷'" :visible.sync="isShowAppr" width="480px">
@@ -260,6 +260,8 @@
                 this.subLoading = false
                 this.$tip.apiSuccess('澶勭悊鎴愬姛')
                 this.getDetail()
+                this.$emit('success')
+                this.$emit('close')
                 this.isShowAppr = false
               })
               .finally(() => {
@@ -267,6 +269,10 @@
               })
           })
       })
+    },
+    close(){
+      this.isShowModal = false
+      this.$emit('close')
     },
     getDetail() {
       const { id, type } = this
@@ -510,7 +516,7 @@
           color: #888888;
 
           .status {
-            color: #00ba67;
+            color: $primaryColor;
           }
         }
 

--
Gitblit v1.9.3