yangxiao 3 роки тому
батько
коміт
73b44518a8

+ 1 - 1
src/views/Status/components/status-panel.vue

@@ -77,7 +77,7 @@ export default {
   methods: {
     jumpPage(wpId) {
       this.$router.push({
-        path: `/windsite/home/${wpId}`,
+        path: `/monitor/windsite/home/${wpId}`,
         // query: { wpId: id },
       });
     },

+ 1 - 1
src/views/WindSite/WindSite.vue

@@ -90,7 +90,7 @@ export default {
 
   created () {
     this.menuDatas.forEach(ele => {
-      ele.path += ("/" + this.$route.params.wpId);
+      ele.path = ("/monitor" + ele.path + "/" + this.$route.params.wpId);
     });
   },
 

+ 1 - 1
src/views/WindSite/pages/Home/Home.vue

@@ -622,9 +622,9 @@ export default {
   created() {
     let that = this;
     that.wpId = that.$route.params.wpId;
+    console.log(123123,that.$route.params)
     that.$nextTick(() => {
       that.requestData(false);
-
       that.timmer = setInterval(() => {
         that.requestData(false);
       }, that.$store.state.websocketTimeSec);

+ 1 - 1
src/views/WindSite/pages/Home/light-matrix.vue

@@ -52,7 +52,7 @@ export default {
     // 页面跳转
     jumpUrl(wpId, wtId){
       this.$router.push({
-        path: `/windsite/info/${wpId}/${wtId}`
+        path: `/monitor/windsite/info/${wpId}/${wtId}`
       });
     }
   },