Commit 4887a39e authored by 黄奎's avatar 黄奎

页面修改

parent 15292b39
...@@ -301,19 +301,14 @@ ...@@ -301,19 +301,14 @@
</el-table-column> </el-table-column>
<el-table-column prop="StarName" label="星级" width="100px"> <el-table-column prop="StarName" label="星级" width="100px">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="OpenPlatformList" label="开放平台">
<template slot-scope="scope">
<el-tag v-for="(item,index) in scope.row.OpenPlatformList" size="small" style="margin-right:5px;" :key="index">{{item.Name}}</el-tag>
</template>
</el-table-column> -->
<el-table-column prop="TagList" label="标签"> <el-table-column prop="TagList" label="标签">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-for="(item,index) in scope.row.TagList" size="small" style="margin-right:5px;" :key="index">{{item}} <el-tag v-for="(item,index) in scope.row.TagList" size="small" style="margin-right:5px;" :key="index">{{item}}
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column prop="Tel" label="电话">
</el-table-column> -->
<el-table-column prop="Address" label="地址"> <el-table-column prop="Address" label="地址">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.ProvinceName}} {{scope.row.ProvinceName}}
...@@ -331,6 +326,41 @@ ...@@ -331,6 +326,41 @@
<span v-if="scope.row.HotelStatus==2" style="color:red;">下架</span> <span v-if="scope.row.HotelStatus==2" style="color:red;">下架</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="RoomList" label="房型报价">
<template slot-scope="scope">
<el-popover placement="right" width="400" trigger="click">
<table>
<thead>
<tr>
<th style="width:40%">
房型名称
</th>
<th style="width:20%">
报价条数
</th>
<th style="width:40%">
日期
</th>
</tr>
</thead>
<tbody>
<tr v-for="(subItem,subIndex) in scope.row.RoomList">
<td>
{{subItem.Name}}
</td>
<td>
{{subItem.Days}}
</td>
<td>
{{subItem.LDate}}-{{subItem.HDate}}
</td>
</tr>
</tbody>
</table>
<el-button slot="reference">详情</el-button>
</el-popover>
</template>
</el-table-column>
<el-table-column prop="UpdateName" label="操作人"> <el-table-column prop="UpdateName" label="操作人">
</el-table-column> </el-table-column>
<el-table-column prop="UpdateTimeStr" label="操作时间"> <el-table-column prop="UpdateTimeStr" label="操作时间">
...@@ -449,9 +479,7 @@ ...@@ -449,9 +479,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.selectResource(); this.selectResource();
this.Success(res.data.message); this.Success(res.data.message);
} } else {
else
{
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
...@@ -530,6 +558,7 @@ ...@@ -530,6 +558,7 @@
this.msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
console.log("res", res.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.tableData = res.data.data.pageData; this.tableData = res.data.data.pageData;
this.msg.total = res.data.data.count; this.msg.total = res.data.data.count;
......
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