gx
chenyc
2025-02-28 35a85b085df4c76c38c76dfda74aa4527cea0b5b
src/views/home/index.vue
@@ -152,7 +152,7 @@
        </el-row>
        <div class="fixed-div" v-show="patientsInfo.patientName">
            <el-avatar :size="80" :src="patientsInfo.patientAvatarIcon" />
            <div @click="state.isTable = false">{{ patientsInfo.patientName }}</div>
            <div>{{ patientsInfo.patientName }}</div>
        </div>
    </div>
</template>
@@ -162,6 +162,7 @@
import { reactive, onMounted, ref, watch, nextTick, onActivated, markRaw } from 'vue';
import { QueryList,getRecordsInToday2 } from '/@/api/Patients'
import { storeToRefs } from 'pinia';
import {formatDate} from '/@/utils/formatTime'
import { useUserInfo } from '/@/stores/userInfo';
import { usePatientsInfo } from '/@/stores/patientsInfo';
const stores = useUserInfo();
@@ -261,8 +262,8 @@
        patientName:state.search.toLowerCase(),
        orderCondition:2,
        clientCode:userInfos.value.clientCode,
        dateBegin:"2025-02-18 00:00:00",
        dateEnd:"2025-02-18 23:59:59"
        dateBegin:formatDate(new Date(),'YYYY-mm-dd')+ " 00:00:00",
        dateEnd:formatDate(new Date(),'YYYY-mm-dd')+" 23:59:59"
    }
    const loading = ElLoading.service({
        lock: true,
@@ -336,8 +337,6 @@
</script>
<style lang="scss">
$homeNavLengh: 8;
.home-container {
    overflow: hidden;
@@ -406,8 +405,4 @@
    }
}
.parent {
    display: grid;
    grid-template-columns: minmax(150px, 20%) 1fr;
}
</style>