Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
Project
Project
Details
Activity
Releases
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
honghuiliu
qsh-wc
Commits
c4240747
Commit
c4240747
authored
Sep 26, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
c4faabd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
site-detail.vue
pc/src/views/site-detail.vue
+11
-7
No files found.
pc/src/views/site-detail.vue
View file @
c4240747
...
...
@@ -327,7 +327,7 @@
{
name
:
'液位'
,
prop
:
'液位'
,
value
:
0
.7
,
value
:
0
,
unit
:
'm'
,
color
:
'#09a8ae'
,
CreatedAt
:
''
,
...
...
@@ -492,6 +492,16 @@
if
(
res
.
code
==
0
){
if
(
res
.
data
.
value
){
state
.
detail
.
yewei
=
Number
(
res
.
data
.
value
);
state
.
typeList
.
forEach
((
item
)
=>
{
item
.
show
=
false
;
item
.
value
=
0
;
item
.
unit
=
''
;
item
.
CreatedAt
=
''
;
if
(
item
.
name
==
"液位"
){
item
.
value
=
Number
(
res
.
data
.
value
);
item
.
unit
=
res
.
data
.
unit
;
}
});
}
}
});
...
...
@@ -609,12 +619,6 @@
}
state
.
list
.
page
=
page
;
api
.
getHistoryDataList
(
p
).
then
((
res
)
=>
{
state
.
typeList
.
forEach
((
item
)
=>
{
item
.
show
=
false
;
item
.
value
=
0
;
item
.
unit
=
''
;
item
.
CreatedAt
=
''
;
});
if
(
res
.
code
==
0
){
if
(
Array
.
isArray
(
res
.
data
.
list
)){
res
.
data
.
list
.
forEach
((
item
)
=>
{
...
...
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