Commit 5209fd6f authored by 黄奎's avatar 黄奎

页面修改

parent 0599d826
...@@ -433,28 +433,42 @@ ...@@ -433,28 +433,42 @@
</div> </div>
</el-tooltip> </el-tooltip>
<div class="btnList"> <div class="btnList">
<button @click="goSubInfo('HotelInfo', item.ID)" class="hotelBtnMan"> <template v-if="userInfo.RB_Group_id==2">
{{ $t("pub.updateMsg") }} <button @click="goSubInfo('HotelInfo', item.ID)" class="hotelBtnMan">
</button> {{ $t("pub.updateMsg") }}
<button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id == QjGroupId()"> </button>
复制 <button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id == QjGroupId()">
</button> 复制
<button @click="goproduct('HotelProductManage', item)" class="hotelBtnMan" </button>
v-if="userInfo.RB_Group_id != QjGroupId()"> <button @click="goproduct('HotelProductManage', item)" class="hotelBtnMan"
房型 v-if="userInfo.RB_Group_id != QjGroupId()">
</button> 房型
<br /> </button>
<br />
<button v-if="IsHotelPriceStock==1" style="width: 80px; margin-top: 10px"
@click="goUrl('HotelProductManage2', item)" class="hotelBtnMan"> <button v-if="IsHotelPriceStock==1||userInfo.RB_Group_id!=2" style="width: 80px; margin-top: 10px"
{{ $t("ground.baojiayukucun") }} @click="goUrl('HotelProductManage2', item)" class="hotelBtnMan">
</button> {{ $t("ground.baojiayukucun") }}
<button v-if="IsHotelPriceStock==1" style="width: 80px; margin-top: 10px" @click="downloadFile(item)" </button>
class="hotelBtnMan"> <button v-if="IsHotelPriceStock==1" style="width: 80px; margin-top: 10px" @click="downloadFile(item)"
上传报价 class="hotelBtnMan">
</button> 上传报价
<template v-if="item.MaxFileDate&&item.MaxFileDate!=''"> </button>
<span style="color:red">最近一次上传时间:{{item.MaxFileDate}}</span> <template v-if="item.MaxFileDate&&item.MaxFileDate!=''">
<span style="color:red">最近一次上传时间:{{item.MaxFileDate}}</span>
</template>
</template>
<template v-else>
<button @click="goSubInfo('HotelInfo', item.ID)" class="hotelBtnMan">
{{ $t("pub.updateMsg") }}
</button>
<button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id == QjGroupId()">
复制
</button>
<button style="width: 80px; margin-top: 10px" @click="goUrl('HotelProductManage2', item)"
class="hotelBtnMan">
{{ $t("ground.baojiayukucun") }}
</button>
</template> </template>
</div> </div>
</div> </div>
......
This diff is collapsed.
...@@ -1301,25 +1301,15 @@ export default { ...@@ -1301,25 +1301,15 @@ export default {
if (this.outerVisible) { if (this.outerVisible) {
if (!blo) { if (!blo) {
this.addMsg.AirportList && this.addMsg.AirportList.forEach(x => { this.addMsg.AirportList && this.addMsg.AirportList.forEach(x => {
// x.Id=0,
// x.ProductId= 0//产品id
x.AirportId = x.AirportId ? x.AirportId : ''//机场id x.AirportId = x.AirportId ? x.AirportId : ''//机场id
// x.Lng= ''
// x.Lat= ''
x.Name = x.Name ? x.Name : ''//机场名称 包含IATA x.Name = x.Name ? x.Name : ''//机场名称 包含IATA
// x.Address= ''//详细地址
}) })
} }
this.layer_Departure_airport = res.data.data; this.layer_Departure_airport = res.data.data;
} else { } else {
this.addMsg.AirportList && this.addMsg.AirportList.forEach(x => { this.addMsg.AirportList && this.addMsg.AirportList.forEach(x => {
// x.Id=0,
// x.ProductId= 0//产品id
x.AirportId = x.AirportId ? x.AirportId : ''//机场id x.AirportId = x.AirportId ? x.AirportId : ''//机场id
// x.Lng= ''
// x.Lat= ''
x.Name = x.Name ? x.Name : ''//机场名称 包含IATA x.Name = x.Name ? x.Name : ''//机场名称 包含IATA
// x.Address= ''//详细地址
}) })
this.Departure_airport = res.data.data; this.Departure_airport = res.data.data;
} }
...@@ -1333,15 +1323,6 @@ export default { ...@@ -1333,15 +1323,6 @@ export default {
showImg: function (src) { showImg: function (src) {
this.images = [] this.images = []
this.images = JSON.parse(JSON.stringify(this.addMsg.ImageList)) this.images = JSON.parse(JSON.stringify(this.addMsg.ImageList))
// let srcArr = src.split('?')
// src = srcArr[0]
// let isExsit = false
// this.images.forEach(x => {
// if (x === src)
// isExsit = true
// })
// if (!isExsit)
// this.images.push(src)
this.$viewer.show() this.$viewer.show()
this.$viewer.view(this.images.indexOf(src)) this.$viewer.view(this.images.indexOf(src))
}, },
......
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