From e45f95c071980b5d446261706c4ee98360ac48b0 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期三, 30 八月 2023 09:06:37 +0800
Subject: [PATCH] bug修复

---
 src/views/inspectionManagement/reportForInspection/index.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/views/inspectionManagement/reportForInspection/index.vue b/src/views/inspectionManagement/reportForInspection/index.vue
index e48728d..c61fffe 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>
@@ -383,7 +383,6 @@
     // 鑾峰彇鍒嗛〉鍒楄〃鏁版嵁
     async getRawMaterialList(){
       const res = await getRawMaterialList({pageNo: this.currentPage,pageSize:this.pageSize})
-      // console.log(res)
       this.inspectionTable = res.data.row
       this.data = res.data.row
       this.total = res.data.total
@@ -397,7 +396,6 @@
         pageNo: this.currentPage,
         pageSize: this.pageSize
       })
-      // console.log(res)
       this.inspectionTable = res.data.row
       this.data = res.data.row
       this.total = res.data.total
@@ -413,7 +411,6 @@
     },
     radioclick(){
       this.searchData.state = this.radioValue
-      // console.log(this.radioValue)
       this.inspectionTable = this.data.filter((item)=>{
         return item.condition === this.radioValue
       })
@@ -424,13 +421,11 @@
     },
     // 姣忛〉鏉℃暟鏀瑰彉鏃惰Е鍙� 閫夋嫨涓�椤垫樉绀哄灏戣
     handleSizeChange(val) {
-      console.log(`姣忛〉 ${val} 鏉)
       this.pageSize = val
       this.getRawMaterialList({pageNo: this.currentPage,pageSize:this.pageSize})
     },
     // 褰撳墠椤垫敼鍙樻椂瑙﹀彂 璺宠浆鍏朵粬椤�
     handleCurrentChange(val) {
-      console.log(`褰撳墠椤�: ${val}`)
       this.currentPage = val
       this.getRawMaterialList({pageNo: this.currentPage,pageSize:this.pageSize})
     }
@@ -446,7 +441,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