|
|
|
@ -29,41 +29,41 @@
|
|
|
|
|
<el-tooltip class="item" effect="dark" content="编辑" placement="top-start">
|
|
|
|
|
<el-button type="text" icon="el-icon-edit" title="编辑" :disabled="!isEdit" @click="handelEdit(row)" />
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-tooltip class="item" effect="dark" content="笔录分析" placement="top-start">
|
|
|
|
|
<svg-icon class="svg-img" v-if="row.children.length === 0 && isEdit" style="margin-left: 8px;cursor: pointer;" icon-class="recordAnalysis" title="笔录分析" @click="handleCreateAtlas(row)" />
|
|
|
|
|
<svg-icon v-if="row.children.length === 0 && isEdit" class="svg-img" style="margin-left: 8px;cursor: pointer;" icon-class="recordAnalysis" title="笔录分析" @click="handleCreateAtlas(row)" />
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-tooltip class="item" effect="dark" content="笔录提取" placement="top-start">
|
|
|
|
|
<svg-icon class="svg-img" v-if="row.children.length === 0 && isEdit" style="margin-left: 8px;margin-right: 8px; cursor: pointer;" icon-class="reset" title="笔录提取" @click="handleExtract(row)" />
|
|
|
|
|
<svg-icon v-if="row.children.length === 0 && isEdit" class="svg-img" style="margin-left: 8px;margin-right: 8px; cursor: pointer;" icon-class="reset" title="笔录提取" @click="handleExtract(row)" />
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-tooltip class="item" effect="dark" content="删除" placement="top-start">
|
|
|
|
|
<el-button v-if="row.children.length === 0" type="text" icon="el-icon-delete" :disabled="!isEdit" style="color: red" title="删除" @click="handleDel(row)" />
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-button v-if="row.children.length === 0" type="text" icon="el-icon-collection" :disabled="!isEdit" title="笔录提取" @click="handleExtract(row)" /> -->
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
<template #percentage="{row}">
|
|
|
|
|
<div class="per-content">
|
|
|
|
|
<span>{{ row.percentage }}</span>
|
|
|
|
|
<span>{{ row.rowPercentage + '%' }}</span>
|
|
|
|
|
<el-badge v-if="row.isPromptUpdate" style="margin-left: 6px;">
|
|
|
|
|
<el-tag type="success">最新</el-tag>
|
|
|
|
|
</el-badge>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-grid>
|
|
|
|
|
<div style="text-align: center">
|
|
|
|
|
<!-- <div style="text-align: center">
|
|
|
|
|
<cs-page
|
|
|
|
|
:page.sync="queryForm.page"
|
|
|
|
|
:limit.sync="queryForm.size"
|
|
|
|
|
:total="queryForm.total"
|
|
|
|
|
@pagination="fetchData"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!--新增用户-->
|
|
|
|
|
<add-case-user ref="addUser" @reloadData="fetchData" />
|
|
|
|
|
<!--选择三元组信息入库-->
|
|
|
|
|
<triplet-info ref="triplet" @save="fetchData"/>
|
|
|
|
|
<triplet-info ref="triplet" @save="fetchData" />
|
|
|
|
|
<!--选择上传方式-->
|
|
|
|
|
<select-upload ref="type" @select="handleSelect" />
|
|
|
|
|
<!--新增/编辑笔录-->
|
|
|
|
@ -113,7 +113,7 @@ export default {
|
|
|
|
|
{ title: '角色', field: 'roleName' },
|
|
|
|
|
{ title: '供述材料', field: 'confessionMaterial' },
|
|
|
|
|
{ title: '询问人', field: 'lawAsker' },
|
|
|
|
|
{ title: '进度', field: 'percentage', slots: { default: 'percentage' }},
|
|
|
|
|
{ title: '进度', field: 'rowPercentage', sortable: true, slots: { default: 'percentage' }},
|
|
|
|
|
{ title: '供述开始时间', field: 'confessionStartTime' },
|
|
|
|
|
{ title: '供述结束时间', field: 'confessionEndTime' },
|
|
|
|
|
{ title: '最新时间', field: 'updateTime' },
|
|
|
|
@ -149,7 +149,7 @@ export default {
|
|
|
|
|
}),
|
|
|
|
|
// 获取数据
|
|
|
|
|
fetchData() {
|
|
|
|
|
queryRecordList({ name: this.searchName, caseId: this.caseId }, this.queryForm.page, this.queryForm.size).then(res => {
|
|
|
|
|
queryRecordList({ name: this.searchName, caseId: this.caseId }, this.queryForm.page, 999999).then(res => {
|
|
|
|
|
this.gridOptions.data = res.data.result
|
|
|
|
|
this.gridOptions.data.forEach(e => {
|
|
|
|
|
if (e.percentage == null) {
|
|
|
|
|