chenminghua 2 years ago
parent
commit
05a3d26965

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

@@ -519,7 +519,7 @@
       <div class="textBox">
         <el-form>
           <el-form-item class="imp fw text-indent-2">
-            <b>振动监测:时域分析分析法</b>
+            <b>振动监测:时域分析法</b>
           </el-form-item>
           <el-form-item class="text-indent-2"
             >有量纲参数:均值为100,方差为49,均方幅值67,峰值,260,平均幅值44,均方值120</el-form-item

+ 2 - 1
src/views/HealthControl/HealthTab3.vue

@@ -162,7 +162,8 @@ export default {
     };
   },
   created() {
-    this.starts = new Date(new Date().setMonth(new Date().getMonth()-2)).formatDate("yyyy-MM-dd");
+    // this.starts = new Date(new Date().setMonth(new Date().getMonth()-2)).formatDate("yyyy-MM-dd");
+    this.starts = '2021-06-01'
     this.requestStations();
   },
   methods: {

+ 2 - 2
src/views/HealthControl/HealthTab4.vue

@@ -189,8 +189,8 @@ export default {
     };
   },
   created() {
-    this.starts = new Date().formatDate("yyyy-MM") + "-01";
-    // this.starts = "2021-01-01";
+    // this.starts = new Date().formatDate("yyyy-MM") + "-01";
+    this.starts = "2021-01-01";
     this.requestStations();
   },
   methods: {

+ 1 - 1
src/views/NewPages/alarm-center-1.vue

@@ -595,7 +595,7 @@ export default {
 
     async searchData() {
       let enddate = new Date(
-        Date.parse(new Date(this.enddate)) + 24 * 3600 * 1000
+        Date.parse(new Date(this.enddate))
       ).formatDate("yyyy-MM-dd");
       const { data } = await this.API.requestData({
         showLoading: true,

+ 9 - 17
src/views/alarmCenter/customStatistics.vue

@@ -96,28 +96,18 @@
       </div>
       <div class="dChart" height="100%" id="dChart">
         <div class="title">报警统计柱状图</div>
-        <div id="chartDom" style="style: 100%; height: 90%"></div>
-        <!-- <multiple-hover-bar-chart
-          height="90%"
-          widht="100%"
-          :list="dChartData"
-          :units="['次数']"
-          :showLegend="false"
-        /> -->
-        <!-- <Te /> -->
+        <div id="chartDom" style="width: 95%; height: 90%"></div>
       </div>
     </el-dialog>
   </div>
 </template>
 <script>
 // import ComTable from "@/components/coms/table/table.vue";
-import MultipleHoverBarChart from "./chart.vue";
 import * as echarts from "echarts";
 import util from "@/helper/util.js";
 import partten from "@/helper/partten.js";
 export default {
   name: "customStatistics",
-  components: { MultipleHoverBarChart },
   data() {
     let that = this;
     return {
@@ -250,14 +240,17 @@ export default {
       });
 
       option = {
+        legend: {},
         xAxis: {
+          name: '线路',
           type: "category",
           data: xAxisData,
           axisLine: {
-            show: true, //隐藏y
+            show: true, //隐藏X
           },
         },
         yAxis: {
+          name: '数量(次)',
           type: "value",
           splitLine: {
             show: false,
@@ -275,15 +268,14 @@ export default {
           {
             data: seriesData,
             type: "bar",
-            barMaxWidth: 80,
+            barMaxWidth: 50,
             barGap: 3,
           },
         ],
         grid: {
-          top: 32,
-          left: 8,
-          right: 8,
-          bottom: 0,
+          left: '4%',
+          right: '4%',
+          bottom: '3%',
           containLabel: true,
         },
         tooltip: {

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

@@ -858,21 +858,21 @@ export default {
                   icon: "svg-matrix",
                   path: "/others/fdczzdy",
                 },
-                {
-                  text: "风电项目自定义",
-                  icon: "svg-matrix",
-                  path: "/others/fdxmzdy",
-                },
+                // {
+                //   text: "风电项目自定义",
+                //   icon: "svg-matrix",
+                //   path: "/others/fdxmzdy",
+                // },
                 {
                   text: "光伏场站自定义",
                   icon: "svg-matrix",
                   path: "/others/gfczzdy",
                 },
-                {
-                  text: "光伏项目自定义",
-                  icon: "svg-matrix",
-                  path: "/others/gfxmzdy",
-                },
+                // {
+                //   text: "光伏项目自定义",
+                //   icon: "svg-matrix",
+                //   path: "/others/gfxmzdy",
+                // },
               ],
             },
             {

+ 15 - 22
src/views/malfunctionDiagnose/index2.vue

@@ -47,15 +47,15 @@
           <div class="lable">时间:</div>
           <div class="search-input">
             <el-date-picker
-          style="margin-right: 10px"
-          v-model="dateArray"
-          type="datetimerange"
-          value-format="YYYY-MM-DD HH:mm:ss"
-          range-separator="至"
-          start-placeholder="开始日期"
-          end-placeholder="结束日期"
-        >
-        </el-date-picker>
+              style="margin-right: 10px"
+              v-model="dateArray"
+              type="datetimerange"
+              value-format="YYYY-MM-DD HH:mm:ss"
+              range-separator="至"
+              start-placeholder="开始日期"
+              end-placeholder="结束日期"
+            >
+            </el-date-picker>
           </div>
         </div>
       </div>
@@ -114,18 +114,13 @@
             size="small"
             :disabled="scope.row.confirm"
             @click="diagnoseConfirm(scope.row)"
+            v-if="false"
             >故障确认</el-button
           >
-          <el-button
-            type="text"
-            size="small"
-            @click="diagnoseReport(scope.row)"
+          <el-button type="text" size="small" @click="diagnoseReport(scope.row)"
             >诊断报告</el-button
           >
-          <el-button
-            type="text"
-            size="small"
-            @click="warningInfo(scope.row)"
+          <el-button type="text" size="small" @click="warningInfo(scope.row)"
             >报警详情</el-button
           >
         </template>
@@ -136,6 +131,7 @@
     <!-- 报警详情 -->
     <el-dialog
       v-model="showDialogWarning"
+      custom-class="modal"
       title="报警信息"
       width="50%"
       @closed="
@@ -168,14 +164,11 @@
       </el-table>
       <template #footer>
         <span class="dialog-footer">
-          <el-button
-            @click="
+          <button class="btn green" @click="
               () => {
                 showDialogWarning = false;
               }
-            "
-            >取消</el-button
-          >
+            ">取消</button>
         </span>
       </template>
     </el-dialog>

+ 1 - 1
src/views/malfunctionDiagnose/reportDialog.vue

@@ -646,7 +646,7 @@ export default {
 <style lang="less">
 .modal {
   .el-dialog__body {
-    max-height: 600px;
+    max-height: 800px;
     overflow-y: scroll;
   }
 }

+ 2 - 1
src/views/report/fdczzdy.vue

@@ -11,7 +11,8 @@
 export default {
   data(){
     return {
-      url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$LDBDTULZIVZV1WQD163KP6ICTCDUT99L.rptolap&id=admin&pw=admin"
+      // url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$LDBDTULZIVZV1WQD163KP6ICTCDUT99L.rptolap&id=admin&pw=admin"
+      url: "http://10.155.32.4:8000/bi47/editrpt.do?action=edit&resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$KUOIX7IQO6X6I4CUDE5J0JUCDDUVZPCP.rptolap&id=admin&pw=admin"
     }
   }
 }

+ 2 - 1
src/views/report/fdxmzdy.vue

@@ -11,7 +11,8 @@
 export default {
   data(){
     return {
-      url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$LDBDTULZIVZV1WQD163KP6ICTCDUT99L.rptolap&id=admin&pw=admin"
+      // url: "http://10.155.32.4:8000/bi47/showreport.do?resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$LDBDTULZIVZV1WQD163KP6ICTCDUT99L.rptolap&id=admin&pw=admin"
+      url: "http://10.155.32.4:8000/bi47/editrpt.do?action=edit&resid=EBI$12$0C375MRT9PPPNMNCCTULLVQINXCND95K$1$KUOIX7IQO6X6I4CUDE5J0JUCDDUVZPCP.rptolap&id=admin&pw=admin"
     }
   }
 }

+ 4 - 4
src/views/totalPowerRank/index.vue

@@ -70,21 +70,21 @@
 				dialogShow: false,
 				tableData: {
 					column: [{
-							name: "场",
+							name: "场",
 							field: "windfarm",
 							is_num: false,
 							is_light: false,
 							sortable: true,
 						},
 						{
-							name: "风机",
+							name: "设备",
 							field: "windturbine",
 							is_num: false,
 							is_light: false,
 							sortable: true,
 						},
 						{
-							name: "始日期",
+							name: "始日期",
 							field: "beginDate",
 							is_num: false,
 							is_light: false,
@@ -98,7 +98,7 @@
 							sortable: true,
 						},
 						{
-							name: "平均风速",
+							name: "平均风速/日照强度",
 							field: "speed",
 							is_num: false,
 							is_light: false,