| | |
| | | <div class="flex items-center gap-2"> |
| | | <span class="text-gray-500">能效等级:</span> |
| | | <div class="flex items-center relative"> |
| | | <img :src="EecLevelEnum[productDataRef.EnergyEfficiencyClass]?.icon" class="h-8" /> |
| | | <img :src="EecLevelEnum[productDataRef.eec]?.icon" class="h-8" /> |
| | | <!-- <span class="text-white relative right-[42px] top-[-1px]">1</span> --> |
| | | <!-- <span class="text-white absolute left-[16px] bottom-[10px] text-small">{{ EecLevelEnum[productDataRef.EnergyEfficiencyClass]?.name }}</span> --> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import EecLevel1 from '@/assets/icons/energy1.png'; |
| | | import EecLevel2 from '@/assets/icons/energy2.png'; |
| | | import EecLevel1 from '@/assets/icons/ecc1.svg'; |
| | | import EecLevel2 from '@/assets/icons/ecc2.svg'; |
| | | import EecLevel3 from '@/assets/icons/ecc3.svg'; |
| | | import { SERVE_URL } from '@/constants'; |
| | | import { Check, TrendCharts } from '@element-plus/icons-vue'; |
| | | import { ElMessage } from 'element-plus'; |
| | |
| | | const EecLevelEnum = { |
| | | 1: { name: '一级能效', icon: EecLevel1 }, |
| | | 2: { name: '二级能效', icon: EecLevel2 }, |
| | | 3: { name: '二级能效', icon: EecLevel3 }, |
| | | }; |
| | | |
| | | const productDataRef = ref({}); |
| | |
| | | image: `${SERVE_URL}${productData.PhysicalPicturePath}`, |
| | | certificatePath: `${SERVE_URL}${productData.CertificatePath}`, |
| | | brand: productData.CompanyName, |
| | | model: productData.Model, |
| | | model: productData.model, |
| | | modelType: productData.ModelType, |
| | | |
| | | |
| | | power: '详询厂家', |
| | | voltage: '详询厂家', |
| | | speed: '详询厂家', |
| | |
| | | 能效等级: `${productData.EnergyEfficiencyClass}级`, |
| | | }, |
| | | }; |
| | | isPumpDetail.value = productData.Id.includes('Pupm') ? true : false; |
| | | isPumpDetail.value = productData.type == 1 ? true : false; |
| | | if (product.value.model.includes('DSWQ') && isPumpDetail.value) { |
| | | product.value.SelectReport = 'static/EecProductData/image/1/DSWQ_SelectReport.png'; |
| | | } |
| | |
| | | product.value.SelectReport = 'static/EecProductData/image/1/DRL_SelectReport.png'; |
| | | } |
| | | |
| | | isFan.value = productData.Id.includes('FJ') ? true : false; |
| | | isFan.value = productData.Type== 7 ? true : false; |
| | | if (isFan.value) { |
| | | product.value.Chart = 'static/EecProductData/image/3/fan_chart.png'; |
| | | product.value.SelectReport = 'static/EecProductData/image/3/SelectReport.png'; |
| | |
| | | SubID: 0, |
| | | ChartType: 3, |
| | | PumpStyle: 0, |
| | | PumpName4File: 'DRL1-18S', |
| | | CorpName: '中韩杜科', |
| | | PumpName: 'DRL1-18S', |
| | | SeriesName: 'DRL', |
| | | PumpName4File: product.value.model, |
| | | CorpName: product.value.CompanyName, |
| | | PumpName: product.value.model, |
| | | |
| | | SeriesName: product.value.ModelType, |
| | | CatalogName: '立式多级泵', |
| | | EecStauts: 0, |
| | | EecGrade: 0, |