Commit 56848617 authored by 黄奎's avatar 黄奎

11

parent 5d0fdcfa
...@@ -286,6 +286,7 @@ ...@@ -286,6 +286,7 @@
<li> <li>
<button class="hollowFixedBtn" type="button" <button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button> @click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button>
<input type="button" class="normalBtn" value="下载" @click="downLoadHotelUse()" style="display:none;" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -404,6 +405,15 @@ ...@@ -404,6 +405,15 @@
}; };
}, },
methods: { 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) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.selectResource(); 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