ly 3 年之前
父節點
當前提交
b1bdfb4817

+ 1 - 1
master/src/main/resources/application.yml

@@ -9,7 +9,7 @@ ruoyi:
   # 实例演示开关
   demoEnabled: true
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /data/cpmsfile/uploadPath)
-  profile: D:/ruoyi/uploadPath
+  profile: /data/cpmsfile/uploadPath
   # 获取ip地址开关
   addressEnabled: false
   # 验证码类型 math 数组计算 char 字符验证

+ 1 - 0
ui/src/components/LangSelect/index.vue

@@ -30,6 +30,7 @@
   message: '设置语言成功',
   type: 'success'
 })
+    location.reload()
 }
 }
 }

+ 13 - 1
ui/src/lang/en.js

@@ -996,7 +996,10 @@ export default {
   失败: 'Fail',
   '关 闭': 'Close',
   启用: 'Enable',
-  停用: 'Out Of Service',
+  停用: 'Deactivate',
+  改造: 'Retrofit ',
+  延期: 'Extension',
+  超设计寿命变更: 'Change Beyond Design Life ',
   '确认要"': 'Confirm to"',
   '"任务吗?': '"task?',
   '确认要立即执行一次"': 'Confirm to execute once immediately "',
@@ -1178,6 +1181,15 @@ export default {
   设备使用地点: 'Place Of Equipment Use',
   在用: 'In Use',
   特种设备: 'Special Equipment',
+  压力管道年检计划: 'PpQty by Year and Plant',
+  锅炉年检计划: 'BiolerQty by Year and Plant',
+  压力容器年检计划: 'PvQty by Year and Plant',
+  '叉车,起重机械,电梯年检计划': 'ForkLiftQty,Lifting,MahineryQty and LiftQty by Year and Month',
+  devTotalChart: 'devTotal',
+  internalInspection: 'internalInspection',
+  externalInspection: 'externalInspection',
+  压力容器安全状况等级: 'PressureVessel SafetyLevel',
+  压力管道安全状况等级: 'PressurePiping SafetyLevel',
   锅炉台账: 'Boiler Account',
   压力容器台账: 'Pressure Vessel Account',
   压力管道台账: 'Penstock Account',

+ 12 - 0
ui/src/lang/zh.js

@@ -997,6 +997,9 @@ export default {
   '关 闭': '关 闭',
   启用: '启用',
   停用: '停用',
+  改造: '改造',
+  延期: '延期',
+  超设计寿命变更: '超设计寿命变更',
   '确认要"': '确认要"',
   '"任务吗?': '"任务吗?',
   '确认要立即执行一次"': '确认要立即执行一次"',
@@ -1178,6 +1181,15 @@ export default {
   设备使用地点: '设备使用地点',
   在用: '在用',
   特种设备: '特种设备',
+  压力管道年检计划: '压力管道年检计划',
+  锅炉年检计划: '锅炉年检计划',
+  压力容器年检计划: '压力容器年检计划',
+  '叉车,起重机械,电梯年检计划': '叉车,起重机械,电梯年检计划',
+  devTotalChart: '设备数量',
+  internalInspection: '内检',
+  externalInspection: '外检',
+  压力容器安全状况等级: '压力容器安全状况等级',
+  压力管道安全状况等级: '压力管道安全状况等级',
   锅炉台账: '锅炉台账',
   压力容器台账: '压力容器台账',
   压力管道台账: '压力管道台账',

+ 0 - 2
ui/src/views/ehs/rcaudit/index.vue

@@ -489,9 +489,7 @@
       this.$nextTick(()=> {
         setTimeout(() => {
           const scrollTop = this.$route.meta.scrollTop;
-          console.log('++++++++' + scrollTop)
           this.$refs.menuTable.bodyWrapper.scrollTop = scrollTop
-          console.log('------' + this.$refs.menuTable.bodyWrapper.scrollTop)
         }, 13)
       })
     },

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

@@ -22,7 +22,7 @@ export default {
       chart: null,
       ylrqSafeOption:  {
         title: {
-          text: '压力管道安全状况等级',
+          text: this.$t('压力管道安全状况等级'),
           left: 'center',
           textStyle: {
             fontSize: 12

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

@@ -23,7 +23,7 @@ export default {
       chart: null,
       ylrqSafeOption:  {
         title: {
-          text: '压力容器安全状况等级',
+          text: this.$t('压力容器安全状况等级'),
           left: 'center',
           textStyle: {
             fontSize: 12

+ 4 - 4
ui/src/views/sems/specanalysis/index.vue

@@ -140,7 +140,7 @@
                         <icon name="chart-bar"></icon>
                       </span>
                       <div class="d-flex">
-                        <span class="fs-xl text mx-2">BiolerQty by Year and Plant</span>
+                        <span class="fs-xl text mx-2">{{ $t('压力容器年检计划') }}</span>
                       </div>
                     </div>
                     <div>
@@ -159,7 +159,7 @@
                         <icon name="chart-bar"></icon>
                       </span>
                       <div class="d-flex">
-                        <span class="fs-xl text mx-2">PvQty by Year and Plant</span>
+                        <span class="fs-xl text mx-2">{{ $t('锅炉年检计划') }}</span>
                       </div>
                     </div>
                     <div>
@@ -178,7 +178,7 @@
                         <icon name="chart-bar"></icon>
                       </span>
                       <div class="d-flex">
-                        <span class="fs-xl text mx-2">PpQty by Year and Plant</span>
+                        <span class="fs-xl text mx-2">{{ $t('压力管道年检计划') }}</span>
                       </div>
                     </div>
                     <div>
@@ -200,7 +200,7 @@
                       </span>
                       <div class="d-flex">
                         <span
-                          class="fs-xl text mx-2">ForkLiftQty, LiftingMahineryQty and LiftQty by Year and Month</span>
+                          class="fs-xl text mx-2">{{ $t('叉车,起重机械,电梯年检计划') }}</span>
                       </div>
                     </div>
                     <div>