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: '总铁结合力',
| subTit: '总铁结合力',
| whereFrom: {
| itemName: '',
| medMonth: 0,
| isInState: 1,
| statType: 0,
| limitBottom: 45,
| // filterStyle: 0,
| limitTop: 75,
| dates: [start, end],
| },
| });
| });
| </script>
|
| <style>
| </style>
|
|