ly 3 jaren geleden
bovenliggende
commit
2b6656db62

+ 5 - 5
ui/src/lang/en.js

@@ -1303,12 +1303,12 @@ export default {
   测厚数据:'Thickness Measurement Data',
   实测记录:'Value',
   使用证号码:'Use No.',
-  '材料(管/壳)':'Material (Tube/Shell)',
+  '材料(管/壳)':'Material',
   '介质(管/壳)':'Medium (Tube/Shell)',
-  '设计压力MPa(管/壳)':'Design Pressure MPa (Tube/Shell)',
-  '操作压力MPa(管/壳)':'Operation Pressure MPa (Tube/Shell)',
-  '设计温度℃(管/壳)':'Design Temperature℃ (Tube/Shell)',
-  '操作温度℃(管/壳)':'Operation Temperature℃ (Tube/Shell)',
+  '设计压力MPa':'Design Pressure MPa',
+  '操作压力MPa':'Operation Pressure MPa',
+  '设计温度℃':'Design Temperature℃',
+  '操作温度℃':'Operation Temperature℃',
   '投用日期(mm/year)':'Using Date (mm/year)',
   设计使用年限:'Design Service Life',
   定期检验日期:'Periodic Inspecting Date',

+ 4 - 4
ui/src/lang/zh.js

@@ -1305,10 +1305,10 @@ export default {
   使用证号码:'使用证号码',
   '材料(管/壳)':'材料(管/壳)',
   '介质(管/壳)':'介质(管/壳)',
-  '设计压力MPa(管/壳)':'设计压力MPa(管/壳)',
-  '操作压力MPa(管/壳)':'操作压力MPa(管/壳)',
-  '设计温度℃(管/壳)':'设计温度℃(管/壳)',
-  '操作温度℃(管/壳)':'操作温度℃(管/壳)',
+  '设计压力MPa':'设计压力MPa',
+  '操作压力MPa':'操作压力MPa',
+  '设计温度℃':'设计温度℃',
+  '操作温度℃':'操作温度℃',
   '投用日期(mm/year)':'投用日期(mm/year)',
   设计使用年限:'设计使用年限',
   定期检验日期:'定期检验日期',

+ 3 - 1
ui/src/views/bccHome.vue

@@ -206,5 +206,7 @@
 </script>
 
 <style lang="scss" scoped>
-
+  body {
+    font-size: 12px !important;
+  }
 </style>

+ 3 - 0
ui/src/views/homepage.vue

@@ -321,5 +321,8 @@
       padding: 8px;
     }
   }
+  body {
+    font-size: 12px !important;
+  }
 
 </style>

+ 23 - 1
ui/src/views/plant/organization/index.vue

@@ -250,6 +250,29 @@ export default {
               bz7: false,
               bz8: false
             }
+            if (this.staffmgrList[i].specialDuty) {
+              console.log(this.staffmgrList[i].specialDuty)
+              let dutyArr = this.staffmgrList[i].specialDuty.split(",")
+              for (let i = 0; i < dutyArr.length; i++) {
+                if (dutyArr[i] == "10") {
+                  nodeData.bz4 = true
+                }else if (dutyArr[i] == "12") {
+                  nodeData.bz3 = true
+                }else if (dutyArr[i] == "14") {
+                  nodeData.bz5 = true
+                }else if (dutyArr[i] == "16") {
+                  nodeData.bz6 = true
+                }else if (dutyArr[i] == "18") {
+                  nodeData.bz2 = true
+                }else if (dutyArr[i] == "20") {
+                  nodeData.bz1 = true
+                }else if (dutyArr[i] == "22") {
+                  nodeData.bz8 = true
+                }else if (dutyArr[i] == "24") {
+                  nodeData.bz7 = true
+                }
+              }
+            }
             this.list2.push(nodeData)
           }else {
             let nodeData = {
@@ -306,7 +329,6 @@ export default {
           map[item.id] = item;
         }
       });
-
       list.forEach(item => {
         if (item.pId !== 0) {
           // map[item.pId].children ? map[item.pId].children.push(item) : map[item.pId].children = [item];

+ 1 - 1
ui/src/views/sems/specanalysis/YlrqChart.vue

@@ -11,7 +11,7 @@ export default {
   props: {
     width: {
       type: String,
-      default: '300px'
+      default: '200px'
     },
     height: {
       type: String,

+ 3 - 1
ui/src/views/sems/specanalysis/index.vue

@@ -638,8 +638,10 @@ export default {
     color: #a9b3d5;
   }
 }
-
 .bg-color-spec {
   border-radius: 0.125rem;
 }
+body {
+  font-size: 12px !important;
+}
 </style>