|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
:summary-method="getSummaries" |
|
|
|
|
v-loading="loading" |
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
border |
|
|
|
|
height="600" |
|
|
|
|
> |
|
|
|
|
<el-table-column |
|
|
|
@ -78,9 +79,7 @@
|
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-text class="mx-2" v-if="Number(column.type)<6&&Number(column.type)>0">{{ scope.row[column.prop] }}</el-text> |
|
|
|
|
<slot v-if="column.type == 6" :scope="scope"></slot> |
|
|
|
|
<div v-if="column.type==7"> |
|
|
|
|
<el-image style="width: 100px; height: 100px" v-for="item in scope.row[column.prop].split(',')" :src="item" :preview-src-list="scope.row[column.prop].split(',')"/> |
|
|
|
|
</div> |
|
|
|
|
<el-image preview-teleported v-if="column.type==7" style="width: 60px; height: 60px;margin-left: 10px;" :initial-index="index" :z-index="2040" v-for="(item,index) in scope.row[column.prop].split(',')" :src="item" :preview-src-list="scope.row[column.prop].split(',')"/> |
|
|
|
|
<!-- <slot v-if="column.type == 7" name="test" :testdata="scope"></slot> --> |
|
|
|
|
<!-- <el-button |
|
|
|
|
v-if="column.type == 6" |
|
|
|
|