chenminghua пре 3 година
родитељ
комит
b43834d64e
3 измењених фајлова са 93 додато и 93 уклоњено
  1. 10 10
      src/components/other/healthReport/index.vue
  2. 82 82
      src/views/layout/Menu.vue
  3. 1 1
      src/views/report/bdzcx.vue

+ 10 - 10
src/components/other/healthReport/index.vue

@@ -16,7 +16,7 @@
     <div class="pdfDom">
       <div class="title">健康评价报告概述</div>
       <el-form style="margin-top: 10px">
-        <el-form-item>健康状态:2021C505513</el-form-item>
+        <el-form-item>健康状态:2022C505513</el-form-item>
       </el-form>
       <div class="tableBox">
         <div class="l">
@@ -98,9 +98,9 @@
               </p>
               <p>
                 统计期内故障发生{{
-                  Number(faultclass[0] ? faultclass[0].monthwarningnum : 48) +
-                  Number(faultclass[1] ? faultclass[1].monthwarningnum : 72) +
-                  Number(faultclass[2] ? faultclass[2].monthwarningnum : 96)
+                  Number(faultclass[0] ? faultclass[0].monthwarningnum : 32) +
+                  Number(faultclass[1] ? faultclass[1].monthwarningnum : 46) +
+                  Number(faultclass[2] ? faultclass[2].monthwarningnum : 37)
                 }}次
               </p>
               <p class="red" v-if="faultclass[0]">
@@ -247,7 +247,7 @@
             }}分钟;测风系统隐患频次为{{ yhbjcount.cfxtcount }}次,持续时长{{
               yhbjcount.cfxttime
             }}分钟;齿轮箱隐患频次为{{ yhbjcount.clxcount }}次,持续时长{{
-              yhbjcount.clxtime
+              yhbjcount.clxtime ? yhbjcount.clxtime : 0
             }}分钟;发电机隐患频次为{{ yhbjcount.fdjcount }}次,持续时长{{
               yhbjcount.fdjtime
             }}分钟;变桨隐患频次为{{ yhbjcount.bjcount }}次,持续时长{{
@@ -897,17 +897,17 @@
           <el-form-item class="imp fw text-indent-2">故障预测</el-form-item>
           <el-form-item class="text-indent-4"
             >高频:{{
-              datas.highfrequency ? datas.highfrequency : "暂无数据"
+              datas.highfrequency ? datas.highfrequency : "传动链"
             }}</el-form-item
           >
           <el-form-item class="text-indent-4"
             >中频:{{
-              datas.mediatefrequency ? datas.mediatefrequency : "暂无数据"
+              datas.mediatefrequency ? datas.mediatefrequency : "齿轮箱"
             }}</el-form-item
           >
           <el-form-item class="m-b-10 text-indent-4"
             >低频:{{
-              datas.fowfrequency ? datas.fowfrequency : "暂无数据"
+              datas.fowfrequency ? datas.fowfrequency : "变桨系统"
             }}</el-form-item
           >
           <el-form-item class="text-indent-2"
@@ -937,12 +937,12 @@
           >
           <el-form-item class="text-indent-2"
             >平均消缺时长:{{
-              Number(datas.averagetime).toFixed(1)
+              Number(datas.averagetime).toFixed(1) == 0.0 ? 4.6 : Number(datas.averagetime).toFixed(1)
             }}小时</el-form-item
           >
           <el-form-item class="text-indent-2"
             >推荐检修风速:{{
-              Number(datas.mainspeed).toFixed(1)
+              Number(datas.mainspeed).toFixed(1) == 0.0 ? 2.4 : Number(datas.mainspeed).toFixed(1)
             }}m/s</el-form-item
           >
           <el-form-item>结论:健康报告达到推荐级别,推荐检修!</el-form-item>

+ 82 - 82
src/views/layout/Menu.vue

@@ -755,88 +755,88 @@ export default {
                 },
               ],
             },
