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
9262e8df
Commit
9262e8df
authored
Aug 21, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
9c90344e
38fa2e12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
348 additions
and
854 deletions
+348
-854
HotelInfo.vue
src/components/Hotel/HotelInfo.vue
+1
-2
HotelManagement.vue
src/components/Hotel/HotelManagement.vue
+22
-42
HotelProductManage2.vue
src/components/Hotel/HotelProductManage2.vue
+301
-790
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+2
-3
restaurantList.vue
src/components/Restaurant/restaurantList.vue
+22
-17
No files found.
src/components/Hotel/HotelInfo.vue
View file @
9262e8df
...
...
@@ -42,8 +42,7 @@
</el-switch>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_payType')"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsHaveAuth==1?false:true"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in PayList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
...
...
src/components/Hotel/HotelManagement.vue
View file @
9262e8df
...
...
@@ -7,7 +7,7 @@
.hotelmanagement
.resourceListMan
{
width
:
215px
;
height
:
3
5
0px
;
height
:
3
3
0px
;
background-color
:
#fff
;
border
:
1px
dashed
#ededed
;
border-radius
:
4px
;
...
...
@@ -87,7 +87,7 @@
}
.hotelmanagement
.hotelTitle
{
margin
:
22
px
16px
0
16px
;
margin
:
10
px
16px
0
16px
;
font-size
:
14px
;
color
:
#333333
;
overflow
:
hidden
;
...
...
@@ -117,7 +117,7 @@
}
.hotelmanagement
.Address
{
margin
:
0
16px
;
margin
:
10px
10px
0px
16px
;
height
:
17px
;
overflow
:
hidden
;
}
...
...
@@ -129,7 +129,7 @@
.hotelmanagement
.iconfont
{
margin-right
:
5px
;
position
:
relative
;
top
:
-4
px
;
top
:
0
px
;
}
.hotelmanagement
.icon-star1
{
...
...
@@ -374,11 +374,9 @@
L5: items.ID == 5,
}">
{{
items
.
Name
}}
</span>
</div>
<template
v-if=
"msg.IsRecommend==0"
>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
</div></
template
>
</div>
<div
class=
"starSu"
>
<div
class=
"star"
v-if=
"item.Star
<
8
"
>
<i
v-for=
"(items, index) in item.starArr"
class=
"iconfont icon-star1"
:key=
"index"
></i>
...
...
@@ -400,7 +398,7 @@
{{
$t
(
"ground.zhenshimingcheng"
)
}}
:
{{
item
.
HotelRealName
}}
</div>
</el-tooltip>
<
div
class=
"brandList clearfix"
style=
"display: none"
>
<
!--
<div
class=
"brandList clearfix"
>
<div
class=
"brand"
>
<i
class=
"iconfont honor icon-img_biaozhi"
></i>
{{
item
.
ChainBrand
}}
...
...
@@ -409,7 +407,7 @@
<i
class=
"iconfont dieline icon-img_shijian"
></i>
{{
item
.
DieLine
}}{{
$t
(
"hotel.hotel_day"
)
}}
</div>
</div>
</div>
-->
<div
class=
"Address"
>
<div
v-show=
"item.Address"
>
<i
class=
"iconfont icon-img_dz"
></i>
...
...
@@ -420,13 +418,8 @@
</div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.UpdateName + '' + item.UpdateTimeStr"
placement=
"top-start"
>
<div
style=
"
padding-left: 15px;
padding-top: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
"
>
<div
style=
" padding-left: 15px; padding-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; "
>
<i
style=
"top: 2px"
class=
"iconfont icon-renyuanguanli"
></i>
<span
v-if=
"item.UpdateName && item.UpdateName != ''"
>
{{
item
.
UpdateName
...
...
@@ -436,37 +429,30 @@
</el-tooltip>
<div
class=
"btnList"
>
<template
v-if=
"userInfo.RB_Group_id==2"
>
<template
v-if=
"msg.IsRecommend==0"
>
<button
@
click=
"goSubInfo('HotelInfo', item.ID)"
class=
"hotelBtnMan"
>
{{
$t
(
"pub.updateMsg"
)
}}
</button>
</
template
>
<button
@
click=
"goSubInfo('HotelInfoDetails', item.ID)"
class=
"hotelBtnMan"
>
详情
<button
@
click=
"goSubInfo('HotelInfoDetails', item.ID)"
class=
"hotelBtnMan"
>
详情
</button>
<
template
v-if=
"msg.IsRecommend==0"
>
<button
@
click=
"CopyHotel(item.ID)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id == QjGroupId()"
>
{{
$t
(
'objFill.copy'
)
}}
</button>
</
template
>
<
template
v-if=
"msg.IsRecommend==0"
>
</button>
<button
@
click=
"goproduct('HotelProductManage', item)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id != QjGroupId()"
>
{{
$t
(
'hotel.hotel_roomType'
)
}}
</button>
</
template
>
<br
/>
<button
v-if=
"(IsHotelPriceStock==1||userInfo.RB_Group_id!=2)&&msg.IsRecommend==0"
style=
"width: 80px; margin-top: 10px"
<button
v-if=
"(IsHotelPriceStock==1||userInfo.RB_Group_id!=2)"
style=
"width: 80px; margin-top: 10px"
@
click=
"goUrl('HotelProductManage2', item)"
class=
"hotelBtnMan"
>
{{
$t
(
"ground.baojiayukucun"
)
}}
</button>
<button
v-if=
"IsHotelPriceStock==1
&&msg.IsRecommend==0
"
style=
"width: 80px; margin-top: 10px"
@
click=
"downloadFile(item)"
<button
v-if=
"IsHotelPriceStock==1
"
style=
"width: 80px; margin-top: 10px"
@
click=
"downloadFile(item)"
class=
"hotelBtnMan"
>
{{
$t
(
'objFill.shangchuanbj'
)
}}
</button>
<
template
v-if=
"item.MaxFileDate&&item.MaxFileDate!=''
&&msg.IsRecommend==0
"
>
<span
style=
"color:red"
>
{{
$t
(
'objFill.zuijinscsij'
)
}}
:
{{
item
.
MaxFileDate
}}
</span>
<template
v-if=
"item.MaxFileDate&&item.MaxFileDate!=''"
>
<
br
/><
span
style=
"color:red"
>
{{
$t
(
'objFill.zuijinscsij'
)
}}
:
{{
item
.
MaxFileDate
}}
</span>
</
template
>
</template>
<
template
v-else
>
...
...
@@ -588,7 +574,6 @@
QFileStartDate
:
""
,
//报价上传开始日期
QFileEndDate
:
""
,
//报价上传结束日期
IsUpFile
:
0
,
//是否上传报价(1-已上传,2-未上传)
IsRecommend
:
0
,
},
isDisableCountry
:
false
,
//是否禁用国家查询
};
...
...
@@ -891,8 +876,8 @@
(
err
)
=>
{}
);
},
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth
()
{
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth
()
{
let
isStock
=
"IsHotelPriceStock"
;
let
editDmcSource
=
"F_EditDmcSource"
;
this
.
apipost
(
'userauth_get_CheckUserAuthNewService'
,
''
,
res
=>
{
...
...
@@ -902,18 +887,12 @@
if
(
tempData
.
includes
(
isStock
))
{
this
.
IsHotelPriceStock
=
1
;
}
if
(
tempData
.
includes
(
editDmcSource
))
{
//查看列表权限
if
(
tempData
.
includes
(
editDmcSource
))
{
//查看列表权限
this
.
IsEditDmcSource
=
1
;
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
}
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
this
.
selectResource
();
});
},
},
...
...
@@ -956,6 +935,7 @@
this
.
getCountryList
();
this
.
GetHotelTypeList
();
this
.
GetHotelPirceTypeList
();
this
.
selectResource
();
},
};
...
...
src/components/Hotel/HotelProductManage2.vue
View file @
9262e8df
This diff is collapsed.
Click to expand it.
src/components/Restaurant/restaurantInfoManage.vue
View file @
9262e8df
...
...
@@ -704,7 +704,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_website')"
>
<el-input
readonly
v-model=
"addMsg.URL"
maxlength=
"100"
class=
"w300"
>
<el-input
v-model=
"addMsg.URL"
maxlength=
"100"
class=
"w300"
>
<
template
slot=
"prepend"
>
https://
</
template
>
</el-input>
</el-form-item>
...
...
@@ -781,8 +781,7 @@
</el-switch>
</el-form-item>
<el-form-item
:label=
"$t('ground.zhifufangshi')"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsHaveAuth==1?false:true"
>
<el-select
v-model=
"addMsg.PayStyle"
class=
'multiple_input w300'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in PayList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
...
...
src/components/Restaurant/restaurantList.vue
View file @
9262e8df
...
...
@@ -60,23 +60,27 @@
.restaurantList
.L1
{
background-color
:
#e95252
;
border-radius
:
2px
;
}
.restaurantList
.L2
{
background-color
:
#47bf8c
;
border-radius
:
2px
;
}
.restaurantList
.L3
{
background-color
:
#2aaef2
;
border-radius
:
2px
;
}
.restaurantList
.L4
{
background-color
:
#9cf
;
border-radius
:
2px
;
}
.restaurantList
.L5
{
background-color
:
#00c6ff
;
margin-top
:
5
px
;
border-radius
:
2
px
;
}
.restaurantList
.F1
{
...
...
@@ -321,8 +325,8 @@
<li>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),selectResource()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<!--v-if="IsEditDmcSource==1"-->
<button
class=
"normalBtn"
type=
"button"
<button
v-if=
"IsEditDmcSource==1"
class=
"normalBtn"
type=
"button"
@
click=
"$router.push('restaurantInfoManage')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
</li>
</ul>
...
...
@@ -335,7 +339,7 @@
<div
class=
"resTypeList"
>
<span
class=
"foodList"
v-for=
"(items,index) in item.FoodTagArr"
:key=
"`ft_`+index"
>
{{
items
}}
</span>
</div>
<div
class=
"delScien"
@
click=
"isdelete(item.ID)"
v-if=
"
msg.IsRecommend==0
"
>
<div
class=
"delScien"
@
click=
"isdelete(item.ID)"
v-if=
"
IsEditDmcSource==1
"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
</div>
<div
class=
"starSu"
>
...
...
@@ -354,7 +358,7 @@
<template
v-if=
"item.OpenPlatformList&&item.OpenPlatformList.length>0"
>
<div
class=
"hotelTitle fz12"
>
上架平台:
<span
v-for=
"(items,index) in item.OpenPlatformList"
:class=
"
{'L1':items.ID==1,'L2':items.ID==2,'L3':items.ID==3,'L4':items.ID==4,'L5':items.ID==5}"
:key="`pl_`+index" style="
padding-left:1
px;">
{{
items
.
Name
}}
</span>
:key="`pl_`+index" style="
margin-left:1.5
px;">
{{
items
.
Name
}}
</span>
</div>
</
template
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.UseTypeListStr"
placement=
"top-start"
...
...
@@ -372,11 +376,14 @@
<span
v-if=
"item.UpdateName && item.UpdateName!=''"
>
{{item.UpdateName}}
</span>
{{item.UpdateTimeStr}}
</div>
<div
class=
"btnList"
:style=
"msg.IsRecommend==1?'text-align:left;':''"
>
<button
v-if=
"msg.IsRecommend==0"
@
click=
"goSubInfo('restaurantInfoManage',item.ID)"
class=
"hotelBtn"
>
{{$t('pub.updateMsg')}}
</button>
<button
:style=
"msg.IsRecommend==1?'margin-left:19px;':''"
@
click=
"goSubInfo('restaurantInfoDetail',item.ID)"
class=
"hotelBtn"
>
{{$t('fnc.xiangqing')}}
</button>
<button
v-if=
"IsHotelPriceStock==1&&msg.IsRecommend==0"
@
click=
"goUrl('RestaurantPackage',item.ID)"
<div
class=
"btnList"
style=
"text-align:center;"
>
<button
v-if=
"IsEditDmcSource==1"
@
click=
"goSubInfo('restaurantInfoManage',item.ID)"
class=
"hotelBtn"
>
{{$t('pub.updateMsg')}}
</button>
<button
v-if=
"IsHotelPriceStock==1&&IsEditDmcSource==1"
@
click=
"goUrl('RestaurantPackage',item.ID)"
class=
"hotelBtn"
>
{{$t('restaurant.res_package')}}
</button>
<button
@
click=
"goSubInfo('restaurantInfoDetail',item.ID)"
class=
"hotelBtn"
>
{{$t('fnc.xiangqing')}}
</button>
</div>
</div>
</div>
...
...
@@ -427,7 +434,7 @@
currentPage
:
1
,
ID
:
0
,
UpdateBy
:
0
,
//操作人
IsRecommend
:
0
,
IsRecommend
:
0
,
},
IsHotelPriceStock
:
0
,
//1-有获取餐厅与报价添加修改权限
IsEditDmcSource
:
0
,
//是否有新增修改权限
...
...
@@ -592,16 +599,14 @@
if
(
tempData
.
includes
(
isStock
))
{
this
.
IsHotelPriceStock
=
1
;
}
if
(
tempData
.
includes
(
editDmcSource
))
{
//查看列表权限
if
(
tempData
.
includes
(
editDmcSource
))
{
//查看列表权限
this
.
IsEditDmcSource
=
1
;
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
}
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
this
.
selectResource
();
});
...
...
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