Explorar o código

2022.7.8 sessionstorage.msg 第一次进入页面储存

ggooalice %!s(int64=2) %!d(string=hai) anos
pai
achega
e5fcab0730

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -1538,6 +1538,7 @@
         },
         methods: {
             getApprovalProcess(item){
+                // console.log('this.date',this.choseDate);
                 this.http.post('/report-log/get',{
                     creatorId: item.id,
                     createDate: sessionStorage.msg
@@ -3442,6 +3443,8 @@
                     }
                 }
                 this.curDate = this.curDate.split('月')[0] + '月' + (this.choseDay + 1) + '日'
+                let msgday = this.choseDay + 1
+                sessionStorage.msg = this.date + '-' + (msgday < 10 ? '0' + msgday : msgday)
                 this.getReportFillStatus();
             },