From 59ec7b2fafb77e9e0ee6611b4479d6dbd5480998 Mon Sep 17 00:00:00 2001 From: "aoli.qu" <408346101@qq.com> Date: Tue, 24 Oct 2023 23:56:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E8=81=94?= =?UTF-8?q?=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/data/data.js | 25 +- src/api/room/room.js | 8 +- src/components/DbDynamic/DbDynamic.vue | 2 - .../DbDynamicRoom/DbDynamicRoom.vue | 1 - .../echart/bottom/bottomFj/chart.vue | 109 ++++ .../echart/bottom/bottomFj/index.vue | 35 ++ .../echart/bottom/bottomLeftChart/chart.vue | 38 +- .../echart/bottom/bottomLeftChart/index.vue | 42 +- .../centerLeft/centerLeft1Chart/chart.vue | 34 +- .../centerLeft/centerLeft1Chart/index.vue | 14 +- .../centerLeft/centerLeft2Chart/chart.vue | 1 - .../centerLeft/centerLeft2Chart/index.vue | 19 +- .../centerRight/centerRight1Chart/chart.vue | 1 - .../centerRight/centerRight1Chart/index.vue | 23 +- .../centerRight/centerRight2Chart/chart.vue | 1 - .../centerRight/centerRight2Chart/index.vue | 19 +- src/views/bigScreen/bottomLeft.vue | 8 +- src/views/bigScreen/bottomRight.vue | 304 +++++------ src/views/bigScreen/center.vue | 65 +-- src/views/bigScreen/hldj.vue | 8 +- src/views/bigScreen/index.vue | 470 +++++++++--------- src/views/bigScreen/jzfp.vue | 8 +- src/views/bigScreen/nltj.vue | 10 +- src/views/bigScreen/xb.vue | 17 +- src/views/index/dataSupportList.vue | 8 +- src/views/room/RoomAdd.vue | 1 + src/views/room/RoomCheckinAdd.vue | 10 +- src/views/room/RoomList.vue | 2 +- 28 files changed, 739 insertions(+), 544 deletions(-) create mode 100644 src/components/echart/bottom/bottomFj/chart.vue create mode 100644 src/components/echart/bottom/bottomFj/index.vue diff --git a/src/api/data/data.js b/src/api/data/data.js index 30eafc5..3ccff83 100644 --- a/src/api/data/data.js +++ b/src/api/data/data.js @@ -1,29 +1,12 @@ import request from '@/utils/request' const dataApi = { - orgStatistics: 'data/orgStatistics', - personalStatistics: 'data/personalStatistics', - classHourTop: 'data/personalStatistics/classHourTop' + statistics: 'data/statistics' } -export function dataOrgStatistics (params) { +export function dataStatistics () { return request({ - url: dataApi.orgStatistics, - method: 'get', - params: params - }) -} -export function dataPersonalStatistics (params) { - return request({ - url: dataApi.personalStatistics, - method: 'get', - params: params - }) -} -export function dataClassHourTop (params) { - return request({ - url: dataApi.classHourTop, - method: 'get', - params: params + url: dataApi.statistics, + method: 'post' }) } diff --git a/src/api/room/room.js b/src/api/room/room.js index 7820c11..1332d99 100644 --- a/src/api/room/room.js +++ b/src/api/room/room.js @@ -7,7 +7,7 @@ const roomApi = { list: '/room/list', listAllRoom: '/room/listAllRoom', listAllBed: '/room/listAllBed', - + } export function roomAddOrUpdate (params) { @@ -41,12 +41,14 @@ export function roomPage (params) { export function roomListAll (params) { return request({ url: roomApi.listAllRoom, - method: 'post' + method: 'post', + data: params }) } export function roomListAllBed (params) { return request({ url: roomApi.listAllBed, - method: 'post' + method: 'post', + data: params }) } diff --git a/src/components/DbDynamic/DbDynamic.vue b/src/components/DbDynamic/DbDynamic.vue index ea85bdd..b104cd7 100644 --- a/src/components/DbDynamic/DbDynamic.vue +++ b/src/components/DbDynamic/DbDynamic.vue @@ -113,7 +113,6 @@ export default { methods: { // 初始化 init () { - console.log(this.arr.length) const arr = [0] if (this.arr.length !== 0) { for (let i = 1; i < (this.arr).length; i++) { @@ -130,7 +129,6 @@ export default { return } */ this.keysList = this.keysList.filter(item => item !== k) - console.log(this.keysList) }, // 新增一行 addRow () { diff --git a/src/components/DbDynamicRoom/DbDynamicRoom.vue b/src/components/DbDynamicRoom/DbDynamicRoom.vue index eb85a68..bf4548a 100644 --- a/src/components/DbDynamicRoom/DbDynamicRoom.vue +++ b/src/components/DbDynamicRoom/DbDynamicRoom.vue @@ -105,7 +105,6 @@ export default { return } */ this.keysList = this.keysList.filter(item => item !== k) - console.log(this.keysList) }, // 新增一行 addRow () { diff --git a/src/components/echart/bottom/bottomFj/chart.vue b/src/components/echart/bottom/bottomFj/chart.vue new file mode 100644 index 0000000..7ec313b --- /dev/null +++ b/src/components/echart/bottom/bottomFj/chart.vue @@ -0,0 +1,109 @@ + + + diff --git a/src/components/echart/bottom/bottomFj/index.vue b/src/components/echart/bottom/bottomFj/index.vue new file mode 100644 index 0000000..92e3b2d --- /dev/null +++ b/src/components/echart/bottom/bottomFj/index.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/components/echart/bottom/bottomLeftChart/chart.vue b/src/components/echart/bottom/bottomLeftChart/chart.vue index dcaef34..cd05bb0 100644 --- a/src/components/echart/bottom/bottomLeftChart/chart.vue +++ b/src/components/echart/bottom/bottomLeftChart/chart.vue @@ -7,7 +7,7 @@ diff --git a/src/components/echart/bottom/bottomLeftChart/index.vue b/src/components/echart/bottom/bottomLeftChart/index.vue index b7cf205..e72e920 100644 --- a/src/components/echart/bottom/bottomLeftChart/index.vue +++ b/src/components/echart/bottom/bottomLeftChart/index.vue @@ -7,39 +7,21 @@ diff --git a/src/components/echart/centerLeft/centerLeft1Chart/index.vue b/src/components/echart/centerLeft/centerLeft1Chart/index.vue index 4d030e8..b9a1334 100644 --- a/src/components/echart/centerLeft/centerLeft1Chart/index.vue +++ b/src/components/echart/centerLeft/centerLeft1Chart/index.vue @@ -7,15 +7,17 @@ diff --git a/src/views/bigScreen/bottomRight.vue b/src/views/bigScreen/bottomRight.vue index a52b905..156dcab 100644 --- a/src/views/bigScreen/bottomRight.vue +++ b/src/views/bigScreen/bottomRight.vue @@ -1,141 +1,113 @@ diff --git a/src/views/bigScreen/jzfp.vue b/src/views/bigScreen/jzfp.vue index 12517fa..b8c93ed 100644 --- a/src/views/bigScreen/jzfp.vue +++ b/src/views/bigScreen/jzfp.vue @@ -11,7 +11,7 @@
- +
@@ -22,6 +22,12 @@ import CenterRight2Chart from '@/components/echart/centerRight/centerRight2Chart export default { components: { CenterRight2Chart + }, + props: { + ifHelpPoorList: { + type: Array, + default: () => ([]) + } } } diff --git a/src/views/bigScreen/nltj.vue b/src/views/bigScreen/nltj.vue index 0156ffb..8231371 100644 --- a/src/views/bigScreen/nltj.vue +++ b/src/views/bigScreen/nltj.vue @@ -6,12 +6,12 @@
- 是否在院 + 年龄
- +
@@ -27,6 +27,12 @@ export default { components: { CenterRight1Chart }, + props: { + ageList: { + type: Array, + default: () => ([]) + } + }, mounted () { }, methods: { diff --git a/src/views/bigScreen/xb.vue b/src/views/bigScreen/xb.vue index 5d9fdaf..ef51fc0 100644 --- a/src/views/bigScreen/xb.vue +++ b/src/views/bigScreen/xb.vue @@ -11,19 +11,30 @@
- +