Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
46288525
Commit
46288525
authored
May 14, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增机票业绩页面
parent
ab534e82
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
230 additions
and
179 deletions
+230
-179
PassengerList.vue
src/components/Ticketing/PassengerList.vue
+193
-165
flightPerformance.vue
src/components/Ticketing/flightPerformance.vue
+37
-14
No files found.
src/components/Ticketing/PassengerList.vue
View file @
46288525
This diff is collapsed.
Click to expand it.
src/components/Ticketing/flightPerformance.vue
View file @
46288525
...
@@ -23,25 +23,26 @@
...
@@ -23,25 +23,26 @@
<li>
<li>
<span>
<span>
<em>
月份
</em>
<em>
月份
</em>
<el-date-picker
v-model=
'msg.QMonth'
value-format=
"yyyy-MM"
type=
"month"
></el-date-picker>
<el-date-picker
v-model=
'msg.QMonth'
value-format=
"yyyy-MM"
type=
"month"
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"getList()"
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"getList()"
:value=
"$t('pub.searchBtn')"
/>
:value=
"$t('pub.searchBtn')
"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"DownLoad()"
value=
"导出
"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
<table
class=
"singeRowTable fpTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
class=
"singeRowTable fpTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th>
团期
</th>
<th>
团期
</th>
<th>
出团公司
</th>
<th>
出团公司
</th>
<th>
线路
</th>
<th>
线路
</th>
<th>
人数
</th>
<th>
人数
</th>
<th>
操作人员
</th>
<th>
操作人员
</th>
</tr>
</tr>
<tr
v-for=
"item in dataList"
>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
TCNUM
}}
</td>
<td>
<a
style=
"color:blue;cursor:pointer"
@
click=
'goUrlT("RegistrationList",item.TCID,"报名清单")'
>
(
{{
item
.
TCID
}}
)
{{
item
.
TCNUM
}}
</a></td>
<td>
{{
item
.
OutBranchName
}}
</td>
<td>
{{
item
.
OutBranchName
}}
</td>
<td>
{{
item
.
LineName
}}
</td>
<td>
{{
item
.
LineName
}}
</td>
<td>
{{
item
.
TicketNum
}}
</td>
<td>
{{
item
.
TicketNum
}}
</td>
...
@@ -61,8 +62,8 @@
...
@@ -61,8 +62,8 @@
CreateBy
:
0
,
//操作人
CreateBy
:
0
,
//操作人
QMonth
:
''
,
//月份
QMonth
:
''
,
//月份
},
},
value1
:
''
,
loading
:
false
,
dataList
:[],
dataList
:
[],
//航空公司下拉
//航空公司下拉
airlineList
:
[],
airlineList
:
[],
//操作人下拉
//操作人下拉
...
@@ -71,22 +72,35 @@
...
@@ -71,22 +72,35 @@
},
},
mounted
()
{
mounted
()
{
let
date
=
new
Date
(),
let
date
=
new
Date
(),
y
=
date
.
getFullYear
(),
y
=
date
.
getFullYear
(),
m
=
date
.
getMonth
()
<
10
?
"0"
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
;
m
=
date
.
getMonth
()
<
10
?
"0"
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
;
this
.
msg
.
QMonth
=
y
+
'-'
+
m
;
this
.
msg
.
QMonth
=
y
+
'-'
+
m
;
this
.
initAirlines
();
this
.
initAirlines
();
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
getList
()
{
//获取列表数据
//页面跳转
goUrlT
(
path
,
obj
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}
})
},
//获取列表数据
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"AirTicket_get_GetTicketPerformance"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"AirTicket_get_GetTicketPerformance"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
this
.
dataList
=
res
.
data
.
data
;
}
}
});
});
},
},
//初始化航空公司下拉
//初始化航空公司下拉
initAirlines
()
{
initAirlines
()
{
this
.
apipost
(
this
.
apipost
(
...
@@ -111,6 +125,15 @@
...
@@ -111,6 +125,15 @@
err
=>
{}
err
=>
{}
);
);
},
},
//下载业绩数据
DownLoad
()
{
this
.
loading
=
true
;
var
fileName
=
"机票业绩下载"
+
this
.
msg
.
QMonth
+
".xls"
;
this
.
GetLocalFile
(
"AirTicket_get_DownLoadGetTicketPerformance"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
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