|
@@ -116,10 +116,14 @@
|
|
|
border fit row-key="id" ref="table" style="width: 100%;margin-top:30px;" v-loading="loading">
|
|
|
<el-table-column align="center" type="selection" width="40px" :reserve-selection="true"/>
|
|
|
<el-table-column :label="$t('productionResource.imgUrl')" :show-overflow-tooltip="true" align="center"
|
|
|
- prop="pic"
|
|
|
+ prop="imgUrl"
|
|
|
width="">
|
|
|
<template slot-scope="scope">
|
|
|
- <span><el-image :src="scope.row.pic"></el-image></span>
|
|
|
+ <span>
|
|
|
+ <el-image :src="scope.row.imgUrl" v-if="scope.row.imgUrl"></el-image>
|
|
|
+ <el-image :src="scope.row.pic" v-else-if="scope.row.pic"></el-image>
|
|
|
+ <!--<el-image :src="scope.row.pic" v-else></el-image>-->
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column :label="$t('productionResource.name')" :show-overflow-tooltip="true" align="center" prop="name"
|