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