|
|
|
@ -89,17 +89,14 @@ |
|
|
|
|
min-width="120px" |
|
|
|
|
> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-popover |
|
|
|
|
placement="top" |
|
|
|
|
width="500px" |
|
|
|
|
trigger="click" |
|
|
|
|
v-if="item.field == 'remark' && row[item.field]" |
|
|
|
|
> |
|
|
|
|
<template #reference> |
|
|
|
|
<el-button type="primary" style="padding: 0" text>点击查看</el-button> |
|
|
|
|
</template> |
|
|
|
|
<div v-dompurify-html="row.remark"></div> |
|
|
|
|
</el-popover> |
|
|
|
|
<div v-if="item.field == 'remark' || item.form?.component == 'Editor'"> |
|
|
|
|
<el-popover placement="top" width="500px" trigger="click" v-if="row[item.field]"> |
|
|
|
|
<template #reference> |
|
|
|
|
<el-button type="primary" style="padding: 0" text>点击查看</el-button> |
|
|
|
|
</template> |
|
|
|
|
<div v-dompurify-html="row[item.field]"></div> |
|
|
|
|
</el-popover> |
|
|
|
|
</div> |
|
|
|
|
<span v-else-if="item.form?.component == 'DatePicker'"> |
|
|
|
|
{{ formatDate(row[item.field]) }} |
|
|
|
|
</span> |
|
|
|
|