diff --git a/src/icons/svg/zip.svg b/src/icons/svg/zip.svg new file mode 100644 index 00000000..e9a9d012 --- /dev/null +++ b/src/icons/svg/zip.svg @@ -0,0 +1 @@ + diff --git a/src/router/index.js b/src/router/index.js index a705a736..b50c7426 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -154,6 +154,17 @@ export const asyncRouterMap = [ { path: 'upload', component: _import('excel/uploadExcel'), name: 'upload excel' } ] }, + { + path: '/zip', + component: Layout, + redirect: '/zip/download', + name: 'zip', + icon: 'zip', + children: [ + { path: 'download', component: _import('zip/index'), name: '导出zip' }, + { path: 'download2', component: _import('zip/select'), name: '导出已选择项' } + ] + }, { path: '/theme', component: Layout, diff --git a/src/views/zip/index.vue b/src/views/zip/index.vue new file mode 100644 index 00000000..fa32a983 --- /dev/null +++ b/src/views/zip/index.vue @@ -0,0 +1,74 @@ + + + 导出zip + + + + {{scope.$index}} + + + + + {{scope.row.title}} + + + + + {{scope.row.author}} + + + + + {{scope.row.pageviews}} + + + + + + {{scope.row.display_time}} + + + + + + + diff --git a/src/views/zip/select.vue b/src/views/zip/select.vue new file mode 100644 index 00000000..fc4ac7fb --- /dev/null +++ b/src/views/zip/select.vue @@ -0,0 +1,88 @@ + + + 导出已选择项 + + + + + {{scope.$index}} + + + + + {{scope.row.title}} + + + + + {{scope.row.author}} + + + + + {{scope.row.pageviews}} + + + + + + {{scope.row.display_time}} + + + + + + +