Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
MeteorologicalBureau
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5305e15a
authored
Mar 23, 2020
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改URL
parent
2c03f58c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
map/index.html
+8
-8
No files found.
map/index.html
View file @
5305e15a
...
...
@@ -120,33 +120,33 @@
if
(
typeof
(
i2
)
!=
'undefined'
)
{
$
(
".subnav"
+
i1
).
find
(
"div"
).
eq
(
i2
).
addClass
(
"active text-shadow"
)
}
const
BASE_API
=
'http://123.56.149.208:8091/external/get/early/warn'
if
(
i1
==
0
&&
typeof
(
i2
)
==
'undefined'
)
{
//预警信息
addPoiByApi
(
'http://123.56.149.208:8091/external/get/early/warn
/city/two/list/'
+
urlParams
.
adcode
,
'setWarnPoint'
,
'Single'
)
addPoiByApi
(
BASE_API
+
'
/city/two/list/'
+
urlParams
.
adcode
,
'setWarnPoint'
,
'Single'
)
oldi1
=
i1
,
oldi2
=
i2
}
if
(
i1
==
1
&&
i2
==
0
)
{
//大喇叭
addPoiByApi
(
`http://123.56.149.208:8091/external/get/early/warn
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=1`
,
'setEquipmentPoint'
,
'Cluster'
)
addPoiByApi
(
BASE_API
+
`
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=1`
,
'setEquipmentPoint'
,
'Cluster'
)
oldi1
=
i1
,
oldi2
=
i2
}
if
(
i1
==
1
&&
i2
==
1
)
{
//显示屏
addPoiByApi
(
`http://123.56.149.208:8091/external/get/early/warn
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=2`
,
'setEquipmentPoint'
,
'Single'
)
addPoiByApi
(
BASE_API
+
`
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=2`
,
'setEquipmentPoint'
,
'Single'
)
oldi1
=
i1
,
oldi2
=
i2
}
if
(
i1
==
1
&&
i2
==
2
)
{
//北斗
addPoiByApi
(
`http://123.56.149.208:8091/external/get/early/warn
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=3`
,
'setEquipmentPoint'
,
'Single'
)
addPoiByApi
(
BASE_API
+
`
/equipment/two?code=
${
urlParams
.
adcode
}
&clientStyle=3`
,
'setEquipmentPoint'
,
'Single'
)
oldi1
=
i1
,
oldi2
=
i2
}
if
(
i1
==
2
&&
i2
==
0
)
{
//信息员
addPoiByApi
(
'http://123.56.149.208:8091/external/get/early/warn
/people/two/info/'
+
urlParams
.
adcode
,
'setPersonalPoint'
,
'Cluster'
)
addPoiByApi
(
BASE_API
+
'
/people/two/info/'
+
urlParams
.
adcode
,
'setPersonalPoint'
,
'Cluster'
)
oldi1
=
i1
,
oldi2
=
i2
}
if
(
i1
==
2
&&
i2
==
1
)
{
//应急责任人
addPoiByApi
(
'http://123.56.149.208:8091/external/get/early/warn
/people/two/principal/'
+
urlParams
.
adcode
,
'setPrincipalPoint'
,
'Single'
)
addPoiByApi
(
BASE_API
+
'
/people/two/principal/'
+
urlParams
.
adcode
,
'setPrincipalPoint'
,
'Single'
)
oldi1
=
i1
,
oldi2
=
i2
}
...
...
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