Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
east-nanjing-new
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
郭铭瑶
east-nanjing-new
Commits
48531bfb
Commit
48531bfb
authored
Apr 19, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决有求必应里环图的bug
parent
1bab2f2a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
34 deletions
+37
-34
demand.vue
src/view/right/demand.vue
+37
-34
No files found.
src/view/right/demand.vue
View file @
48531bfb
...
@@ -237,8 +237,10 @@ export default defineComponent({
...
@@ -237,8 +237,10 @@ export default defineComponent({
},
},
]
]
})
})
const
pieSeries
=
pieData
.
value
.
map
((
item
,
i
)
=>
{
const
pieSeries
=
computed
(()
=>
{
const
rate
=
Math
.
round
((
pieData
.
value
.
length
-
i
)
*
fontSize
.
value
)
+
10
return
pieData
.
value
.
map
((
item
,
i
)
=>
{
const
rate
=
Math
.
round
((
pieData
.
value
.
length
-
i
)
*
fontSize
.
value
)
+
10
const
borderWidth
=
fontSize
.
value
*
0.6
const
borderWidth
=
fontSize
.
value
*
0.6
return
{
return
{
type
:
'pie'
,
type
:
'pie'
,
...
@@ -270,12 +272,13 @@ export default defineComponent({
...
@@ -270,12 +272,13 @@ export default defineComponent({
],
],
}
}
})
})
const
pieOption
=
ref
({
})
const
pieOption
=
computed
(()
=>
({
legend
:
{
legend
:
{
show
:
false
,
show
:
false
,
},
},
series
:
pieSeries
,
series
:
pieSeries
.
value
,
})
})
)
const
steps
=
ref
([
'发现'
,
'立案'
,
'派遣'
,
'处置'
,
'核查'
,
'结案'
])
const
steps
=
ref
([
'发现'
,
'立案'
,
'派遣'
,
'处置'
,
'核查'
,
'结案'
])
const
searchCase
=
(
key
:
string
)
=>
{
const
searchCase
=
(
key
:
string
)
=>
{
...
...
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