Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pingshan-ranqi
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
yaqizhang
pingshan-ranqi
Commits
e3fa3d90
Commit
e3fa3d90
authored
Nov 17, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复了一下右上角的数据
parent
0ac233fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
52 deletions
+7
-52
RightPic.vue
...-web/src/views/enterprise/mapView/components/RightPic.vue
+7
-52
No files found.
gassafety-web/src/views/enterprise/mapView/components/RightPic.vue
View file @
e3fa3d90
...
@@ -83,63 +83,19 @@ export default {
...
@@ -83,63 +83,19 @@ export default {
alarmTime
:
"2021-02-02 16-00-00"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
{
unitName
:
"ZhC-11"
,
detectorType
:
"流量计"
,
statusName
:
"压力异常"
,
alarmTime
:
"2021-02-02 16-00-00"
,
handledStatus
:
"上海市普陀区金沙江路"
,
},
],
],
scrollHeight
:
0
,
scrollHeight
:
0
,
timer
:
null
,
timer
:
null
,
};
};
},
},
watch
:
{
watch
:
{
rightPicData
()
{
rightPicData
(
newData
)
{
// this.tableData = this.rightPicData.pageData;
console
.
log
(
"newData"
,
newData
);
// if (newData.pageData.length > 0) {
this
.
tableData
=
[...
newData
.
pageData
];
// }
// this.tableData = [...newData.pageData];
// 列表容器
// 列表容器
this
.
getScrollHeight
();
this
.
getScrollHeight
();
},
},
...
@@ -162,7 +118,6 @@ export default {
...
@@ -162,7 +118,6 @@ export default {
const
{
height
:
heightSelect
}
=
select
.
getBoundingClientRect
();
const
{
height
:
heightSelect
}
=
select
.
getBoundingClientRect
();
// 滚动条的高度 = 列表高度-列表容器高度
// 滚动条的高度 = 列表高度-列表容器高度
this
.
scrollHeight
=
heightSelect
-
heightWrapper
;
this
.
scrollHeight
=
heightSelect
-
heightWrapper
;
console
.
log
(
this
.
scrollHeight
/
this
.
tableData
.
length
);
this
.
timerAni
();
this
.
timerAni
();
},
},
...
...
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