From 8eef54d67522f078266a54f0c0596b67c012e6d6 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期二, 29 八月 2023 14:34:05 +0800 Subject: [PATCH] bug --- src/views/inspectionManagement/reportForInspection/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/inspectionManagement/reportForInspection/index.vue b/src/views/inspectionManagement/reportForInspection/index.vue index e48728d..2526f59 100644 --- a/src/views/inspectionManagement/reportForInspection/index.vue +++ b/src/views/inspectionManagement/reportForInspection/index.vue @@ -123,13 +123,13 @@ min-width="8%" /> <el-table-column - prop="condition" + prop="type" label="鐘舵��" min-width="8%" > <template slot-scope="scope"> - <span :style="{ color: scope.row.condition === 1 ? 'green' : 'red' }"> - {{ scope.row.condition === 1 ? '宸叉娴�':'鏈娴�' }} + <span :style="{ color: scope.row.type === 1 ? 'green' : 'red' }"> + {{ scope.row.type === 1 ? '宸叉娴�':'鏈娴�' }} </span> </template> </el-table-column> @@ -386,6 +386,7 @@ // console.log(res) this.inspectionTable = res.data.row this.data = res.data.row + console.log(res.data.row); this.total = res.data.total }, async search(){ @@ -446,7 +447,7 @@ background: #fff; display: flex; justify-content: space-between; - padding: 5px 24px 0px 24px; + padding: 24px 24px 0px 24px; .sermargin{ margin-right: 60px; } -- Gitblit v1.9.3