Commit 7b7cc8e5 authored by zhengke's avatar zhengke

修改

parent d00151e5
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<el-dialog custom-class='w800' title="酒店信息" :visible.sync="hotelUseDetail" center> <el-dialog custom-class='w800' title="酒店信息" :visible.sync="hotelUseDetail" center>
<table class="rq_HotelTable" v-loading="hotelLoading"> <table class="rq_HotelTable" v-loading="hotelLoading">
<tr> <tr>
<th width="120"> <th width="130">
时间 时间
</th> </th>
<th width="150"> <th width="150">
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
</th> </th>
<th width="100">提醒</th> <th width="100">提醒</th>
<th width="150">备注</th> <th width="150">备注</th>
<th width="50">日志</th>
</tr> </tr>
<template v-for="(subItem,subIndex) in HotelList"> <template v-for="(subItem,subIndex) in HotelList">
<tbody> <tbody>
...@@ -174,6 +175,28 @@ ...@@ -174,6 +175,28 @@
<textarea class="w135" cols="25" rows="5" v-model='childItem.SupplierToDmcRemarks'></textarea> <textarea class="w135" cols="25" rows="5" v-model='childItem.SupplierToDmcRemarks'></textarea>
</template> </template>
</td> </td>
<td style="text-align:center;">
<el-tooltip effect="dark" content="日志" placement="top-start">
<el-popover width='230' trigger="click">
<div class="priceContentDiv">
<div class="AuditLog">日志</div>
<div class="logContact" style="background:#f9f9f9; padding:20px 10px 0;">
<div v-if='LogsList.length>0' v-for="(item,index) in LogsList" :key="index">
<div class="clearfix">
<div class="Auditcircle" style="left: 6px!important;"></div>
<div class="operateName" style="color:#005CAA;">{{item.emName}}</div>
<div class="operateDate fz12 color666">{{item.x}}</div>
</div>
<div class="fz12 color333">{{item.logInfo}}</div>
</div>
<div v-if='LogsList.length==0'>暂无数据</div>
</div>
</div>
<el-button slot="reference" @click='getLogsList(childItem.TCID,childItem.HotelId,subItem.UseTimeStr)' type="primary"
style='background:#47BF8C; border-color:#47BF8C;padding:5px;' icon="iconfont icon-rizhi1"></el-button>
</el-popover>
</el-tooltip>
</td>
</tr> </tr>
<tr> <tr>
<td colspan="6"> <td colspan="6">
...@@ -261,7 +284,8 @@ ...@@ -261,7 +284,8 @@
currentPage: 1, currentPage: 1,
total: 0, total: 0,
HotelId: 0, HotelId: 0,
TCID: 0 TCID: 0,
sDate:''
}, },
//是否为今天 //是否为今天
isToday: false, isToday: false,
...@@ -271,16 +295,22 @@ ...@@ -271,16 +295,22 @@
}, },
methods: { methods: {
//获取日志 //获取日志
getLogsList(TCID) { getLogsList(TCID,HotelId,timeStr) {
// if (TCID) { if (TCID) {
// this.queryLogMsg.TCID = TCID; this.queryLogMsg.TCID = TCID;
// } }
// this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => { if(HotelId){
// if (res.data.resultCode == 1) { this.queryLogMsg.HotelId = HotelId;
// this.LogsList = res.data.data.pageData; }
// this.queryLogMsg.total = res.data.data.count; this.queryLogMsg.sDate = timeStr;
// } this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => {
// }, err => {}) if (res.data.resultCode == 1) {
console.log(res,'res');
this.LogsList = res.data.data.pageData;
this.queryLogMsg.total = res.data.data.count;
console.log(this.LogsList,'Losglist');
}
}, err => {})
}, },
//保存信息 //保存信息
saveSupplierjourneyorder(HotelList) { saveSupplierjourneyorder(HotelList) {
...@@ -333,6 +363,7 @@ ...@@ -333,6 +363,7 @@
this.hotelLoading = false; this.hotelLoading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.HotelList = res.data.data; this.HotelList = res.data.data;
console.log(this.HotelList,'HotelList');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -640,4 +671,48 @@ ...@@ -640,4 +671,48 @@
.roomQuery .page-component-up:hover i{ .roomQuery .page-component-up:hover i{
color: #F1f1f1; color: #F1f1f1;
} }
.priceContentDiv {
overflow: auto;
max-height: 200px;
}
.priceContentDiv>div:first-child {
margin-bottom:10px;
}
.priceContentDiv::-webkit-scrollbar {
/*滚动条整体样式*/
width: 4px;
/*高宽分别对应横竖滚动条的尺寸*/
height: 1px;
}
.priceContentDiv::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 4px;
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
background: #c9c9c9;
}
.priceContentDiv::-webkit-scrollbar-track {
/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
border-radius: 4px;
background: #ededed;
}
.logContact {
width:90%;
height:auto;
margin-top: 20px;
padding-left:20px;
position: relative;
}
.logContact>div {
padding:0 0 20px 20px;
border-left:1px solid #d1d1d1;
}
.logContact>div:last-child {
border:none;
}
.AuditLog {
margin-left:15px;
}
</style> </style>
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