Sfoglia il codice sorgente

皮带能效分析文件重命名,ip更新。

jie 2 anni fa
parent
commit
e7d3d41e1c

+ 2 - 2
src/router/index.js

@@ -577,11 +577,11 @@ const router = new Router({
           hidden: false,
         },
         {
-          path: "/beam_tube_inspection",  //app_belt_energy_analysis
+          path: "/belt_energy_efficiency_analysis",
           name: "皮带能效分析",
           id: 203,
           component: () =>
-            import("../views/app_beam_tube_inspection/main.vue"),
+            import("../views/app_belt_energy_efficiency_analysis/main.vue"),
           hidden: false,
         },
         {

+ 5 - 2
src/store/index.js

@@ -5,8 +5,11 @@ Vue.use(Vuex)
 
 export default new Vuex.Store({
   state: {
-    websocketIP: "150.158.138.99:8081",
-    ip:"http://49.235.67.21/",
+    // websocketIP: "150.158.138.99:8081",
+    websocketIP: "43.143.221.128:8081",
+    // ip:"http://49.235.67.21/",
+    ip:"http://43.143.230.108/",
+
     name: "",
     title: "主界面",
     efficiency: [ { name: '额定负载', xAxis: 0.8 },{ name: '额定负载',xAxis: 1.2 },{ name: '效率',yAxis: 0.7 },{ name: '效率',yAxis: 1 }]

+ 0 - 144
src/views/app_beam_tube_inspection/beamTubeInspection.vue

@@ -1,144 +0,0 @@
-<!--<template>-->
-<!--  <div>beamTubeInspection</div>-->
-<!--</template>-->
-
-<!--<script>-->
-<!--export default {-->
-<!--  name: "beamTubeInspection"-->
-<!--}-->
-<!--</script>-->
-
-<!--<style scoped>-->
-
-<!--</style>-->
-
-
-
-<!--<template>-->
-<!--  <div class="box">-->
-<!--    <el-col :span="13">-->
-<!--      <img src="@/assets/img/conveyor.gif" alt="图片" align="middle">-->
-<!--    </el-col>-->
-<!--    <el-col :span="11">-->
-<!--      <mailTable style="margin-top: 10px;margin-left: 10px;" :tableData="propertyTableData" :tableStyle="{ width:'310px'}"></mailTable>-->
-<!--    </el-col>-->
-<!--  </div>-->
-<!--</template>-->
-
-<!--<script>-->
-<!--import mailTable from "@/views/tableComponent";-->
-<!--export default {-->
-<!--  name: "beltCoalQuantity",-->
-<!--  data() {-->
-<!--    return {-->
-<!--      propertyTableData: [{-->
-<!--        key: '名称',-->
-<!--        value: '值'-->
-<!--      }, {-->
-<!--        key: '设备名称',-->
-<!--        value: '高压6A系统'-->
-<!--      }, {-->
-<!--        key: '设备编码',-->
-<!--        value: '60LAC72'-->
-<!--      }, {-->
-<!--        key: 'KKS编码',-->
-<!--        value: '60LAC72'-->
-<!--      }, {-->
-<!--        key: '状态',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '状态日期',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '机组编码',-->
-<!--        value: '#6'-->
-<!--      }, {-->
-<!--        key: '所属专业',-->
-<!--        value: '锅炉'-->
-<!--      }, {-->
-<!--        key: '分类编码',-->
-<!--        value: '给水泵'-->
-<!--      }, {-->
-<!--        key: '型号',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '序列号',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '位置编码',-->
-<!--        value: '高压6A系统'-->
-<!--      }, {-->
-<!--        key: '制造商',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '出厂日期',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '安装日期',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '保修到期日期',-->
-<!--        value: ''-->
-<!--      }, {-->
-<!--        key: '形式',-->
-<!--        value: '多级离心泵'-->
-<!--      }, {-->
-<!--        key: '配用功率',-->
-<!--        value: '1950'-->
-<!--      }, {-->
-<!--        key: '配套电机',-->
-<!--        value: 'ABB(AMA 500L2L B5F)'-->
-<!--      }, {-->
-<!--        key: '转速',-->
-<!--        value: '2980'-->
-<!--      }, {-->
-<!--        key: '杨程',-->
-<!--        value: '16000'-->
-<!--      }, {-->
-<!--        key: '流量',-->
-<!--        value: '350'-->
-<!--      }]-->
-<!--    }-->
-<!--  },-->
-<!--  components: {-->
-<!--    mailTable-->
-<!--  }-->
-<!--}-->
-<!--</script>-->
-<!--<style scoped>-->
-<!--/* .box {-->
-<!--    width: 600px;-->
-<!--    height: 600px;-->
-<!--    border: 1px solid red;-->
-<!--    /* background: require("@/assets/img/scenery.gif");-->
-
-<!--background: require('@/assets/img/100.png');-->
-<!--}-->
-<!--*/-->
-<!--</style>-->
-
-
-
-<!--分开-->
-
-<template>
-  <div>
-<!--    <data-board title="1号压风机"></data-board>-->
-    <dataBoard title="1号压风机" v-if="activeName == '1'"></dataBoard>
-
-  </div>
-</template>
-
-<script>
-import dataBoard from "@/views/compressed/dataBoard/dataBoard"
-export default {
-  comments:{
-    dataBoard
-  }
-
-}
-</script>
-
-<style scoped>
-
-</style>

+ 0 - 49
src/views/app_beam_tube_inspection/main.vue

@@ -1,49 +0,0 @@
-<template>
-  <data-board title="1号压风机"></data-board>
-<!--  <qu-tu title="工作区蓄水性"></qu-tu>-->
-</template>
-
-<script>
-import systemData from "@/views/compressed/systemData";
-import dataStandard from "@/views/compressed/dataStandard/dataStandard";
-
-
-import dataBoard from "@/views/app_beam_tube_inspection/dataBoardtest";
-// import dataBoard from "@/views/app_beam_tube_inspection/dataBoard";
-
-import configImg from "@/views/compressed/configImg/configImg";
-
-// import waterStorage from "@/views/mining/envTest/waterStorage";
-import quTu from "@/views/app_beam_tube_inspection/waterStorage";
-export default {
-  name: "compressed",
-  data() {
-    return {
-      //activeName: "third",
-      activeName: '1'
-    };
-  },
-  methods: {
-    handleClick(tab, event) {},
-  },
-   mounted() {
-    this.$bus.$on("changeCompressedId", (val) => {
-      console.log(val);
-      this.activeName = val;
-    });
-    this.$once("hook:beforeDestroy", () => {
-      this.$bus.$off("changeCompressedId");
-    });
-  },
-  components: {
-    dataStandard,
-    dataBoard,
-    configImg,
-    systemData,
-    quTu,
-  },
-};
-</script>
-
-
-

+ 0 - 163
src/views/app_beam_tube_inspection/myleft.vue

@@ -1,163 +0,0 @@
-<template>
-  <div>
-    <div style="width: 100%; margin: 0 auto" class="left_003">
-      <span class="left_tile">基本信息</span>
-      <!-- 使用for循环输出selectData 左列为属性,右列为具体值 -->
-      <div v-for="(item, index) in leftData" :key="index" class="left_002">
-        <div class="left_001">{{ item.name }}</div>
-        <div class="left_006">{{ item.value }}</div>
-      </div>
-    </div>
-    <br />
-    <br />
-
-    <div style="width: 100%; margin: 0 auto" class="left_003">
-      <span class="left_tile">区域评分</span>
-      <el-row :gutter="16" style="margin-top: 10px">
-        <el-col :span="4" style="text-align: center"> 总分 </el-col>
-        <el-col :span="20">
-          <el-progress :percentage="percentage"></el-progress>
-        </el-col>
-      </el-row>
-      <el-row style="margin-top:20px">
-        <scoreImg ref="scoreImg"></scoreImg>
-      </el-row>
-    </div>
-  </div>
-</template>
-
-<script>
-import scoreImg from "@/components/monitor/scoreImg";
-export default {
-  name: "left",
-  data() {
-    return {
-      percentage: 70,
-      // 基本信息区域
-      leftData: [
-        {  
-          name: "名   称",
-          value: "原煤仓二层分站",
-        },
-        {
-          name: "面  积",
-          value: "3000m2",
-        },
-        {
-          name: "人员数量",
-          value: "1",
-        },
-        {
-          name: "设备数量",
-          value: "10",
-        },
-        {
-          name: "工作用途",
-          value: "上仓皮带入口",
-        },
-      ],
-    };
-  },
-  mounted() {
-    let interval = setInterval(() => {
-      this.percentage = this.getRandomNum(70, 100);
-    }, 3000);
-    this.$once("hook:beforeDestroy", () => {
-      clearInterval(interval);
-    });
-  },
-  components: {
-    scoreImg,
-  },
-  methods: {
-    // 获取两个参数,一个是leftData 下拉选框可以选择的区域,一个是viewData 区域评分对应的柱状图数据
-    dataChange(leftData) {
-      // 将选择区域数据给基本信息表格
-      this.leftData = leftData;
-    },
-  },
-};
-</script>
-
-<style scoped>
-.left_001 {
-  text-align: left;
-  font-size: 16px;
-  padding: 5px;
-}
-.left_006 {
-  text-align: right;
-  font-size: 16px;
-  padding: 5px;
-  color: #f3db5c;
-}
-.left_002 {
-  display: grid;
-  color: #4adefe;
-  grid-template-columns: 1fr 1fr;
-}
-.left_003 {
-  color: #4adefe;
-  background: url(../../../src/assets/img/tunneling/dataBg.png) no-repeat;
-  background-size: 100%;
-}
-/* .left_002:nth-child(odd){
-  background-color:#312D4A;
-}
-.left_002:nth-child(even){
-  background-color:#100C2A;
-} */
-.left_003 {
-  text-align: left;
-  font-size: 16px;
-  padding: 10px;
-}
-
-.left_004 {
-  display: grid;
-  grid-template-columns: 1fr 1fr;
-  border-bottom: white 1px solid;
-  margin-bottom: 15px;
-}
-
-.left_tile {
-  border-bottom: #5ddcf8 1px solid;
-  height: 40px;
-  font-size: 18px;
-  line-height: 2;
-  padding: 5px;
-  font-weight: 500;
-  color: #4adefe;
-}
-
-.sel_wrap {
-  height: 40px;
-  color: #a1a1a1;
-  font-size: 16px;
-  border: 1px solid #e4e4e4;
-  cursor: pointer;
-  position: relative;
-  _filter: alpha(opacity=0);
-}
-
-.sel_wrap label {
-  padding-left: 10px;
-  font-size: 16px;
-  z-index: 2;
-  color: #a1a1a1;
-  line-height: 40px;
-  height: 40px;
-  display: block;
-}
-
-.sel_wrap .select {
-  width: 100%;
-  height: 40px;
-  font-size: 16px;
-  color: white;
-  background-color: #312d4a;
-}
-.left_003 >>> .el-progress__text {
-  color: #f3db5c;
-}
-</style>

+ 0 - 0
src/views/app_beam_tube_inspection/albox.vue → src/views/app_belt_energy_efficiency_analysis/albox.vue


+ 20 - 59
src/views/app_beam_tube_inspection/dataBoardtest.vue → src/views/app_belt_energy_efficiency_analysis/dataBoard.vue

@@ -34,12 +34,12 @@
             <div class="title2" style="width: 100%;margin-left: 225px;padding-top: 0px;font-size: 19px;color: #4ADEFE;font-weight: 350;">工况分析</div>
             <albox ></albox> <!--算法框-->
             <div class="title2" style="width: 100%;font-size: 18px;margin-top: -20px;">区域状态:<span style="color: #f3db5c;font-size: 14px">{{work.info}}</span>
-<!--              <sandian style="margin-top: -38px;z-index: 1;"></sandian>-->
-              <sandian style="margin-top: -7%;margin-left: -4%;z-index: 1;"></sandian>
+<!--              <gongkuang style="margin-top: -38px;z-index: 1;"></gongkuang>-->
+              <gongkuang style="margin-top: -7%;margin-left: -4%;z-index: 1;"></gongkuang>
               <div class="title2"style="color:white;width:  100%;font-size: 18px;z-index: 2;margin-top: -130px;margin-left: 92px;">工况1&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp合理工作区</div>
               <div class="title2"style="color:white;width:  100%;font-size: 18px;z-index: 2;margin-top: 5px;margin-left: 92px;">工况2&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp工况3&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp工况4</div>
 <!--              <test></test>-->
-<!--              <sandian></sandian>-->
+<!--              <gongkuang></gongkuang>-->
 <!--              <radartu></radartu>-->
 <!--              <RadarChart></RadarChart>-->
             </div>
@@ -262,18 +262,22 @@
 </template>
 
 <script>
-import waterStorage from "@/views/app_beam_tube_inspection/waterStorage";
-import fuzai from "@/views/app_beam_tube_inspection/picture/fuzai";
-import dunmei from "@/views/app_beam_tube_inspection/picture/dunmei";
-import dangqian from "@/views/app_beam_tube_inspection/picture/dangqian";
-import shuru from "@/views/app_beam_tube_inspection/picture/shuru";
-import xiaolv from "@/views/app_beam_tube_inspection/picture/xiaolv";
-import albox from "@/views/app_beam_tube_inspection/albox";
-import radartu from "@/views/app_beam_tube_inspection/picture/radartu";
-import RadarChart from "@/views/app_beam_tube_inspection/picture/RadarChart";
+import waterStorage from "@/views/app_belt_energy_efficiency_analysis/waterStorage";
+import fuzai from "@/views/app_belt_energy_efficiency_analysis/picture/fuzai";
+import dunmei from "@/views/app_belt_energy_efficiency_analysis/picture/dunmei";
+import dangqian from "@/views/app_belt_energy_efficiency_analysis/picture/dangqian";
+import shuru from "@/views/app_belt_energy_efficiency_analysis/picture/shuru";
+import xiaolv from "@/views/app_belt_energy_efficiency_analysis/picture/xiaolv";
+import albox from "@/views/app_belt_energy_efficiency_analysis/albox";
+import radartu from "@/views/app_belt_energy_efficiency_analysis/picture/radartu";
+import RadarChart from "@/views/app_belt_energy_efficiency_analysis/picture/RadarChart";
 import m3u8 from "@/common/m3u8";
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
-import sandian from "@/views/app_beam_tube_inspection/picture/sandian";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
+import gongkuang from "@/views/app_belt_energy_efficiency_analysis/picture/gongkuang";
+
+/**
+ *
+ */
 export default {
 
   data() {
@@ -330,37 +334,6 @@ export default {
         speed: 4.33,  //m/s
       },
 
-
-      //分开
-      currentComId: this.title,
-      comOptions: [
-        {
-          id: "1",
-          label: "  ",
-        },
-        {
-          id: "2",
-          label: "2号压风机",
-        },
-        {
-          id: "3",
-          label: "3号压风机",
-        },
-      ],
-      windingType: [
-        "dianjiraozuwenduu_after",
-        "dianjiraozuwenduv_after",
-        "dianjiraozuwenduw_after",
-      ],
-      windingLegand: ["U1相温度", "V1相温度", "W1相温度"],
-      vibrateType: ["xzhou_after", "yzhou_after", "zzhou_after"],
-      vibrateLegand: ["X轴振动", "Y轴振动", "Z轴振动"],
-      pressureType: ["gongqiyali_after", "fengbaoyali_after"],
-      pressureLegand: ["压风机压力", "风包压力"],
-      temperatureType: ["paiqiwendu_after", "fengbaowendu_after"],
-      temperatureLegand: ["压风机温度", "风包温度"],
-      bearingType: ["dianjiqianzhouwendu_after", "dianjihouzhouwendu_after"],
-      bearingLegand: ["电机前轴温", "电机后轴温"],
     };
   },
   mounted() {
@@ -390,20 +363,8 @@ export default {
       clearInterval(interval);
     });
   },
-  props: ["title"],
   methods: {
-    selectChart(val) {
-      console.log("val", val);
-      this.$bus.$emit("changeCompressedId", String(val));
-      this.$refs.current.idChange(val);
-      this.$refs.winding.idChange(val);
-      this.$refs.vibrate.idChange(val);
-      this.$refs.pressure.idChange(val);
-      this.$refs.temperature.idChange(val);
-      this.$refs.bearing.idChange(val);
-      //   this.$refs.faultAlarm.idChange(val);
-      //   this.$refs.runningMsg.idChange(val);
-    },
+
   },
   components: {
     waterStorage,
@@ -417,7 +378,7 @@ export default {
     RadarChart,
     m3u8,
     timeselect,
-    sandian
+    gongkuang
 
   },
 };

+ 17 - 0
src/views/app_belt_energy_efficiency_analysis/main.vue

@@ -0,0 +1,17 @@
+<template>
+  <data-board></data-board>
+</template>
+
+<script>
+import dataBoard from "@/views/app_belt_energy_efficiency_analysis/dataBoard";
+
+export default {
+  name: "beltEnergyEfficiencyAnalysis",
+  components: {
+    dataBoard,
+  },
+};
+</script>
+
+
+

+ 0 - 0
src/views/app_beam_tube_inspection/picture/RadarChart.vue → src/views/app_belt_energy_efficiency_analysis/picture/RadarChart.vue


+ 1 - 3
src/views/app_beam_tube_inspection/picture/dangqian.vue → src/views/app_belt_energy_efficiency_analysis/picture/dangqian.vue

@@ -10,7 +10,7 @@
 </template>
 
 <script>
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
 export default {
   components:{
     timeselect,
@@ -204,7 +204,6 @@ export default {
   methods:{
     convertToDate(date) {
       var date = new Date(date);
-      // var y = date.getFullYear();
       var m = date.getMonth() + 1;
       var d = date.getDate();
       var s = date.getHours()
@@ -216,7 +215,6 @@ export default {
 
 
     chooseDate(value) {
-      // console.log(value);
       this.chooseDatetime = value;
       this.count = 0;
       switch (value) {

+ 1 - 1
src/views/app_beam_tube_inspection/picture/dunmei.vue → src/views/app_belt_energy_efficiency_analysis/picture/dunmei.vue

@@ -8,7 +8,7 @@
 </template>
 
 <script>
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
 export default {
   components:{
     timeselect,

+ 1 - 1
src/views/app_beam_tube_inspection/picture/fuzai.vue → src/views/app_belt_energy_efficiency_analysis/picture/fuzai.vue

@@ -8,7 +8,7 @@
 </template>
 
 <script>
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
 export default {
   components:{
     timeselect,

+ 0 - 0
src/views/app_beam_tube_inspection/picture/sandian.vue → src/views/app_belt_energy_efficiency_analysis/picture/gongkuang.vue


+ 0 - 0
src/views/app_beam_tube_inspection/picture/radartu.vue → src/views/app_belt_energy_efficiency_analysis/picture/radartu.vue


+ 1 - 1
src/views/app_beam_tube_inspection/picture/shuru.vue → src/views/app_belt_energy_efficiency_analysis/picture/shuru.vue

@@ -8,7 +8,7 @@
 </template>
 
 <script>
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
 export default {
   components:{
     timeselect,

+ 1 - 1
src/views/app_beam_tube_inspection/picture/xiaolv.vue → src/views/app_belt_energy_efficiency_analysis/picture/xiaolv.vue

@@ -8,7 +8,7 @@
 </template>
 
 <script>
-import timeselect from "@/views/app_beam_tube_inspection/tiemselect";
+import timeselect from "@/views/app_belt_energy_efficiency_analysis/tiemselect";
 export default {
   components:{
     timeselect,

+ 0 - 0
src/views/app_beam_tube_inspection/tiemselect.vue → src/views/app_belt_energy_efficiency_analysis/tiemselect.vue


+ 0 - 0
src/views/app_beam_tube_inspection/waterStorage.vue → src/views/app_belt_energy_efficiency_analysis/waterStorage.vue


+ 2 - 1
src/views/main.vue

@@ -14,7 +14,8 @@ export default {
   data() {
     return {
       getDashBoardId: false,
-      url: "http://49.235.67.21:50401/analysis/dashboard/show/",
+      // url: "http://49.235.67.21:50401/analysis/dashboard/show/",
+      url: "http://43.143.230.108:50401/analysis/dashboard/show/",
     };
   },
   created() {

+ 2 - 1
src/views/transportation/configImg/analysis/AlarmMsg.vue

@@ -37,7 +37,8 @@ export default {
   data() {
     return {
       data: [],
-      alarmStatisticWebsocketUrl: "ws://150.158.138.99:8081/ws/alarmstati",
+      // alarmStatisticWebsocketUrl: "ws://150.158.138.99:8081/ws/alarmstati",
+      alarmStatisticWebsocketUrl: "ws://43.143.221.128:8081/ws/alarmstati",
       getHistroyUrl: "https://service-j79v4brc-1301774019.gz.apigw.tencentcs.com/release/helloworld-1640223752",
       columns,
     };

+ 2 - 1
src/views/transportation/configImg/analysis/WorkFace.vue

@@ -56,7 +56,8 @@ export default {
   name: "WorkFace",
   data() {
     return {
-      websocketUrl: "ws://150.158.138.99:8081/ws/workface",
+      // websocketUrl: "ws://150.158.138.99:8081/ws/workface",
+      websocketUrl: "ws://43.143.221.128:8081/ws/workface",
       states,
     };
   },