Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
Z
zhxf_vue
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
葛齐林
zhxf_vue
Commits
30e9b1f1
Commit
30e9b1f1
authored
May 21, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.suntrayoa.com:geqilin/zhxf_vue into dev
parents
fd0991df
1c9ed814
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
index.vue
src/pages/ol/kanban/index.vue
+27
-0
No files found.
src/pages/ol/kanban/index.vue
View file @
30e9b1f1
...
...
@@ -481,6 +481,9 @@ export default {
if
(
element
.
id
===
e
.
resource_id
)
{
element
.
children
.
forEach
((
el
)
=>
{
el
.
value
=
e
.
water_pressure
+
'MPa'
if
(
e
.
is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
})
}
})
...
...
@@ -495,12 +498,24 @@ export default {
element
.
children
.
forEach
((
el
)
=>
{
if
(
el
.
rightName
===
'温度'
)
{
el
.
value
=
e
.
temperature
+
'°C'
if
(
e
.
tp_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
}
else
if
(
el
.
rightName
===
'湿度'
)
{
el
.
value
=
e
.
humidity
+
'%RH'
if
(
e
.
hm_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
}
else
if
(
el
.
rightName
===
'一氧化碳'
)
{
el
.
value
=
e
.
carbon_monoxide
+
'PPM'
if
(
e
.
cm_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
}
else
if
(
el
.
rightName
===
'二氧化碳'
)
{
el
.
value
=
e
.
carbon_dioxide
+
'PPM'
if
(
e
.
cd_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
}
})
}
...
...
@@ -515,6 +530,9 @@ export default {
if
(
element
.
id
===
e
.
resource_id
)
{
element
.
children
.
forEach
((
el
)
=>
{
el
.
value
=
e
.
flow_rate
+
'm3/h'
if
(
e
.
fr_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
})
}
})
...
...
@@ -528,6 +546,9 @@ export default {
if
(
element
.
id
===
e
.
resource_id
)
{
element
.
children
.
forEach
((
el
)
=>
{
el
.
value
=
e
.
gauge_height
+
'cm'
if
(
e
.
gh_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
})
}
})
...
...
@@ -541,6 +562,9 @@ export default {
if
(
element
.
id
===
e
.
resource_id
)
{
element
.
children
.
forEach
((
el
)
=>
{
el
.
value
=
e
.
wind_speed
+
'm/s'
if
(
e
.
ws_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
})
}
})
...
...
@@ -554,6 +578,9 @@ export default {
if
(
element
.
id
===
e
.
resource_id
)
{
element
.
children
.
forEach
((
el
)
=>
{
el
.
value
=
e
.
wind_pressure
+
'pa'
if
(
e
.
wp_is_alarm
===
2
)
{
el
.
type
=
el
.
type
+
'h'
}
})
}
})
...
...
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