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

页面修改

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