Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pudong-elevator-map
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
郭铭瑶
pudong-elevator-map
Commits
9c1f4e57
Commit
9c1f4e57
authored
Dec 31, 2019
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗table修改
parent
20143a6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
20 deletions
+45
-20
main.vue
src/views/main.vue
+45
-20
No files found.
src/views/main.vue
View file @
9c1f4e57
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</Panel>
</Panel>
</Collapse>
</Collapse>
<Modal
v-model=
"detailModal"
width=
"90%"
:footer-hide=
"true"
>
<Modal
v-model=
"detailModal"
width=
"90%"
:footer-hide=
"true"
>
<Table
:columns=
"columns"
:data=
"detailData"
size=
"small"
max-height=
"500
"
/>
<Table
:columns=
"columns"
:data=
"detailData"
size=
"small"
:max-height=
"tableHeight
"
/>
</Modal>
</Modal>
</div>
</div>
</
template
>
</
template
>
...
@@ -110,92 +110,112 @@ export default {
...
@@ -110,92 +110,112 @@ export default {
{
{
title
:
'小区'
,
title
:
'小区'
,
key
:
'name'
,
key
:
'name'
,
minWidth
:
50
,
minWidth
:
100
,
fixed
:
'left'
,
align
:
'center'
,
},
},
{
{
title
:
'楼栋号'
,
title
:
'楼栋号'
,
key
:
'buildingNo'
,
key
:
'buildingNo'
,
minWidth
:
50
,
minWidth
:
100
,
fixed
:
'left'
,
align
:
'center'
,
},
},
{
{
title
:
'房屋性质'
,
title
:
'房屋性质'
,
key
:
'type'
,
key
:
'type'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'房龄'
,
title
:
'房龄'
,
key
:
'age'
,
key
:
'age'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'层高'
,
title
:
'层高'
,
key
:
'high'
,
key
:
'high'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'4层以上是否有70岁以上老人'
,
title
:
'4层以上是否有70岁以上老人'
,
key
:
'hasOld'
,
key
:
'hasOld'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'4层以上是否有行动不便的残障人员'
,
title
:
'4层以上是否有行动不便的残障人员'
,
key
:
'hasDisabled'
,
key
:
'hasDisabled'
,
minWidth
:
50
,
minWidth
:
150
,
align
:
'center'
,
},
},
{
{
title
:
'是否已有业主发起加梯动员'
,
title
:
'是否已有业主发起加梯动员'
,
key
:
'hasMobilization'
,
key
:
'hasMobilizatin'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'楼内邻里关系是否和睦'
,
title
:
'楼内邻里关系是否和睦'
,
key
:
'hasPeace'
,
key
:
'hasPeace'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'楼内业主自住率是否高于80%'
,
title
:
'楼内业主自住率是否高于80%'
,
key
:
'hasSelf'
,
key
:
'hasSelf'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'一楼是否非居'
,
title
:
'一楼是否非居'
,
key
:
'hasNonliving'
,
key
:
'hasNonliving'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'是否有地下层'
,
title
:
'是否有地下层'
,
key
:
'hasUnderground'
,
key
:
'hasUnderground'
,
minWidth
:
50
,
minWidth
:
130
,
align
:
'center'
,
},
},
{
{
title
:
'占用车道'
,
title
:
'占用车道'
,
key
:
'hasLane'
,
key
:
'hasLane'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'占用绿化'
,
title
:
'占用绿化'
,
key
:
'hasGreening'
,
key
:
'hasGreening'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'占用车位'
,
title
:
'占用车位'
,
key
:
'hasParking'
,
key
:
'hasParking'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'楼间距'
,
title
:
'楼间距'
,
key
:
'spacing'
,
key
:
'spacing'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'连廊长度'
,
title
:
'连廊长度'
,
key
:
'corridorLength'
,
key
:
'corridorLength'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
{
{
title
:
'居民意愿'
,
title
:
'居民意愿'
,
key
:
'intention'
,
key
:
'intention'
,
minWidth
:
50
,
minWidth
:
100
,
align
:
'center'
,
},
},
],
],
detailData
:
[],
detailData
:
[],
...
@@ -574,6 +594,11 @@ export default {
...
@@ -574,6 +594,11 @@ export default {
// })
// })
},
},
},
},
computed
:
{
tableHeight
()
{
return
screen
.
height
/
2
}
}
}
}
</
script
>
</
script
>
...
...
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