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
bcedbbc5
Commit
bcedbbc5
authored
Mar 01, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c0e04e34
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
107 additions
and
49 deletions
+107
-49
sale.js
src/api/sale/sale.js
+10
-0
everyMonthFirst.vue
src/pages/sale/everyMonthFirst.vue
+3
-3
everyMonthSecond.vue
src/pages/sale/everyMonthSecond.vue
+91
-43
everyMonthTotal.vue
src/pages/sale/everyMonthTotal.vue
+2
-2
monthTotal.vue
src/pages/sale/monthTotal.vue
+1
-1
No files found.
src/api/sale/sale.js
View file @
bcedbbc5
...
...
@@ -503,6 +503,16 @@ export function GetStudentStaticMonth(data) {
});
}
//获取每月成长率数据
export
function
GetStudentStaticRateMonth
(
data
)
{
return
request
({
url
:
'/StudentStat/GetStudentStaticRateMonth'
,
method
:
'post'
,
data
});
}
...
...
src/pages/sale/everyMonthFirst.vue
View file @
bcedbbc5
...
...
@@ -18,7 +18,7 @@
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
ref=
"table"
:loading=
"loading"
:style=
"{'height':tableHeight+'px'}"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-header-column-table no-bottom-table
zk_Table
"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
""
>
class=
"sticky-column-table sticky-header-column-table no-bottom-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
""
>
<
template
v-slot:bottom
>
</
template
>
</q-table>
...
...
@@ -39,9 +39,9 @@
data
()
{
return
{
columns
:
[{
name
:
'
Month
Str'
,
name
:
'
Date
Str'
,
label
:
'日期'
,
field
:
'
Month
Str'
,
field
:
'
Date
Str'
,
align
:
'left'
},
{
...
...
src/pages/sale/everyMonthSecond.vue
View file @
bcedbbc5
<
style
>
.Sysuser_Date
.el-input__inner
{
background
:
transparent
!important
;
border
:
0
!important
;
}
</
style
>
<
template
>
<div>
<div
class=
"page-body"
>
<div
class=
"col row wrap q-mb-lg"
>
<div
class=
"col-3 Sysuser_Date q-mr-lg"
>
<q-field
filled
dense
>
<template
v-slot:control
>
<el-date-picker
v-model=
"msg.YearStr"
@
change=
"getList"
style=
"width:100%"
value-format=
"yyyy"
size=
"small"
type=
"year"
placeholder=
"选择年"
>
</el-date-picker>
</
template
>
</q-field>
</div>
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
ref=
"table"
:loading=
"loading"
:style=
"{'height':tableHeight+'px'}"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-header-column-table no-bottom-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
""
>
<
template
v-slot:bottom
>
</
template
>
</q-table>
</div>
</div>
</template>
<
script
>
import
{
GetStudentStaticRateMonth
}
from
'../../api/sale/sale'
;
export
default
{
props
:
{},
meta
:
{
title
:
""
},
components
:
{
},
components
:
{},
data
()
{
return
{
tabCheck
:
1
,
dataList
:
[],
msg
:
{
YearStr
:
''
},
columns
:
[{
name
:
'
DateStr
'
,
label
:
'
日期
'
,
field
:
'
DateStr
'
,
name
:
'
ItemName
'
,
label
:
'
名称
'
,
field
:
'
ItemName
'
,
align
:
'left'
},
{
name
:
'January'
,
name
:
'January
Rate
'
,
label
:
'1月'
,
field
:
'January'
,
field
:
'January
Rate
'
,
align
:
'left'
},
{
name
:
'February'
,
name
:
'February
Rate
'
,
label
:
'2月'
,
field
:
'February'
,
field
:
'February
Rate
'
,
align
:
'left'
,
},
{
name
:
'March'
,
name
:
'March
Rate
'
,
label
:
'3月'
,
field
:
'March'
,
field
:
'March
Rate
'
,
align
:
'left'
,
},
{
name
:
'April'
,
label
:
'四月'
,
field
:
'April'
,
name
:
'AprilRate'
,
label
:
'4月'
,
field
:
'AprilRate'
,
align
:
'left'
},
{
name
:
'MayRate'
,
label
:
'5月'
,
field
:
'MayRate'
,
align
:
'left'
},
{
name
:
'
May
'
,
label
:
'
五
月'
,
field
:
'
May
'
,
name
:
'
JuneRate
'
,
label
:
'
6
月'
,
field
:
'
JuneRate
'
,
align
:
'left'
},
{
name
:
'Ju
n
e'
,
label
:
'
六
月'
,
field
:
'Ju
n
e'
,
name
:
'Ju
lyRat
e'
,
label
:
'
7
月'
,
field
:
'Ju
lyRat
e'
,
align
:
'left'
},
{
name
:
'
July
'
,
label
:
'
七
月'
,
field
:
'
July
'
,
name
:
'
AugustRate
'
,
label
:
'
8
月'
,
field
:
'
AugustRate
'
,
align
:
'left'
},
{
name
:
'
August
'
,
label
:
'
八
月'
,
field
:
'
August
'
,
name
:
'
SeptemberRate
'
,
label
:
'
9
月'
,
field
:
'
SeptemberRate
'
,
align
:
'left'
},
{
name
:
'
September
'
,
label
:
'
九
月'
,
field
:
'
September
'
,
name
:
'
OctoberRate
'
,
label
:
'
10
月'
,
field
:
'
OctoberRate
'
,
align
:
'left'
},
{
name
:
'
October
'
,
label
:
'
十
月'
,
field
:
'
October
'
,
name
:
'
NovemberRate
'
,
label
:
'
11
月'
,
field
:
'
NovemberRate
'
,
align
:
'left'
},
{
name
:
'
November
'
,
label
:
'
十一
月'
,
field
:
'
November
'
,
name
:
'
DecemberRate
'
,
label
:
'
12
月'
,
field
:
'
DecemberRate
'
,
align
:
'left'
},
{
name
:
'
December
'
,
label
:
'
十二月
'
,
field
:
'
December
'
,
name
:
'
AvgRate
'
,
label
:
'
平均
'
,
field
:
'
AvgRate
'
,
align
:
'left'
}],
}
],
}
},
created
()
{
},
mounted
()
{},
mounted
()
{
let
d
=
new
Date
();
this
.
msg
.
YearStr
=
d
.
getFullYear
().
toString
();
this
.
getList
();
},
methods
:
{
getList
()
{
GetStudentStaticRateMonth
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
;
}
})
}
}
}
</
script
>
src/pages/sale/everyMonthTotal.vue
View file @
bcedbbc5
<
template
>
<div
class=
"page-body"
>
<q-tabs
v-model=
"tabCheck"
narrow-indicator
dense
align=
"left"
class=
"text-primary q-mb-sm"
>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"
统计1
"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"
统计2
"
/>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"
月份统计
"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"
成长率
"
/>
</q-tabs>
<template
v-if=
"tabCheck==1"
>
<everyMonthFirst></everyMonthFirst>
...
...
src/pages/sale/monthTotal.vue
View file @
bcedbbc5
...
...
@@ -18,7 +18,7 @@
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
ref=
"table"
:loading=
"loading"
:style=
"{'height':tableHeight+'px'}"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-header-column-table no-bottom-table
zk_Table
"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
""
>
class=
"sticky-column-table sticky-header-column-table no-bottom-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
""
>
<
template
v-slot:bottom
>
</
template
>
</q-table>
...
...
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