From fb29a61b78b11c222a9698835d4a1b18d8ed973e Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期六, 24 八月 2024 12:09:47 +0800
Subject: [PATCH] refactor:合同考核结果详情调整

---
 src/views/system/contract/contract-result/index.vue |   11 ++---------
 src/api/platform/contract-result.js                 |    4 ++--
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/api/platform/contract-result.js b/src/api/platform/contract-result.js
index 046393a..70f61b7 100644
--- a/src/api/platform/contract-result.js
+++ b/src/api/platform/contract-result.js
@@ -10,9 +10,9 @@
 }
 
 // 鏌ヨ鑰冩牳缁撴灉璇︽儏
-export function resultRecord(id) {
+export function resultRecord(id, contractId) {
   return request({
-    url: '/contract/result/record/list?resultId=' + id,
+    url: '/contract/result/record/list?resultId=' + id + '&contractId=' + contractId,
     method: 'get'
   })
 }
diff --git a/src/views/system/contract/contract-result/index.vue b/src/views/system/contract/contract-result/index.vue
index ad78377..79e2c09 100644
--- a/src/views/system/contract/contract-result/index.vue
+++ b/src/views/system/contract/contract-result/index.vue
@@ -214,14 +214,7 @@
           width="300"
         >
         </el-table-column>
-        <el-table-column
-          label="鎵e噺鏂瑰紡"
-          align="center"
-          prop="deductCategory"
-          width="180px"
-        >
-        </el-table-column>
-        <el-table-column prop="num" label="閲忓��"> </el-table-column>
+        <el-table-column prop="num" label="娆℃暟"> </el-table-column>
         <el-table-column prop="score" label="鎵e垎"> </el-table-column>
       </el-table>
     </el-dialog>
@@ -365,7 +358,7 @@
       this.manualScoreOpen = true;
     },
     handleDetail(row) {
-      resultRecord(row.id).then((res) => {
+      resultRecord(row.id, row.contractId).then((res) => {
         this.tableData = res.rows;
       });
       this.detail = row;

--
Gitblit v1.8.0