Commit 397a3144 authored by 黄奎's avatar 黄奎

页面修改

parent 4e28d303
...@@ -374,11 +374,12 @@ ...@@ -374,11 +374,12 @@
L5: items.ID == 5, L5: items.ID == 5,
}">{{ items.Name }}</span> }">{{ items.Name }}</span>
</div> </div>
<template v-if="msg.IsRecommend==0" > <template v-if="msg.IsRecommend==0">
<div class="delScien" @click.stop="isdelete(item.ID)"> <div class="delScien" @click.stop="isdelete(item.ID)">
<i class="iconfont icon-xingzhuang"></i> <i class="iconfont icon-xingzhuang"></i>
</div></template> </div>
</template>
<div class="starSu"> <div class="starSu">
<div class="star" v-if="item.Star < 8"> <div class="star" v-if="item.Star < 8">
<i v-for="(items, index) in item.starArr" class="iconfont icon-star1" :key="index"></i> <i v-for="(items, index) in item.starArr" class="iconfont icon-star1" :key="index"></i>
...@@ -436,36 +437,36 @@ ...@@ -436,36 +437,36 @@
</el-tooltip> </el-tooltip>
<div class="btnList"> <div class="btnList">
<template v-if="userInfo.RB_Group_id==2"> <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"> <button @click="goSubInfo('HotelInfo', item.ID)" class="hotelBtnMan">
{{ $t("pub.updateMsg") }} {{ $t("pub.updateMsg") }}
</button> </button>
</template> <!-- </template> -->
<button @click="goSubInfo('HotelInfoDetails', item.ID)" class="hotelBtnMan"> <button @click="goSubInfo('HotelInfoDetails', item.ID)" class="hotelBtnMan">
详情 详情
</button> </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()"> <button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id == QjGroupId()">
{{$t('objFill.copy')}} {{$t('objFill.copy')}}
</button> </button>
</template> <!-- </template> -->
<template v-if="msg.IsRecommend==0"> <!-- <template v-if="msg.IsRecommend==0"> -->
<button @click="goproduct('HotelProductManage', item)" class="hotelBtnMan" <button @click="goproduct('HotelProductManage', item)" class="hotelBtnMan"
v-if="userInfo.RB_Group_id != QjGroupId()"> v-if="userInfo.RB_Group_id != QjGroupId()">
{{$t('hotel.hotel_roomType')}} {{$t('hotel.hotel_roomType')}}
</button> </button>
</template> <!-- </template> -->
<br /> <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"> @click="goUrl('HotelProductManage2', item)" class="hotelBtnMan">
{{ $t("ground.baojiayukucun") }} {{ $t("ground.baojiayukucun") }}
</button> </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"> class="hotelBtnMan">
{{$t('objFill.shangchuanbj')}} {{$t('objFill.shangchuanbj')}}
</button> </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> <span style="color:red">{{$t('objFill.zuijinscsij')}}:{{item.MaxFileDate}}</span>
</template> </template>
</template> </template>
...@@ -588,7 +589,7 @@ ...@@ -588,7 +589,7 @@
QFileStartDate: "", //报价上传开始日期 QFileStartDate: "", //报价上传开始日期
QFileEndDate: "", //报价上传结束日期 QFileEndDate: "", //报价上传结束日期
IsUpFile: 0, //是否上传报价(1-已上传,2-未上传) IsUpFile: 0, //是否上传报价(1-已上传,2-未上传)
IsRecommend:0, IsRecommend: 0,
}, },
isDisableCountry: false, //是否禁用国家查询 isDisableCountry: false, //是否禁用国家查询
}; };
...@@ -891,8 +892,8 @@ ...@@ -891,8 +892,8 @@
(err) => {} (err) => {}
); );
}, },
//获取酒店修改与报价添加修改权限 //获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth() { GetHotelPirceStockAuth() {
let isStock = "IsHotelPriceStock"; let isStock = "IsHotelPriceStock";
let editDmcSource = "F_EditDmcSource"; let editDmcSource = "F_EditDmcSource";
this.apipost('userauth_get_CheckUserAuthNewService', '', res => { this.apipost('userauth_get_CheckUserAuthNewService', '', res => {
...@@ -902,16 +903,14 @@ ...@@ -902,16 +903,14 @@
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 {
else{ this.msg.IsRecommend = 1;
this.msg.IsRecommend=1;
} }
} }
} } else {
else{ this.msg.IsRecommend = 1;
this.msg.IsRecommend=1;
} }
this.selectResource(); this.selectResource();
}); });
......
...@@ -321,8 +321,8 @@ ...@@ -321,8 +321,8 @@
<li> <li>
<button class="hollowFixedBtn" type="button" <button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</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> @click="$router.push('restaurantInfoManage')">{{$t('pub.addBtn')}}</button>
</li> </li>
</ul> </ul>
...@@ -373,9 +373,9 @@ ...@@ -373,9 +373,9 @@
{{item.UpdateTimeStr}} {{item.UpdateTimeStr}}
</div> </div>
<div class="btnList" :style="msg.IsRecommend==1?'text-align:left;':''"> <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 :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> class="hotelBtn">{{$t('restaurant.res_package')}}</button>
</div> </div>
</div> </div>
......
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