Forráskód Böngészése

优化:
修改按钮提示词及、图表提示词
人流记录新增上周记录
问答记录新增上周记录

范志成 3 hónapja
szülő
commit
153fd5d7f0

+ 2 - 2
smsb-plus-ui/src/views/smsb/deviceChatRecord/chatCount.vue

@@ -34,7 +34,7 @@
           <el-table-column label="本月对话" align="center" prop="monthNum" width="120"/>
           <el-table-column label="操作" align="center" width="100" class-name="small-padding fixed-width">
             <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)"
                            v-hasPermi="['device:chatRecord:query']"></el-button>
               </el-tooltip>
@@ -129,7 +129,7 @@ const getList = async () => {
 
 const handleMonthInfo = async (row?: ChatRecordVO) => {
   const res = await getChatRecordMonthInfo(row.deviceId);
-  dialog.title = '本月问答记录';
+  dialog.title = '30天问答记录';
   dialog.visible = true;
   // 使用 nextTick 确保 DOM 更新后再初始化图表
   await nextTick();

+ 2 - 2
smsb-plus-ui/src/views/smsb/visitorsFlowRate/rateCount.vue

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