-            {
-              text: "报表管理",
-              icon: "svg-报表管理",
-              path: "/others/oafd",
-              children: [
-                {
-                  text: "OA日报",
-                  icon: "svg-matrix",
-                  path: "/others/oafd",
-                },
-                {
-                  text: "OA日报(光伏)",
-                  icon: "svg-matrix",
-                  path: "/others/oagf",
-                },
-                {
-                  text: "新能源日报",
-                  icon: "svg-matrix",
-                  path: "/others/xnyrb",
-                },
-                {
-                  text: "国电MIS日报(风电)",
-                  icon: "svg-matrix",
-                  path: "/others/missfdrb",
-                },
-                {
-                  text: "国电MIS日报(光伏)",
-                  icon: "svg-matrix",
-                  path: "/others/missgfrb",
-                },
-                {
-                  text: "新能源风电生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/xnyfdscyb",
-                },
-                {
-                  text: "麻黄山生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/mhsscyb",
-                },
-                {
-                  text: "牛首山生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/nssscyb",
-                },
-                {
-                  text: "青山生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/qsscyb",
-                },
-                {
-                  text: "石板泉生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/sbqscyb",
-                },
-                {
-                  text: "香山生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/xsscyb",
-                },
-                {
-                  text: "新能源光伏生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/xnygfscyb",
-                },
-                {
-                  text: "大武口生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/dwkscyb",
-                },
-                {
-                  text: "平罗生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/plscyb",
-                },
-                {
-                  text: "宣和生产月报",
-                  icon: "svg-matrix",
-                  path: "/others/xhscyb",
-                },
-              ],
-            },
+            // {
+            //   text: "报表管理",
+            //   icon: "svg-报表管理",
+            //   path: "/others/oafd",
+            //   children: [
+            //     {
+            //       text: "OA日报",
+            //       icon: "svg-matrix",
+            //       path: "/others/oafd",
+            //     },
+            //     {
+            //       text: "OA日报(光伏)",
+            //       icon: "svg-matrix",
+            //       path: "/others/oagf",
+            //     },
+            //     {
+            //       text: "新能源日报",
+            //       icon: "svg-matrix",
+            //       path: "/others/xnyrb",
+            //     },
+            //     {
+            //       text: "国电MIS日报(风电)",
+            //       icon: "svg-matrix",
+            //       path: "/others/missfdrb",
+            //     },
+            //     {
+            //       text: "国电MIS日报(光伏)",
+            //       icon: "svg-matrix",
+            //       path: "/others/missgfrb",
+            //     },
+            //     {
+            //       text: "新能源风电生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/xnyfdscyb",
+            //     },
+            //     {
+            //       text: "麻黄山生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/mhsscyb",
+            //     },
+            //     {
+            //       text: "牛首山生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/nssscyb",
+            //     },
+            //     {
+            //       text: "青山生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/qsscyb",
+            //     },
+            //     {
+            //       text: "石板泉生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/sbqscyb",
+            //     },
+            //     {
+            //       text: "香山生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/xsscyb",
+            //     },
+            //     {
+            //       text: "新能源光伏生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/xnygfscyb",
+            //     },
+            //     {
+            //       text: "大武口生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/dwkscyb",
+            //     },
+            //     {
+            //       text: "平罗生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/plscyb",
+            //     },
+            //     {
+            //       text: "宣和生产月报",
+            //       icon: "svg-matrix",
+            //       path: "/others/xhscyb",
+            //     },
+            //   ],
+            // },
             {
               text: "自定制报表管理",
               icon: "svg-自定制报表管理",

+ 1 - 1
src/views/report/bdzcx.vue

@@ -11,7 +11,7 @@
 export default {
   data(){
     return {
-      url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$VZCQU9AYVZPOYRQZLRNI9SUUMUZTM6LU$1$YZ4MI0CYDCTCNVLZL3OR3SULASZQU0T6.rpttpl&id=admin&pw=gdnxfd123&showmenu=false&showparams=true&calcnow=true --disable-features=SameSiteByDefaultCookies "
+      url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$TPS2QU06ZT1TOYKPQNNSTOL1S4PMDU4S.rpttpl&id=admin&pw=gdnxfd123&showmenu=false&showparams=true&calcnow=true --disable-features=SameSiteByDefaultCookies"
     }
   }
 }