Bladeren bron

整车编制验证页面 试验报告显示将文件名称更改为编号

xuhaowei 7 maanden geleden
bovenliggende
commit
ea0719db64
1 gewijzigde bestanden met toevoegingen van 5 en 13 verwijderingen
  1. 5 13
      src/views/fullVehicle/verify/dvpVerify.vue

+ 5 - 13
src/views/fullVehicle/verify/dvpVerify.vue

@@ -133,8 +133,8 @@
             <span>{{ (pagination.pageCurrent - 1) * pagination.pageSize + index + 1 }}</span>
           </template>
            <!-- 查看试验报告和下载 -->
-          <template slot="fileName" slot-scope="text,record">
-            <span class="clickContent" @click="viewReport(record)" :title="text">{{ record.fileName }}</span>
+          <template slot="testReportCode" slot-scope="text,record">
+            <span class="clickContent" @click="viewReport(record)" :title="text">{{ record.testReportCode }}</span>
           </template>
           <!--操作-->
           <template slot='operation' slot-scope='name, row'>
@@ -448,14 +448,6 @@ export default {
           dataIndex: 'vin',
           ellipsis: true
         },
-        {
-          // 试验报告编号
-          title: () => this.$t('dvp.full.vehicle.dvp.test-report-code'),
-          width: 200,
-          align: 'center',
-          dataIndex: 'testReportCode',
-          ellipsis: true
-        },
         {
           // 是否上传试验报告
           title: () => this.$t('dvp.full.vehicle.dvp.whether-to-upload-the-test-report'),
@@ -468,13 +460,13 @@ export default {
           }
         },
         {
-          // 试验报告
+          // 试验报告编号
           title: () => this.$t('dvp.full.vehicle.dvp.test-report-code'),
           width: 200,
           align: 'center',
-          dataIndex: 'fileName',
+          dataIndex: 'testReportCode',
           scopedSlots: {
-            customRender: 'fileName'
+            customRender: 'testReportCode'
           },
         },
         {