Commit a75c9f8b authored by 黄奎's avatar 黄奎

页面修改

parent d4623756
......@@ -301,7 +301,7 @@
<td>
{{item.IsCancelStr}}
<template v-if="item.IsCancel">
<br/> {{item.CancelTime}}
<br /> {{item.CancelTime}}
</template>
</td>
<td class="DaysInfo">
......@@ -447,25 +447,23 @@
},
//删除房型图片
delHotelImg(item, index) {
if (item.ID > 0) {
let msg = {
Id: item.ID,
PicId: item.Pic
}
this.$confirm('是否删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost("hotel_post_RemoveHotelImage", msg, res => {
var that = this
that.Confirm("删除图片将不能恢复?", function () {
if (item.ID > 0) {
let msg = {
Id: item.ID,
PicId: item.Pic
}
that.apipost("hotel_post_RemoveHotelImage", msg, res => {
console.log(res)
if (res.data.resultCode == 1) {
that.addMsg.RoomImage.splice(index, 1);
}
});
}).catch(() => {
});
} else {
this.addMsg.RoomImage.splice(index, 1);
}
} else {
that.addMsg.RoomImage.splice(index, 1);
}
});
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
......
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