cq 3 жил өмнө
parent
commit
2825fb581c

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

@@ -1667,5 +1667,7 @@ export default {
   '是否确认删除字典编号为':'Whether to delete the dictionary No as "',
   '是否确认导出所有类型数据项?':'Whether to export all type data items?',
   '是否确认导出所有参数数据项?':'Whether to export all parameter data items?',
-  清理成功:'Cleaned up successfully ',
+  清理成功:'Cleaned up successfully',
+  新页面打开PDF:'Open PDF in new page',
+  安全批文主要内容:'the main content of the safety approval document',
 }

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

@@ -1668,4 +1668,6 @@ export default {
   '是否确认导出所有类型数据项?':'是否确认导出所有类型数据项?',
   '是否确认导出所有参数数据项?':'是否确认导出所有参数数据项?',
   清理成功:'清理成功',
+  新页面打开PDF:'新页面打开PDF',
+  安全批文主要内容:'安全批文主要内容',
 }

+ 1 - 1
ui/src/views/ehs/rcaudit/index.vue

@@ -636,7 +636,7 @@
         getRcaudit(id).then(response => {
           this.form = response.data;
           this.open = true;
-          this.title = this.$t('修改') + " " + this.$t('RC审计助手');
+          this.title = this.$t('修改') + this.$t('RC审计助手');
         });
       },
       /** 修改左侧目录操作 */

+ 1 - 1
ui/src/views/ehs/rcauditmenu/index.vue

@@ -329,7 +329,7 @@ export default {
       getRcauditmenu(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('RC审计助手目录');
+        this.title = this.$t('修改') + this.$t('RC审计助手目录');
       });
     },
     /** 提交按钮 */

+ 1 - 1
ui/src/views/ehs/safetyapprcont/index.vue

@@ -338,7 +338,7 @@ export default {
       getSafetyapprcont(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('安全批文主要内容');
+        this.title = this.$t('修改') + this.$t('安全批文主要内容');
       });
     },
     /** 提交按钮 */

+ 6 - 6
ui/src/views/ehs/safetyapproval/index.vue

@@ -76,15 +76,15 @@
           <span>{{ parseTime(scope.row.effetivedate, '{y}-{m}-{d}') }}</span>
         </template>
       </el-table-column>
-      <el-table-column label="适用范围" align="center" width="400" prop="scope" />
+      <el-table-column :label="$t('适用范围')" align="center" width="400" prop="scope" />
       <el-table-column :label="$t('相关法规')" align="center" width="400" prop="relatedlaw" :show-overflow-tooltip="true"/>
       <el-table-column :label="$t('审批单位')" align="center" width="200" prop="responsauth" :show-overflow-tooltip="true"/>
       <el-table-column :label="$t('有效期是否永久')" align="center" prop="isPermanent" :formatter="isPermanentFormat" />
       <el-table-column :label="$t('证书有效期')" align="center" width="300" prop="validity" />
-      <el-table-column label="是否需要跟进" align="center" prop="follow" :formatter="followFormat"/>
-      <el-table-column label="使用/储存/废物最大量" align="center" prop="allowance" :show-overflow-tooltip="true"/>
-      <el-table-column label="排放/监控要求" align="center" prop="requirements" :show-overflow-tooltip="true"/>
-      <el-table-column label="主要内容" align="center" width="250" prop="content" />
+      <el-table-column :label="$t('是否需要跟进')" align="center" prop="follow" :formatter="followFormat"/>
+      <el-table-column :label="$t('使用/储存/废物最大量')" align="center" prop="allowance" :show-overflow-tooltip="true"/>
+      <el-table-column :label="$t('排放/监控要求')" align="center" prop="requirements" :show-overflow-tooltip="true"/>
+      <el-table-column :label="$t('主要内容')" align="center" width="250" prop="content" />
       <el-table-column :label="$t('负责人')" align="center" prop="owner" :show-overflow-tooltip="true"/>
       <el-table-column :label="$t('回顾人')" align="center" prop="reviewerName" :show-overflow-tooltip="true"/>
       <el-table-column :label="$t('本次回顾日期')" align="center" prop="reviewdate" width="100">
@@ -717,7 +717,7 @@ export default {
         this.form = response.data;
         this.chooseDate = this.$set(this.form,'chooseDate',[""+response.data.validityBefore+"",""+response.data.validityAfter+""]);
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('安全批文清单');
+        this.title = this.$t('修改') + this.$t('安全批文清单');
       });
     },
     /** 主要内容操作 */