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 117dc6a5
authored
May 25, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
674ce04f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/pages/monitor/zoneCar.vue
src/utils/mapService.js
src/pages/monitor/zoneCar.vue
View file @
117dc6a
...
@@ -251,7 +251,7 @@ export default {
...
@@ -251,7 +251,7 @@ export default {
.
then
((
AMap
)
=>
{
.
then
((
AMap
)
=>
{
_this
.
mapLoading
=
false
;
_this
.
mapLoading
=
false
;
window
.
AMap
=
AMap
;
window
.
AMap
=
AMap
;
_this
.
map
=
mapService
.
init
(
"map"
,
{
zoom
:
1
2
});
_this
.
map
=
mapService
.
init
(
"map"
,
{
zoom
:
1
1
});
_this
.
mouseTool
=
new
AMap
.
MouseTool
(
_this
.
map
);
_this
.
mouseTool
=
new
AMap
.
MouseTool
(
_this
.
map
);
var
autoComplete
=
new
AMap
.
AutoComplete
({
var
autoComplete
=
new
AMap
.
AutoComplete
({
input
:
"tipInput"
,
input
:
"tipInput"
,
...
@@ -728,7 +728,7 @@ export default {
...
@@ -728,7 +728,7 @@ export default {
m
.
address
=
this
.
form
.
address
;
m
.
address
=
this
.
form
.
address
;
}
}
if
(
this
.
menuId
==
2
)
{
if
(
this
.
form
.
sn
)
{
m
.
sn
=
this
.
form
.
sn
;
m
.
sn
=
this
.
form
.
sn
;
}
}
...
...
src/utils/mapService.js
View file @
117dc6a
...
@@ -652,7 +652,7 @@ MapService.prototype = {
...
@@ -652,7 +652,7 @@ MapService.prototype = {
_html
+=
`<p><i class="icon_info_plate"></i>车牌号: <span class="des copy-btn" aria-label="
${
info
.
licensePlate
}
">
${
info
.
licensePlate
||
'--'
}
</span></p>`
;
_html
+=
`<p><i class="icon_info_plate"></i>车牌号: <span class="des copy-btn" aria-label="
${
info
.
licensePlate
}
">
${
info
.
licensePlate
||
'--'
}
</span></p>`
;
}
}
_html
+=
`<p class="
copy-btn
" aria-label="
${
info
.
sn
}
"><i class="icon icon-info_device"></i> 设备号:<span class="des copy-btn" aria-label="
${
info
.
sn
}
(
${
info
.
isSource
===
'1'
?
'有线'
:
'无线'
}
)">
${
info
.
sn
}
(
${
info
.
isSource
===
'1'
?
'有线'
:
'无线'
}
)</span>
_html
+=
`<p class="" aria-label="
${
info
.
sn
}
"><i class="icon icon-info_device"></i> 设备号:<span class="des copy-btn" aria-label="
${
info
.
sn
}
(
${
info
.
isSource
===
'1'
?
'有线'
:
'无线'
}
)">
${
info
.
sn
}
(
${
info
.
isSource
===
'1'
?
'有线'
:
'无线'
}
)</span>
<span class="battery" data-battery>
<span class="battery" data-battery>
<i class="fill"><i class="fill-percentage" data-battery-percentage></i></i>
<i class="fill"><i class="fill-percentage" data-battery-percentage></i></i>
<i class="icon icon-battery_enough"></i>
<i class="icon icon-battery_enough"></i>
...
...
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