cq 3 rokov pred
rodič
commit
cfbcf8cb5e

+ 20 - 12
ui/src/lang/en.js

@@ -138,7 +138,7 @@ export default {
   KPI名称: 'KPI',
   一季度: '1st Quarter',
   二季度: '2nd Quarter',
-  三季度: '3rd Quater',
+  三季度: '3rd Quarter',
   四季度: '4th Quarter',
   结束时间: 'End Time',
   班次: 'Team',
@@ -1649,18 +1649,18 @@ export default {
   申请成功:'Successful Application',
   申请月度检查:'Apply for monthly inspection',
   审核结果:'Audit results',
-  '1月':'January',
-  '2月':'February',
-  '3月':'March',
-  '4月':'April',
+  '1月':'Jan',
+  '2月':'Feb',
+  '3月':'Mar',
+  '4月':'Apr',
   '5月':'May',
-  '6月':'June',
-  '7月':'July',
-  '8月':'August',
-  '9月':'September',
-  '10月':'October',
-  '11月':'November',
-  '12月':'December',
+  '6月':'Jun',
+  '7月':'Jul',
+  '8月':'Aug',
+  '9月':'Sep',
+  '10月':'Oct',
+  '11月':'Nov',
+  '12月':'Dec',
   环保批文:'Environment Approval',
   '是否确认删除表编号为"':'Whether to delete the table No as "',
   '是否确认删除参数编号为':'Whether to delete the parameter No as "',
@@ -1670,4 +1670,12 @@ export default {
   清理成功:'Cleaned up successfully',
   新页面打开PDF:'Open PDF in new page',
   安全批文主要内容:'the main content of the safety approval document',
+  丙烯储罐:'Propylene storage tank',
+  年产量:'Annual output',
+  阀门手动清单:'Valve manual list',
+  联系旁路清单:'Contact bypass list',
+  已排放:'Discharged',
+  计划排放:'Planned emissions',
+  排放率:'Emission rate',
+  复职成功:'Successful reinstatement',
 }

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

@@ -1670,4 +1670,12 @@ export default {
   清理成功:'清理成功',
   新页面打开PDF:'新页面打开PDF',
   安全批文主要内容:'安全批文主要内容',
+  丙烯储罐:'丙烯储罐',
+  年产量:'年产量',
+  阀门手动清单:'阀门手动清单',
+  联系旁路清单:'联系旁路清单',
+  已排放:'已排放',
+  计划排放:'计划排放',
+  排放率:'排放率',
+  复职成功:'复职成功',
 }

+ 2 - 2
ui/src/views/ehs/water/index.vue

@@ -402,7 +402,7 @@ export default {
       getWater(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('废水风险评估');
+        this.title = this.$t('修改')+ this.$t('废水风险评估');
       });
     },
     /** 提交按钮 */
@@ -448,7 +448,7 @@ export default {
           type: "warning"
         }).then(function() {
           return exportWater(queryParams);
-        }).then(response => {
+        }).then(response => {ss
           this.download(response.msg);
         })
     },

+ 1 - 1
ui/src/views/front/acrylicTank.vue

@@ -6,7 +6,7 @@
           <icon name="chart-area"></icon>
         </span>
         <div class="d-flex">
-          <span class="fs-xl text mx-2">丙烯储罐</span>
+          <span class="fs-xl text mx-2">{{ $t('丙烯储罐') }}</span>
           <div class="decoration2">
             <dv-decoration-2 :reverse="true" style="width:5px;height:2.4rem;" />
           </div>

+ 1 - 1
ui/src/views/front/annualOutput.vue

@@ -7,7 +7,7 @@
             <div class="m-7xz1 xzleft"></div>
             <div class="m-7xz2"></div>
             <div class="m-7xz3 xzleft"></div>
-            <div class="m-7zt1">年产量</div>
+            <div class="m-7zt1">{{ $t('年产量') }}</div>
             <div class="m-7zt2" id="sx1">60%</div>
           </div>
         </div>

+ 1 - 1
ui/src/views/front/bottomLeft.vue

@@ -6,7 +6,7 @@
           <icon name="chart-bar"></icon>
         </span>
         <div class="d-flex">
-          <span class="fs-xl text mx-2">阀门手动清单</span>
+          <span class="fs-xl text mx-2">{{ $t('阀门手动清单') }}</span>
         </div>
       </div>
       <div>

+ 1 - 1
ui/src/views/front/bottomRight.vue

@@ -6,7 +6,7 @@
           <icon name="chart-area"></icon>
         </span>
         <div class="d-flex">
-          <span class="fs-xl text mx-2">联系旁路清单</span>
+          <span class="fs-xl text mx-2">{{ $t('联系旁路清单') }}</span>
           <div class="decoration2">
             <dv-decoration-2 :reverse="true" style="width:5px;height:480px;" />
           </div>

+ 4 - 4
ui/src/views/monitor/elec/echart/bottom/bottomLeftChart.vue

