Commit 3165c259 authored by Mac's avatar Mac
parents 71987969 c83edb65
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog custom-class="w800" title="操作日志" :visible.sync="showLogInfo" center> <el-dialog custom-class="w800" title="操作日志" :visible.sync="showLogInfo" center :before-close="closeChangeMachie">
<el-form> <el-form>
<table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable logsTable" style="width:100%;"> <table border="0" cellspacing="1" cellpadding="0" class="HouseTypeList Hq_addTable logsTable" style="width:100%;">
<tr> <tr>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</el-pagination> </el-pagination>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="showLogInfo = false">关闭</button> <button class="hollowFixedBtn" @click="showLogInfo = false,queryLogMsg.pageIndex=1">关闭</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -341,6 +341,7 @@ ...@@ -341,6 +341,7 @@
showHQinfo: true, showHQinfo: true,
showLogInfo: false, showLogInfo: false,
LogsList:[], LogsList:[],
HotelId:0,
//酒店温馨提示列表 //酒店温馨提示列表
HotelTipList: [], HotelTipList: [],
HotelList: [], HotelList: [],
...@@ -488,7 +489,7 @@ ...@@ -488,7 +489,7 @@
}, },
handleCurrentChange2(val){ handleCurrentChange2(val){
this.queryLogMsg.pageIndex = val; this.queryLogMsg.pageIndex = val;
this.getLogsList(this.queryLogMsg.HotelId); this.getLogsList(this.HotelId);
}, },
resetPageIndex() { resetPageIndex() {
this.queryMsg.pageIndex = 1; this.queryMsg.pageIndex = 1;
...@@ -621,15 +622,20 @@ ...@@ -621,15 +622,20 @@
//获取日志 //获取日志
getLogsList(HotelId){ getLogsList(HotelId){
this.showLogInfo = true; this.showLogInfo = true;
this.HotelId = HotelId;
this.queryLogMsg.HotelId = HotelId; this.queryLogMsg.HotelId = HotelId;
this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => { this.ApiPost2('DmcInfoChangeLog_get_GetHotelLogList', this.queryLogMsg, res => {
console.log(res,'ressss');
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'); console.log(this.LogsList,'loglist');
this.queryLogMsg.total = res.data.data.count; this.queryLogMsg.total = res.data.data.count;
} }
}, err => {}) }, err => {})
},
closeChangeMachie(){
this.showLogInfo = false;
this.queryLogMsg.pageIndex = 1;
} }
}, },
mounted() { mounted() {
......
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