cq 3 tahun lalu
induk
melakukan
9124cfceed

+ 9 - 0
ui/src/lang/en.js

@@ -1704,4 +1704,13 @@ export default {
   参数键名:'Parameter Key Name',
   系统内置:'Built-in System',
   是否:'',
+  生产运行总览:'Production Run Overview',
+  北京时间:'Beijing Time',
+  周日:'Sunday',
+  周一:'Monday',
+  周二:'Tuesday',
+  周三:'Wednesday:',
+  周四:'Thursday',
+  周五:'Friday',
+  周六:'Saturday',
 }

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

@@ -1704,4 +1704,13 @@ export default {
   参数键名:'参数键名',
   系统内置:'系统内置',
   是否:'是否',
+  生产运行总览:'生产运行总览',
+  北京时间:'北京时间',
+  周日:'周日',
+  周一:'周一',
+  周二:'周二',
+  周三:'周三:',
+  周四:'周四',
+  周五:'周五',
+  周六:'周六',
 }

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

@@ -7,7 +7,7 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 :color="['#568aea', '#000000']" style="width:2.5rem;height:.625rem;" />
             <div class="title">
-              <span class="title-text">BCC 生产运行总览</span>
+              <span class="title-text">BCC {{ $t('生产运行总览') }}</span>
               <dv-decoration-6
                 class="title-bototm"
                 :reverse="true"
@@ -44,7 +44,7 @@
           </div>
           <div style="width: 40%" class="d-flex">
             <div class="react-left bg-color-blue mr-3">
-              <span class="text fw-b">北京时间:</span>
+              <span class="text fw-b">{{ $t('北京时间') }}:</span>
             </div>
             <div
               class="react-left mr-4"
@@ -152,7 +152,7 @@
         dateDay: null,
         dateYear: null,
         dateWeek: null,
-        weekday: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
+        weekday: [this.$t('周日'),this.$t('周一'),this.$t('周二'),this.$t('周三'),this.$t('周四'),this.$t('周五'),this.$t('周六')],
         timer:null
       };
     },

+ 2 - 2
ui/src/views/training/workcertificate/index.vue

@@ -593,7 +593,7 @@
       handleAdd() {
         this.reset();
         this.open = true;
-        this.title = this.$t('新增') + " " + this.$t('作业证书一览');
+        this.title = this.$t('新增') + this.$t('空格') + this.$t('作业证书一览');
       },
       /** 修改按钮操作 */
       handleUpdate(row) {
@@ -602,7 +602,7 @@
         getWorkcertificate(id).then(response => {
           this.form = response.data;
           this.open = true;
-          this.title = this.$t('修改') + " " + this.$t('作业证书一览');
+          this.title = this.$t('修改') + this.$t('作业证书一览');
         });
       },
       /** 提交按钮 */

+ 9 - 9
ui/src/views/training/worklicense/index.vue

@@ -32,7 +32,7 @@
       <el-form-item label="PGU/AEU" prop="coldarea" label-width="50">
         <el-checkbox v-model="queryParams.coldarea"></el-checkbox>
       </el-form-item>
-      <el-form-item :label="$t('无')+$t('上岗证')" prop="notHave" label-width="50">
+      <el-form-item :label="$t('无')+$t('空格')+$t('上岗证')" prop="notHave" label-width="50">
         <el-checkbox v-model="queryParams.notHave"></el-checkbox>
       </el-form-item>
       <el-form-item :label="$t('证书有效期即将到期')" prop="expiring" label-width="50">
@@ -217,7 +217,7 @@
           <el-input v-model="form.idtype" :placeholder="$t('请输入') + $t('证件类型')" />
         </el-form-item>
         <el-form-item :label="$t('证件号')" prop="crackingIdnum">
-          <el-input v-model="form.crackingIdnum" placeholder="请输入证件号" />
+          <el-input v-model="form.crackingIdnum" :placeholder="$t('请输入') +$t('证件号') " />
         </el-form-item>
         <el-form-item :label="$t('裂解')" prop="boiler">
           <el-checkbox v-model="form.boiler" @change="changeBoiler()"></el-checkbox>
@@ -383,7 +383,7 @@
         <el-col>
           <el-card class="box-card" shadow="hover">
             <div slot="header" class="clearfix">
-              <span>{{ $t('上岗证统计') }}</span>
+              <span>{{$t('上岗证')+$t('空格')+ $t('统计') }}</span>
             </div>
             <div class="text item">
               <license-data></license-data>
@@ -681,7 +681,7 @@ export default {
     handleAdd() {
       this.reset();
       this.open = true;
-      this.title = this.$t('新增') + " " + this.$t('上岗证一览');
+      this.title = this.$t('新增') + this.$t('空格') + this.$t('上岗证一览');
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
@@ -698,7 +698,7 @@ export default {
         if (response.data.coldarea == 1) { this.form.coldarea = true; this.pguaeuDisplay = true }
         if (response.data.coldarea == 0) { this.form.coldarea = false; this.pguaeuDisplay = false }
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('上岗证一览');
+        this.title = this.$t('修改')  + this.$t('上岗证一览');
       });
     },
     /** 提交按钮 */
@@ -817,18 +817,18 @@ export default {
     handleDoc(row , fileType) {
       var workType = "";
       if (fileType === "worklicense-boiler"){
-        workType = "裂解";
+        workType = this.$t('裂解');
       }else if (fileType === "worklicense-compression"){
-        workType = "压缩";
+        workType = this.$t('压缩');
       }else if (fileType === "worklicense-separation"){
-        workType = "分离";
+        workType = this.$t('分离');
       }else if (fileType === "worklicense-pguaeu"){
         workType = "PGU/AEU";
       }
       this.doc.pType = fileType
       this.doc.queryParams.pType = fileType
       this.doc.id = row.id;
-      this.doc.title = row.name + "的" + workType +  "上岗证附件";
+      this.doc.title = row.name + this.$t('的')+ this.$t('空格') + workType+ this.$t('空格') +  this.$t('上岗证')+ this.$t('空格')+ this.$t('附件') ;
       this.doc.open = true;
       this.doc.queryParams.pId = row.id
       this.doc.pId = row.id