-
用药统计
+
档案统计
@@ -349,14 +305,14 @@ function getPersonList() {
const today = new Date()
const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2)
-const start = dayjs(end).add(-60, 'day')
+const start = dayjs(end).add(-90, 'day')
queryParams.value.time = [start, end]
const handleTimeChange = (type) => {
queryParams.value.time = null
if (type === 1) {
const today = new Date()
const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2)
- const start = dayjs(end).add(-60, 'day')
+ const start = dayjs(end).add(-90, 'day')
queryParams.value.time = [start, end]
} else if (type === 2) {
const today = new Date()
diff --git a/src/views/health/marStatistic/index.vue b/src/views/health/marStatistic/index.vue
index d609467..f581b86 100644
--- a/src/views/health/marStatistic/index.vue
+++ b/src/views/health/marStatistic/index.vue
@@ -9,7 +9,7 @@
-
+
@@ -203,10 +203,10 @@
用药统计
+
+
-
-
@@ -233,8 +233,9 @@
{{ scope.$index + 1 }}
-
-
+
+
+
@@ -270,7 +271,7 @@ const dates = [{ value: 1, label: '日' }]
const accountsList = ref([])
const loading = ref(true)
const total = ref(0)
-const radioVal = ref('用药次数柱状图')
+const radioVal = ref('用药分类明细')
const dateValidate = (rules, value, callback) => {
const dateType = rules.dateType || 'days'
const num = rules.num || 31
@@ -347,10 +348,10 @@ function getPersonList() {
})
}
-const today = new Date()
-const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2)
-const start = dayjs(end).add(-60, 'day')
-queryParams.value.time = [start, end]
+// const today = new Date()
+// const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) + '-' + ('0' + today.getDate()).slice(-2)
+// const start = dayjs(end).add(-60, 'day')
+// queryParams.value.time = [start, end]
const handleTimeChange = (type) => {
queryParams.value.time = null
if (type === 1) {
diff --git a/src/views/health/temperatureStatistic/index.vue b/src/views/health/temperatureStatistic/index.vue
index 8ce3a7b..fcb5861 100644
--- a/src/views/health/temperatureStatistic/index.vue
+++ b/src/views/health/temperatureStatistic/index.vue
@@ -9,7 +9,7 @@
-
+
@@ -56,6 +56,18 @@