本节:导出Excel表格
当服务器写好功能时,直接定义点击事件,然后调用就可以了。
async exportList() {
window.open(`${this.serverUrl}consult/to_excel?consultsIds=${this.ex_id}`);
alert('导出成功');
},
本节:导出Excel表格
当服务器写好功能时,直接定义点击事件,然后调用就可以了。
async exportList() {
window.open(`${this.serverUrl}consult/to_excel?consultsIds=${this.ex_id}`);
alert('导出成功');
},