Ver código fonte

增加项目信息管理页面 meri组件引入文件

duxiangyu 3 anos atrás
pai
commit
2fbce7dd25
5 arquivos alterados com 40 adições e 3 exclusões
  1. 9 1
      public/systemConf.js
  2. 16 0
      src/components/project-manage/index.vue
  3. 3 2
      src/main.js
  4. 4 0
      src/meri.js
  5. 8 0
      src/router/system.js

+ 9 - 1
public/systemConf.js

@@ -32,7 +32,15 @@ var __systemConf = {
       "orders": 5,
       "url": "/relation/overview",
       "icon": "icon-jiqixuexi-"
-    }]
+    }
+    ,{
+      "id": "projectmanage",
+      "name": "项目信息管理",
+      "orders": 6,
+      "url": "/project/manage",
+      "icon": "icon-jiqixuexi-"
+    }
+  ]
   }, {
     "id": "xianchangjiaofugongjv",
     "name": "现场交付工具",

+ 16 - 0
src/components/project-manage/index.vue

@@ -0,0 +1,16 @@
+<template>
+    <div>
+        <Button>123123</Button>
+    </div>
+</template>
+<script>
+export default {
+    mounted() {
+        
+    },
+    methods: {
+
+    }
+}
+</script>
+<style lang="less" scoped></style>

+ 3 - 2
src/main.js

@@ -4,10 +4,11 @@ import router from './router'
 import vueStore from './store'
 import ElementUI from 'element-ui'
 import 'element-ui/lib/theme-chalk/index.css'
-import {Button} from 'meri-design'
+import './meri'
+// import {Button} from 'meri-design'
 // import 'meri-design/dist/index.css'
 Vue.use(ElementUI, { size: "small", zIndex: 1000 })
-Vue.use(Button)
+// Vue.use(Button)
 
 import 'font-awesome/less/font-awesome.less'
 import '@/assets/style/main.less'

+ 4 - 0
src/meri.js

@@ -0,0 +1,4 @@
+import Vue from 'vue'
+import {Button} from 'meri-design'
+
+Vue.use(Button)

+ 8 - 0
src/router/system.js

@@ -22,6 +22,9 @@ import overView from '@/components/old-adm/relation/overview'
 //cad核查图纸管理
 import cadDrawingManage from '@/components/cadDrawingManage'
 
+// 项目信息管理
+import projectManage from '@/components/project-manage/index'
+
 export default [
   {
     path: logicConfig.routerNameConfig.loginRouteName,
@@ -85,6 +88,11 @@ export default [
         }
       },
       {
+        path: "/project/manage",
+        name: "项目信息管理",
+        component: projectManage,
+      },
+      {
         path: "/ledger/list",
         name: "系统台账",
         component: systemLedger,