瀏覽代碼

daily.vue文件翻译完

Lijy 2 年之前
父節點
當前提交
af9632d3fa

+ 45 - 5
fhKeeper/formulahousekeeper/timesheet/src/i18n/en.json

@@ -83,7 +83,9 @@
     "saturday": "Saturday",
     "daily": "daily",
     "date": "date",
-    "Week": "Week"
+    "Week": "Week",
+    "month": "month",
+    "day": "day"
   },
   "headerTop": {
     "projectName": "projectName",
@@ -112,7 +114,8 @@
     "pleaseEnterTheReason": "Please enter the reason",
     "pleaseEnterYourDecision": "Please enter your decision",
     "Pleaseenterthereviewyoudecidetopass": "Please enter the review you decide to pass",
-    "pleaseselectaworkdate": "Please select a work date"
+    "pleaseselectaworkdate": "Please select a work date",
+    "pleaseset": "please set"
   },
   "screening": {
     "selectPeople": "select people",
@@ -273,7 +276,10 @@
     "PleaseselecttheXLSorXLSXfile": "Please select .xls or .xlsx file",
     "successful": "successful",
     "importSuccess": "Import success",
-    "workHourData": "Work hour data"
+    "workHourData": "Work hour data",
+    "specificcontentandresults": "specific content and results",
+    "pleaseYes": "please yes",
+    "tofillin": "to fill in"
   },
   "export": {
     "dailyExport": "daily export",
@@ -288,12 +294,46 @@
     "noMoreData": "no more data",
     "Areyousureyouwanttodeletethisdaily": "Are you sure you want to delete this daily",
     "successfullyDeleted": "successfully deleted",
-    "submittedSuccessfully": "Submitted successfully"
+    "submittedSuccessfully": "Submitted successfully",
+    "Stagingfailed": "Staging failed",
+    "Temporarysuccess": "Temporary success",
+    "SubmissionFailed": "Submission Failed",
+    "sentSuccessfully": "Sent successfully",
+    "Dailyreviewerhasnotbeensetpleasecontacttheprojectmanager": "Daily reviewer has not been set, please contact the project manager",
+    "Pleaseselectthepersontoreview": "Please select the person to review",
+    "Reviewsucceeded": "Review succeeded",
+    "Pleaseselectareviewer": "Please select a reviewer",
+    "Filledtimeperiodsoverlap": "Filled time periods overlap",
+    "Pleasefillinthetime": "Please fill in the time",
+    "Pleaseselectatime": "Please select a time",
+    "cannotexceedtotal": "The sum of the reported working hours cannot exceed the total attendance working hours",
+    "dailyreportinglimit": "The sum of reported working hours cannot exceed the daily reporting limit",
+    "fillinsuccessfully": "Fill in successfully",
+    "pleaseselectthepersontofillin": "Please select the person to fill in",
+    "canonlybeselectedonce": "canonlybeselectedonce",
+    "Notatthesametimeaslastafternoon": "Not at the same time as last afternoon",
+    "Thesumofthetimeratioscannotexceed": "The sum of the time ratios cannot exceed",
+    "cannotbesubmitted": "Hours have not been fully allocated and cannot be submitted",
+    "Fillinthesumofworkinghours": "Fill in the sum of working hours",
+    "Cannotexceedthetotalworkinghoursofattendance": "cannot exceed the total working hours of attendance",
+    "Cannotexceedthedailydailylimit": "Cannot exceed the daily daily limit",
+    "period": "period",
+    "mistaken": "mistaken",
+    "Endtimemustbegreaterthanstarttime": "End time must be greater than start time",
+    "and": "and",
+    "Thereisoverlappleaseedit": "There is overlap, please edit",
+    "Pleasespecifyaprojectreviewer": "Please specify a project reviewer",
+    "involvedintheproject": "Task groupings that are not yet involved in the project",
+    "Taskgroupingfortheproject": "Task grouping for the project",
+    "Projectgroupleader": "Project group leader",
+    "Withdrawalsucceeded": "Withdrawal succeeded",
+    "rejectedsuccessfully": "rejected successfully"
   },
   "template": {
     "EmployeeHoursStatisticsTemplate": "Employee Hours Statistics Template",
     "EmployeeTimeImportTemplate": "Employee Time Import Template",
-    "DownloadEmployeeHourStatisticsTemplate": "Download Employee Hour Statistics Template"
+    "DownloadEmployeeHourStatisticsTemplate": "Download Employee Hour Statistics Template",
+    "Staffdailyworkinghoursstatistics": "Staff daily working hours statistics"
   },
   "leave": {
     "personalLeave": "personal leave",

+ 45 - 5
fhKeeper/formulahousekeeper/timesheet/src/i18n/zh.json

@@ -83,7 +83,9 @@
     "saturday": "周六",
     "daily": "每日",
     "date": "日期",
-    "Week": "星期"
+    "Week": "星期",
+    "month": "月",
+    "day": "日"
   },
   "headerTop": {
     "projectName": "项目名称",
@@ -112,7 +114,8 @@
     "pleaseEnterTheReason": "请输入原因",
     "pleaseEnterYourDecision": "请输入您决定",
     "Pleaseenterthereviewyoudecidetopass": "请输入您决定通过的评价",
-    "pleaseselectaworkdate": "请选择工作日期"
+    "pleaseselectaworkdate": "请选择工作日期",
+    "pleaseset": "请设置"
   },
   "screening": {
     "selectPeople": "选择人员",
@@ -273,7 +276,10 @@
     "PleaseselecttheXLSorXLSXfile": "请选择.xls或.xlsx文件",
     "successful": "成功",
     "importSuccess": "导入成功",
-    "workHourData": "条工时数据"
+    "workHourData": "条工时数据",
+    "specificcontentandresults": "具体内容与结果",
+    "pleaseYes": "请对",
+    "tofillin": "进行填写"
   },
   "export": {
     "dailyExport": "日报导出",
@@ -288,12 +294,46 @@
     "noMoreData": "无更多数据",
     "Areyousureyouwanttodeletethisdaily": "确定要删除该日报吗?",
     "successfullyDeleted": "删除成功",
-    "submittedSuccessfully": "提交成功"
+    "submittedSuccessfully": "提交成功",
+    "SubmissionFailed": "提交失败",
+    "Stagingfailed": "暂存失败",
+    "Temporarysuccess": "暂存成功",
+    "sentSuccessfully": "已发送成功",
+    "Dailyreviewerhasnotbeensetpleasecontacttheprojectmanager": "日报审核人尚未设置,请联系该项目管理人员",
+    "Pleaseselectthepersontoreview": "请选择要审核的人员",
+    "Reviewsucceeded": "审核成功",
+    "Pleaseselectareviewer": "请选择审核人",
+    "Filledtimeperiodsoverlap": "填写的时间段重叠",
+    "Pleasefillinthetime": "请填写时间",
+    "Pleaseselectatime": "请选择时间",
+    "cannotexceedtotal": "填报工时之和不能超过考勤总工时",
+    "dailyreportinglimit": "填报工时之和不能超过每日填报上限",
+    "fillinsuccessfully": "填报成功",
+    "pleaseselectthepersontofillin": "请选择代填的人员",
+    "canonlybeselectedonce": "只能选择一次",
+    "Notatthesametimeaslastafternoon": "不能和上下午同时存在",
+    "Thesumofthetimeratioscannotexceed": "用时比例之和不能超过",
+    "cannotbesubmitted": "工时尚未完全分配,无法提交",
+    "Fillinthesumofworkinghours": "填报工时之和",
+    "Cannotexceedthetotalworkinghoursofattendance": "不能超过考勤总工时",
+    "Cannotexceedthedailydailylimit": "不能超过填报日报上限",
+    "period": "时间段",
+    "mistaken": "有误",
+    "Endtimemustbegreaterthanstarttime": "结束时间必须大于开始时间",
+    "and": "与",
+    "Thereisoverlappleaseedit": "存在重叠,请修改",
+    "Pleasespecifyaprojectreviewer": "请指定项目审核人",
+    "involvedintheproject": "项目上尚无参与的任务分组",
+    "Taskgroupingfortheproject": "项目的任务分组",
+    "Projectgroupleader": "项目的分组负责人",
+    "Withdrawalsucceeded": "撤回成功",
+    "rejectedsuccessfully": "驳回成功"
   },
   "template": {
     "EmployeeHoursStatisticsTemplate": "员工工时统计模板",
     "EmployeeTimeImportTemplate": "员工工时导入模板",
-    "DownloadEmployeeHourStatisticsTemplate": "下载员工工时统计模板"
+    "DownloadEmployeeHourStatisticsTemplate": "下载员工工时统计模板",
+    "Staffdailyworkinghoursstatistics": "人员每日工时统计"
   },
   "leave": {
     "personalLeave": "事假",

+ 56 - 61
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -2295,7 +2295,7 @@
         (res) => {
           if (res.code == "ok") {
             let url = res.data;
-            this.downloadByA("人员每日工时统计.xls", url);
+            this.downloadByA(this.$t('template.Staffdailyworkinghoursstatistics') + '.xls', url);
           }
         },
         (error) => {
@@ -2318,7 +2318,7 @@
         (res) => {
           if (res.code == "ok") {
             let url = res.data;
-            this.downloadByA("人员每日工时统计.xls", url);
+            this.downloadByA(this.$t('template.Staffdailyworkinghoursstatistics') + '.xls', url);
           }
         },
         (error) => {
@@ -2561,8 +2561,9 @@
     while(stime<=etime){
           let dateArray = stime.split("-");
           let date = new Date(dateArray[0], parseInt(dateArray[1] - 1), dateArray[2]);
-          let stimewk = "周" + "日一二三四五六".charAt(date.getDay());
-          let timedate = (stime.split("-")[1].charAt(0) == 0 ? stime.split("-")[1].charAt(1) : stime.split("-")[1]) + "月" + (stime.split("-")[2].charAt(0) == 0 ? stime.split("-")[2].charAt(1) : stime.split("-")[2]) + "日"
+        //   let stimewk = "周" + "日一二三四五六".charAt(date.getDay());
+          let stimewk = this.weekDay[date.getDay()]
+          let timedate = (stime.split("-")[1].charAt(0) == 0 ? stime.split("-")[1].charAt(1) : stime.split("-")[1]) + this.$t('weekDay.month') + (stime.split("-")[2].charAt(0) == 0 ? stime.split("-")[2].charAt(1) : stime.split("-")[2]) + this.$t('weekDay.day')
           let timeshowdate = (stime.split("-")[1].charAt(0) == 0 ? stime.split("-")[1].charAt(1) : stime.split("-")[1]) + "." + (stime.split("-")[2].charAt(0) == 0 ? stime.split("-")[2].charAt(1) : stime.split("-")[2])
 
         diffdate[i] = {date:timedate,showDate:timeshowdate,weekDay:stimewk};
@@ -2679,7 +2680,7 @@
                     res => {
                         if (res.code == "ok") {
                             this.$message({
-                                message: '已发送成功',
+                                message: this.$t('message.sentSuccessfully'),
                                 type: "success"
                             });
                         } 
@@ -2705,7 +2706,7 @@
                     res => {
                         if (res.code == "ok") {
                             var aTag = document.createElement('a');
-                            aTag.download = this.curDate+(this.isFill?"已填":"未填")+"人员列表.xls";
+                            aTag.download = this.curDate+(this.isFill?this.$t('other.filled'):this.$t('other.unfilled'))+this.$t('other.personnelList')+".xls";
                             aTag.href = res.data;
                             aTag.click();
                         } 
@@ -2754,8 +2755,10 @@
                                 var fillInfo = null;
                                 d.state = null;
                                 this.fillStatusList.forEach(s=>{
+                                    // console.log(d)
                                     var d1 = s.createDate.split('-')[2];
-                                    var d2 = d.date.split('月')[1].split('日')[0];
+                                    var d2 = d.date.split(this.$t('weekDay.month'))[1].split(this.$t('weekDay.day'))[0];
+                                    // console.log(d2, '我被执行了')
                                     if (d1.indexOf('0') == 0) {
                                         d1 = d1.substring(1,d1.length);
                                     }
@@ -2915,7 +2918,7 @@
                         domainItem.auditUserList = res.data;
                         if (res.data.length==0) {
                             this.$message({
-                                message: '日报审核人尚未设置,请联系该项目管理人员',
+                                message: this.$t('message.Dailyreviewerhasnotbeensetpleasecontacttheprojectmanager'),
                                 type: "error"
                             });
                         } else if (res.data.length==1) {
@@ -3126,7 +3129,7 @@
                 var ids = '';
                 if (data.length == 0) {
                     this.$message({
-                            message: '请选择要审核的人员',
+                            message: this.$t('message.Pleaseselectthepersontoreview'),
                             type: "error"
                         });
                     return;
@@ -3143,7 +3146,7 @@
                 res => {
                     if (res.code == "ok") {
                         this.$message({
-                            message: '审核成功',
+                            message: this.$t('message.Reviewsucceeded'),
                             type: "success"
                         });
                         this.getReportList();
@@ -3310,7 +3313,8 @@
                             if (res.code == "ok") {
                                 let noAllData = JSON.parse(JSON.stringify(res.data));
                                 if (noAllData.length > 0) {
-                                    if (noAllData[0].label == '全部人员') {
+                                    // if (noAllData[0].label == '全部人员') {
+                                    if (noAllData[0].label == this.$t('lable.allStaff')) {
                                         noAllData.splice(0,1);
                                     }
                                 }
@@ -3354,7 +3358,7 @@
                         // }
                         list.splice(0,0,{
                                 id: -1,
-                                label: '全部人员',
+                                label: this.$t('lable.allStaff'),
                             })
                         this.membCount = 0;
                         //设置员工到部门下面
@@ -3545,13 +3549,13 @@
                             }
                             //转化时间格式
                             if (t.allday != null) {
-                                this.timeType.push({value:0, label:'全天 - '+t.allday+'小时', hours:t.allday});
+                                this.timeType.push({value:0, label:this.$t('other.allDay') +' - '+t.allday+this.$t('time.hour'), hours:t.allday});
                             }
                             if (t.am != null) {
-                                this.timeType.push({value:1, label:'上午 - '+t.am+'小时', hours: t.am});
+                                this.timeType.push({value:1, label:this.$t('other.morning') +' - '+t.am+this.$t('time.hour'), hours: t.am});
                             }
                             if (t.pm != null) {
-                                this.timeType.push({value:2, label:'下午 - '+t.pm+'小时', hours: t.pm});
+                                this.timeType.push({value:2, label:this.$t('other.afternoon') +' - '+t.pm+this.$t('time.hour'), hours: t.pm});
                             }
                         } else {
                             this.$message({
@@ -3617,7 +3621,7 @@
                 var day = this.getCountDays();
                 let curMonthDay = null;
                 for (var k = 1; k <= day; k++) {
-                    var str = new Date(this.date.replace(/-/g, "/")+'/01').getMonth() + 1 + "月" + k+'日';
+                    var str = new Date(this.date.replace(/-/g, "/")+'/01').getMonth() + 1 + this.$t('weekDay.month') + k+this.$t('weekDay.day');
                     var showStr = new Date(this.date.replace(/-/g, "/")+'/01').getMonth() + 1+'.'+k;
                     if ( new Date(this.date.replace(/-/g, "/")+'/01').getFullYear() == new Date(new Date()).getFullYear() &&
                     new Date(this.date.replace(/-/g, "/")+'/01').getMonth() == new Date(new Date()).getMonth()) {
@@ -3657,7 +3661,7 @@
                         this.choseDay = nowday - 1
                         
                         let monthdate = new Date(sessionStorage.msg)
-                        this.curDate = (monthdate.getMonth() + 1) + '月' + monthdate.getDate() + '日'
+                        this.curDate = (monthdate.getMonth() + 1) + this.$t('weekDay.month') + monthdate.getDate() + this.$t('weekDay.day')
                         
                     }else{
                         if(e && sessionStorage.msg){
@@ -3666,7 +3670,7 @@
                         }
                         let monthdate = new Date(sessionStorage.msg)
                         this.choseDay = monthdate.getDate() - 1
-                        this.curDate = (monthdate.getMonth() + 1) + '月' + monthdate.getDate() + '日'
+                        this.curDate = (monthdate.getMonth() + 1) + this.$t('weekDay.month') + monthdate.getDate() + this.$t('weekDay.day')
                         console.log('choseday',sessionStorage.msg,this.choseDay,monthdate.getDate());
                     }
                 }else{
@@ -4179,12 +4183,12 @@
                         errtips += this.user.timeType.customTextName + '、'
                     }
                     if(this.user.timeType.workContentState == 1 && !this.zhoBao.con){
-                        errtips +=  this.user.companyId==781?'具体内容与结果、':'工作事项、'
+                        errtips +=  this.user.companyId==781?this.$t('other.specificcontentandresults')+'、': this.$t('other.workMatters') +'、'
                     }
                     if(errtips){
                         errtips = errtips.substring(0,errtips.length - 1)
                         this.$message({
-                            message: '请对' + errtips + '进行填写',
+                            message: this.$t('other.pleaseYes') + errtips + this.$t('other.tofillin'),
                             type: 'warning'
                         })
                     }else {
@@ -4199,7 +4203,7 @@
                     
                 } else {
                     this.$message({
-                        message: '请选择审核人',
+                        message: this.$t('message.Pleaseselectareviewer'),
                         type: "error"
                     });
                 }
@@ -4401,7 +4405,7 @@
                     this.selConShow = false 
                 }else{
                     this.$message({
-                        message:'请选择要填报的项目',
+                        message:this.$t('defaultText.pleaseSelectTheItemYouWantToFillIn'),
                         type:'error'
                     })
                 }
@@ -4449,16 +4453,6 @@
                             })
                         })
             },
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
-            // 1
             getWeeklyWorkTime(){ //按周填报获取已填工时
                 let dateStr = []
                         for(let i in this.zhoData){
@@ -4669,7 +4663,7 @@
                             ll += 1
                             if(!trus) {
                                 this.$message({
-                                    message: '填写的时间段重叠',
+                                    message: this.$t('message.Filledtimeperiodsoverlap'),
                                     type: 'error'
                                 })
                                 return false
@@ -4679,7 +4673,7 @@
                     }
                      if(ll == 0) {
                         this.$message({
-                            message: '请填写时间',
+                            message: this.$t('message.Pleasefillinthetime'),
                             type: 'error'
                         })
                         return false
@@ -4695,7 +4689,7 @@
                     }
                     if(ll == 0) {
                         this.$message({
-                            message: '请选择时间',
+                            message: this.$t('message.Pleaseselectatime'),
                             type: 'error'
                         })
                         return false
@@ -4710,7 +4704,7 @@
                     if(overcorp != ''){
                         overcorp = overcorp.substring(0,overcorp.length - 1)
                         this.$message({
-                            message: '日期[' + overcorp + ']填报工时之和不能超过考勤总工时',
+                            message: this.$t('weekDay.date')+'[' + overcorp + ']'+this.$t('message.cannotexceedtotal'),
                             type: 'error'
                         })
                         return
@@ -4726,7 +4720,7 @@
                 if(overcorp2 != ''){
                     overcorp2 = overcorp2.substring(0,overcorp2.length - 1)
                     this.$message({
-                        message: '日期[' + overcorp2 + ']填报工时之和不能超过每日填报上限',
+                        message: this.$t('weekDay.date')+'[' + overcorp2 + ']'+this.$t('message.dailyreportinglimit'),
                         type: 'error'
                     })
                     return
@@ -4926,7 +4920,7 @@
                             this.submitingReport = false;
                             if (res.code == "ok") {
                                 this.$message({
-                                    message: "填报成功",
+                                    message: this.$t('message.fillinsuccessfully'),
                                     type: "success"
                                 });
                                 this.diasZho = false
@@ -5150,7 +5144,7 @@
                                 let trus = this.fns()
                                 if(!trus) {
                                     this.$message({
-                                        message: '填写的时间段重叠',
+                                        message: this.$t('message.Filledtimeperiodsoverlap'),
                                         type: "error"
                                     });
                                     return
@@ -5173,7 +5167,7 @@
                                 let trus = this.fns()
                                 if(!trus) {
                                     this.$message({
-                                        message: '填写的时间段重叠',
+                                        message: this.$t('message.Filledtimeperiodsoverlap'),
                                         type: "error"
                                     });
                                     return
@@ -5186,7 +5180,7 @@
                         if (this.isSubstitude) {
                             if (this.workForm.userNames == null || this.workForm.userNames.length == 0) {
                                 this.$message({
-                                        message: "请选择代填的人员",
+                                        message: this.$t('message.pleaseselectthepersontofillin'),
                                         type: "error"
                                     });
                                 return;
@@ -5208,28 +5202,29 @@
                             }
                             if (alldayNum > 1) {
                                 this.$message({
-                                        message: "工作时间-全天,只能选择一次",
+                                        // message: "工作时间-全天,只能选择一次",
+                                        message: this.$t('screening.workHours') + '-' + this.$t('other.allDay') + ',' + this.$t('message.canonlybeselectedonce'),
                                         type: "error"
                                     });
                                 return;
                             }
                             if (amNum > 1) {
                                 this.$message({
-                                        message: "工作时间-上午,只能选择一次",
+                                        message: this.$t('screening.workHours') + '-' + this.$t('other.morning') + ',' + this.$t('message.canonlybeselectedonce'),
                                         type: "error"
                                     });
                                 return;
                             }
                             if (pmNum > 1) {
                                 this.$message({
-                                        message: "工作时间-下午,只能选择一次",
+                                        message: this.$t('screening.workHours') + '-' + this.$t('other.afternoon') + ',' + this.$t('message.canonlybeselectedonce'),
                                         type: "error"
                                     });
                                 return;
                             }
                             if (alldayNum == 1 && (amNum > 0 || pmNum > 0)) {
                                 this.$message({
-                                        message: "工作时间-全天,不能和上下午同时存在",
+                                        message: this.$t('screening.workHours') + '-' + this.$t('other.morning') + ',' + this.$t('message.Notatthesametimeaslastafternoon'),
                                         type: "error"
                                     });
                                 return;
@@ -5240,13 +5235,13 @@
                             this.workForm.domains.forEach(w=>{total += w.progress});
                             if (total > 100) {
                                 this.$message({
-                                        message: "用时比例之和不能超过100%",
+                                        message: this.$t('message.Thesumofthetimeratioscannotexceed') +"100%",
                                         type: "error"
                                     });
                                 return;
                             } else if (total < 100) {
                                 this.$message({
-                                        message: "工时尚未完全分配,无法提交",
+                                        message: this.$t('message.cannotbesubmitted'),
                                         type: "error"
                                     });
                                 return;
@@ -5264,7 +5259,7 @@
                         if (this.reportTimeType.type == 1 && this.workForm.time) {
                             if (this.workForm.time.workHours && totalTime > parseFloat(this.workForm.time.workHours)) {
                                 this.$message({
-                                        message: "填报工时之和"+(totalTime)+"h不能超过考勤总工时("+this.workForm.time.workHours.toFixed(1)+"h)",
+                                        message: this.$t('message.Fillinthesumofworkinghours')+(totalTime)+"h"+this.$t('message.Cannotexceedthetotalworkinghoursofattendance')+"("+this.workForm.time.workHours.toFixed(1)+"h)",
                                         type: "error"
                                     });
                                 return;
@@ -5272,7 +5267,7 @@
                         }
                         if(totalTime > this.user.timeType.maxReportTime){
                             this.$message({
-                                message: "填报工时之和"+(totalTime)+"h不能超过填报日报上限("+this.user.timeType.maxReportTime.toFixed(1)+"h)",
+                                message: this.$t('message.Fillinthesumofworkinghours')+(totalTime)+"h"+this.$t('message.Cannotexceedthedailydailylimit')+"("+this.user.timeType.maxReportTime.toFixed(1)+"h)",
                                 type: "error"
                             })
                             return
@@ -5351,8 +5346,8 @@
                                     //检查开始时间是否大于结束时间
                                     if (curItem.startTime >= curItem.endTime) {
                                         this.$message({
-                                            message: "时间段"+curItem.startTime+'-'+curItem.endTime+"有误:"+ 
-                                                "结束时间必须大于开始时间",
+                                            message: this.$t('message.period')+curItem.startTime+'-'+curItem.endTime+this.$t('message.mistaken')+":"+ 
+                                                this.$t('message.Endtimemustbegreaterthanstarttime'),
                                             type: "error"
                                         });
                                         return;
@@ -5362,8 +5357,8 @@
                                         if ((jItem.startTime>=curItem.startTime&&jItem.startTime < curItem.endTime)
                                                 || (jItem.endTime>curItem.startTime&&jItem.endTime <= curItem.endTime)) {
                                             this.$message({
-                                                message: "时间段"+curItem.startTime+'-'+curItem.endTime+"与"+ 
-                                                    jItem.startTime+'-'+jItem.endTime+ "存在重叠,请修改。",
+                                                message: this.$t('message.period')+curItem.startTime+'-'+curItem.endTime+this.$t('message.and')+ 
+                                                    jItem.startTime+'-'+jItem.endTime+ this.$t('message.Thereisoverlappleaseedit'),
                                                 type: "error"
                                             });
                                             return;
@@ -5431,25 +5426,25 @@
                             } else {
                                 if (this.user.timeType.reportAuditType == 0) {
                                     this.$message({
-                                        message: "请指定项目审核人",
+                                        message: this.$t('message.Pleasespecifyaprojectreviewer'),
                                         type: "error"
                                     });
                                 } else {
                                     //分组负责人先审核, 确定是选择了任务分组
                                     if (this.workForm.domains[i].taskGroups.length == 0) {
                                         this.$message({
-                                            message: "您在["+this.workForm.domains[i].projectName+"]项目上尚无参与的任务分组",
+                                            message: "["+this.workForm.domains[i].projectName+"]"+this.$t('message.involvedintheproject'),
                                             type: "error"
                                         });
                                     } else if (!this.workForm.domains[i].groupId) {
                                         // console.log(this.workForm.domains[i]);
                                         this.$message({
-                                            message: "请选择["+this.workForm.domains[i].projectName+"]项目的任务分组",
+                                            message: this.$t('defaultText.pleaseChoose') + "["+this.workForm.domains[i].projectName+"]"+this.$t('message.Taskgroupingfortheproject'),
                                             type: "error"
                                         });
                                     } else {
                                         this.$message({
-                                            message: "请设置["+this.workForm.domains[i].projectName+"]项目的分组负责人",
+                                            message: this.$t('defaultText.pleaseset') + "["+this.workForm.domains[i].projectName+"]"+this.$t('message.Projectgroupleader'),
                                             type: "error"
                                         });
                                     }
@@ -5464,7 +5459,7 @@
                             this.submitingReport = false;
                             if (res.code == "ok") {
                                 this.$message({
-                                    message: this.isDraft==0?"提交成功":"暂存成功",
+                                    message: this.isDraft==0?this.$t('message.submittedSuccessfully'):this.$t('message.Temporarysuccess'),
                                     type: "success"
                                 });
                                 this.dialogVisible = false;
@@ -5474,7 +5469,7 @@
                                 this.getDepartment();
                             } else {
                                 this.$message({
-                                    message: (this.isDraft==0?'提交失败:':'暂存失败:')+res.msg,
+                                    message: (this.isDraft==0?this.$t('message.SubmissionFailed') + ':':this.$t('message.Stagingfailed') + ':')+res.msg,
                                     type: "error"
                                 });
                             }
@@ -5531,7 +5526,7 @@
                     if (res.code == "ok") {
                         this.approveinDialog = false
                         this.$message({
-                            message: "审核成功",
+                            message: this.$t('message.Reviewsucceeded'),
                             type: "success"
                         });
                         this.getReportList();
@@ -5569,7 +5564,7 @@
                     this.logining = false;
                     if (res.code == "ok") {
                         this.$message({
-                            message:"撤回成功",
+                            message:this.$t('message.Withdrawalsucceeded'),
                             type: "success"
                         });
                         this.getReportList();