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
397a3144
Commit
397a3144
authored
Aug 20, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4e28d303
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
331 additions
and
821 deletions
+331
-821
HotelManagement.vue
src/components/Hotel/HotelManagement.vue
+26
-27
HotelProductManage2.vue
src/components/Hotel/HotelProductManage2.vue
+301
-790
restaurantList.vue
src/components/Restaurant/restaurantList.vue
+4
-4
No files found.
src/components/Hotel/HotelManagement.vue
View file @
397a3144
...
...
@@ -374,11 +374,12 @@
L5: items.ID == 5,
}">
{{
items
.
Name
}}
</span>
</div>
<template
v-if=
"msg.IsRecommend==0"
>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
</div></
template
>
<template
v-if=
"msg.IsRecommend==0"
>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
</div>
</
template
>
<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>
...
...
@@ -436,36 +437,36 @@
</el-tooltip>
<div
class=
"btnList"
>
<
template
v-if=
"userInfo.RB_Group_id==2"
>
<template
v-if=
"msg.IsRecommend==0"
>
<!--
<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"
>
详情
<!--
</
template
>
--
>
<button
@
click=
"goSubInfo('HotelInfoDetails', item.ID)"
class=
"hotelBtnMan"
>
详情
</button>
<
template
v-if=
"msg.IsRecommend==0"
>
<!-- <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>
<!-- </template> --
>
<!-- <template v-if="msg.IsRecommend==0"> --
>
<button
@
click=
"goproduct('HotelProductManage', item)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id != QjGroupId()"
>
{{$t('hotel.hotel_roomType')}}
</button>
</
template
>
<!-- </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
"
>
<
template
v-if=
"item.MaxFileDate&&item.MaxFileDate!=''"
>
<span
style=
"color:red"
>
{{
$t
(
'objFill.zuijinscsij'
)
}}
:
{{
item
.
MaxFileDate
}}
</span>
</
template
>
</template>
...
...
@@ -588,7 +589,7 @@
QFileStartDate
:
""
,
//报价上传开始日期
QFileEndDate
:
""
,
//报价上传结束日期
IsUpFile
:
0
,
//是否上传报价(1-已上传,2-未上传)
IsRecommend
:
0
,
IsRecommend
:
0
,
},
isDisableCountry
:
false
,
//是否禁用国家查询
};
...
...
@@ -891,8 +892,8 @@
(
err
)
=>
{}
);
},
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth
()
{
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth
()
{
let
isStock
=
"IsHotelPriceStock"
;
let
editDmcSource
=
"F_EditDmcSource"
;
this
.
apipost
(
'userauth_get_CheckUserAuthNewService'
,
''
,
res
=>
{
...
...
@@ -902,16 +903,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
();
});
...
...
src/components/Hotel/HotelProductManage2.vue
View file @
397a3144
This diff is collapsed.
Click to expand it.
src/components/Restaurant/restaurantList.vue
View file @
397a3144
...
...
@@ -321,8 +321,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>
...
...
@@ -373,9 +373,9 @@
{{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
v-if=
"
IsEditDmcSource==1
"
@
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)"
<button
v-if=
"IsHotelPriceStock==1&&
IsEditDmcSource==1
"
@
click=
"goUrl('RestaurantPackage',item.ID)"
class=
"hotelBtn"
>
{{$t('restaurant.res_package')}}
</button>
</div>
</div>
...
...
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