| | |
| | | import { listCategory, getCategory, delCategory, addCategory, updateCategory, enload } from "@/api/system/category" |
| | | |
| | | export default { |
| | | name: "Category", |
| | | name: "ArchiveCategory", |
| | | data() { |
| | | return { |
| | | // 遮罩层 |
| | |
| | | handleExport() { |
| | | this.download('system/category/export', { |
| | | ...this.queryParams |
| | | }, `category_${new Date().getTime()}.xlsx`) |
| | | }, `category_${new Date().getTime()}.xls`) |
| | | }, |
| | | /** 导入模板下载操作*/ |
| | | handleExportTemplate() |
| | | { |
| | | this.download('/system/category/model', { |
| | | |
| | | }, `category_${new Date().getTime()}.xlsx`) |
| | | }, `category_${new Date().getTime()}.xls`) |
| | | }, |
| | | /** 导入操作*/ |
| | | async handleImport({file}){ |