Kaynağa Gözat

Merge branch 'mw2' of http://61.161.152.110:10101/r/electronic-map into sl3

shilin 3 yıl önce
ebeveyn
işleme
23a8a0bd66
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/views/WindSite/WindSite.vue

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

@@ -79,9 +79,10 @@
 			jumpUrl() {
 				var p = this.$route.path.split('/');
 				var pData = p[p.length - 1].split('_');
+				var fdjData = pData[0].substr(0,1);
 				var wpId = p[p.length - 1];
 				if (wpId.indexOf("FDC") !== -1) {
-					this.windsitePath = `/monitor/windsite/info/${wpId}/${pData[0] + '01_01'}`
+					this.windsitePath = `/monitor/windsite/info/${wpId}/${fdjData[0] + 'G01_01'}`
 				} else {
 					this.windsitePath = `../../windsite/inverter-info/${wpId}/${pData[0] + '01_01'}`
 				}