Commit 712f44b8 authored by 王玉鑫's avatar 王玉鑫

feat: 土地招商方向修改

parent 76f2264c
...@@ -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;
/** 招商方向 */ /** 招商方向 */
...@@ -103,5 +103,5 @@ export interface LandDetailResp { ...@@ -103,5 +103,5 @@ export interface LandDetailResp {
/** 总投资额 */ /** 总投资额 */
totalInvestment: string; totalInvestment: string;
/** 土地类型名称 */ /** 土地类型名称 */
typeName: string; type: string;
} }
...@@ -96,11 +96,11 @@ export interface Policy { ...@@ -96,11 +96,11 @@ export interface Policy {
*/ */
export interface Investment { export interface Investment {
/** 招商类型 */ /** 招商类型 */
code: number; code?: number;
/** 招商类型名称 */ /** 招商类型名称 */
codeName: string; codeName: string;
/** 招商详情 */ /** 招商详情 */
details: string; details?: string;
} }
/** /**
......
...@@ -10,10 +10,11 @@ ...@@ -10,10 +10,11 @@
imgUrlList: detail.imgUrls, imgUrlList: detail.imgUrls,
contactPerson: detail.contacterName, contactPerson: detail.contacterName,
contactPhone: '', contactPhone: '',
investmentDetails: industryDirection,
}" }"
> >
<DetailMainInfo :value="detail.price" unit="万/亩" name="土地价格"></DetailMainInfo> <DetailMainInfo :value="detail.price" unit="万/亩" name="土地价格"></DetailMainInfo>
<DetailMainInfo :value="detail.typeName" name="土地用地"></DetailMainInfo> <DetailMainInfo :value="detail.type" name="土地用地"></DetailMainInfo>
<DetailMainInfo :value="detail.area" unit="亩" name="占地面积"></DetailMainInfo> <DetailMainInfo :value="detail.area" unit="亩" name="占地面积"></DetailMainInfo>
</DetailMain> </DetailMain>
</DetailInfoCell> </DetailInfoCell>
...@@ -89,6 +90,15 @@ const { joinRequired } = useJoinRequired( ...@@ -89,6 +90,15 @@ const { joinRequired } = useJoinRequired(
const { open } = useJump(); const { open } = useJump();
/** 产业方向 */
const industryDirection = computed(() => {
return (
detail.value?.industryDirection?.map((i) => {
return { codeName: i };
}) || []
);
});
/** 地块信息 */ /** 地块信息 */
const landInfo = computed(() => { const landInfo = computed(() => {
if (detail.value) { if (detail.value) {
......
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