|
|
@ -57,14 +57,14 @@ export default { |
|
|
|
// firstAidTest().then((res) => { |
|
|
|
// console.log(res); |
|
|
|
// }); |
|
|
|
const start = new Date(); |
|
|
|
const end = new Date(); |
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
|
|
|
await setTimeout(async () => { |
|
|
|
await this.$refs.patient.statistics([start, end], 4); |
|
|
|
await this.$refs.JM.statistics([start, end], 4); |
|
|
|
await this.$refs.XGZL.statistics([start, end], 4); |
|
|
|
}); |
|
|
|
// const start = new Date(); |
|
|
|
// const end = new Date(); |
|
|
|
// start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
|
|
|
// await setTimeout(async () => { |
|
|
|
// await this.$refs.patient.statistics([start, end], 4); |
|
|
|
// await this.$refs.JM.statistics([start, end], 4); |
|
|
|
// await this.$refs.XGZL.statistics([start, end], 4); |
|
|
|
// }); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
resize() { |
|
|
|