cq 3 年之前
父节点
当前提交
facaa9f653

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

@@ -1661,4 +1661,11 @@ export default {
   '10月':'October',
   '11月':'November',
   '12月':'December',
+  环保批文:'Environment Approval',
+  '是否确认删除表编号为"':'Whether to delete the table No as "',
+  '是否确认删除参数编号为':'Whether to delete the parameter No as "',
+  '是否确认删除字典编号为':'Whether to delete the dictionary No as "',
+  '是否确认导出所有类型数据项?':'Whether to export all type data items?',
+  '是否确认导出所有参数数据项?':'Whether to export all parameter data items?',
+  清理成功:'Cleaned up successfully ',
 }

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

@@ -1661,4 +1661,11 @@ export default {
   '10月':'10月',
   '11月':'11月',
   '12月':'12月',
+  环保批文:'环保批文',
+  '是否确认删除表编号为"':'是否确认删除表编号为"',
+  '是否确认删除参数编号为':'是否确认删除参数编号为',
+  '是否确认删除字典编号为':'是否确认删除字典编号为',
+  '是否确认导出所有类型数据项?':'是否确认导出所有类型数据项?',
+  '是否确认导出所有参数数据项?':'是否确认导出所有参数数据项?',
+  清理成功:'清理成功',
 }

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

@@ -549,7 +549,7 @@ export default {
       getEhskpinew(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('KPI统计及格');
+        this.title = this.$t('修改') + this.$t('KPI统计及格');
       });
     },
     /** 提交按钮 */

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

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

+ 4 - 4
ui/src/views/ehs/environapproval/index.vue

@@ -716,7 +716,7 @@ export default {
           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('环保批文清单');
       });
     },
     /** 主要内容操作 */
@@ -792,9 +792,9 @@ export default {
         this.upload.isUploading = false;
         this.$refs.upload.clearFiles();
         if (response.data[0] != null) {
-          this.$alert("成功导入" + response.msg + "条数据,第" + response.data + "行数据出现错误导入失败。", "导入结果", { dangerouslyUseHTMLString: true });
+          this.$alert(this.$t('成功导入') + response.msg + this.$t('条数据') + "," + this.$t('第') + response.data + this.$t('行数据出现错误导入失败')+"。", this.$t('导入结果'), { dangerouslyUseHTMLString: true });
         }else {
-          this.$alert("成功导入" + response.msg + "条数据", "导入结果", { dangerouslyUseHTMLString: true });
+          this.$alert(this.$t('成功导入') + response.msg + this.$t('条数据'), this.$t('导入结果'), { dangerouslyUseHTMLString: true });
         }
         this.getList();
       },
@@ -827,7 +827,7 @@ export default {
     //附件上传成功处理
     handleFileDocSuccess(response, file, fileList) {
       this.doc.isUploading = false;
-      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.$alert(response.msg, this.$t('导入结果'), { dangerouslyUseHTMLString: true });
       this.getFileList()
     },
     /** 删除按钮操作 */

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

@@ -510,7 +510,7 @@ export default {
       getEyewasher(id).then(response => {
         this.form = response.data;
         this.open = true;
-        this.title = this.$t('修改') + " " + this.$t('洗眼器');
+        this.title = this.$t('修改') + this.$t('洗眼器');
       });
     },
     /** 提交按钮 */

+ 3 - 3
ui/src/views/system/config/index.vue

@@ -321,7 +321,7 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const configIds = row.configId || this.ids;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', this.$t('警告'), {
+      this.$confirm(this.$t('是否确认删除参数编号为"') + configIds + this.$t('"的数据项?'), this.$t('警告'), {
           confirmButtonText: this.$t('确定'),
           cancelButtonText: this.$t('取消'),
           type: "warning"
@@ -335,7 +335,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有参数数据项?', this.$t('警告'), {
+      this.$confirm(this.$t('是否确认导出所有参数数据项?'), this.$t('警告'), {
           confirmButtonText: this.$t('确定'),
           cancelButtonText: this.$t('取消'),
           type: "warning"
@@ -348,7 +348,7 @@ export default {
     /** 清理缓存按钮操作 */
     handleClearCache() {
       clearCache().then(response => {
-        this.msgSuccess("清理成功");
+        this.msgSuccess(this.$t('清理成功'));
       });
     }
   }

+ 3 - 3
ui/src/views/system/dict/index.vue

@@ -325,7 +325,7 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const dictIds = row.dictId || this.ids;
-      this.$confirm('是否确认删除字典编号为"' + dictIds + '"的数据项?', this.$t('警告'), {
+      this.$confirm(this.$t('是否确认删除字典编号为"') + dictIds + this.$t('"的数据项?'), this.$t('警告'), {
           confirmButtonText: this.$t('确定'),
           cancelButtonText: this.$t('取消'),
           type: "warning"
@@ -339,7 +339,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有类型数据项?', this.$t('警告'), {
+      this.$confirm(this.$t('是否确认导出所有类型数据项?'), this.$t('警告'), {
           confirmButtonText: this.$t('确定'),
           cancelButtonText: this.$t('取消'),
           type: "warning"
@@ -352,7 +352,7 @@ export default {
     /** 清理缓存按钮操作 */
     handleClearCache() {
       clearCache().then(response => {
-        this.msgSuccess("清理成功");
+        this.msgSuccess(this.$t('清理成功'));
       });
     }
   }

+ 1 - 1
ui/src/views/tool/gen/index.vue

@@ -304,7 +304,7 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const tableIds = row.tableId || this.ids;
-      this.$confirm('是否确认删除表编号为"' + tableIds + '"的数据项?', this.$t('警告'), {
+      this.$confirm(this.$t('是否确认删除表编号为"') + tableIds + this.$t('"的数据项?'), this.$t('警告'), {
         confirmButtonText: this.$t('确定'),
         cancelButtonText: this.$t('取消'),
         type: "warning"