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
40ededc3
Commit
40ededc3
authored
Jul 05, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增日志显示
parent
6e3d9f42
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
21 deletions
+50
-21
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+1
-1
commonHotelInfo.vue
src/components/commonPage/commonHotelInfo.vue
+39
-12
commonHotelLog.vue
src/components/commonPage/commonHotelLog.vue
+10
-8
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
40ededc3
...
...
@@ -490,7 +490,7 @@
<span
class=
"TCL-greenType"
>
{{
item
.
ClearOrderHour
}}
小时
</span>
</p>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<el-popover
width=
"8
0
0"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"8
5
0"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
...
...
src/components/commonPage/commonHotelInfo.vue
View file @
40ededc3
...
...
@@ -9,6 +9,17 @@
padding
:
5px
0
;
}
.comHotelOperation
.tdRight
{
text-align
:
right
;
width
:
20%
;
}
.comHotelOperation
.tdLeft
{
text-align
:
left
;
padding-left
:
5px
;
width
:
30%
;
}
</
style
>
<
template
>
...
...
@@ -19,7 +30,7 @@
<td>
公司团号
</td>
<td
:colspan=
"
3
"
style=
"text-align:left;"
>
<td
:colspan=
"
4
"
style=
"text-align:left;"
>
<span
style=
"padding-left:5px;"
>
{{
TCNUM
}}
(
{{
TCID
}}
)
</span>
</td>
<td>
...
...
@@ -38,13 +49,13 @@
<th
style=
"width:100px;"
v-if=
"showHotelObj.showPay"
>
付款方式
</th>
<th
style=
"width:100px;"
v-if=
"showHotelObj.ShowTaxType"
>
税入/税别
</th>
<th
style=
"width:120px;"
v-if=
"showHotelObj.ShowRebateRatio"
>
返佣比例
</th>
<th
style=
"width:1
2
0px"
v-if=
"showHotelObj.showZhan"
>
占房时间
</th>
<th
style=
"width:1
3
0px"
v-if=
"showHotelObj.showZhan"
>
占房时间
</th>
<th
style=
"width:100px"
v-if=
"showHotelObj.showZhan"
>
确认时间
</th>
<th
style=
"width:
100px;display:non
e"
>
<th
style=
"width:
80px;"
v-if=
"showHotelObj.showPric
e"
>
日志
</th>
</tr>
<template
v-for=
"
hotelItem
in HotelObj"
>
<template
v-for=
"
(hotelItem,index)
in HotelObj"
>
<tr
v-for=
"(hotelSubItem,hotelSubIndex) in hotelItem.SubList"
>
<td
width=
"120"
v-if=
"hotelSubIndex==0"
:rowspan=
"hotelItem.SubList.length"
>
{{
hotelItem
.
UseDay
}}
...
...
@@ -97,11 +108,10 @@
<td
v-if=
"showHotelObj.showZhan"
>
{{hotelSubItem.SureTimeStr}}
</td>
<td
style=
"display:none;
"
>
<td
v-if=
"showHotelObj.showPrice
"
>
<el-popover
width=
"200"
trigger=
"click"
popper-class=
"Bus_HotelPop"
>
<commonHotelLog
:TCID=
"TCID"
:HotelId=
"hotelSubItem.HotelId"
:UseTime=
"hotelItem.UseDay"
>
</commonHotelLog>
<div
slot=
"reference"
class=
"w80"
style=
"cursor:pointer;text-decoration:underline;"
>
日志
</div>
<commonHotelLog
:ref=
"'comHotelLog'+index+hotelSubIndex+''"
>
</commonHotelLog>
<div
slot=
"reference"
class=
"w80"
style=
"cursor:pointer;text-decoration:underline;"
@
click=
"GetHotelLog(hotelSubItem,index,hotelSubIndex)"
>
日志
</div>
</el-popover>
</td>
</tr>
...
...
@@ -112,21 +122,33 @@
<table
width=
"100%"
class=
"comHotelOperation"
>
<
template
v-if=
"HotelObj&&HotelObj.length>0&&showHotelObj.showCaozuoTime"
>
<tr>
<td>
开团时间:
<td
class=
"tdRight"
>
开团时间:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].PriceCreateDateStr"
>
{{
HotelObj
[
0
].
PriceCreateDateStr
}}
</span>
<span
v-else
>
暂无
</span>
</td>
<td
style=
"padding-left:26px;"
>
吃房时间:
<td
class=
"tdRight"
>
吃房时间:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].UseHotelTimeStr"
>
{{
HotelObj
[
0
].
UseHotelTimeStr
}}
</span>
<span
v-else
>
暂无
</span>
</td>
</tr>
<tr>
<td>
地接团号生成时间:
<td
class=
"tdRight"
>
地接团号生成时间:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].DMCNumCreateTimeStr"
>
{{
HotelObj
[
0
].
DMCNumCreateTimeStr
}}
</span>
<span
v-else
>
暂无
</span>
</td>
<td>
手配确认时间:
<td
class=
"tdRight"
>
手配确认时间:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].ShouPeiStatusTimeStr"
>
{{
HotelObj
[
0
].
ShouPeiStatusTimeStr
}}
</span>
<span
v-else
>
暂无
</span>
</td>
...
...
@@ -166,6 +188,11 @@
commonHotelLog
},
methods
:
{
//调用子组件获取日志方法
GetHotelLog
(
subItem
,
index
,
hotelSubIndex
)
{
let
str
=
`comHotelLog
${
index
}${
hotelSubIndex
}
`
this
.
$refs
[
str
][
0
].
getHotelLogsList
(
this
.
TCID
,
subItem
.
HotelId
,
subItem
.
UseDay
);
},
DownLoadShouPeiShu
()
{
this
.
loading
=
true
;
let
qMsg
=
{
...
...
src/components/commonPage/commonHotelLog.vue
View file @
40ededc3
<!--酒店日志-->
<
style
>
.commonHotelLog
{
height
:
150px
;
overflow-y
:
scroll
;
}
.commonHotelLog
>
div
:first-child
{
margin-bottom
:
10px
;
}
...
...
@@ -59,9 +63,9 @@
<
template
>
<div>
<div
class=
"commonHotelLog"
>
<div
class=
"commonHotelLog"
v-loading=
"loading"
>
<div
class=
"AuditLog"
>
日志
</div>
<div
class=
"logContact"
style=
"background:#f9f9f9; padding:
20
px 10px 0;"
>
<div
class=
"logContact"
style=
"background:#f9f9f9; padding:
5
px 10px 0;"
>
<div
v-if=
'HotelLogsList.length>0'
v-for=
"(item,index) in HotelLogsList"
:key=
"index"
>
<div
class=
"clearfix"
>
<div
class=
"Auditcircle"
style=
"left: 6px!important;"
></div>
...
...
@@ -75,13 +79,10 @@
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"TCID"
,
"HotelId"
,
"UseTime"
],
data
()
{
return
{
reverse
:
true
,
loading
:
false
,
queryLogMsg
:
{
pageIndex
:
1
,
...
...
@@ -98,6 +99,8 @@
methods
:
{
//获取日志
getHotelLogsList
(
TCID
,
HotelId
,
timeStr
)
{
this
.
HotelLogsList
=
[];
this
.
loading
=
true
;
if
(
TCID
)
{
this
.
queryLogMsg
.
TCID
=
TCID
;
}
...
...
@@ -108,15 +111,14 @@
this
.
queryLogMsg
.
UseTime
=
timeStr
;
}
this
.
apipost
(
'DmcInfoChangeLog_get_GetHotelLogList'
,
this
.
queryLogMsg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelLogsList
=
res
.
data
.
data
.
pageData
;
}
},
err
=>
{})
},
},
mounted
()
{
this
.
getHotelLogsList
(
this
.
TCID
,
this
.
HotelId
,
this
.
UseTime
);
}
mounted
()
{}
};
</
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