10个字符
This commit is contained in:
parent
04749318a9
commit
6004d64e1b
@ -66,7 +66,19 @@
|
|||||||
<el-table-column prop="type" label="检查项" width="180" />
|
<el-table-column prop="type" label="检查项" width="180" />
|
||||||
<el-table-column prop="category" label="部位" width="180" />
|
<el-table-column prop="category" label="部位" width="180" />
|
||||||
<el-table-column prop="contentName" label="模板名称" />
|
<el-table-column prop="contentName" label="模板名称" />
|
||||||
<el-table-column prop="content" label="模板内容" />
|
<el-table-column label="模板内容">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tooltip
|
||||||
|
effect="dark"
|
||||||
|
:content="scope.row.content"
|
||||||
|
placement="top"
|
||||||
|
:show-after="200"
|
||||||
|
max-width="300"
|
||||||
|
>
|
||||||
|
<span>{{ scope.row.content ? (scope.row.content.length > 10 ? scope.row.content.substring(0, 10) + '...' : scope.row.content) : '' }}</span>
|
||||||
|
</el-tooltip>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user