From ab16a890808fac33f01523e1ef90f70ca7998e17 Mon Sep 17 00:00:00 2001
From: xy <271556543@qq.com>
Date: Wed, 27 Sep 2023 15:24:13 +0800
Subject: [PATCH] 2023-9-27
---
src/views/assets/land.vue | 2 ++
src/views/component/detail.vue | 4 ++--
src/views/dashboard/index.vue | 33 ++++++++++++++++-----------------
3 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/src/views/assets/land.vue b/src/views/assets/land.vue
index 325204c..c1846ec 100644
--- a/src/views/assets/land.vue
+++ b/src/views/assets/land.vue
@@ -381,6 +381,8 @@ export default {
value: "",
},
],
+ sort_name: 'id',
+ sort_type: 'asc'
},
form: [],
table: [],
diff --git a/src/views/component/detail.vue b/src/views/component/detail.vue
index 21dde31..5c8d004 100644
--- a/src/views/component/detail.vue
+++ b/src/views/component/detail.vue
@@ -201,7 +201,7 @@
@@ -232,7 +232,7 @@
-
+
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 5bb59dc..3254bff 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -11,9 +11,9 @@
+ 合约中
临期
已过期
- 合约中
@@ -43,42 +43,42 @@
collect_data: [],
list: {
"business": {
- "server_money_total": 0,
- "nurse_money_total": 0,
- "remain_money_total": 0
+ "server_money_total": Math.round(Math.random()*100000+10000),
+ "nurse_money_total": Math.round(Math.random()*50000+5000),
+ "remain_money_total": Math.round(Math.random()*50000+5000)
},
"person_efficiency": {
- "server_time_total": "0",
- "expect": 0,
- "act": 0
+ "server_time_total": Math.round(Math.random()*50+20),
+ "expect": Math.round(Math.random()*25+10),
+ "act": Math.round(Math.random()*25+10)
},
"customer": {
- "active": 0,
- "add": 0,
- "wash": 0
+ "active": Math.round(Math.random()*50+30),
+ "add": Math.round(Math.random()*25+10),
+ "wash": Math.round(Math.random()*25+10)
},
"order": {
- "server_total": 0,
- "cycle_total": 0,
- "unit_total": 0
+ "server_total": Math.round(Math.random()*50+30),
+ "cycle_total": Math.round(Math.random()*25+10),
+ "unit_total": Math.round(Math.random()*25+10)
}},
customerArr: [],
orderArr: [],
chartData: {},
- radio: 1,
+ radio: 3,
select: {
table_name: 'leases',
filter: [
{
key: 'zulinjieshuqixian',
op: 'range',
- value: `${this.$moment().subtract(1, "months").format("YYYY-MM-DD")},${this.$moment().format("YYYY-MM-DD")}`
+ value: `${this.$moment().format("YYYY-MM-DD")},2999-12-31`
},
{
key: 'zulinkaishiqixian',
op: 'range',
- value: ''
+ value: `${this.$moment(0).format("YYYY-MM-DD")},${this.$moment().format("YYYY-MM-DD")}`
}
]
},
@@ -312,7 +312,6 @@
},
mounted() {
-
//this.init()
window.onresize = () => {