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

页面修改

parent 8bf3e931
This diff is collapsed.
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
</div> </div>
<div class="btnList"> <div class="btnList">
<button @click="goSubInfo('restaurantInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button> <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> </div>
</div> </div>
...@@ -351,6 +351,7 @@ ...@@ -351,6 +351,7 @@
export default { export default {
data() { data() {
return { return {
IsHotelPriceStock:0,//1-有获取餐厅与报价添加修改权限
total: 0, total: 0,
currentPage: 1, currentPage: 1,
countryList: "", countryList: "",
...@@ -543,6 +544,18 @@ ...@@ -543,6 +544,18 @@
err => {} err => {}
); );
}, },
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth() {
this.apipost(
"hotel_post_GetHotelPriceStockAuthService", {},
res => {
if (res.data.resultCode == 1) {
this.IsHotelPriceStock = res.data.data;
}
},
err => {}
);
}
}, },
created() { created() {
if (this.$route.query.hasOwnProperty("cache")) { if (this.$route.query.hasOwnProperty("cache")) {
...@@ -556,6 +569,7 @@ ...@@ -556,6 +569,7 @@
} }
}, },
mounted() { mounted() {
this.GetHotelPirceStockAuth();
this.getCountryList(); this.getCountryList();
this.selectResource(); this.selectResource();
this.GetDiningTypeList(); 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