|
|
@ -83,7 +83,12 @@ |
|
|
|
<span>{{ formatDate(row[item.field]) }}</span> |
|
|
|
<span>{{ formatDate(row[item.field]) }}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else-if="item.field == 'remark' || item.form?.component == 'Editor'"> |
|
|
|
<div v-else-if="item.field == 'remark' || item.form?.component == 'Editor'"> |
|
|
|
<p v-dompurify-html="row.remark"></p> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
<span v-else>{{ row[item.field] }}</span> |
|
|
|
<span v-else>{{ row[item.field] }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|