فهرست منبع

报表路径调整

cfort 3 سال پیش
والد
کامیت
e258f5da7c

+ 1 - 1
src/views/platform/bpmn/bpmInstHis/record/CMA.vue

@@ -10,7 +10,7 @@
             return {
             return {
                 info: {
                 info: {
                     title: 'CNAS/CMA检测档案',
                     title: 'CNAS/CMA检测档案',
-                    reportPath: '43罗湖/LHCNAS-CMA 检测报告.rpx',
+                    reportPath: '43罗湖/LHXBJY 检测报告',
                     type: 'cnas/CMA'
                     type: 'cnas/CMA'
                 }
                 }
             }
             }

+ 1 - 1
src/views/platform/bpmn/bpmInstHis/record/CNAS.vue

@@ -10,7 +10,7 @@
             return {
             return {
                 info: {
                 info: {
                     title: 'CNAS检测档案',
                     title: 'CNAS检测档案',
-                    reportPath: '43罗湖/LHCNAS 检测报告.rpx',
+                    reportPath: '43罗湖/LHXBJY 检测报告',
                     type: 'cnas'
                     type: 'cnas'
                 }
                 }
             }
             }

+ 1 - 1
src/views/platform/bpmn/bpmInstHis/record/FEI.vue

@@ -10,7 +10,7 @@
             return {
             return {
                 info: {
                 info: {
                     title: '非CNAS/CMA检测档案',
                     title: '非CNAS/CMA检测档案',
-                    reportPath: '43罗湖/LH非 检测报告.rpx',
+                    reportPath: '43罗湖/LHXBJY 检测报告',
                     type: '非'
                     type: '非'
                 }
                 }
             }
             }

+ 4 - 3
src/views/platform/bpmn/bpmInstHis/record/component/testingRecord.vue

@@ -33,7 +33,9 @@
                     <template slot-scope="scope">{{ scope.row.he_tong_id_ | getID(contractList) }}</template>
                     <template slot-scope="scope">{{ scope.row.he_tong_id_ | getID(contractList) }}</template>
                 </el-table-column>
                 </el-table-column>
                 <el-table-column prop="bao_gao_bian_hao_" label="报告编号" width="150"></el-table-column>
                 <el-table-column prop="bao_gao_bian_hao_" label="报告编号" width="150"></el-table-column>
-                <el-table-column prop="jian_ce_kai_shi_s" label="检测时间" width="100"></el-table-column>
+                <el-table-column prop="jian_ce_kai_shi_s" label="检测时间" width="100">
+                    <template slot-scope="scope">{{ scope.row.jian_ce_kai_shi_s.slice(0, 10) }}</template>
+                </el-table-column>
                 <el-table-column prop="wei_tuo_id_" label="检测委托单号" width="150">
                 <el-table-column prop="wei_tuo_id_" label="检测委托单号" width="150">
                     <template slot-scope="scope">{{ scope.row.wei_tuo_id_ | getID(trustList) }}</template>
                     <template slot-scope="scope">{{ scope.row.wei_tuo_id_ | getID(trustList) }}</template>
                 </el-table-column>
                 </el-table-column>
@@ -191,7 +193,7 @@
         {
         {
             name: '检测报告',
             name: '检测报告',
             key: 'file',
             key: 'file',
-            path: '',
+            path: '43罗湖/LHXBJY 检测报告',
             field: 'bao_gao_pdf_',
             field: 'bao_gao_pdf_',
             hasItem: false
             hasItem: false
         }
         }
@@ -225,7 +227,6 @@
             }
             }
         },
         },
         data () {
         data () {
-            reportList[reportList.length - 1].path = this.info.reportPath
             return {
             return {
                 searchList,
                 searchList,
                 reportList,
                 reportList,