Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
423191c0
Commit
423191c0
authored
Mar 21, 2022
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应急设置标签图标
parent
4d7a9fde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
config.js
gassafetyprogress-web/src/utils/mapClass/config.js
+1
-0
index.vue
gassafetyprogress-web/src/views/emergency/index.vue
+7
-6
No files found.
gassafetyprogress-web/src/utils/mapClass/config.js
View file @
423191c0
...
...
@@ -35,6 +35,7 @@ export const svgUrl = {
10
:
require
(
"@/assets/mapImages/mark02.png"
),
11
:
require
(
"@/assets/mapImages/mark03.png"
),
12
:
require
(
"@/assets/mapImages/mark04.png"
),
13
:
require
(
"@/assets/mapImages/mark01.png"
),
};
export
const
svgAlarm
=
{
2
:
require
(
"@/assets/mapImages/tyxAlarm.svg"
),
...
...
gassafetyprogress-web/src/views/emergency/index.vue
View file @
423191c0
...
...
@@ -328,25 +328,25 @@ export default {
],
arr2
:
[
{
val
:
9
,
val
:
10
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/image/tyxsub.svg"
),
name
:
"救援队伍"
,
},
{
val
:
1
0
,
val
:
1
1
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/image/fmjsub.svg"
),
name
:
"救援物资"
,
},
{
val
:
1
1
,
val
:
1
2
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/image/czsub.svg"
),
name
:
"救援车辆"
,
},
{
val
:
1
2
,
val
:
1
3
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/image/usersub.svg"
),
name
:
"医 院"
,
...
...
@@ -485,11 +485,11 @@ export default {
};
listDevice
(
params
).
then
(
response
=>
{
response
.
rows
.
forEach
((
item
)
=>
{
item
.
iconType
=
item
.
deviceType
+
8
;
item
.
iconType
=
item
.
deviceType
+
9
;
});
this
.
deviceList
=
response
.
rows
;
//console.log(this.deviceList)
this
.
addDevice
({
"data"
:
this
.
deviceList
},
Company
)
this
.
addDevice
({
"data"
:
this
.
deviceList
},
null
)
this
.
arr2
.
forEach
((
item
)
=>
(
item
.
ischeck
=
true
));
});
},
...
...
@@ -594,6 +594,7 @@ export default {
},
// 设备上图
addDevice
(
data
,
component
)
{
console
.
log
(
data
,
data
)
for
(
let
comp
in
data
)
{
data
[
comp
].
forEach
((
pipe
)
=>
{
this
.
map
.
addDevice
(
pipe
,
component
);
...
...
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