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

feat: 土地招商方向修改

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