Skip to content

Commit 05754c7

Browse files
author
panjunjie
committed
build npm
1 parent 3178d88 commit 05754c7

21 files changed

+1
-705
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ docker_clean :
7878

7979
web/dist: $(WATCH_NPM_DICT)
8080
@echo "================= npm build ================================================="
81-
@cd web ; npm run build:prod --report
81+
@cd web ;npm install; npm run build:prod --report
8282

8383
.PHONY : up
8484
up: logo web/dist docker_build docker_clean docker_infrastructrue_up docker_app_run init

web/LICENSE

100644100755
File mode changed.

web/babel.config.js

100644100755
File mode changed.

web/jest.config.js

100644100755
File mode changed.

web/jsconfig.json

100644100755
File mode changed.

web/mock/role/routes.js

-37
Original file line numberDiff line numberDiff line change
@@ -397,43 +397,6 @@ const asyncRoutes = [
397397
]
398398
},
399399

400-
{
401-
path: '/excel',
402-
component: 'layout/Layout',
403-
redirect: '/excel/export-excel',
404-
name: 'Excel',
405-
meta: {
406-
title: 'Excel',
407-
icon: 'excel'
408-
},
409-
children: [
410-
{
411-
path: 'export-excel',
412-
component: 'views/excel/export-excel',
413-
name: 'ExportExcel',
414-
meta: { title: 'Export Excel' }
415-
},
416-
{
417-
path: 'export-selected-excel',
418-
component: 'views/excel/select-excel',
419-
name: 'SelectExcel',
420-
meta: { title: 'Select Excel' }
421-
},
422-
{
423-
path: 'export-merge-header',
424-
component: 'views/excel/merge-header',
425-
name: 'MergeHeader',
426-
meta: { title: 'Merge Header' }
427-
},
428-
{
429-
path: 'upload-excel',
430-
component: 'views/excel/upload-excel',
431-
name: 'UploadExcel',
432-
meta: { title: 'Upload Excel' }
433-
}
434-
]
435-
},
436-
437400
{
438401
path: '/zip',
439402
component: 'layout/Layout',

web/package.json

100644100755
File mode changed.

web/plopfile.js

100644100755
File mode changed.

web/postcss.config.js

100644100755
File mode changed.

web/src/components/UploadExcel/index.vue

-138
This file was deleted.

web/src/router/index.js

-43
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ Vue.use(Router)
66
/* Layout */
77
import Layout from '@/layout'
88

9-
/* Router Modules */
10-
import componentsRouter from './modules/components'
11-
import chartsRouter from './modules/charts'
12-
import tableRouter from './modules/table'
13-
import nestedRouter from './modules/nested'
14-
159
/**
1610
* Note: sub-menu only appear when route children.length >= 1
1711
* Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
@@ -296,43 +290,6 @@ export const asyncRoutes = [
296290
// ]
297291
// },
298292

299-
// {
300-
// path: '/excel',
301-
// component: Layout,
302-
// redirect: '/excel/export-excel',
303-
// name: 'Excel',
304-
// meta: {
305-
// title: 'Excel',
306-
// icon: 'excel'
307-
// },
308-
// children: [
309-
// {
310-
// path: 'export-excel',
311-
// component: () => import('@/views/excel/export-excel'),
312-
// name: 'ExportExcel',
313-
// meta: { title: 'Export Excel' }
314-
// },
315-
// {
316-
// path: 'export-selected-excel',
317-
// component: () => import('@/views/excel/select-excel'),
318-
// name: 'SelectExcel',
319-
// meta: { title: 'Export Selected' }
320-
// },
321-
// {
322-
// path: 'export-merge-header',
323-
// component: () => import('@/views/excel/merge-header'),
324-
// name: 'MergeHeader',
325-
// meta: { title: 'Merge Header' }
326-
// },
327-
// {
328-
// path: 'upload-excel',
329-
// component: () => import('@/views/excel/upload-excel'),
330-
// name: 'UploadExcel',
331-
// meta: { title: 'Upload Excel' }
332-
// }
333-
// ]
334-
// },
335-
336293
// {
337294
// path: '/zip',
338295
// component: Layout,

web/src/views/components-demo/mixin.vue

-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
Icons
1717
</router-link>
1818
</el-col>
19-
<el-col :span="4" class="text-center">
20-
<router-link class="pan-btn pink-btn" to="/excel/export-excel">
21-
Excel
22-
</router-link>
23-
</el-col>
2419
<el-col :span="4" class="text-center">
2520
<router-link class="pan-btn green-btn" to="/table/complex-table">
2621
Table

web/src/views/excel/components/AutoWidthOption.vue

-34
This file was deleted.

web/src/views/excel/components/BookTypeOption.vue

-39
This file was deleted.

web/src/views/excel/components/FilenameOption.vue

-27
This file was deleted.

0 commit comments

Comments
 (0)