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

页面修改

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