Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
d33bdb1b
Commit
d33bdb1b
authored
Aug 25, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
105c4d8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
9 deletions
+29
-9
monthlyReport.vue
src/components/statistics/monthlyReport.vue
+29
-9
No files found.
src/components/statistics/monthlyReport.vue
View file @
d33bdb1b
...
@@ -21,19 +21,19 @@
...
@@ -21,19 +21,19 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"新增下线"
>
<el-form-item
label=
"新增下线"
>
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"newAdd"
>
导出
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"newAdd"
:loading=
'loading1'
>
导出
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单佣金"
>
<el-form-item
label=
"订单佣金"
>
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"commission"
>
导出
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"commission"
:loading=
'loading2'
>
导出
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"vip购买"
>
<el-form-item
label=
"vip购买"
>
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"vippurchase"
>
导出
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"vippurchase"
:loading=
'loading3'
>
导出
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"新用户下单"
>
<el-form-item
label=
"新用户下单"
>
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"newoverbooking"
>
导出
<el-button
type=
"primary"
size=
"small"
style=
"margin-left: 15px;"
@
click=
"newoverbooking"
:loading=
'loading4'
>
导出
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -51,7 +51,11 @@
...
@@ -51,7 +51,11 @@
msg
:
{
msg
:
{
StartTime
:
''
,
StartTime
:
''
,
EndTime
:
''
,
EndTime
:
''
,
}
},
loading1
:
false
,
loading2
:
false
,
loading3
:
false
,
loading4
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -109,31 +113,47 @@
...
@@ -109,31 +113,47 @@
this
.
msg
.
EndTime
=
this
.
value
[
1
];
this
.
msg
.
EndTime
=
this
.
value
[
1
];
},
},
newAdd
()
{
//新增下线
newAdd
()
{
//新增下线
this
.
loading1
=
true
this
.
GetLocalFile
(
this
.
GetLocalFile
(
"/api/Report/GetNewReferralsListToExcel"
,
"/api/Report/GetNewReferralsListToExcel"
,
this
.
msg
,
this
.
msg
,
'新增下线'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
'新增下线'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
''
,
res
=>
{
this
.
loading1
=
false
}
);
);
},
},
commission
(){
//订单佣金
commission
(){
//订单佣金
this
.
loading2
=
true
this
.
GetLocalFile
(
this
.
GetLocalFile
(
"/api/Report/GetOrderCommissionListToExcel"
,
"/api/Report/GetOrderCommissionListToExcel"
,
this
.
msg
,
this
.
msg
,
'订单佣金'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
'订单佣金'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
''
,
res
=>
{
this
.
loading2
=
false
}
);
);
},
},
vippurchase
(){
//Vip购买
vippurchase
(){
//Vip购买
this
.
loading3
=
true
this
.
GetLocalFile
(
this
.
GetLocalFile
(
"/api/Report/GetVipBuyListToExcel"
,
"/api/Report/GetVipBuyListToExcel"
,
this
.
msg
,
this
.
msg
,
'Vip购买'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
'Vip购买'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
''
,
res
=>
{
this
.
loading3
=
false
}
);
);
},
},
newoverbooking
(){
//新用户下单
newoverbooking
(){
//新用户下单
this
.
loading4
=
true
this
.
GetLocalFile
(
this
.
GetLocalFile
(
"/api/Report/GetNewUserListToExcel"
,
"/api/Report/GetNewUserListToExcel"
,
this
.
msg
,
this
.
msg
,
'新用户下单'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
'新用户下单'
+
this
.
msg
.
StartTime
+
'~'
+
this
.
msg
.
EndTime
,
''
,
res
=>
{
this
.
loading4
=
false
}
);
);
}
}
...
...
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