guoxiaohuan 4 년 전
부모
커밋
bef255c748
2개의 변경된 파일753개의 추가작업 그리고 784개의 파일을 삭제
  1. 2 20
      src/views/analysis/CoreDeviceReport.vue
  2. 751 764
      src/views/analysis/GanttChart.vue

+ 2 - 20
src/views/analysis/CoreDeviceReport.vue

@@ -468,7 +468,7 @@ export default {
             }
             this.showDetail = true
             this.detailTitle = '图片预览'
-            this.getDetailData(val)
+            this.getDetailData(val, type)
         },
         /**
          * 显示附件详情
@@ -492,25 +492,7 @@ export default {
             this.isClickAccessory = true
             this.showAccessory = true
             this.detailTitle = '附件预览'
-            this.getDetailData(val)
-        },
-        /**
-         * 显示附件详情
-         */
-        showReportDetail(val) {
-            console.log('val', val)
-            if (type === 'equip') {
-                if (!val.file_type || !val.file_type_id) {
-                    return
-                }
-            } else {
-                if (!val.attachments_num) {
-                    return
-                }
-            }
-            this.showDetail = true
-            this.detailTitle = '附件预览'
-            this.getDetailData(val)
+            this.getDetailData(val, type)
         },
         /**
          * 获取图片/报告详情

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 751 - 764
src/views/analysis/GanttChart.vue