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

1

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