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
ad45e165
Commit
ad45e165
authored
Aug 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
92c0b439
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
3 deletions
+77
-3
HotelTripThree.vue
...onents/newTravelmanager/travelLineTrip/HotelTripThree.vue
+76
-2
travelDaysTripThree.vue
...s/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
+1
-1
No files found.
src/components/newTravelmanager/travelLineTrip/HotelTripThree.vue
View file @
ad45e165
...
...
@@ -58,6 +58,13 @@
height
:
auto
!important
;
}
.dinnerBtn
.el-button
{
width
:
10px
!important
;
}
.dinnerBtn
.el-icon-search
{
width
:
10px
!important
;
margin-left
:
-6px
;
}
</
style
>
<
template
>
<div
class=
"Traveltrip-item-box"
>
...
...
@@ -87,6 +94,12 @@
<img
crossorigin=
"Anonymous"
src=
"../../../assets/img/daily_lunch.png"
>
</td>
<td
width=
"140"
valign=
"middle"
>
<template
v-if=
"PostConfig.LineId==14"
>
<el-input
placeholder=
"请输入餐厅名称"
v-model=
"dayObj.DinnerArray[1].DinnerName"
class=
"input-with-select dinnerBtn"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"getDmcSourcePage(dayObj.DinnerArray[1].DinnerName)"
></el-button>
</el-input>
</
template
>
<
template
v-else
>
<el-select
v-if=
"!dayObj.isRead&&IsDirect==1"
class=
""
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"dayObj.DinnerArray[1].DinnerId"
@
visible-change=
"getDinnerList($event)"
@
change=
"changeDinnerList(dayObj.DinnerArray[1])"
>
...
...
@@ -96,6 +109,8 @@
<span
class=
"TC-realSpan"
>
{{
item
.
RealName
}}
</span>
</el-option>
</el-select>
</
template
>
<el-input
type=
"text"
v-model=
"dayObj.DinnerArray[1].DinnerName"
class=
""
v-if=
"!dayObj.isRead&&IsDirect==0"
@
change=
"noDirectDinnerChange(1)"
></el-input>
<span
class=
"TC-hotelName"
v-if=
"dayObj.isRead"
>
...
...
@@ -157,10 +172,39 @@
</table>
</div>
</div>
<el-dialog
custom-class=
'w750'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
v-for=
"(item,index) in DinnerByKeyList"
>
<td>
{{item.MenuName}}
</td>
<td>
{{item.MenuUrl}}
</td>
<td>
{{item.Tier | tierFormat(item.Tier)}}
</td>
<td>
{{item.MenuStatus==0?'开启':'关闭'}}
</td>
<td>
{{item.GroupingCode}}
</td>
<td>
{{item.Sort}}
</td>
<td>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
>
<el-button
@
click=
"outerVisible = true,dialogTitle='修改权限菜单',updateData(index,item.MenuId)"
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
</el-tooltip>
</el-row>
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"searchParmeters.pageSize"
:total=
'totalDinnerByKeyList'
>
</el-pagination>
</el-dialog>
</template>
<
script
>
export
default
{
props
:
[
"dayObj"
,
"DayList"
,
"CurrentIndex"
,
"WarmTripDescribe"
,
"IsDirect"
,
"subConfig"
,
"TeamType"
,
props
:
[
"
PostConfig"
,
"
dayObj"
,
"DayList"
,
"CurrentIndex"
,
"WarmTripDescribe"
,
"IsDirect"
,
"subConfig"
,
"TeamType"
,
"IsOpenHotel"
//0可以添加删除酒店,1-不能修改酒店信息
],
data
()
{
...
...
@@ -176,10 +220,40 @@
hotelArray
:
this
.
dayObj
.
HotelArray
,
otherDinner
:
[],
hotelHotSpringDinner
:
[],
isFirstInitDinner
:
false
//初始含有酒店列表,加载完酒店数据在初始化餐厅列表
isFirstInitDinner
:
false
,
//初始含有酒店列表,加载完酒店数据在初始化餐厅列表
searchParmeters
:{
keywords
:
''
,
platform
:
2
,
type
:
0
,
pageIndex
:
1
,
pageSize
:
6
,
Province
:
0
,
DiningType
:
0
,
DiningPriceType
:
0
,
UseType
:
[
0
]
},
DinnerByKeyList
:[],
totalDinnerByKeyList
:
0
,
};
},
methods
:
{
//查询餐厅信息
getDmcSourcePage
(
keywords
){
if
(
keywords
===
""
)
{
return
;
}
else
{
if
(
str
.
trim
()
===
""
){
return
;
}
}
this
.
apipost
(
"hotel_post_GetDmcSourcePage"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DinnerByKeyList
=
res
.
data
.
data
.
pageData
;
this
.
DinnerByKeyList
=
res
.
data
.
data
;
}
});
},
// 非直采酒店
noDirectHotelChange
:
function
()
{
if
(
this
.
hotelArray
[
0
].
MD5Sign
===
''
)
{
...
...
src/components/newTravelmanager/travelLineTrip/travelDaysTripThree.vue
View file @
ad45e165
...
...
@@ -257,7 +257,7 @@
<div
class=
"TC-rightContent"
style=
"width: 99%;"
v-html=
"dayObj.WarmTipObj.Description"
></div>
</div>
</div>
<hotelTrip
:dayObj=
"dayObj"
:CurrentIndex=
"CurrentIndex"
:DayList=
"DayList"
:WarmTripDescribe=
"WarmTripDescribe"
<hotelTrip
:dayObj=
"dayObj"
:CurrentIndex=
"CurrentIndex"
:
PostConfig=
"dataAll"
:
DayList=
"DayList"
:WarmTripDescribe=
"WarmTripDescribe"
:IsDirect=
"NoticeParameters.IsDirect"
:subConfig=
"subConfig"
:TeamType=
"TeamType"
:IsOpenHotel=
"IsOpenHotel"
>
</hotelTrip>
<div
class=
"TD_OperaContent"
>
...
...
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