Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
008672c7
Commit
008672c7
authored
Dec 28, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
634eb097
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
sell.vue
src/components/work/sell.vue
+15
-5
No files found.
src/components/work/sell.vue
View file @
008672c7
...
...
@@ -11,7 +11,7 @@
</VueApexCharts>
</div>
<div
class=
"bottom flex justify-between content-between"
>
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==1}" @click="ckeckSell(1)">
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==1}" @click="ckeckSell(1
,'新名单','AddCount'
)">
<div
class=
"flex no-wrap justify-between items-center"
>
<img
src=
"../../assets/images/newindex/sell1.png"
style=
"width:26px;height:26px"
>
<q-btn
size=
"sm"
dense
flat
round
icon=
"more_horiz"
>
...
...
@@ -200,7 +200,7 @@
data
()
{
return
{
series
:
[{
name
:
"新
加
名单"
,
name
:
"新名单"
,
data
:
[]
}],
chartOptions
:
{
...
...
@@ -248,13 +248,23 @@
getPersionNumData
()
{
queryPersonnelStatic
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
251
,
res
.
Data
)
this
.
PersionData
=
res
.
Data
;
this
.
series
[
0
].
data
=
res
.
Data
.
dayList
this
.
ckeckSell
(
1
,
'新名单'
,
'AddCount'
)
}
});
},
ckeckSell
(
n
)
{
this
.
sellBlock
=
n
ckeckSell
(
n
,
name
,
field
)
{
this
.
sellBlock
=
n
;
this
.
series
[
0
].
name
=
name
;
this
.
series
[
0
].
data
=
[]
this
.
PersionData
.
dayList
.
map
(
item
=>
{
const
obj
=
{
x
:
item
.
x
,
y
:
item
[
field
]
}
this
.
series
[
0
].
data
.
push
(
obj
)
})
}
}
};
...
...
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