统计
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
|   <section class="AppAiStatisticsTest"> | ||||
|     <ai-detail list> | ||||
|       <ai-title slot="title" title="AI调用统计"> | ||||
|       <ai-title slot="title" title="AI调用人数"> | ||||
|         <template #rightBtn> | ||||
|           <el-row type="flex" align="middle"> | ||||
|             <!-- <el-cascader ref="cascader1" clearable v-model="totalDeptList" :options="deptOptions" placeholder="所属部门" size="small" | ||||
| @@ -13,23 +13,23 @@ | ||||
|       <template #content> | ||||
|         <div class="card_list"> | ||||
|           <div class="card"> | ||||
|             <h2>累计调用次数</h2> | ||||
|             <h2>累计调用人数</h2> | ||||
|             <p class="color1">{{ totalInfo['累计'] || 0 }}</p> | ||||
|           </div> | ||||
|           <div class="card"> | ||||
|             <h2>本月调用次数</h2> | ||||
|             <h2>本月调用人数</h2> | ||||
|             <p class="color1">{{ totalInfo['本月'] || 0 }}</p> | ||||
|           </div> | ||||
|           <div class="card"> | ||||
|             <h2>本周调用次数</h2> | ||||
|             <h2>本周调用人数</h2> | ||||
|             <p class="color1">{{ totalInfo['本周'] || 0 }}</p> | ||||
|           </div> | ||||
|           <div class="card"> | ||||
|             <h2>昨日调用次数</h2> | ||||
|             <h2>昨日调用人数</h2> | ||||
|             <p class="color1">{{ totalInfo['昨日'] || 0 }}</p> | ||||
|           </div> | ||||
|         </div> | ||||
|         <ai-title slot="title" :title="`AI调用分析(${totalEcount}次)`"> | ||||
|         <ai-title slot="title" :title="`AI调用分析(${totalEcount}人)`"> | ||||
|           <template #rightBtn> | ||||
|             <el-row type="flex" align="middle"> | ||||
|               <span class="shortcut" v-for="(item,i) in timeCheck" :key="i" :class="{active:type==i}" | ||||
| @@ -47,7 +47,7 @@ | ||||
|             <ai-empty v-else style="height: 400px; width: 100%;" id="empty"/> | ||||
|           </div> | ||||
|           <div class="chartBox fill"> | ||||
|             <b>AI调用群聊排行榜</b> | ||||
|             <b>AI调用人数排行榜</b> | ||||
|             <ai-table v-if="tableData.length" | ||||
|               :tableData="tableData" | ||||
|               :col-configs="colConfigs" | ||||
| @@ -94,7 +94,7 @@ import "echarts-wordcloud"; | ||||
| export default { | ||||
|   name: "AppAiStatisticsTest", | ||||
|   components: {AiTitle, AiDetail}, | ||||
|   label: "AI调用统计", | ||||
|   label: "AI调用人数", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
| @@ -137,7 +137,7 @@ export default { | ||||
|     colConfigs() { | ||||
|       return [ | ||||
|         {prop: "rank", label: '排名', align: "center", width: "80px"}, | ||||
|         {prop: "roomName", label: '群名称', align: "center"}, | ||||
|         {prop: "roomName", label: '居民昵称', align: "center"}, | ||||
|         // {prop: "ownerName", label: '群主', align: "center", width: "100px"}, | ||||
|         {prop: "c", label: '触发数', align: "center", width: "100px"}, | ||||
|       ] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user