Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
2cf8f310
Commit
2cf8f310
authored
Mar 17, 2020
by
弓厶
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'master' and 'master' of 172.18.101.172:dedema/school-center-ui
parents
70208c1e
b8832634
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
6 deletions
+30
-6
src/views/school-center/hhr-report/hhrReport.vue
+9
-3
src/views/school-center/order/order.vue
+21
-3
No files found.
src/views/school-center/hhr-report/hhrReport.vue
View file @
2cf8f310
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<!-- 搜索区域 -->
<!-- 搜索区域 -->
<a-form
layout=
"inline"
>
<a-form
layout=
"inline"
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"
12
"
:sm=
"12"
>
<a-col
:md=
"
6
"
:sm=
"12"
>
<a-form-item
label=
"时间选择:"
>
<a-form-item
label=
"时间选择:"
>
<a-range-picker
@
change=
"onChange"
/>
<a-range-picker
@
change=
"onChange"
/>
</a-form-item>
</a-form-item>
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
<a-button
v-show=
"callback"
style=
"margin-left: 10px"
>
导出中
<a-spin
style=
"margin-left: 5px"
size=
"small"
/></a-button>
<a-button
v-show=
"callback"
style=
"margin-left: 10px"
>
导出中
<a-spin
style=
"margin-left: 5px"
size=
"small"
/></a-button>
</a-col>
</a-col>
</span>
</span>
</a-row>
</a-row>
</a-form>
</a-form>
</div>
</div>
...
@@ -48,10 +47,14 @@
...
@@ -48,10 +47,14 @@
endTime
:
''
endTime
:
''
},
},
columns
:
[
columns
:
[
{
title
:
'县分'
,
dataIndex
:
'subName'
,
width
:
80
,
fixed
:
'left'
},
{
title
:
'时间'
,
{
title
:
'时间'
,
children
:
[
children
:
[
{
title
:
'业务类型'
,
children
:
[
{
title
:
'业务类型'
,
children
:
[
{
dataIndex
:
'subName'
,
width
:
80
,
title
:
'县分'
},
{
dataIndex
:
'schoolNum'
,
width
:
80
,
title
:
'学校数'
},
{
dataIndex
:
'schoolNum'
,
width
:
80
,
title
:
'学校数'
},
{
dataIndex
:
'studentNum'
,
width
:
80
,
title
:
'学生数'
}
{
dataIndex
:
'studentNum'
,
width
:
80
,
title
:
'学生数'
}
]}
]}
...
@@ -149,6 +152,9 @@
...
@@ -149,6 +152,9 @@
},
},
handleSubmit
()
{
handleSubmit
()
{
this
.
callback
=
true
;
this
.
callback
=
true
;
var
today
=
new
Date
();
today
.
setTime
(
today
.
getTime
());
var
s2
=
today
.
getFullYear
()
+
"-"
+
(
today
.
getMonth
()
+
1
)
+
"-"
+
today
.
getDate
();
exportFile
(
reportDownload
(),
"一人一码统计报表"
+
nowdate
+
".xlsx"
,
this
.
downloadstatu
);
exportFile
(
reportDownload
(),
"一人一码统计报表"
+
nowdate
+
".xlsx"
,
this
.
downloadstatu
);
},
},
downloadstatu
(){
downloadstatu
(){
...
...
src/views/school-center/order/order.vue
View file @
2cf8f310
...
@@ -79,10 +79,17 @@
...
@@ -79,10 +79,17 @@
<a-col
:md=
"6"
:sm=
"12"
>
<a-col
:md=
"6"
:sm=
"12"
>
<a-button
@
click=
"search()"
type=
"primary"
>
查询
</a-button>
<a-button
@
click=
"search()"
type=
"primary"
>
查询
</a-button>
<a-button
v-show=
"!callback"
@
click=
"handleSubmit"
style=
"margin-left: 10px"
>
导出
</a-button>
<a-button
v-show=
"!callback"
@
click=
"handleSubmit"
style=
"margin-left: 10px"
>
导出
</a-button>
<a-button
v-show=
"callback"
style=
"margin-left: 10px"
>
导出中
<a-spin
style=
"margin-left: 5px"
size=
"small"
/></a-button>
<a-button
v-show=
"callback"
@
click=
"handleSubmit"
style=
"margin-left: 10px"
>
导出中
<a-spin
style=
"margin-left: 5px"
size=
"small"
/></a-button>
<a-button
@
click=
"handleSubmit1"
type=
"primary"
style=
"margin-left: 5px"
>
批量处理
</a-button>
<a-dropdown>
<a-button
@
click=
"handleSubmit2"
type=
"primary"
style=
"margin-left: 5px"
>
快递
</a-button>
<a-menu
slot=
"overlay"
@
click=
"handleMenuClick"
>
<a-menu-item
key=
"1"
><a-icon
type=
"arrow-up"
/>
批量处理
</a-menu-item>
<a-menu-item
key=
"2"
><a-icon
type=
"arrow-up"
/>
快递
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
导入
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</a-col>
</a-col>
</a-row>
</a-row>
</a-form>
</a-form>
</div>
</div>
...
@@ -468,6 +475,14 @@
...
@@ -468,6 +475,14 @@
},
},
methods
:{
methods
:{
moment
,
moment
,
handleMenuClick
(
e
){
if
(
e
.
key
==
'1'
){
this
.
handleSubmit1
()
}
if
(
e
.
key
==
'2'
){
this
.
handleSubmit2
()
}
},
reviewStudentIdCard
(
res
){
reviewStudentIdCard
(
res
){
this
.
reviewStudentImg
=
res
.
studenCard
this
.
reviewStudentImg
=
res
.
studenCard
/*this.reviewStudentImg =this.baseUrl+'abstract0'+1+'.jpg'*/
/*this.reviewStudentImg =this.baseUrl+'abstract0'+1+'.jpg'*/
...
@@ -679,6 +694,9 @@
...
@@ -679,6 +694,9 @@
}
}
},
},
handleSubmit
()
{
handleSubmit
()
{
if
(
this
.
callback
==
true
){
this
.
$message
.
warn
(
"正在导出中..."
,
5
);
}
let
downqueryParam
=
this
.
queryParam
let
downqueryParam
=
this
.
queryParam
let
nowdate
=
moment
().
format
(
'YYYY-MM-DD'
);
let
nowdate
=
moment
().
format
(
'YYYY-MM-DD'
);
this
.
callback
=
true
;
this
.
callback
=
true
;
...
...
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