Commit ce523e70 authored by 王玉鑫's avatar 王玉鑫

fix: 土地名称及所属开发区招商方向

parent bfd22add
...@@ -69,7 +69,7 @@ export interface LandDetailResp { ...@@ -69,7 +69,7 @@ export interface LandDetailResp {
/** 轮播图 */ /** 轮播图 */
imgUrls: string[]; imgUrls: string[];
/** 产业方向 */ /** 产业方向 */
industryDirection: string[]; industryDirection: string;
/** 亩均投资强度 */ /** 亩均投资强度 */
investNum: string; investNum: string;
/** 招商方向 */ /** 招商方向 */
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<DetailMain <DetailMain
:type="DetailType.land" :type="DetailType.land"
:detail="{ :detail="{
...detail,
...detail.development, ...detail.development,
...detail,
imgUrlList: detail.imgUrls, imgUrlList: detail.imgUrls,
contactPerson: detail.contacterName, contactPerson: detail.contacterName,
contactPhone: '', contactPhone: '',
...@@ -36,7 +36,10 @@ ...@@ -36,7 +36,10 @@
<DetailInfoCell title-center title="所属开发区"> <DetailInfoCell title-center title="所属开发区">
<ParkItem <ParkItem
:type="ParkItemType.develop" :type="ParkItemType.develop"
:item="detail.development" :item="{
...detail.development,
investmentDirection: detail.development.developmentInvestment,
}"
@to-detail="toDevelop" @to-detail="toDevelop"
></ParkItem> ></ParkItem>
</DetailInfoCell> </DetailInfoCell>
...@@ -93,11 +96,8 @@ const { open } = useJump(); ...@@ -93,11 +96,8 @@ const { open } = useJump();
/** 产业方向 */ /** 产业方向 */
const industryDirection = computed(() => { const industryDirection = computed(() => {
return ( const item = detail.value?.industryDirection || '';
detail.value?.development.developmentInvestment?.map((i) => { return item ? [{ codeName: item }] : [];
return { codeName: i };
}) || []
);
}); });
/** 地块信息 */ /** 地块信息 */
......
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