Explorar el Código

最有功率【错字改】,首页风速改日照,健康报告默认参数为空时不请求

mw_666 hace 3 años
padre
commit
e563a5dc34

+ 3 - 0
src/components/other/healthReport/index.vue

@@ -1719,6 +1719,9 @@ export default {
  
     // 获取报告详情
     getReport(wtid,recorddate) {
+		if(wtid == undefined){
+			return;
+		}
       let that = this;
       let reqData = this.params;
       that.API.requestData({

+ 2 - 2
src/views/Home/Home.vue

@@ -1023,9 +1023,9 @@ export default {
         success(res) {
           that.powerData = [
             {
-              title: "风速",
+              title: "日照强度",
               value: res.data.jczbmap.ssfs,
-              dialogTitle: "风速详情",
+              dialogTitle: "日照详情",
               subUrl: "genreset/findGLDetail",
               targetName: "ssfs",
               dialogType: "powerLineChart",

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

@@ -775,7 +775,7 @@ export default {
                   value: [],
                 },
                 {
-                  title: "最有功率律",
+                  title: "最优功率",
                   smooth: true, // 使用单位
                   value: [],
                 },