From dd2c9cf9b1c01eb11cee02a6470ae08ef0964512 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 05 三月 2025 16:38:27 +0800
Subject: [PATCH] art: 技术状态鉴定 附件下载 及 结果录入文件名称错误问题修正

---
 src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue |   50 +++++++++++++++++++++++++-------------------------
 1 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
index 35295a1..89b6ba9 100644
--- a/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
+++ b/src/views/eam/modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportList.vue
@@ -100,8 +100,8 @@
   },
   data() {
     return {
-      description: '妫�瀹氭姤鍛�',
-      disableMixinCreated:true,
+      description: '閴村畾鎶ュ憡',
+      disableMixinCreated: true,
       columns: [
         {
           title: '#',
@@ -135,11 +135,11 @@
           dataIndex: 'size',
           scopedSlots: { customRender: 'size' },
         },
-        {
-          title: '鍒ゅ畾缁撴灉',
-          align: 'center',
-          dataIndex: 'judgmentResultName'
-        },
+        // {
+        //   title: '鍒ゅ畾缁撴灉',
+        //   align: 'center',
+        //   dataIndex: 'judgmentResultName'
+        // },
         {
           title: '鎿嶄綔',
           align: 'center',
@@ -156,27 +156,27 @@
       },
     }
   },
-  props:{
-    calibrationOrderId:{
-        type:String,
-        default:'',
-        required:false
+  props: {
+    calibrationOrderId: {
+      type: String,
+      default: '',
+      required: false
     }
   },
-    watch:{
-      calibrationOrderId:{
-        immediate: true,
-        handler(val) {
-          if(!this.calibrationOrderId){
-            this.clearList()
-          }else{
-            this.queryParam['calibrationOrderId'] = val;
-            this.queryParam['delFlag'] = 0;
-            this.loadData(1);
-          }
+  watch: {
+    calibrationOrderId: {
+      immediate: true,
+      handler(val) {
+        if (!this.calibrationOrderId) {
+          // this.clearList()
+        } else {
+          this.queryParam['calibrationOrderId'] = val;
+          this.queryParam['delFlag'] = 0;
+          this.loadData(1);
         }
       }
-    },
+    }
+  },
   // mounted() {
   //   this.$bus.$on('equipmentSelectionRows', (data) => {
   //     this.equipmentSelectionRows = data
@@ -284,7 +284,7 @@
     },
 
     handleDownload(record) {
-      downFile(this.url.download, { id: record.id }).then((res) => {
+      downFile(this.url.download, { id: record.upload.id }).then((res) => {
         if (!res) {
           this.$message.warning('鏂囦欢涓嬭浇澶辫触')
           return

--
Gitblit v1.9.3