gx
chenyc
2025-08-28 9d9bd6d0fbc74eed5c0c3edec70e23aac66b584d
src/views/record/index.vue
@@ -8,7 +8,6 @@
        />
        <div>
            <van-calendar
                color="#769AFF"
                :min-date="minDate"
                @month-show="monthShow"
                :poppable="false"
@@ -169,11 +168,12 @@
                        y:Number(dey[0]),
                        m:Number(dey[1]),
                        d:Number(dey[2].substring(0,2)),
                        type:'o',
                        type:element.schemeName,
                        timeSlot:element.scheduleTimeSlot,
                        code:element.code,
                        scheduleDay:element.scheduleDay,
                        id:element.id
                        id:element.id,
                        透析单状态:element.medState,
                    })
                }
@@ -193,6 +193,7 @@
        const date = day.date.getDate()
        const index= selectDate.value.findIndex(el=>{return el.y===year&&el.m===month&&el.d===date})
        if (index>0){
            day.text=selectDate.value[index].type
            if (selectDate.value[index].透析单状态){
                day.type='end'
            } else {
@@ -207,6 +208,7 @@
            else {
                day.bottomInfo='晚上'
            }
            console.log(day)
        }
        return day
    }