Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
6d5f170f
Commit
6d5f170f
authored
Oct 22, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加危险范围的图片
parent
c8b2775b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
45 additions
and
13 deletions
+45
-13
bxdfdmj.png
danger-manage-web/src/assets/images/dangerPic/bxdfdmj.png
+0
-0
dxbz.png
danger-manage-web/src/assets/images/dangerPic/dxbz.png
+0
-0
dxxl.png
danger-manage-web/src/assets/images/dangerPic/dxxl.png
+0
-0
dxzd.png
danger-manage-web/src/assets/images/dangerPic/dxzd.png
+0
-0
jzdhz.png
danger-manage-web/src/assets/images/dangerPic/jzdhz.png
+0
-0
jzyh.png
danger-manage-web/src/assets/images/dangerPic/jzyh.png
+0
-0
Danger.vue
danger-manage-web/src/components/bigWindow/Danger.vue
+30
-11
dangerArr.js
danger-manage-web/src/utils/cesium/dangerArr.js
+15
-2
No files found.
danger-manage-web/src/assets/images/dangerPic/bxdfdmj.png
0 → 100644
View file @
6d5f170f
39 KB
danger-manage-web/src/assets/images/dangerPic/dxbz.png
0 → 100644
View file @
6d5f170f
53.9 KB
danger-manage-web/src/assets/images/dangerPic/dxxl.png
0 → 100644
View file @
6d5f170f
171 KB
danger-manage-web/src/assets/images/dangerPic/dxzd.png
0 → 100644
View file @
6d5f170f
41.5 KB
danger-manage-web/src/assets/images/dangerPic/jzdhz.png
0 → 100644
View file @
6d5f170f
45.2 KB
danger-manage-web/src/assets/images/dangerPic/jzyh.png
0 → 100644
View file @
6d5f170f
46.5 KB
danger-manage-web/src/components/bigWindow/Danger.vue
View file @
6d5f170f
...
...
@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-06-21 09:24:11
* @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2022-10-22 1
0:36:04
* @LastEditTime: 2022-10-22 1
4:08:16
* @FilePath: /danger-manage-web/src/components/bigWindow/Danger.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -82,14 +82,27 @@
<span
class=
"left"
>
工程技术:
</span
><span
v-unValue
class=
"right"
>
{{
deviceData
.
data
.
gcjs
}}
</span>
</div>
<div
class=
"item"
>
<div
class=
"item
flex
"
>
<span
class=
"left"
>
警示标识:
</span>
<template
v-if=
"deviceData.data.src"
>
<span
v-unValue
class=
"img"
><img
:src=
"deviceData.data.src"
alt=
""
/></span>
<template
v-if=
"deviceData.data.src && deviceData.data.src.length > 0"
>
<span
v-unValue
class=
"img"
>
<!--
<img
v-for=
"src in deviceData.data.src"
:key=
"src"
:src=
"src"
alt=
""
/>
-->
<el-image
v-for=
"src in deviceData.data.src"
:key=
"src"
style=
"width: 70px; height: 90px;margin-left:5px"
:src=
"src"
:preview-src-list=
"[src]"
:z-index=
"9999999"
></el-image>
</span>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"right"
>
-
</span>
</
template
>
</div>
...
...
@@ -178,14 +191,20 @@ export default {
margin-left
:
5px
;
}
.img
{
width
:
300px
;
height
:
120px
;
flex
:
1
;
width
:
100%
;
height
:
90px
;
display
:
inline-block
;
vertical-align
:
top
;
margin-left
:
5px
;
#img
,
img
{
width
:
100%
;
height
:
100%
;
// width: 100%;
width
:
70px
;
height
:
90px
;
margin-left
:
5px
;
cursor
:
pointer
;
}
}
}
...
...
danger-manage-web/src/utils/cesium/dangerArr.js
View file @
6d5f170f
...
...
@@ -96,6 +96,18 @@
// src: danger,
// },
// ],
// 禁止烟火
import
jzyh
from
"@/assets/images/dangerPic/jzyh.png"
;
// 禁止带火种
import
jzdhz
from
"@/assets/images/dangerPic/jzdhz.png"
;
// 当心中毒
import
dxzd
from
"@/assets/images/dangerPic/dxzd.png"
;
// 当心泄露
import
dxxl
from
"@/assets/images/dangerPic/dxxl.png"
;
// 当心爆炸
import
dxbz
from
"@/assets/images/dangerPic/dxbz.png"
;
// 必须戴防毒面具
import
bxdfdmj
from
"@/assets/images/dangerPic/bxdfdmj.png"
;
export
const
dangerArr
=
[
{
...
...
@@ -122,7 +134,6 @@ export const dangerArr = [
gkzrr
:
"张三"
,
gl
:
"公司建立有奖惩制度,安全巡检制度,及时制止违章操作,开对为长者进行适量触发,锅炉工持证上岗,定期接受安全培训"
,
gcjs
:
"根据作业活动风险分析,指定适用的安全作业规程"
,
// src: danger,
},
},
{
...
...
@@ -146,7 +157,9 @@ export const dangerArr = [
[
114.08188193141116
,
38.24996130073124
],
[
114.08037480953207
,
38.249932590119556
],
],
data
:
{},
data
:
{
src
:
[
jzyh
,
jzdhz
,
dxzd
,
dxxl
,
dxbz
,
bxdfdmj
],
},
colorNum
:
1
,
},
{
...
...
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