Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
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
Administrator
web-monitor
Commits
50782d4b
Commit
50782d4b
authored
Jul 06, 2022
by
yanzhongrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
243aafee
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
12 deletions
+18
-12
index.vue
src/views/dashboard/components/index.vue
+1
-1
mixins.js
src/views/dashboard/components/mixins.js
+1
-1
trendAnalysis.vue
src/views/dashboard/components/trendAnalysis.vue
+5
-1
type5.vue
src/views/dashboard/components/type5.vue
+1
-1
type6.vue
src/views/dashboard/components/type6.vue
+1
-1
leakyTable.vue
src/views/setting/statistics/comp/leakyTable.vue
+1
-0
lineTable.vue
src/views/setting/statistics/comp/lineTable.vue
+2
-1
detail.vue
src/views/setting/statistics/detail.vue
+6
-6
No files found.
src/views/dashboard/components/index.vue
View file @
50782d4b
...
...
@@ -24,7 +24,7 @@ export default {
},
props
:
{
type
:
{
type
:
Number
,
type
:
[
Number
,
String
]
,
defualt
:
null
,
},
curInfo
:
{
...
...
src/views/dashboard/components/mixins.js
View file @
50782d4b
...
...
@@ -40,7 +40,7 @@ export const DetailMixins = {
default
:
()
=>
{
},
},
type
:
{
type
:
Number
,
type
:
[
Number
,
String
]
,
defualt
:
null
,
},
curId
:
{
...
...
src/views/dashboard/components/trendAnalysis.vue
View file @
50782d4b
...
...
@@ -67,7 +67,11 @@ export default {
},
computed
:{
finalyText
()
{
return
'趋势分析图形('
+
this
.
curInfo
.
baseInfo
.
leakyCableDescribe
+
')'
if
(
this
.
$route
.
query
.
name
)
{
return
'趋势分析图形('
+
this
.
$route
.
query
.
name
+
')'
}
else
{
return
'趋势分析图形('
+
this
.
curInfo
.
baseInfo
.
leakyCableDescribe
+
')'
}
},
isDisableYear
()
{
return
this
.
year
>=
new
Date
().
getFullYear
()
...
...
src/views/dashboard/components/type5.vue
View file @
50782d4b
...
...
@@ -356,7 +356,7 @@ export default {
generateChart
()
{
this
.
curObj
=
[]
this
.
curflag
=
1
this
.
curObj
.
push
(
this
.
curI
d
)
this
.
curObj
.
push
(
this
.
curI
nfo
.
baseInfo
.
leakyCableDescribe
)
},
cancel
()
{
this
.
curflag
=
0
...
...
src/views/dashboard/components/type6.vue
View file @
50782d4b
...
...
@@ -345,7 +345,7 @@ export default {
generateChart
()
{
this
.
curObj
=
[]
this
.
curflag
=
1
this
.
curObj
.
push
(
this
.
curI
d
)
this
.
curObj
.
push
(
this
.
curI
nfo
.
baseInfo
.
leakyCableDescribe
)
},
cancel
()
{
this
.
curflag
=
0
...
...
src/views/setting/statistics/comp/leakyTable.vue
View file @
50782d4b
...
...
@@ -284,6 +284,7 @@ export default {
query
:
{
id
:
row
.
id
,
type
:
5
,
name
:
row
.
leakyCableDescribe
},
});
},
...
...
src/views/setting/statistics/comp/lineTable.vue
View file @
50782d4b
...
...
@@ -282,7 +282,8 @@ export default {
path
:
"/detail"
,
query
:
{
id
:
row
.
id
,
type
:
5
,
type
:
6
,
name
:
row
.
feederDescribe
},
});
},
...
...
src/views/setting/statistics/detail.vue
View file @
50782d4b
...
...
@@ -24,24 +24,24 @@ export default {
let
params
=
{
id
:
this
.
$route
.
query
.
id
,
type
:
this
.
type
,
name
:
this
.
$route
.
query
.
name
};
treeBaseInfo
(
params
).
then
((
res
)
=>
{
let
controlLimit
=
res
.
controlLimit
||
[]
if
(
controlLimit
)
{
let
controlLimit
=
res
.
controlLimit
||
[]
if
(
controlLimit
)
{
controlLimit
.
map
(
item
=>
{
res
[
`type
${
item
.
type
}
`
]
=
item
.
sum
res
[
`type
${
item
.
type
}
`
]
=
item
.
sum
})
}
this
.
curInfo
=
res
;
console
.
log
(
res
);
});
},
},
created
()
{
this
.
getParams
();
},
mounted
()
{},
mounted
()
{
},
};
</
script
>
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