Commit 8dfa19f5 authored by 黄奎's avatar 黄奎

页面修改

parent 8bf3e931
This diff is collapsed.
......@@ -338,7 +338,7 @@
</div>
<div class="btnList">
<button @click="goSubInfo('restaurantInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button>
<button @click="goUrl('RestaurantPackage',item.ID)" class="hotelBtn">{{$t('restaurant.res_package')}}</button>
<button v-if="IsHotelPriceStock==1" @click="goUrl('RestaurantPackage',item.ID)" class="hotelBtn">{{$t('restaurant.res_package')}}</button>
</div>
</div>
</div>
......@@ -351,6 +351,7 @@
export default {
data() {
return {
IsHotelPriceStock:0,//1-有获取餐厅与报价添加修改权限
total: 0,
currentPage: 1,
countryList: "",
......@@ -543,6 +544,18 @@
err => {}
);
},
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth() {
this.apipost(
"hotel_post_GetHotelPriceStockAuthService", {},
res => {
if (res.data.resultCode == 1) {
this.IsHotelPriceStock = res.data.data;
}
},
err => {}
);
}
},
created() {
if (this.$route.query.hasOwnProperty("cache")) {
......@@ -556,6 +569,7 @@
}
},
mounted() {
this.GetHotelPirceStockAuth();
this.getCountryList();
this.selectResource();
this.GetDiningTypeList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment