Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cfld-frontend
liyeyun
Commits
712f44b8
Commit
712f44b8
authored
Dec 11, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 土地招商方向修改
parent
76f2264c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
landDetail.ts
src/types/api/landDetail.ts
+2
-2
common.ts
src/types/common.ts
+2
-2
LandDetail.vue
src/views/land/LandDetail.vue
+11
-1
No files found.
src/types/api/landDetail.ts
View file @
712f44b8
...
@@ -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
;
/** 土地类型名称 */
/** 土地类型名称 */
type
Name
:
string
;
type
:
string
;
}
}
src/types/common.ts
View file @
712f44b8
...
@@ -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
;
}
}
/**
/**
...
...
src/views/land/LandDetail.vue
View file @
712f44b8
...
@@ -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.type
Name
"
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment