feat: 添加下载模版按钮

This commit is contained in:
xiangbo 2025-08-20 17:49:55 +08:00
parent c54cebe31e
commit 4c418a72d3
1 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,7 @@
<el-button type="primary" @click="handleAdd">新建</el-button> <el-button type="primary" @click="handleAdd">新建</el-button>
<el-button type="success" @click="handleImport">批量导入</el-button> <el-button type="success" @click="handleImport">批量导入</el-button>
<el-button type="info" @click="handleExport">导出</el-button> <el-button type="info" @click="handleExport">导出</el-button>
<el-button type="info" @click="downLoadTpl">下载模版</el-button>
</div> </div>
<!-- 表格区域 --> <!-- 表格区域 -->
<el-table :data="listData" border style="width: 100%"> <el-table :data="listData" border style="width: 100%">
@ -449,6 +450,9 @@ function handleImport() {
function handleExport() { function handleExport() {
console.log("导出"); console.log("导出");
} }
function downLoadTpl() {
console.log("下载模版");
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>