From af00e89990ae9757cc9261cbe560873c2066b69c Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 18 八月 2023 14:34:11 +0800
Subject: [PATCH] 大屏统计
---
web_standard/src/components/ext/OrderDistrubution.vue | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/web_standard/src/components/ext/OrderDistrubution.vue b/web_standard/src/components/ext/OrderDistrubution.vue
index 92f9174..9d055e4 100644
--- a/web_standard/src/components/ext/OrderDistrubution.vue
+++ b/web_standard/src/components/ext/OrderDistrubution.vue
@@ -109,9 +109,12 @@
this.form.planDate = new Date()
this.form.planId = target.id
this.form.planNum = target.num - target.distributNum
- getDeviceByCondition({})
+ getDeviceByCondition({procedureId: target.procedureId})
.then(res => {
+
this.device = res
+ this.form.proGroupId = res[0] ? res[0].id : ''
+ this.getUser(this.form.proGroupId)
})
.catch(err => {
console.log(err)
@@ -193,13 +196,13 @@
return date2
}
},
- pickerOptions(data) {
- let time = new Date(data);
- let tempTime = 3600 * 1000 * 24
- return {
- disabledDate: time.getTime() < new Date(data)-tempTime
- }
- }
+ // pickerOptions(data) {
+ // let time = new Date(data);
+ // let tempTime = 3600 * 1000 * 24
+ // return {
+ // disabledDate: time.getTime() < new Date(data)-tempTime
+ // }
+ // }
},
created () {
this.config({
--
Gitblit v1.9.3