diff --git a/src/assets/point.png b/src/assets/point.png
new file mode 100644
index 0000000..123b442
Binary files /dev/null and b/src/assets/point.png differ
diff --git a/src/assets/point1.png b/src/assets/point1.png
new file mode 100644
index 0000000..8666268
Binary files /dev/null and b/src/assets/point1.png differ
diff --git a/src/components/Charts/index.vue b/src/components/Charts/index.vue
index 32bcd39..569f465 100644
--- a/src/components/Charts/index.vue
+++ b/src/components/Charts/index.vue
@@ -3,7 +3,7 @@
@@ -113,12 +113,12 @@ export default {
color: '#fff',
fontSize: 16
},
- top: 50,
- left: 80
+ top: 14,
+ left: 30
},
legend: {
- top: 120,
- left: 80,
+ top: 128,
+ left: 30,
orient: 'vertical',
itemGap: 15,
itemWidth: 12,
@@ -133,7 +133,7 @@ export default {
trigger: 'item'
},
radar: {
- center: ['68%', '27%'],
+ center: ['58%', '24%'],
radius: '40%',
name: {
color: '#fff'
@@ -181,10 +181,10 @@ export default {
]
},
grid: {
- left: 90,
- right: 80,
+ left: 70,
+ right: 60,
bottom: 40,
- top: '60%'
+ top: '62%'
},
xAxis: {
type: 'category',
diff --git a/src/views/dataShow/index.vue b/src/views/dataShow/index.vue
index d6d0e39..a65fdbe 100644
--- a/src/views/dataShow/index.vue
+++ b/src/views/dataShow/index.vue
@@ -2,8 +2,8 @@
Loading...
-
@@ -31,6 +32,7 @@ import MapComponent from "./map.vue";
import HeaderComponent from "./header.vue";
import right1 from "./right1.vue";
import right2 from "./right2.vue";
+import right3 from "./right3.vue";
import btns from "./btns.vue";
import leftBottom from "./leftBottom.vue"
import { index } from '@/api/system/baseForm';
@@ -40,22 +42,45 @@ export default {
HeaderComponent,
right1,
right2,
+ right3,
btns,
leftBottom
},
mixins: [drawMixin],
provide() {
return {
- assets: () => this.assetsData
+ assets: () => this.assetsData,
+ leases: () => this.leases,
}
},
data() {
return {
loading: true,
assetsData: [[],[]],
+ leases: []
}
},
methods: {
+ async getLeases () {
+ const res = await index({
+ table_name: "leases",
+ page: 1,
+ page_size: 999,
+ filter: [
+ {
+ key: 'zulinjieshuqixian',
+ op: 'range',
+ value: `${this.$moment().format("YYYY-MM-DD")},2999-12-31`
+ },
+ {
+ key: 'zulinkaishiqixian',
+ op: 'range',
+ value: `${this.$moment(0).format("YYYY-MM-DD")},${this.$moment().format("YYYY-MM-DD")}`
+ }
+ ]
+ })
+ console.log(res)
+ },
async getData () {
await Promise.all([
index({
@@ -82,6 +107,7 @@ export default {
},
created() {
this.getData();
+ this.getLeases()
}
}
@@ -107,10 +133,10 @@ export default {
left: 50%;
.body {
- padding-top: 60px;
- padding-left: 14%;
+ padding-top: 20px;
+ padding-left: 13%;
.left {
- flex-basis: 60%;
+ flex-basis: 74%;
}
.right {
flex: 1;
diff --git a/src/views/dataShow/map.vue b/src/views/dataShow/map.vue
index 56beb9e..45a02b7 100644
--- a/src/views/dataShow/map.vue
+++ b/src/views/dataShow/map.vue
@@ -4,19 +4,85 @@
diff --git a/src/views/dataShow/right1.vue b/src/views/dataShow/right1.vue
index 83b1c45..96e90a2 100644
--- a/src/views/dataShow/right1.vue
+++ b/src/views/dataShow/right1.vue
@@ -1,11 +1,11 @@
-
+
-
+
- 年度负责人组件达标榜
+ 土地资产
@@ -14,73 +14,61 @@
diff --git a/src/views/dataShow/right2.vue b/src/views/dataShow/right2.vue
index e70c444..cdf1fa9 100644
--- a/src/views/dataShow/right2.vue
+++ b/src/views/dataShow/right2.vue
@@ -1,112 +1,78 @@
-
-
-
-
-
-
-
- 工单修复以及满意度统计图
-
-
-
-
-
+
- let dateBase = new Date();
- this.cdata.year = dateBase.getFullYear();
- // 周数据
- for (let i = 0; i < 7; i++) {
- // 日期
- let date = new Date();
- this.cdata.weekCategory.unshift([date.getMonth() + 1, date.getDate()-i].join("/"));
+
diff --git a/src/views/dataShow/right3.vue b/src/views/dataShow/right3.vue
new file mode 100644
index 0000000..48d4dd2
--- /dev/null
+++ b/src/views/dataShow/right3.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
diff --git a/src/views/dataShow/tooltip.vue b/src/views/dataShow/tooltip.vue
new file mode 100644
index 0000000..8ef002a
--- /dev/null
+++ b/src/views/dataShow/tooltip.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
diff --git a/src/views/statics/lease.vue b/src/views/statics/lease.vue
index 31395a2..d06404c 100644
--- a/src/views/statics/lease.vue
+++ b/src/views/statics/lease.vue
@@ -252,8 +252,8 @@ export default {
},
daterangePick (e) {
if (e && e[0] && e[1]) {
- this.select.filter[0].value = `${this.$moment(e[0]).format('YYYY-MM-DD HH:mm:ss')},2999-01-01 00:00:00`;
- this.select.filter[1].value = `${this.$moment(0).format('YYYY-MM-DD HH:mm:ss')},${this.$moment(e[1]).format('YYYY-MM-DD HH:mm:ss')}`;
+ this.select.filter[0].value = `${this.$moment(e[0]).format('YYYY-MM-DD')},2999-01-01`;
+ this.select.filter[1].value = `${this.$moment(0).format('YYYY-MM-DD')},${this.$moment(e[1]).format('YYYY-MM-DD')}`;
} else {
this.select.filter[0].value = "";
this.select.filter[1].value = "";