Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
dsk-cr20g
Commits
55a00355
Commit
55a00355
authored
Oct 11, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4d595e2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
index.js
dsk-operate-ui/src/router/index.js
+1
-1
zbxmfx.vue
...ate-ui/src/views/detail/groupAccount/component/zbxmfx.vue
+17
-3
index.vue
dsk-operate-ui/src/views/index.vue
+4
-0
No files found.
dsk-operate-ui/src/router/index.js
View file @
55a00355
...
@@ -70,7 +70,7 @@ export const constantRoutes = [
...
@@ -70,7 +70,7 @@ export const constantRoutes = [
path
:
'index'
,
path
:
'index'
,
component
:
()
=>
import
(
'@/views/index'
),
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'index'
,
noCache
:
tru
e
}
meta
:
{
title
:
'首页'
,
icon
:
'index'
,
noCache
:
fals
e
}
}
}
]
]
},
},
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/zbxmfx.vue
View file @
55a00355
...
@@ -404,7 +404,10 @@
...
@@ -404,7 +404,10 @@
})
})
},
},
getGroupByMoney
(){
getGroupByMoney
(){
let
year
=
[
this
.
year1
.
toString
().
substr
(
0
,
4
)]
let
year
=
''
if
(
this
.
year1
){
year
=
[
this
.
year1
.
toString
().
substr
(
0
,
4
)]
}
groupByMoney
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
groupByMoney
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
this
.
isSkeleton3
=
false
this
.
isSkeleton3
=
false
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
...
@@ -424,7 +427,10 @@
...
@@ -424,7 +427,10 @@
})
})
},
},
getGroupByType
(){
getGroupByType
(){
let
year
=
[
this
.
year2
.
toString
().
substr
(
0
,
4
)]
let
year
=
''
if
(
this
.
year2
){
year
=
[
this
.
year2
.
toString
().
substr
(
0
,
4
)]
}
groupByType
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
groupByType
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
this
.
isSkeleton4
=
false
this
.
isSkeleton4
=
false
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
...
@@ -436,7 +442,10 @@
...
@@ -436,7 +442,10 @@
})
})
},
},
getGroupByLowerRate
(){
getGroupByLowerRate
(){
let
year
=
[
this
.
year3
.
toString
().
substr
(
0
,
4
)]
let
year
=
''
if
(
this
.
year3
){
year
=
[
this
.
year3
.
toString
().
substr
(
0
,
4
)]
}
groupByLowerRate
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
groupByLowerRate
({
combineId
:
this
.
customerId
,
year
:
year
}).
then
(
res
=>
{
this
.
isSkeleton5
=
false
this
.
isSkeleton5
=
false
if
(
res
.
code
===
200
){
if
(
res
.
code
===
200
){
...
@@ -496,6 +505,8 @@
...
@@ -496,6 +505,8 @@
},
},
initChart
(
data
)
{
initChart
(
data
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 让 指定id 的 div 的_echarts_instance_属性值 为 空状态
document
.
getElementById
(
"ndzb-echarts"
).
removeAttribute
(
'_echarts_instance_'
);
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"ndzb-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"ndzb-echarts"
))
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
...
@@ -627,6 +638,7 @@
...
@@ -627,6 +638,7 @@
},
},
initChart2
(
data
)
{
initChart2
(
data
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
"fbje-echarts"
).
removeAttribute
(
'_echarts_instance_'
);
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"fbje-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"fbje-echarts"
))
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
...
@@ -676,6 +688,7 @@
...
@@ -676,6 +688,7 @@
},
},
initChart3
(
data
)
{
initChart3
(
data
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
"lxtj-echarts"
).
removeAttribute
(
'_echarts_instance_'
);
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"lxtj-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"lxtj-echarts"
))
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
...
@@ -815,6 +828,7 @@
...
@@ -815,6 +828,7 @@
},
},
initChart4(data) {
initChart4(data) {
this.$nextTick(()=>{
this.$nextTick(()=>{
document.getElementById("xfl-echarts").removeAttribute('
_echarts_instance_
');
let myChart = echarts.init(document.getElementById("xfl-echarts"))
let myChart = echarts.init(document.getElementById("xfl-echarts"))
let option ={
let option ={
tooltip: {
tooltip: {
...
...
dsk-operate-ui/src/views/index.vue
View file @
55a00355
...
@@ -882,6 +882,8 @@ export default {
...
@@ -882,6 +882,8 @@ export default {
data
.
push
(
list
[
i
])
data
.
push
(
list
[
i
])
}
}
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 让 指定id 的 div 的_echarts_instance_属性值 为 空状态
document
.
getElementById
(
"zbtj-echarts"
).
removeAttribute
(
'_echarts_instance_'
);
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"zbtj-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"zbtj-echarts"
))
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
...
@@ -1020,6 +1022,8 @@ export default {
...
@@ -1020,6 +1022,8 @@ export default {
require
(
'@/assets/images/index/10.png'
),
require
(
'@/assets/images/index/10.png'
),
]
]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 让 指定id 的 div 的_echarts_instance_属性值 为 空状态
document
.
getElementById
(
"zbph-echarts"
).
removeAttribute
(
'_echarts_instance_'
);
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"zbph-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"zbph-echarts"
))
// let option ={
// let option ={
// legend: {
// legend: {
...
...
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