当日聚焦
This commit is contained in:
parent
14dd368dec
commit
6c3b1aa811
@ -213,13 +213,21 @@ export default defineComponent({
|
|||||||
async function getdates(userid: number){
|
async function getdates(userid: number){
|
||||||
getdatelist(month.value.start, month.value.end, userid).then((res: any)=>{
|
getdatelist(month.value.start, month.value.end, userid).then((res: any)=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
// const day = getDay(res[i].dateline)
|
||||||
|
for(const j in month.value.date){
|
||||||
|
for(const k in month.value.date[j]){
|
||||||
|
if(yue.value == 0 && month.value.date[j][k].day == month.value.day){
|
||||||
|
month.value.date[j][k].s = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
for(const i in res){
|
for(const i in res){
|
||||||
const day = getDay(res[i].dateline)
|
const day = getDay(res[i].dateline)
|
||||||
for(const j in month.value.date){
|
for(const j in month.value.date){
|
||||||
for(const k in month.value.date[j]){
|
for(const k in month.value.date[j]){
|
||||||
if(yue.value == 0 && month.value.date[j][k].day == month.value.day){
|
// if(yue.value == 0 && month.value.date[j][k].day == month.value.day){
|
||||||
month.value.date[j][k].s = 1
|
// month.value.date[j][k].s = 1
|
||||||
}
|
// }
|
||||||
if(month.value.date[j][k].day == day){
|
if(month.value.date[j][k].day == day){
|
||||||
if(month.value.date[j][k].list == undefined){
|
if(month.value.date[j][k].list == undefined){
|
||||||
month.value.date[j][k].list = [];
|
month.value.date[j][k].list = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user