Commit a75c9f8b authored by 黄奎's avatar 黄奎

页面修改

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