@@ -155,7 +155,7 @@ export default {
           }
         },
         legend: {
-          data: ["已排放", "计划排放", "排放率"],
+          data: [this.$t('已排放'),this.$t('计划排放'),this.$t('排放率')],
           textStyle: {
             color: "#B4B4B4"
           },
@@ -204,7 +204,7 @@ export default {
         ],
         series: [
           {
-            name: "排放率",
+            name: this.$t('排放率'),
             type: "line",
             smooth: true,
             showAllSymbol: true,
@@ -220,7 +220,7 @@ export default {
           },
 
           {
-            name: "已排放",
+            name: this.$t('已排放'),
             type: "bar",
             barWidth: 10,
             itemStyle: {
@@ -236,7 +236,7 @@ export default {
           },
 
           {
-            name: "计划排放",
+            name: this.$t('计划排放'),
             type: "bar",
             barGap: "-100%",
             barWidth: 10,

+ 1 - 1
ui/src/views/monitor/job/index.vue

@@ -428,7 +428,7 @@ export default {
       getJob(jobId).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('任务');
+        this.title = this.$t('修改')  + this.$t('任务');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/awardrecord/index.vue

@@ -536,7 +536,7 @@ export default {
       getAwardrecord(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('人员嘉奖记录');
+        this.title = this.$t('修改') +this.$t('人员嘉奖记录');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/hismeeting/index.vue

@@ -389,7 +389,7 @@ export default {
       getMeeting(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('装置会议');
+        this.title = this.$t('修改')  + this.$t('装置会议');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/manageactivity/index.vue

@@ -540,7 +540,7 @@ export default {
       getManageactivity(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('管理活动抽查');
+        this.title = this.$t('修改') + this.$t('管理活动抽查');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/staffmgr/index.vue

@@ -961,7 +961,7 @@
           }
           this.open = true;
           this.notPhoto = true;
-          this.title = this.$t('修改') + " " +  this.$t('人员管理');
+          this.title = this.$t('修改') +  this.$t('人员管理');
         });
         this.photo.pId = row.id;
       },

+ 1 - 1
ui/src/views/plant/staffmgr/teamChart.vue

@@ -49,7 +49,7 @@
               label: {
                 formatter: '{b}: ({d}%)'
               },
-              name: '学历',
+              name: this.$t('学历'),
               type: 'pie',
               radius: ['50%', '70%'],
               selectedMode: 'single',

+ 1 - 1
ui/src/views/plant/targetlist/index-copy.vue

@@ -346,7 +346,7 @@ export default {
       getTargetlist(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('目标录入');
+        this.title = this.$t('修改')  + this.$t('目标录入');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/targetlist/index.vue

@@ -489,7 +489,7 @@ export default {
         }
         this.form.partners = partners;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('目标录入');
+        this.title = this.$t('修改') + this.$t('目标录入');
       });
     },
     /** 提交按钮 */

+ 4 - 4
ui/src/views/plant/targetmeasures/index.vue

@@ -1307,13 +1307,13 @@
         this.doc.id = row.id;
         var titleType = '';
         if (fileType === 'targetMeasures-first') {
-          titleType = "第一季度附件"
+          titleType = this.$t('第一季度')+' '+this.$t('附件')
         }else if (fileType === 'targetMeasures-second') {
-          titleType = "第二季度附件"
+          titleType = this.$t('第二季度')+' '+this.$t('附件')
         }else if (fileType === 'targetMeasures-third') {
-          titleType = "第三季度附件"
+          titleType = this.$t('第三季度')+' '+this.$t('附件')
         }else {
-          titleType = "第四季度附件"
+          titleType = this.$t('第四季度')+' '+this.$t('附件')
         }
         this.doc.title = titleType;
         this.doc.open = true;

+ 3 - 3
ui/src/views/plant/targetreview/index.vue

@@ -555,12 +555,12 @@
       handleDownload() {
         this.reset();
         this.download.open = true;
-        this.download.title = "导出目标回顾";
+        this.download.title =this.$t('导出')+' '+this.$t('目标回顾') ;
       },
       /** 下载按钮操作 */
       downloadOperate() {
         if (this.queryParams.year == null) {
-          this.msgError("请选择年份");
+          this.msgError(this.$t('请选择')+this.$t('年份'));
         }else {
           this.downloadForm.year = this.queryParams.year;
           this.$nextTick(() => {
@@ -576,7 +576,7 @@
         getTargetreview(id).then(response => {
           this.form = response.data;
           this.open = true;
-          this.title = this.$t('修改') + " " + this.$t('目标回顾');
+          this.title = this.$t('修改')  + this.$t('目标回顾');
         });
       },
       /** 提交按钮 */

+ 1 - 1
ui/src/views/plant/weekmeeting/index.vue

@@ -271,7 +271,7 @@ export default {
       getMeeting(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('装置会议');
+        this.title = this.$t('修改') + this.$t('装置会议');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/process/alarmmodify/index.vue

@@ -547,7 +547,7 @@
         getAlarmmodify(id).then(response => {
           this.form = response.data;
           this.open = true;
-          this.title = this.$t('修改') + " " + this.$t('报警值管理');
+          this.title = this.$t('修改') + this.$t('报警值管理');
         });
       },
       /** 提交按钮 */

+ 1 - 1
ui/src/views/process/moc/categoryData.vue

@@ -50,7 +50,7 @@
               label: {
                 formatter: '{b}: ({d}%)'
               },
-              name: '类别',
+              name: this.$t('类别'),
               type: 'pie',
               radius: ['50%', '70%'],
               selectedMode: 'single',

+ 1 - 1
ui/src/views/process/moc/index.vue

@@ -1070,7 +1070,7 @@ export default {
       getMoc(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('MOC管理');
+        this.title = this.$t('修改') + this.$t('MOC管理');
       });
     },
     /** 提交按钮 */