Commit 467e01e7 authored by wangjiankun's avatar wangjiankun

fix: 楼盘搜索、默认图

fix: 导出产品分析、产品详情
parent 766f42b7
......@@ -420,7 +420,8 @@
})
}
this.productionProjectData = resultArray
let dealArr = JSON.stringify(JSON.parse(resultArray)).map((item => {
debugger
let dealArr = JSON.parse(JSON.stringify(resultArray)).map((item => {
if(item.productionProperties && item.productionProperties.length > 0) {
item.productionProperties.map(item2 => {
Object.keys(tableDataType).forEach(key => {
......@@ -437,6 +438,7 @@
return item
}
}))
console.log(dealArr, 'sadadsasdasd')
this.unitDetailJsonExport = JSON.stringify(dealArr)
})
exportExcelJson(temp).then(res => {
......
......@@ -176,7 +176,9 @@
:key="index"
:body-style="{ padding: '0' }">
<div class="imgContainer" >
<el-image style="width: 150px;height: 150px" :src="item.fileUrl ? imgUrlHeader + item.fileUrl : require('@assets/img/noPicture.png')" alt="无法加载"
<el-image style="width: 150px;height: 150px"
:src="imgUrlHeader + item.url1 || imgUrlHeader + item.url2 || require('@assets/img/noPicture.png')"
alt="无法加载"
@click.stop="toPropertyDetail(item.businessId, true)">
</el-image>
</div>
......@@ -199,7 +201,7 @@
<div v-else-if="showType === 'property'" class="dealWidth">
<div class="searchDetailFlex" @click="toPropertyDetail(propertyDetailData.businessId)">
<el-image style="cursor: pointer;height: 200px"
:src="propertyDetailData.fileUrl ? imgUrlHeader + propertyDetailData.fileUrl: require('@assets/img/noPicture.png')" alt="加载失败" >
:src="imgUrlHeader + propertyDetailData.url1 || imgUrlHeader + propertyDetailData.url2 || require('@assets/img/noPicture.png')" alt="加载失败" >
</el-image>
<p class="propertyName">{{propertyDetailData.name || '---'}}</p>
<p class="propertyDetail" v-html="'<b>价格'+':</b>' + propertyDetailData.price + '元/m<sup>2</sup>'"></p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment