diff --git a/src/views/memberManage/addPerson.vue b/src/views/memberManage/addPerson.vue index 7d2d52f..e4b9144 100644 --- a/src/views/memberManage/addPerson.vue +++ b/src/views/memberManage/addPerson.vue @@ -54,7 +54,7 @@ - + diff --git a/src/views/memberManage/addPerson.vue b/src/views/memberManage/addPerson.vue index 7d2d52f..e4b9144 100644 --- a/src/views/memberManage/addPerson.vue +++ b/src/views/memberManage/addPerson.vue @@ -54,7 +54,7 @@ - + diff --git a/src/views/statistics/statistics.vue b/src/views/statistics/statistics.vue index fe17870..886b887 100644 --- a/src/views/statistics/statistics.vue +++ b/src/views/statistics/statistics.vue @@ -30,16 +30,23 @@
各部门进出记录统计
-
- 监控指标 : - - - -
+ + +
+ + + + + + + +
+
+
@@ -49,7 +56,7 @@ - + @@ -159,9 +166,8 @@ }, deptId(val) { if (val !== '') { - this.allowChoose = true this.personId = '' - this.getPersonList() + this.getPersonList(val) this.fetchPersonStatistic() } else { this.fetchPersonStatistic() @@ -220,10 +226,15 @@ this.doorList = [doorAll, ...response.data] }) }, - getPersonList() { - getPersonListAll().then(response => { + getPersonList(deptid) { + const params = { + personType: '1', + deptid: deptid + } + getPersonListAll(params).then(response => { const personAll = { id: '', name: '全部' } this.personList = [personAll, ...response.data] + this.allowChoose = true }) }, changeDate(date) {