Commit 6c9a4c8f authored by 吴春's avatar 吴春

1

parent 189c2080
......@@ -335,7 +335,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)">
<div class="delScien" @click="isdelete(item.ID)" v-if="msg.IsRecommend==0">
<i class="iconfont icon-xingzhuang"></i>
</div>
<div class="starSu">
......@@ -372,11 +372,10 @@
<span v-if="item.UpdateName && item.UpdateName!=''">{{item.UpdateName}}</span>
{{item.UpdateTimeStr}}
</div>
<div class="btnList">
<!--v-if="IsEditDmcSource==1"-->
<button @click="goSubInfo('restaurantInfoManage',item.ID)" class="hotelBtn">{{$t('pub.updateMsg')}}</button>
<button @click="goSubInfo('restaurantInfoDetail',item.ID)" class="hotelBtn">{{$t('fnc.xiangqing')}}</button>
<button v-if="IsHotelPriceStock==1" @click="goUrl('RestaurantPackage',item.ID)"
<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)"
class="hotelBtn">{{$t('restaurant.res_package')}}</button>
</div>
</div>
......@@ -428,6 +427,7 @@
currentPage: 1,
ID: 0,
UpdateBy: 0, //操作人
IsRecommend:0,
},
IsHotelPriceStock: 0, //1-有获取餐厅与报价添加修改权限
IsEditDmcSource: 0, //是否有新增修改权限
......@@ -592,11 +592,18 @@
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();
});
},
//根据当前员工所在部门获取该部门及子部门员工信息
......@@ -649,7 +656,7 @@
this.getEmployeeList();
this.GetHotelPirceStockAuth();
this.getCountryList();
this.selectResource();
// this.selectResource();
this.GetDiningTypeList();
this.GetDiningPriceTypeList();
this.GetCooperationTypeList();
......
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