Browse Source

首页统计去掉默认值时间

new-ays^2
1747191978@qq.com 2 months ago
parent
commit
50c71ce400
  1. 16
      acupuncture-前台/src/views/index.vue
  2. BIN
      acupuncture-前台/安阳前台-1.zip

16
acupuncture-前台/src/views/index.vue

@ -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() {

BIN
acupuncture-前台/安阳前台-1.zip

Binary file not shown.
Loading…
Cancel
Save