yijianjun 1 mesiac pred
rodič
commit
1903b7af5d
3 zmenil súbory, kde vykonal 28 pridanie a 28 odobranie
  1. 15 15
      src/utils/base.js
  2. 12 12
      src/utils/menu.js
  3. 1 1
      src/views/modules/load-data/index.vue

+ 15 - 15
src/utils/base.js

@@ -1,16 +1,16 @@
 const base = {
-    get() {
-        return {
-            url : "http://localhost:8080/springbootu5yzx5cx/",
-            name: "springbootu5yzx5cx",
-            // 退出到首页链接
-            indexUrl: ''
-        };
-    },
-    getProjectName(){
-        return {
-            projectName: "电采暖负荷分析可视化系统的设计与实现"
-        } 
-    }
-}
-export default base
+  get() {
+    return {
+      url: 'http://localhost:8080/powerForecast/',
+      name: 'powerForecast',
+      // 退出到首页链接
+      indexUrl: '',
+    };
+  },
+  getProjectName() {
+    return {
+      projectName: '电采暖负荷分析可视化系统的设计与实现',
+    };
+  },
+};
+export default base;

+ 12 - 12
src/utils/menu.js

@@ -107,18 +107,18 @@ const menu = {
           //   ],
           //   menu: '电采暖负荷预测管理',
           // },
-          // {
-          //   child: [
-          //     {
-          //       allButtons: ['查看'],
-          //       appFrontIcon: 'cuIcon-form',
-          //       buttons: ['查看'],
-          //       menu: '看板',
-          //       tableName: 'hasBoard',
-          //     },
-          //   ],
-          //   menu: '看板管理',
-          // },
+          {
+            child: [
+              {
+                allButtons: ['查看'],
+                appFrontIcon: 'cuIcon-form',
+                buttons: ['查看'],
+                menu: '看板',
+                tableName: 'hasBoard',
+              },
+            ],
+            menu: '看板管理',
+          },
           // {
           //   child: [
           //     {

+ 1 - 1
src/views/modules/load-data/index.vue

@@ -353,7 +353,7 @@ export default {
     },
     exportTemplate() {
       this.$http({
-        url: `/file/download/`,
+        url: `/file/download`,
         method: 'get',
         params: {
           fileName: 'voltageLoad_template.xlsx',