Commit a750f165 authored by zhengke's avatar zhengke

修改显示

parent 48ee71c2
...@@ -177,14 +177,14 @@ ...@@ -177,14 +177,14 @@
</td> </td>
<td style="text-align:center;"> <td style="text-align:center;">
<el-tooltip effect="dark" content="日志" placement="top-start"> <el-tooltip effect="dark" content="日志" placement="top-start">
<el-popover width='230' trigger="click"> <el-popover width='260' trigger="click">
<div class="priceContentDiv"> <div class="priceContentDiv">
<div class="AuditLog">日志</div> <div class="AuditLog">日志</div>
<div class="logContact" style="background:#f9f9f9; padding:20px 10px 0;"> <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 v-if='LogsList.length>0' v-for="(item,index) in LogsList" :key="index">
<div class="clearfix"> <div class="clearfix">
<div class="Auditcircle" style="left: 6px!important;"></div> <div class="Auditcircle" style="left: 6px!important;"></div>
<div class="operateName" style="color:#005CAA;font-size:12px;">{{item.CreateTimeStr}}</div> <div class="operateName" style="color:#005CAA;font-size:12px;">{{item.CreateByName}} {{item.CreateTimeStr}}</div>
<!-- <div class="operateDate fz12 color666">{{item.x}}</div> --> <!-- <div class="operateDate fz12 color666">{{item.x}}</div> -->
</div> </div>
<div class="fz12 color333">{{item.Remarks}}</div> <div class="fz12 color333">{{item.Remarks}}</div>
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
<td colspan="6"> <td colspan="6">
<span style="display:inline-block;width:60px;vertical-align:top;">提示信息:</span> <span style="display:inline-block;width:60px;vertical-align:top;">提示信息:</span>
<span style="display:inline-block;width:87%;" <span style="display:inline-block;width:87%;"
:class="{'rq_disImNote':childItem.SupplierHotelStatus==1&&DateMinus(subItem.UseTimeStr)<=5,'rq_importNote':childItem.SupplierHotelStatus==2&&DateMinus(subItem.UseTimeStr)<=5}">{{childItem.Remarks}}</span> :class="{'rq_disImNote':childItem.SupplierHotelStatus==1&&DateMinus(getDateStr(childItem.SupplierHotelStatusTime))<=5,'rq_importNote':childItem.SupplierHotelStatus==2&&DateMinus(getDateStr(childItem.SupplierHotelStatusTime))<=5}">{{childItem.Remarks}}</span>
</td> </td>
</tr> </tr>
</template> </template>
...@@ -239,6 +239,7 @@ ...@@ -239,6 +239,7 @@
</div> </div>
</template> </template>
<script> <script>
import moment from 'moment'
export default { export default {
data() { data() {
return { return {
...@@ -284,7 +285,7 @@ ...@@ -284,7 +285,7 @@
LogsList: [], LogsList: [],
queryLogMsg: { queryLogMsg: {
pageIndex: 1, pageIndex: 1,
pageSize: 5, pageSize: 15,
currentPage: 1, currentPage: 1,
total: 0, total: 0,
HotelId: 0, HotelId: 0,
...@@ -340,7 +341,7 @@ ...@@ -340,7 +341,7 @@
if (this.dataList && this.dataList.length > 0) { if (this.dataList && this.dataList.length > 0) {
this.dataList.forEach(x => { this.dataList.forEach(x => {
if (x.HotelBookTimeStr) { if (x.HotelBookTimeStr) {
x.Numbers = 5 - this.DateMinus(x.HotelBookTimeStr); x.Numbers = 5 - this.DateMinus(x.HotelBookTimeStr.split(' ')[0]);
} }
}) })
} }
...@@ -424,6 +425,9 @@ ...@@ -424,6 +425,9 @@
}, },
handleScroll(){ handleScroll(){
this.top=document.documentElement.scrollTop this.top=document.documentElement.scrollTop
},
getDateStr(date){
return moment(date).format("YYYY-MM-DD HH:mm:ss").split(' ')[0];
} }
}, },
mounted() { mounted() {
......
...@@ -55,6 +55,15 @@ ...@@ -55,6 +55,15 @@
</td> </td>
</tr> </tr>
</template> </template>
<tfoot v-if="showHotelObj.showBtnList">
<tr>
<td colspan="7" style="padding:10px 0">
<input type="button" class="normalBtn" value="确定" style="display:none;"/>
<input type="button" class="normalBtn" value="暂定" style="display:none;"/>
<input type="button" class="normalBtn" value="下载"/>
</td>
</tr>
</tfoot>
</table> </table>
</template> </template>
<script> <script>
...@@ -69,7 +78,7 @@ ...@@ -69,7 +78,7 @@
}, },
mounted() { mounted() {
} }
}; };
......
...@@ -514,7 +514,8 @@ ...@@ -514,7 +514,8 @@
showHotelObj:{ showHotelObj:{
showPrice:true, showPrice:true,
showPay:true, showPay:true,
showZhan:true showZhan:true,
showBtnList:false
}, },
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
......
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