gx
chenyc
2025-03-11 7d2c28da41b3a272746d46716a7b28c2c5c30394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
    <ControlRate ref="controlRateRef" />
</template>
 
<script lang="ts" setup>
import { ref, onMounted } from 'vue';
import ControlRate from './components/components.vue';
 
const controlRateRef = ref();
 
onMounted(() => {
    const end = new Date();
    const start = new Date();
    start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
    controlRateRef.value &&
        controlRateRef.value.initCompData({
            title: '血红蛋白控制率',
            itemName: '血红蛋白',
            defaultNameAndUnit: '血红蛋白(g/L)',
            subTit: '血红蛋白',
            whereFrom: {
                itemName: '',
                medMonth: 0,
                isInState: 1,
                statType: 0,
                limitBottom: 110,
                // filterStyle: 0,
                limitTop: '',
                dates: [start, end],
            },
        });
});
</script>
 
<style>
</style>