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
1a40dfee
Commit
1a40dfee
authored
Dec 20, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机票业绩下载修改
parent
2902fd79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
6 deletions
+27
-6
AirticketCommissionDetail.vue
src/components/administrative/AirticketCommissionDetail.vue
+27
-6
No files found.
src/components/administrative/AirticketCommissionDetail.vue
View file @
1a40dfee
...
...
@@ -25,12 +25,16 @@
<td>
{{
item
.
TotalPersion
}}
</td>
<td>
{{
item
.
CommissionMoney
}}
</td>
<td>
{{
item
.
Periods
}}
</td>
<td><a
@
click=
"goUrl(item)"
style=
"color:blue;text-decoration:underline;cursor:pointer;"
>
详情
</a></td>
<td>
<a
@
click=
"goUrl(item)"
style=
"color:blue;text-decoration:underline;cursor:pointer;"
>
详情
</a>
<a
@
click=
"DownLoadAirticketCommission(item)"
style=
"color:blue;text-decoration:underline;cursor:pointer; display:none;"
>
下载差异
</a>
</td>
</tr>
</table>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
...
...
@@ -41,14 +45,30 @@
loading
:
false
,
//数据源
dataList
:
[],
CurrentUserInfo
:
{},
//当前登录对象
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
()
this
.
CurrentUserInfo
=
userInfo
;
this
.
msg
.
MainId
=
this
.
$route
.
query
.
ID
;
this
.
getList
();
},
methods
:
{
//下载票务提成差异
DownLoadAirticketCommission
(
item
)
{
this
.
loading
=
true
;
//导出报表
let
msg
=
{
UserId
:
item
.
UserId
,
Periods
:
item
.
Periods
};
var
fileName
=
item
.
UName
+
"【"
+
item
.
Periods
+
"】"
+
"提成差异.xls"
;
this
.
GetLocalFile
(
"airticket_get_DownloadAirticketCommission"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//获取数据
getList
()
{
this
.
loading
=
true
;
...
...
@@ -70,8 +90,8 @@
this
.
$router
.
push
({
path
:
"flightPerformance"
,
query
:
{
UserId
:
item
.
UserId
,
Periods
:
item
.
Periods
,
UserId
:
item
.
UserId
,
Periods
:
item
.
Periods
,
blank
:
'y'
,
tab
:
'票务业绩详情'
}
...
...
@@ -79,4 +99,5 @@
}
},
}
</
script
>
\ No newline at end of file
</
script
>
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