瀏覽代碼

增加附件管理

540352293 3 年之前
父節點
當前提交
9e3057afe1
共有 4 個文件被更改,包括 1048 次插入1 次删除
  1. 1039 0
      src/pages/main/file/flieList.vue
  2. 2 0
      src/plugins/element-ui.js
  3. 6 0
      src/router/index.js
  4. 1 1
      vue.config.js

File diff suppressed because it is too large
+ 1039 - 0
src/pages/main/file/flieList.vue


+ 2 - 0
src/plugins/element-ui.js

@@ -61,6 +61,7 @@ import {
 	Drawer,
 	Badge,
 	TimePicker,
+	Alert
 } from 'element-ui';
 Vue.use(TimePicker);
 Vue.use(Badge);
@@ -119,6 +120,7 @@ Vue.use(Carousel)
 Vue.use(Tabs)
 Vue.use(TabPane)
 Vue.use(TimeSelect)
+Vue.use(Alert)
 Vue.prototype.$confirm = MessageBox.confirm;
 Vue.prototype.$prompt = MessageBox.prompt;
 Vue.prototype.$notify = Notification;

+ 6 - 0
src/router/index.js

@@ -1072,6 +1072,12 @@ const routes = [{
             component: (resolve) => require( /* webpackChunkName: "system" */['../pages/main/knowledge/knowledgeType'], resolve)
         },
         {
+            meta: { name: '附件库', keepAlive: true },
+            path: '/flieList',
+            name: 'flieList',
+            component: (resolve) => require( /* webpackChunkName: "system" */['../pages/main/file/flieList'], resolve)
+          },
+        {
             meta: { name:  '公告', keepAlive: false },
             path: '/noticec',
             name: 'noticec',

+ 1 - 1
vue.config.js

@@ -119,7 +119,7 @@ module.exports = {
                 // target: 'http://192.168.0.156:9600/',
                 // target: 'http://192.168.2.170:9600/',
                 // target: 'http://192.168.2.169:9600/',
-                target: "http://192.168.1.228:9600/spfm",
+                target: "http://192.168.0.66:9600",
                 changeOrigin: true,
             },
         },