9 changed files with 100 additions and 29 deletions
			
			
		- 
					10.env.development
- 
					4src/assets/styles/mixin.scss
- 
					2src/assets/styles/sidebar.scss
- 
					1src/layout/components/AppMain.vue
- 
					28src/layout/index.vue
- 
					1src/utils/request.js
- 
					46src/views/prearchiveLibrary/index.vue
- 
					33src/views/system/user/center.vue
- 
					4src/views/system/user/processCenter/index.vue
| @ -0,0 +1,46 @@ | |||||
|  | <template> | ||||
|  |   <div>预归档库</div> | ||||
|  | </template> | ||||
|  | 
 | ||||
|  | <script> | ||||
|  | import crudCategory from '@/api/category/category' | ||||
|  | import CRUD, { presenter, header } from '@crud/crud' | ||||
|  | 
 | ||||
|  | export default { | ||||
|  |   name: 'PrearchiveLibrary', | ||||
|  |   components: { }, | ||||
|  |   cruds() { | ||||
|  |     return [ | ||||
|  |       CRUD({ | ||||
|  |         title: '预归档库', url: 'api/archives-type/menu', | ||||
|  |         crudMethod: { ...crudCategory }, | ||||
|  |         optShow: { | ||||
|  |           add: false, | ||||
|  |           edit: true, | ||||
|  |           del: false, | ||||
|  |           download: false, | ||||
|  |           group: false | ||||
|  |         } | ||||
|  |       }) | ||||
|  |     ] | ||||
|  |   }, | ||||
|  |   mixins: [presenter(), header()], | ||||
|  |   data() { | ||||
|  |     return { | ||||
|  |       permission: { | ||||
|  |         add: ['admin', 'prearchiveLibrary:add'], | ||||
|  |         edit: ['admin', 'prearchiveLibrary:edit'], | ||||
|  |         del: ['admin', 'prearchiveLibrary:del'], | ||||
|  |         sort: ['admin', 'prearchiveLibrary:sort'] | ||||
|  |       } | ||||
|  |     } | ||||
|  |   }, | ||||
|  |   computed: { | ||||
|  |   }, | ||||
|  |   methods: { | ||||
|  |   } | ||||
|  | } | ||||
|  | </script> | ||||
|  | 
 | ||||
|  | <style lang='scss' scoped> | ||||
|  | </style> | ||||
						Write
						Preview
					
					
					Loading…
					
					Cancel
						Save
					
		Reference in new issue