|
@@ -33,7 +33,7 @@
|
|
|
<el-table-column label="本月人数" align="center" prop="monthNum" width="120"/>
|
|
<el-table-column label="本月人数" align="center" prop="monthNum" width="120"/>
|
|
|
<el-table-column label="操作" align="center" width="100" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" width="100" class-name="small-padding fixed-width">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-tooltip content="本月记录" placement="top">
|
|
|
|
|
|
|
+ <el-tooltip content="30天人流记录" placement="top">
|
|
|
<el-button link type="primary" icon="View" @click="handleMonthInfo(scope.row)"
|
|
<el-button link type="primary" icon="View" @click="handleMonthInfo(scope.row)"
|
|
|
v-hasPermi="['device:chatRecord:query']"></el-button>
|
|
v-hasPermi="['device:chatRecord:query']"></el-button>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
@@ -125,7 +125,7 @@ const handleInfo = async (row?: VisitorsFlowRateVO) => {
|
|
|
|
|
|
|
|
const handleMonthInfo = async (row?: ChatRecordVO) => {
|
|
const handleMonthInfo = async (row?: ChatRecordVO) => {
|
|
|
const res = await getVisitorsFlowRateMonthInfo(row.deviceId);
|
|
const res = await getVisitorsFlowRateMonthInfo(row.deviceId);
|
|
|
- dialog.title = '本月人流记录';
|
|
|
|
|
|
|
+ dialog.title = '30天人流记录';
|
|
|
dialog.visible = true;
|
|
dialog.visible = true;
|
|
|
// 使用 nextTick 确保 DOM 更新后再初始化图表
|
|
// 使用 nextTick 确保 DOM 更新后再初始化图表
|
|
|
await nextTick();
|
|
await nextTick();
|