| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="使用次数" prop="usageCount"> |
| | | <el-input-number v-model="form.usageCount" :min="0" style="width: 100%" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="12">--> |
| | | <!-- <el-form-item label="使用次数" prop="usageCount">--> |
| | | <!-- <el-input-number v-model="form.usageCount" :min="0" style="width: 100%" />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | </el-row> |
| | | </el-form> |
| | | </FormDialog> |
| | |
| | | {{ getEfficiencyLabel(currentKnowledge.efficiency) }} |
| | | </el-tag> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="使用次数"> |
| | | <el-tag type="info">{{ currentKnowledge.usageCount }} 次</el-tag> |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item label="使用次数">--> |
| | | <!-- <el-tag type="info">{{ currentKnowledge.usageCount }} 次</el-tag>--> |
| | | <!-- </el-descriptions-item>--> |
| | | <el-descriptions-item label="创建人"> |
| | | {{ currentKnowledge.creator }} |
| | | </el-descriptions-item> |
| | |
| | | <h4>使用统计</h4> |
| | | <div class="usage-stats"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | | <div class="stat-item"> |
| | | <div class="stat-number">{{ currentKnowledge.usageCount }}</div> |
| | | <div class="stat-label">使用次数</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <!-- <el-col :span="8">--> |
| | | <!-- <div class="stat-item">--> |
| | | <!-- <div class="stat-number">{{ currentKnowledge.usageCount }}</div>--> |
| | | <!-- <div class="stat-label">使用次数</div>--> |
| | | <!-- </div>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="12"> |
| | | <div class="stat-item"> |
| | | <div class="stat-number">{{ getEfficiencyScore(currentKnowledge.efficiency) }}%</div> |
| | | <div class="stat-label">效率提升</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-col :span="12"> |
| | | <div class="stat-item"> |
| | | <div class="stat-number">{{ getTimeSaved(currentKnowledge.efficiency) }}</div> |
| | | <div class="stat-label">平均节省时间</div> |
| | |
| | | return typeMap[params] || "info"; |
| | | } |
| | | }, |
| | | { |
| | | label: "文件数量", |
| | | prop: "fileCount", |
| | | width: 100, |
| | | align: "center" |
| | | }, |
| | | { |
| | | label: "切片数量", |
| | | prop: "totalChunkCount", |
| | | width: 100, |
| | | align: "center" |
| | | }, |
| | | { |
| | | label: "使用次数", |
| | | prop: "usageCount", |
| | | width: 100, |
| | | align: "center" |
| | | }, |
| | | // { |
| | | // label: "文件数量", |
| | | // prop: "fileCount", |
| | | // width: 100, |
| | | // align: "center" |
| | | // }, |
| | | // { |
| | | // label: "切片数量", |
| | | // prop: "totalChunkCount", |
| | | // width: 100, |
| | | // align: "center" |
| | | // }, |
| | | // { |
| | | // label: "使用次数", |
| | | // prop: "usageCount", |
| | | // width: 100, |
| | | // align: "center" |
| | | // }, |
| | | { |
| | | label: "创建人", |
| | | prop: "creator", |
| | |
| | | openFilesDialog(row); |
| | | } |
| | | }, |
| | | { |
| | | name: "问答", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | openChatDialog(row); |
| | | } |
| | | }, |
| | | // { |
| | | // name: "问答", |
| | | // type: "text", |
| | | // clickFun: (row) => { |
| | | // openChatDialog(row); |
| | | // } |
| | | // }, |
| | | { |
| | | name: "详情", |
| | | type: "text", |