Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 599cc6c8
authored
May 12, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.7.0-zxw' into 'v1.7.0'
去掉mock See merge request
!6
2 parents
99ee51d8
f2519909
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
src/pages/monitor/historyLocation.vue
src/pages/monitor/resident.vue
src/pages/monitor/historyLocation.vue
View file @
599cc6c
...
@@ -239,26 +239,6 @@
...
@@ -239,26 +239,6 @@
this
.
params
=
params
this
.
params
=
params
this
.
getSortParams
()
this
.
getSortParams
()
EventBus
.
$emit
(
'uiMap.historyLocation.destroy'
);
EventBus
.
$emit
(
'uiMap.historyLocation.destroy'
);
let
res
=
mock
.
getResidentByRealTime
if
(
res
.
returnCode
==
0
)
{
const
data
=
res
.
data
if
(
data
.
length
)
{
data
.
forEach
((
item
,
idx
)
=>
{
item
.
idx
=
idx
})
this
.
resultList
=
data
EventBus
.
$emit
(
'uiMap.historyLocation.draw'
,
data
)
this
.
resultBoxHidden
=
false
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
'暂无数据'
})
}
this
.
isSearching
=
false
}
GET_HISTORY_LOCATION
({...
this
.
params
}).
then
((
res
)
=>
{
GET_HISTORY_LOCATION
({...
this
.
params
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
...
src/pages/monitor/resident.vue
View file @
599cc6c
...
@@ -152,26 +152,6 @@
...
@@ -152,26 +152,6 @@
// times: this.form.timerange,
// times: this.form.timerange,
}
}
this
.
params
=
params
this
.
params
=
params
let
res
=
mock
.
getResidentByRealTime
if
(
res
.
returnCode
==
0
){
const
data
=
res
.
data
;
if
(
data
.
length
){
data
.
forEach
((
item
,
idx
)
=>
{
item
.
idx
=
idx
;
});
this
.
resultList
=
data
;
EventBus
.
$emit
(
'uiMap.resident.draw'
,
data
);
this
.
resultBoxHidden
=
false
;
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
'暂无数据'
});
EventBus
.
$emit
(
'uiMap.resident.destroy'
,
data
);
}
this
.
isSearching
=
false
;
}
GET_RESIDENT_LOCATION
(
params
).
then
((
res
)
=>
{
GET_RESIDENT_LOCATION
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment