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
38f8fe2b
Commit
38f8fe2b
authored
Feb 26, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传master
parent
a5be4eff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
145 additions
and
79 deletions
+145
-79
DeviceA.vue
gassafetyprogress-web/src/components/bigWindow/DeviceA.vue
+3
-2
rightBar.vue
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
+1
-1
map.js
gassafetyprogress-web/src/utils/mapClass/map.js
+4
-3
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+137
-73
No files found.
gassafetyprogress-web/src/components/bigWindow/DeviceA.vue
View file @
38f8fe2b
<!--
* @Author: your name
* @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-26
14:16:23
* @LastEditTime: 2022-02-26
23:06:21
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...
...
@@ -26,7 +26,7 @@
<div
class=
"group"
>
<div
class=
"left"
>
设备类型:
</div>
<div
class=
"right zzz"
>
{{
deviceType
[
deviceData
.
t
ype
]
}}
{{
deviceType
[
deviceData
.
iconT
ype
]
}}
</div>
</div>
<div
class=
"group"
>
...
...
@@ -45,6 +45,7 @@
>
{{
deviceData
.
stationAddr
||
"-"
}}
</div>
<div
v-else
>
-
</div>
</div>
</div>
...
...
gassafetyprogress-web/src/components/bigWindow/rightBar.vue
View file @
38f8fe2b
...
...
@@ -450,7 +450,7 @@
this
.
timerAni
();
},
timerAni
()
{
console
.
log
(
"zhix"
)
const
selectWrap
=
this
.
$refs
.
table
.
$el
.
querySelector
(
".el-table__body-wrapper"
);
...
...
gassafetyprogress-web/src/utils/mapClass/map.js
View file @
38f8fe2b
/*
* @Author: your name
* @Date: 2022-01-11 13:45:12
* @LastEditTime: 2022-02-26
13:59:03
* @LastEditTime: 2022-02-26
23:23:01
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/utils/mapClass.js
...
...
@@ -445,7 +445,7 @@ export class EditorMap {
this
.
infowindow
.
close
();
}
allilter
(
companyArr
,
typeArr
)
{
all
f
ilter
(
companyArr
,
typeArr
)
{
for
(
let
pipeItem
in
this
.
pipeArr
)
{
this
.
pipeArr
[
pipeItem
].
forEach
((
pipe
)
=>
{
const
data
=
pipe
.
getExtData
();
...
...
@@ -463,7 +463,8 @@ export class EditorMap {
// 燃气没有公司,所以没有device.companyType不收到公司的控制
const
companyHas
=
companyArr
.
indexOf
(
data
.
companyType
+
""
)
>=
0
;
// 设备存在
const
deviceHas
=
typeArr
.
indexOf
(
data
.
iconType
+
""
)
>=
0
;
const
deviceHas
=
typeArr
.
indexOf
(
+
data
.
iconType
)
>=
0
;
console
.
log
(
deviceHas
)
// 必须设备存在数组里,才会显示设备 !data.companyType代表用户不受公司制约
if
(
deviceHas
&&
(
companyHas
||
!
data
.
companyType
))
{
device
.
show
();
...
...
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
38f8fe2b
This diff is collapsed.
Click to expand it.
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