Explorar el Código

提交report文件翻译

Lijy hace 10 meses
padre
commit
6d898911bb

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/i18n/en.json

@@ -2001,5 +2001,8 @@
   "yiQuXiao": "Canceled",
   "yingYongLeiXingBuFuHeYaoQiu": "The application type does not meet the requirements",
   "yingYongXinXiHuoQuShiBai": "Application information retrieval failed",
-  "zhuanYiDao": "Transfer to"
+  "zhuanYiDao": "Transfer to",
+  "caoZuoChengGong-0": "Operation successful!",
+  "dangQianBuMenCunZaiDaiShenHeBaoGao": "There are pending reports in the current department for review",
+  "dangQianBuMenCunZaiDaiShenHeBaoGaoShiFouQuanBuZhuanWeiTongGuo": "Are all pending reports in the current department approved?"
 }

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/i18n/zh.json

@@ -2001,5 +2001,8 @@
   "yingYongXinXiHuoQuShiBai": "应用信息获取失败",
   "yingYongLeiXingBuFuHeYaoQiu": "应用类型不符合要求",
   "qiTaCuoWu": "其它错误",
-  "caoZuoChengGong": "操作成功:"
+  "caoZuoChengGong": "操作成功:",
+  "caoZuoChengGong-0": "操作成功!",
+  "dangQianBuMenCunZaiDaiShenHeBaoGao": "当前部门存在待审核报告",
+  "dangQianBuMenCunZaiDaiShenHeBaoGaoShiFouQuanBuZhuanWeiTongGuo": "当前部门存在待审核报告, 是否全部转为通过?"
 }

+ 5 - 5
fhKeeper/formulahousekeeper/timesheet/src/views/workflow/report.vue

@@ -282,7 +282,7 @@
                     if (res.code == "ok") {
                         this.$message({
                             type: 'success',
-                            message: '操作成功!'
+                            message: this.$t('caoZuoChengGong-0')
                         });
 
                         this.isAdd = false;
@@ -317,10 +317,10 @@
                             this.dialogVisible = true;
                             this.curDeptId = item.auditDeptId;
                         } else {
-                            if(res.msg.indexOf('当前部门存在待审核报告') != '-1') {
-                                this.$confirm('当前部门存在待审核报告, 是否全部转为通过?', '提示', {
-                                    confirmButtonText: '确定',
-                                    cancelButtonText: '取消',
+                            if(res.msg.indexOf(this.$t('dangQianBuMenCunZaiDaiShenHeBaoGao')) != '-1') {
+                                this.$confirm(this.$t('dangQianBuMenCunZaiDaiShenHeBaoGaoShiFouQuanBuZhuanWeiTongGuo'), this.$t('other.prompts'), {
+                                    confirmButtonText: this.$t('btn.determine'),
+                                    cancelButtonText: this.$t('btn.cancel'),
                                     type: 'warning'
                                 }).then(() => {
                                     this.judgmentDepartment(item.auditDeptId, item, index)