Commit 56848617 authored by 黄奎's avatar 黄奎

11

parent 5d0fdcfa
......@@ -286,6 +286,7 @@
<li>
<button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button>
<input type="button" class="normalBtn" value="下载" @click="downLoadHotelUse()" style="display:none;" />
</li>
</ul>
</div>
......@@ -404,6 +405,15 @@
};
},
methods: {
//Excel下载
downLoadHotelUse() {
this.loading = true;
let fileName = "酒店使用统计" + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("hotel_post_DownLoadHotelUse", this.msg, fileName,
res => {
this.loading = false;
});
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.selectResource();
......
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