fix():导出,只有前台
parent
4dec78721e
commit
b4de64cfe4
|
@ -48,7 +48,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:config:export']"
|
v-hasPermi="['system:post:export']"
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
|
@ -316,6 +316,12 @@ export default {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
this.download('system/post/export', {
|
||||||
|
...this.queryParams
|
||||||
|
}, `post_${new Date().getTime()}.xlsx`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue