| | |
| | | <el-empty description="暂无变速曲线信息" v-show="!isPumpDetail" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="选型报告" name="SelectReport"> |
| | | <img width="1200" height="auto" :src="product.SelectReport" v-if="isFan" /> |
| | | <img width="1200" height="auto" :src="product.SelectReport" v-if="isFan || isPumpDetail" /> |
| | | <el-empty description="暂无报告" v-show="!isPumpDetail && !isFan" /> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="测试报告" name="certificate"> |
| | |
| | | import { useRoute, useRouter } from 'vue-router'; |
| | | import axios from 'axios'; |
| | | import pumpDetailInfo from './mock/DetailsInfo'; |
| | | import pumpDetailInfo_WQ from "./mock/DetailsInfo_WQ" |
| | | import pumpDetailInfo_WQ from './mock/DetailsInfo_WQ'; |
| | | import LXBChart from '@/components/Chart/LXBChart.vue'; |
| | | import MultiSpeedChart from '@/components/Chart/MultiSpeedChart.vue'; |
| | | import prop from './components/prop.vue'; |
| | |
| | | }, |
| | | }; |
| | | isPumpDetail.value = productData.Id.includes('Pupm') ? true : false; |
| | | if (product.value.model.includes('DSWQ') && isPumpDetail.value) { |
| | | product.value.SelectReport = 'static/EecProductData/image/1/DSWQ_SelectReport.png'; |
| | | } |
| | | if (product.value.model.substring(0, 3).includes('DRL') && isPumpDetail.value) { |
| | | product.value.SelectReport = 'static/EecProductData/image/1/DRL_SelectReport.png'; |
| | | } |
| | | |
| | | isFan.value = productData.Id.includes('FJ') ? true : false; |
| | | if (isFan.value) { |
| | | product.value.Chart = 'static/EecProductData/image/3/fan_chart.png'; |
| | |
| | | isAdjustCoordUnitByUserSetting: false, |
| | | }; |
| | | let pumpInfoData = pumpDetailInfo; |
| | | if(product.value.model.includes('DSWQ')) { |
| | | if (product.value.model.includes('DSWQ')) { |
| | | pumpInfoData = pumpDetailInfo_WQ; |
| | | } |
| | | let pumpBaseInfo = { |