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

页面修改

parent 15292b39
......@@ -245,8 +245,8 @@
<em>{{$t('hotel.hotel_status')}}</em>
<el-select v-model="msg.HotelStatus" class="w210" :placeholder="$t('pub.unlimitedSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
<el-option :key="1" label="上架" :value="1"></el-option>
<el-option :key="2" label="下架" :value="2"></el-option>
<el-option :key="1" label="上架" :value="1"></el-option>
<el-option :key="2" label="下架" :value="2"></el-option>
</el-select>
</span>
</li>
......@@ -301,19 +301,14 @@
</el-table-column>
<el-table-column prop="StarName" label="星级" width="100px">
</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="标签">
<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>
</template>
</el-table-column>
<!-- <el-table-column prop="Tel" label="电话">
</el-table-column> -->
<el-table-column prop="Address" label="地址">
<template slot-scope="scope">
{{scope.row.ProvinceName}}
......@@ -331,6 +326,41 @@
<span v-if="scope.row.HotelStatus==2" style="color:red;">下架</span>
</template>
</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>
<el-table-column prop="UpdateTimeStr" label="操作时间">
......@@ -449,10 +479,8 @@
if (res.data.resultCode == 1) {
this.selectResource();
this.Success(res.data.message);
}
else
{
this.Error(res.data.message);
} else {
this.Error(res.data.message);
}
},
null
......@@ -530,6 +558,7 @@
this.msg,
res => {
this.loading = false;
console.log("res", res.data);
if (res.data.resultCode == 1) {
this.tableData = res.data.data.pageData;
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