Commit 4ebd1fed authored by zhengke's avatar zhengke

修改

parent ae968e3a
...@@ -236,15 +236,17 @@ ...@@ -236,15 +236,17 @@
<el-dialog custom-class="w800" title="操作日志" :visible.sync="showLogInfo" center> <el-dialog custom-class="w800" title="操作日志" :visible.sync="showLogInfo" center>
<el-form> <el-form>
<table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable" style="width:100%;"> <table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable logsTable" style="width:100%;">
<tr> <tr>
<th width="50">操作人</th> <th width="50">操作人</th>
<th>日期</th>
<th>操作时间</th> <th>操作时间</th>
<th width="70">内容</th> <th width="70">内容</th>
</tr> </tr>
<template v-if="LogsList.length>0"> <template v-if="LogsList.length>0">
<tr v-for="(item,index) in LogsList"> <tr v-for="(item,index) in LogsList">
<td width="50">{{item.CreateByName}}</td> <td width="50">{{item.CreateByName}}</td>
<td width="50">{{item.UseTimeStr}}</td>
<td width="80"> <td width="80">
{{item.CreateTimeStr}} {{item.CreateTimeStr}}
</td> </td>
...@@ -330,7 +332,7 @@ ...@@ -330,7 +332,7 @@
}, },
queryLogMsg:{ queryLogMsg:{
pageIndex: 1, pageIndex: 1,
pageSize: 5, pageSize: 6,
currentPage: 1, currentPage: 1,
total: 0, total: 0,
HotelId:0 HotelId:0
...@@ -486,7 +488,7 @@ ...@@ -486,7 +488,7 @@
}, },
handleCurrentChange2(val){ handleCurrentChange2(val){
this.queryLogMsg.pageIndex = val; this.queryLogMsg.pageIndex = val;
this.getLogsList(); this.getLogsList(this.queryLogMsg.HotelId);
}, },
resetPageIndex() { resetPageIndex() {
this.queryMsg.pageIndex = 1; this.queryMsg.pageIndex = 1;
...@@ -623,6 +625,7 @@ ...@@ -623,6 +625,7 @@
this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => { this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.LogsList = res.data.data.pageData; this.LogsList = res.data.data.pageData;
console.log(this.LogsList,'loglist');
this.queryLogMsg.total = res.data.data.count; this.queryLogMsg.total = res.data.data.count;
} }
}, err => {}) }, err => {})
......
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