fix: 取消总览列表
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<span class="eyebrow">内容概览大屏</span>
|
<span class="eyebrow">内容概览大屏</span>
|
||||||
<h1>内容录入员工作台</h1>
|
<h1>内容录入员工作台</h1>
|
||||||
<p>围绕病例总量、状态、使用率、低通过率预警和内容管理效率监控内容资产质量。</p>
|
<p>围绕病例总量、状态、使用率和内容管理效率监控内容资产质量。</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero-actions">
|
<div class="hero-actions">
|
||||||
<el-button :icon="Upload">导入知识库</el-button>
|
<el-button :icon="Upload">导入知识库</el-button>
|
||||||
@@ -31,66 +31,6 @@
|
|||||||
<ChartPanel class="wide-chart" title="不同病例难度分布与使用次数" subtitle="病例数、病例使用数、病例训练次数对比" :option="difficultyUsageOption" />
|
<ChartPanel class="wide-chart" title="不同病例难度分布与使用次数" subtitle="病例数、病例使用数、病例训练次数对比" :option="difficultyUsageOption" />
|
||||||
<ChartPanel title="病例使用热度 Top5" subtitle="按训练次数排序" :option="hotCasesOption" />
|
<ChartPanel title="病例使用热度 Top5" subtitle="按训练次数排序" :option="hotCasesOption" />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="content-grid content-warning-grid">
|
|
||||||
<div class="data-section">
|
|
||||||
<div class="section-header">
|
|
||||||
<div>
|
|
||||||
<h2>低通过率病例预警</h2>
|
|
||||||
<p>按通过率升序展示前五个病例</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<el-table :data="dashboard.lowPassWarnings" height="300">
|
|
||||||
<el-table-column prop="name" label="病例名称" min-width="170" />
|
|
||||||
<el-table-column prop="rate" label="通过率" width="100">
|
|
||||||
<template #default="{ row }">
|
|
||||||
<el-tag type="danger">{{ row.rate }}%</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column prop="trainings" label="训练次数" width="110" />
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="data-section">
|
|
||||||
<div class="section-header">
|
|
||||||
<div>
|
|
||||||
<h2>内容质量处理队列</h2>
|
|
||||||
<p>集中跟进低通过率和待优化内容</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="quality-list">
|
|
||||||
<article v-for="item in dashboard.lowPassWarnings" :key="item.name" class="quality-item">
|
|
||||||
<div>
|
|
||||||
<strong>{{ item.name }}</strong>
|
|
||||||
<span>训练 {{ item.trainings }} 次</span>
|
|
||||||
</div>
|
|
||||||
<el-progress :percentage="item.rate" status="exception" :stroke-width="8" />
|
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="data-section">
|
|
||||||
<div class="section-header">
|
|
||||||
<div>
|
|
||||||
<h2>病例管理</h2>
|
|
||||||
<p>病例名称、科室、录入人员、难度、类型、评分规则、关联项目、状态与审核状态</p>
|
|
||||||
</div>
|
|
||||||
<div class="toolbar-actions">
|
|
||||||
<el-button :icon="Search">筛选</el-button>
|
|
||||||
<el-button :icon="Plus" type="primary">新增病例</el-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<el-table :data="dashboard.caseManagementRows" row-key="name">
|
|
||||||
<el-table-column prop="name" label="病例名称" min-width="180" />
|
|
||||||
<el-table-column prop="count" label="训练次数" width="110" />
|
|
||||||
<el-table-column label="操作" width="120" fixed="right">
|
|
||||||
<template #default>
|
|
||||||
<el-button link type="primary">详情</el-button>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</section>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -98,7 +38,7 @@
|
|||||||
import { computed, onMounted, ref } from 'vue'
|
import { computed, onMounted, ref } from 'vue'
|
||||||
import type { EChartsOption } from 'echarts'
|
import type { EChartsOption } from 'echarts'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
import { Plus, Refresh, Search, Upload } from '@element-plus/icons-vue'
|
import { Refresh, Upload } from '@element-plus/icons-vue'
|
||||||
import ChartPanel from '@/components/ChartPanel.vue'
|
import ChartPanel from '@/components/ChartPanel.vue'
|
||||||
import { fetchContentOverview, type ContentOverview } from '@/api/stats'
|
import { fetchContentOverview, type ContentOverview } from '@/api/stats'
|
||||||
import { useAppStore } from '@/stores/app'
|
import { useAppStore } from '@/stores/app'
|
||||||
@@ -142,13 +82,7 @@ const dashboard = computed(() => {
|
|||||||
cases: item.case_count,
|
cases: item.case_count,
|
||||||
trainingTimes: item.train_count
|
trainingTimes: item.train_count
|
||||||
})),
|
})),
|
||||||
lowPassWarnings: (data?.warning || []).map(item => ({
|
hotCases: (data?.hot || []).map(item => ({ name: item.title, value: item.count }))
|
||||||
name: item.title,
|
|
||||||
rate: item.pass_rate,
|
|
||||||
trainings: item.total
|
|
||||||
})),
|
|
||||||
hotCases: (data?.hot || []).map(item => ({ name: item.title, value: item.count })),
|
|
||||||
caseManagementRows: (data?.hot || []).map(item => ({ name: item.title, count: item.count }))
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user