Просмотр исходного кода

修复设备基本信息报表校准记录不显示(因地点参数传错)的bug

zhonghuizhen 11 месяцев назад
Родитель
Сommit
d66381d2d4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/component/device/index.vue

+ 1 - 1
src/views/component/device/index.vue

@@ -846,7 +846,7 @@ export default {
         goLookForm (row) {
         goLookForm (row) {
             const { first, second } = this.$store.getters.level || {}
             const { first, second } = this.$store.getters.level || {}
             const didian = second || first
             const didian = second || first
-            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '设备/设备档案卡.rpx&id_=' + row.id + '&org_=' + '&second_=' + didian
+            this.srcUrl = this.$reportPath.replace('show', 'pdf') + '设备/设备档案卡.rpx&id_=' + row.id + '&org_=' + first + '&second_=' + didian
             this.iframeVisible = true
             this.iframeVisible = true
         },
         },
         // 按钮事件处理
         // 按钮事件处理