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

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

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