Commit 6e34f7b6 authored by 黄奎's avatar 黄奎

页面修改

parent 8c2480ef
...@@ -15,7 +15,12 @@ ...@@ -15,7 +15,12 @@
</li> </li>
</ul> </ul>
</div> </div>
<el-table v-if="dataList.length>0" :data="dataList" style="width:100%" border v-loading='loading' height="700"> <div class="hotelProductManage2_tableBox" style="margin-bottom: 20px;">
<span style="color: green; background-color:green ; padding: 2px 4px; border-radius: 5px;">OK</span>
<span style="color: #F75000; background-color: #F75000; padding: 2px 4px; border-radius: 5px;">暂定</span>
<span style="color:red; background-color: red; padding: 2px 4px; border-radius: 5px;">未操作</span>
</div>
<el-table :data="dataList" style="width:100%" border v-loading='loading' height="700">
<el-table-column fixed label="酒店名称" min-width="180"> <el-table-column fixed label="酒店名称" min-width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-decoration: underline;cursor:pointer" @click="GotoHotel(scope.row.Hotel)"> <div style="text-decoration: underline;cursor:pointer" @click="GotoHotel(scope.row.Hotel)">
...@@ -29,12 +34,14 @@ ...@@ -29,12 +34,14 @@
<div style="background-color: #000!important;width:100%;height:100%;"></div> <div style="background-color: #000!important;width:100%;height:100%;"></div>
</template> </template>
<template v-else v-for="childItem in scope.row.DayList[index].HotelJourneyOrderList"> <template v-else v-for="childItem in scope.row.DayList[index].HotelJourneyOrderList">
<div style="white-space:nowrap;" :title="childItem.TCID">{{childItem.BookGroup}}</div> <div style="white-space:nowrap;color:red;" :title="childItem.TCID+'【未操作】'" v-if="childItem.DMCState==0">{{childItem.BookGroup}}</div>
<div style="white-space:nowrap;color:green;" :title="childItem.TCID+'【OK】'" v-if="childItem.DMCState==1">{{childItem.BookGroup}}</div>
<div style="white-space:nowrap;color:#F75000;" :title="childItem.TCID+'【暂定】'" v-if="childItem.DMCState==2">{{childItem.BookGroup}}</div>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="noDataNotice" v-else> <div class="noDataNotice" v-if="dataList.length==0">
<i class="iconfont icon-kong"></i> <i class="iconfont icon-kong"></i>
<p>{{$t("active.ld_noData")}}</p> <p>{{$t("active.ld_noData")}}</p>
</div> </div>
...@@ -67,7 +74,7 @@ ...@@ -67,7 +74,7 @@
}, },
getList() { getList() {
this.loading = true; this.loading = true;
this.dataList=[]; this.dataList = [];
if (this.msg.YearMonthStr == "") { if (this.msg.YearMonthStr == "") {
this.msg.YearMonthStr = new Date().Format("yyyy-MM"); this.msg.YearMonthStr = new Date().Format("yyyy-MM");
} }
......
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