|
@@ -80,7 +80,6 @@ import { selectAllSmallDept, selectAllDoctor, selectAllRegLevel } from '@/api/me
|
|
|
import XcTable from '@/components/xiao-chan/xc-table/XcTable.vue'
|
|
|
|
|
|
let nowDay = new Date()
|
|
|
-nowDay.setTime(nowDay.getTime() - 24 * 60 * 60 * 1000)
|
|
|
let yf, inday
|
|
|
if (nowDay.getMonth() < 9) {
|
|
|
yf = '0' + (nowDay.getMonth() + 1)
|
|
@@ -88,9 +87,9 @@ if (nowDay.getMonth() < 9) {
|
|
|
yf = nowDay.getMonth() + 1
|
|
|
}
|
|
|
if (nowDay.getDate() < 10) {
|
|
|
- inday = '0' + (nowDay.getDate() + 1)
|
|
|
+ inday = '0' + nowDay.getDate()
|
|
|
} else {
|
|
|
- inday = nowDay.getDate() + 1
|
|
|
+ inday = nowDay.getDate()
|
|
|
}
|
|
|
let s1 = nowDay.getFullYear() + "-" + yf + "-" + inday
|
|
|
let s2 = nowDay.getFullYear() + "-" + yf + "-" + '01'
|