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
0715ba09
Commit
0715ba09
authored
Feb 28, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
edf3efac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
17 deletions
+13
-17
DeviceA.vue
gassafetyprogress-web/src/components/bigWindow/DeviceA.vue
+9
-13
config.js
gassafetyprogress-web/src/utils/mapClass/config.js
+2
-2
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+2
-2
No files found.
gassafetyprogress-web/src/components/bigWindow/DeviceA.vue
View file @
0715ba09
<!--
* @Author: your name
* @Date: 2022-01-26 20:07:52
* @LastEditTime: 2022-02-28 1
3:43:25
* @LastEditTime: 2022-02-28 1
5:52:58
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
...
...
@@ -62,26 +62,22 @@
<div
class=
"last"
>
报警中
</div>
</div>
<div
class=
"tbody flex"
v-if=
"Array.isArray(deviceData.pressureFlows)"
>
<div
class=
"first zzz"
>
{{
"流量计"
}}
</div>
<div
class=
""
>
{{
deviceData
.
pressureFlows
.
length
}}
</div>
<div
class=
"first zzz"
>
{{
"
压力表与
流量计"
}}
</div>
<div
v-unValue
class=
""
>
{{
deviceData
.
numberEquipment
}}
</div>
<div
v-unValue
class=
""
>
{{
(
Math
.
random
()
*
deviceData
.
pressureFlows
.
length
)
>>
1
}}
{{
deviceData
.
onlineEquipment
}}
</div>
<div
v-unValue
class=
""
>
{{
(
Math
.
random
()
*
deviceData
.
pressureFlows
.
length
)
>>
1
}}
{{
deviceData
.
offlineEquipment
}}
</div>
<div
v-unValue
class=
""
>
{{
(
Math
.
random
()
*
deviceData
.
pressureFlows
.
length
)
>>
1
}}
{{
deviceData
.
historicalAlarm
}}
</div>
<div
v-unValue
class=
""
>
{{
(
Math
.
random
()
*
deviceData
.
pressureFlows
.
length
)
>>
1
}}
{{
deviceData
.
alarmProcessed
}}
</div>
<div
v-unValue
class=
"last zzz"
>
{{
deviceData
.
pressureFlows
.
filter
((
item
)
=>
{
return
item
.
deviceState
==
2
;
}
).
length
}}
<div
v-unValue
class=
"last"
>
{{
deviceData
.
inAlarm
}}
</div>
</div>
</div>
...
...
gassafetyprogress-web/src/utils/mapClass/config.js
View file @
0715ba09
/*
* @Author: your name
* @Date: 2022-01-26 10:47:44
* @LastEditTime: 2022-02-2
5 11:19:55
* @LastEditTime: 2022-02-2
8 15:53:46
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/utils/config.js
...
...
@@ -31,7 +31,7 @@ export const deviceType = {
1
:
"管道"
,
2
:
"调压箱"
,
3
:
"阀门"
,
4
:
"
厂
站"
,
4
:
"
场
站"
,
5
:
"监控"
,
6
:
"用户"
,
};
...
...
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
0715ba09
<!--
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-28 1
3:55:13
* @LastEditTime: 2022-02-28 1
5:54:27
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
...
...
@@ -222,7 +222,7 @@ export default {
val
:
4
,
ischeck
:
false
,
imgurl
:
require
(
"@/assets/image/czsub.svg"
),
name
:
"
厂
站"
,
name
:
"
场
站"
,
},
{
val
:
6
,
...
...
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