Browse Source

代码优化

dengliying 11 months ago
parent
commit
87858e1caf
1 changed files with 6 additions and 6 deletions
  1. 6 6
      ui/src/views/monitor/pfd/index.vue

+ 6 - 6
ui/src/views/monitor/pfd/index.vue

@@ -444,7 +444,7 @@ export default {
     created() {
       let pageId = this.$route.query.pageId; // 页面参数
       if(pageId){
-          if(pageId === "LJL"){
+          if(pageId === "LJL"){ // 裂解炉
               this.imageWidth = 10948;
               this.areaLJLWidth = 1265;
               this.areaJLQWidth = 2156;
@@ -456,7 +456,7 @@ export default {
               this.areaLQ_1Width = 3396;
               this.areaLQ_2Width = 1632;
               this.areaRQ2Width = 1632;
-          }else if(pageId === "JLQ"){
+          }else if(pageId === "JLQ"){ // 急冷区
               this.imageWidth = 6348;
               this.areaLJLWidth = 734;
               this.areaJLQWidth = 1252;
@@ -468,7 +468,7 @@ export default {
               this.areaLQ_1Width = 1970;
               this.areaLQ_2Width = 948;
               this.areaRQ2Width = 948;
-          }else if(pageId === "YS"){
+          }else if(pageId === "YS"){// 压缩
               this.imageWidth = 5348;
               this.areaLJLWidth = 619;
               this.areaJLQWidth = 1056;
@@ -480,7 +480,7 @@ export default {
               this.areaLQ_1Width = 1661;
               this.areaLQ_2Width = 800;
               this.areaRQ2Width = 800;
-          }else if(pageId === "TBP"){
+          }else if(pageId === "TBP"){// 脱丙烷
               this.imageWidth = 7348;
               this.areaLJLWidth = 851;
               this.areaJLQWidth = 1452;
@@ -492,7 +492,7 @@ export default {
               this.areaLQ_1Width = 2284;
               this.areaLQ_2Width = 1101;
               this.areaRQ2Width = 1101;
-          }else if(pageId === "LQ"){
+          }else if(pageId === "LQ"){// 冷区
               this.imageWidth = 7348;
               this.areaLJLWidth = 851;
               this.areaJLQWidth = 1452;
@@ -504,7 +504,7 @@ export default {
               this.areaLQ_1Width = 2284;
               this.areaLQ_2Width = 1101;
               this.areaRQ2Width = 1101;
-          } else if(pageId === "RQ"){
+          } else if(pageId === "RQ"){// 热区
              this.imageWidth = 6548;
               this.areaLJLWidth = 759;
               this.areaJLQWidth = 1295;