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
a5b53d87
Commit
a5b53d87
authored
Dec 01, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 载体详情信息
parent
68e308e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
2 deletions
+68
-2
CarrierDetail.vue
src/views/carrier/CarrierDetail.vue
+68
-2
No files found.
src/views/carrier/CarrierDetail.vue
View file @
a5b53d87
...
...
@@ -7,7 +7,7 @@
<DetailMain></DetailMain>
</DetailInfoCell>
<DetailInfoCell
title=
"载体详情"
>
<
!--
<DetailInfo
:infos=
"industryBase"
></DetailInfo>
--
>
<
DetailInfo
:infos=
"carrierInfo"
></DetailInfo
>
</DetailInfoCell>
<DetailInfoCell
title=
"入驻要求"
>
<DetailInfo
:infos=
"joinRequired"
></DetailInfo>
...
...
@@ -25,7 +25,7 @@
</
template
>
<
script
lang=
"ts"
setup
>
import
DetailInfo
from
'@/components/detail/DetailInfo.vue'
;
import
DetailInfo
,
{
type
Infos
}
from
'@/components/detail/DetailInfo.vue'
;
import
DetailInfoCell
from
'@/components/detail/DetailInfoCell.vue'
;
import
DetailMain
from
'@/components/detail/DetailMain.vue'
;
import
ParkItem
from
'@/components/list/ParkItem.vue'
;
...
...
@@ -56,6 +56,72 @@ const { joinRequired } = useJoinRequired(
const
{
open
}
=
useJump
();
/** 载体详情 */
const
carrierInfo
=
computed
(()
=>
{
if
(
detail
.
value
)
{
const
{
floorNumber
,
floorHigh
,
singleArea
,
weight
,
distance
,
elevatorType
,
fireProtectionLevel
,
fireResistant
,
}
=
detail
.
value
;
const
result
:
Infos
=
[
[
{
name
:
'载体层数'
,
value
:
floorNumber
,
},
{
name
:
'层高'
,
value
:
floorHigh
,
unit
:
'm'
,
},
],
[
{
name
:
'单层面积'
,
value
:
singleArea
,
unit
:
'㎡'
,
},
{
name
:
'承重'
,
value
:
weight
,
unit
:
'kg/㎡'
,
},
],
[
{
name
:
'柱距'
,
value
:
distance
,
unit
:
'm'
,
},
{
name
:
'电梯'
,
value
:
elevatorType
,
},
],
[
{
name
:
'消防等级'
,
value
:
fireProtectionLevel
,
},
{
name
:
'耐火等级'
,
value
:
fireResistant
,
},
],
];
return
result
;
}
else
{
return
[];
}
});
const
toIndustrial
=
()
=>
{
open
({
query
:
{
...
...
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