Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
witiumCloud2
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
WitCloud
witiumCloud2
Commits
12b009b1
Commit
12b009b1
authored
Aug 13, 2020
by
frank
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
传感器历史数据页面有个bug,历史数据无法获取
parent
68cef080
Pipeline
#531
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sensor-detail.component.ts
src/app/main/sensor-detail/sensor-detail.component.ts
+1
-1
No files found.
src/app/main/sensor-detail/sensor-detail.component.ts
View file @
12b009b1
...
...
@@ -184,7 +184,7 @@ export class SensorDetailComponent implements OnInit {
// this.hisTopicName = this.wayData[0].topicName;
this
.
hisTopicName
=
this
.
selectedTopicValue
;
this
.
api
.
data
.
getHisData
([{
alias
:
this
.
hisDevInfo
.
alias
,
deviceList
:
[{
sn
:
this
.
hisDevInfo
.
SN
,
type
:
this
.
hisDevInfo
.
dType
}],
endTime
:
this
.
selectTime3
?
new
Date
().
getTime
()
:
this
.
req3
.
start
Time
,
type
:
this
.
hisDevInfo
.
dType
}],
endTime
:
this
.
selectTime3
?
new
Date
().
getTime
()
:
this
.
req3
.
end
Time
,
offset
:
0
-
new
Date
().
getTimezoneOffset
()
/
60
,
startTime
:
this
.
selectTime3
?
new
Date
().
getTime
()
-
this
.
selectTime3
*
60
*
60
*
1000
:
this
.
req3
.
startTime
,
topicName
:
this
.
hisTopicName
},
(
data
)
=>
{
...
...
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