Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
Yulun Yao
multiSystem
Commits
54c60f6e
Commit
54c60f6e
authored
Feb 07, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化详情展示
parent
44905e5c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
detailItem.vue
src/components/detail/detailItem.vue
+4
-5
shebeiKanyan.vue
src/views/xuhui/shebeiKanyan.vue
+8
-8
No files found.
src/components/detail/detailItem.vue
View file @
54c60f6e
...
...
@@ -3,11 +3,12 @@
<a-col
v-if=
"label !== ''"
:title=
"label"
:span=
"labelSpan"
class=
"label"
>
{{
label
}}
:
</a-col>
<a-col
v-else
:title=
"label"
:span=
"labelSpan"
class=
"label"
style=
"color:#fafafa"
>
.
</a-col>
<a-col
:span=
"textSpan"
class=
"text"
>
<!--
{{
text
}}
-->
<a-tooltip>
<template
slot=
"title"
>
{{
text
}}
</
template
>
<
template
v-if=
"text && text.length>0"
>
{{
text
}}
</
template
>
<
template
>
{{
text
}}
</
template
>
</a-tooltip>
<slot
name=
'detailContent'
></slot>
</a-col>
...
...
@@ -32,10 +33,8 @@ export default {
required
:
true
},
text
:
{
// type: String,
default
()
{
return
''
}
type
:
[
String
,
Number
],
default
:
''
}
},
data
()
{
...
...
src/views/xuhui/shebeiKanyan.vue
View file @
54c60f6e
...
...
@@ -16,28 +16,28 @@
<div
style=
"margin:0 16px;"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"小区名称"'
:text=
'$route.query.communityName
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"小区名称"'
:text=
'$route.query.communityName'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵数量"'
:text=
'baseInfo.firePumpsNum
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵数量"'
:text=
'baseInfo.firePumpsNum'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵维保单位"'
:text=
'baseInfo.firePumpsServiceUnit
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水消防总泵维保单位"'
:text=
'baseInfo.firePumpsServiceUnit'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵数量"'
:text=
'baseInfo.lifeWaterPumpsNum
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵数量"'
:text=
'baseInfo.lifeWaterPumpsNum'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵维保单位"'
:text=
'baseInfo.lifeWaterPumpsServiceUnit
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"供水生活总泵维保单位"'
:text=
'baseInfo.lifeWaterPumpsServiceUnit'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"生活垃圾库房数量"'
:text=
'baseInfo.lifeRubbishNum
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"生活垃圾库房数量"'
:text=
'baseInfo.lifeRubbishNum'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"建筑垃圾库房数量"'
:text=
'baseInfo.buildingRubbishNum
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"建筑垃圾库房数量"'
:text=
'baseInfo.buildingRubbishNum'
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"监控主控室位置"'
:text=
'baseInfo.monitorControlRoomAddr
|| ""
'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
"12"
:label=
'"监控主控室位置"'
:text=
'baseInfo.monitorControlRoomAddr'
></DetailsItem>
</a-col>
</a-row>
</div>
...
...
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