Commit 14bfeede authored by dxw's avatar dxw

导出

parent abb32422
...@@ -55,6 +55,14 @@ ...@@ -55,6 +55,14 @@
@click="getDataList()" @click="getDataList()"
>查询</el-button >查询</el-button
> >
<el-button
type="primary"
style="margin-left: 10px"
size="mini"
icon="el-icon-search"
@click="excel()"
>导出</el-button
>
<!-- <el-button <!-- <el-button
size="mini" size="mini"
type="primary" type="primary"
...@@ -154,6 +162,10 @@ export default { ...@@ -154,6 +162,10 @@ export default {
} }
}) })
}, },
excel(){
let paramts="resourceId="+this.dataForm.id+"&resourceType=" + this.dataForm.type + "&startTime=" + this.startTime + "&endTime=" + this.endTime;
window.location.href = "/kanban/excel?"+paramts;
},
cancelhandle() { cancelhandle() {
this.visible = false this.visible = false
this.startTime='' this.startTime=''
......
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