From fd58747d3c425748f3218eb79b142b0ab4af28b8 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 11 七月 2024 10:34:50 +0800
Subject: [PATCH] feat:缺考展示

---
 src/views/answer/info.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/answer/info.vue b/src/views/answer/info.vue
index 23ba2dc..9ee90b1 100644
--- a/src/views/answer/info.vue
+++ b/src/views/answer/info.vue
@@ -34,7 +34,13 @@
               </template>
             </el-table-column>
             <el-table-column prop="doTime" label="鑰楁椂" width="80px" align="center" />
-            <el-table-column prop="submitTime" label="鎻愪氦鏃堕棿" width="240px" align="center" />
+            <el-table-column prop="submitTime" label="鎻愪氦鏃堕棿" width="240px" align="center">
+              <template slot-scope="{row}">
+                <span :style="row.status === 0 ? '' : 'color: red'">
+                  {{ row.status === 0 ? row.submitTime : '缂鸿��' }}
+                </span>
+              </template>
+            </el-table-column>
             <el-table-column label="鎿嶄綔" width="120px" align="center">
               <template slot-scope="{row}">
                 <el-button size="mini" @click="view(row)">璇︽儏</el-button>

--
Gitblit v1.8.0