diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue index 2c7becb..58db007 100644 --- a/src/views/dashboard/components/PanelGroup.vue +++ b/src/views/dashboard/components/PanelGroup.vue @@ -7,7 +7,7 @@
-
总人数/总入厂人数/总离厂人数
+
总预约数/总入厂人数/总离厂人数
@@ -29,7 +29,7 @@
-
今日人数/今日入厂人数/今日离厂人数
+
今日预约数/今日入厂人数/今日离厂人数
@@ -58,7 +58,7 @@
-
总人数/总入厂人数/总离厂人数
+
总预约数/总入厂人数/总离厂人数
@@ -79,7 +79,7 @@
-
今日人数/今日入厂人数/今日离厂人数
+
今日预约数/今日入厂人数/今日离厂人数
diff --git a/src/views/visit/record.vue b/src/views/visit/record.vue index 75c312d..fa15489 100644 --- a/src/views/visit/record.vue +++ b/src/views/visit/record.vue @@ -23,6 +23,11 @@ +
访客类型
+ + + +
起始时间
@@ -323,6 +328,20 @@ total: 0, data: [], // 模拟数据 + visitTypeList: [ + { + id: 1, + value: '普通访客' + }, + { + id: 2, + value: '施工人员' + }, + { + id: 3, + value: '物流司机' + } + ], mockData: [ { id: 1, @@ -777,6 +796,11 @@ }) } + // 访客类型筛选 + if (this.select.type !== '' && this.select.type !== null && this.select.type !== undefined) { + filteredData = filteredData.filter(item => item.type === this.select.type) + } + // 计算分页 this.total = filteredData.length const start = (this.select.page - 1) * this.select.page_size