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 @@
- +