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
365907cb
Commit
365907cb
authored
Sep 05, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1434523c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
5 deletions
+68
-5
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+29
-1
TravelPassengerList2.vue
...ponents/TravelManager/TravelList/TravelPassengerList2.vue
+1
-1
TravelpassengerList.vue
...mponents/TravelManager/TravelList/TravelpassengerList.vue
+32
-2
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+6
-1
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
365907cb
...
...
@@ -811,7 +811,9 @@
<div
v-if=
"item.ScoreNum >= 0"
@
click=
'goInvetig("investigationList", item.TCID, 0)'
>
查看旅客调查
</div>
</el-dropdown-item>
<el-dropdown-item>
<div
@
click=
'exportExcel_singleRoom(item)'
>
分房表下载
</div>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
...
...
@@ -1855,6 +1857,32 @@
}
})
},
//分房表下载
exportExcel_singleRoom
(
item
)
{
this
.
queryCommonData
.
loading
=
true
;
//导出报表
let
msg
=
{
TCID
:
item
.
TCID
,
isGetTicket
:
1
,
//不查询机票
isGetZiYouXing
:
0
,
//查询自由行
isOnlyFenFang
:
1
,
//只查询已分房的
};
var
fileName
=
"【"
+
item
.
TCNUM
+
"】分房表["
+
this
.
getCurrentTime
()
+
"].xls"
;
this
.
GetLocalFile
(
"travel_get_GetTravelGuestExport"
,
msg
,
fileName
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
});
},
getCurrentTime
()
{
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
var
day
=
date
.
getDate
();
var
hour
=
date
.
getHours
();
var
minute
=
date
.
getMinutes
();
var
second
=
date
.
getSeconds
();
return
year
+
'_'
+
month
+
'_'
+
day
+
'_'
+
hour
+
'_'
+
minute
+
'_'
+
second
;
}
},
filters
:
{
formatStartDate
(
value
)
{
...
...
src/components/TravelManager/TravelList/TravelPassengerList2.vue
View file @
365907cb
...
...
@@ -58,7 +58,7 @@
</table>
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"导出报表"
@
click=
"exportExcel()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"导出报表"
@
click=
"exportExcel()"
style=
"display:none;"
>
</li>
</ul>
</div>
...
...
src/components/TravelManager/TravelList/TravelpassengerList.vue
View file @
365907cb
...
...
@@ -89,7 +89,8 @@
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
v-if=
"!allDIs"
value=
"分房表确认"
@
click=
"querenHotel()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"导出报表"
@
click=
"exportExcel()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"分房表下载"
@
click=
"exportExcel_singleRoom()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"旅客名单下载"
@
click=
"exportExcel()"
>
</li>
</ul>
</div>
...
...
@@ -436,7 +437,36 @@
}
this
.
GetLocalFile
(
"travel_get_GetTravelGuestExport"
,
msg
,
fileName
);
},
//分房表下载
exportExcel_singleRoom
()
{
this
.
QueryMsg
.
loading
=
true
;
//导出报表
let
msg
=
{
TCID
:
this
.
msg
.
TCID
,
isGetTicket
:
1
,
//不查询机票
isGetZiYouXing
:
0
,
//查询自由行
isOnlyFenFang
:
1
,
//只查询已分房的
};
var
fileName
=
"旅客名单.xls"
;
if
(
this
.
QueryMsg
.
TeamInfoData
!=
null
)
{
fileName
=
"【"
+
this
.
QueryMsg
.
TeamInfoData
[
0
].
TCNUM
+
"】分房表["
+
this
.
getCurrentTime
()
+
"].xls"
;
}
this
.
GetLocalFile
(
"travel_get_GetTravelGuestExport"
,
msg
,
fileName
,
res
=>
{
this
.
QueryMsg
.
loading
=
false
;
});
},
getCurrentTime
()
{
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
var
day
=
date
.
getDate
();
var
hour
=
date
.
getHours
();
var
minute
=
date
.
getMinutes
();
var
second
=
date
.
getSeconds
();
return
year
+
'_'
+
month
+
'_'
+
day
+
'_'
+
hour
+
'_'
+
minute
+
'_'
+
second
;
},
//获取团期信息
getTeamInfo
()
{
var
qmsg
=
{
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
365907cb
...
...
@@ -280,7 +280,8 @@
</div>
</td>
<td>
<div
class=
"fz16 fbold linkspan"
@
click=
"goUrlT('TravelPassengerList2',item.TCID,'旅客名单')"
>
<!--"goUrlT('TravelPassengerList2',item.TCID,'旅客名单')-->
<div
class=
"fz16 fbold linkspan"
@
click=
"goRoomTip()"
>
<span
style=
"color: #4BCA81;"
v-if=
"item.HouseResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
HouseResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
...
...
@@ -1124,6 +1125,10 @@
this
.
loading
=
false
;
});
},
goRoomTip
()
{
this
.
Info
(
"请联系组团OP提供分房表文件!"
);
}
},
mounted
()
{
let
myDate
=
new
Date
();
...
...
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