|
|
@@ -595,7 +595,7 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span style="font-weight: bold">企业资质</span>
|
|
|
</div>
|
|
|
- <el-table :data="subfileList" border>
|
|
|
+ <el-table :data="subfileList" size="mini" border>
|
|
|
<!--<el-table-column label="操作" width="150" align="center" fixed>-->
|
|
|
<!--<template slot-scope="scope">-->
|
|
|
<!--<el-button type="primary" plain size="mini" title="文件变更" @click="openDialog(scope.row)">-->
|
|
|
@@ -614,9 +614,9 @@
|
|
|
<div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
|
|
|
<el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary"
|
|
|
- v-if="scope.row.OldFileUrl==''?false:imgFormat(scope.row.OldFileUrl, index)"
|
|
|
+ v-if="scope.row.OldFileUrl == '' ? false : imgFormat(scope.row.OldFileUrl, index)"
|
|
|
>
|
|
|
- {{tmpUrl.split('|')[-1]}}</el-link>
|
|
|
+ {{tmpUrl.split('|')[1]}}</el-link>
|
|
|
|
|
|
<img
|
|
|
v-if="scope.row.OldFileUrl==''?false:!imgFormat(scope.row.OldFileUrl, index)"
|
|
|
@@ -646,7 +646,7 @@
|
|
|
<el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary"
|
|
|
v-if="scope.row.FileUrl==''?false:imgFormat(scope.row.FileUrl, index)"
|
|
|
>
|
|
|
- {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ {{tmpUrl.split('|')[1]}}</el-link>
|
|
|
|
|
|
<img
|
|
|
v-if="scope.row.FileUrl==''?false:!imgFormat(scope.row.FileUrl, index)"
|
|
|
@@ -1466,10 +1466,12 @@
|
|
|
if (Format[1] != null && Format[1] != '' && Format[1] != undefined) {
|
|
|
let pictureFormat = Format[1]
|
|
|
if (pictureFormat == 'jpg' || pictureFormat == 'bmp' || pictureFormat == 'png' || pictureFormat == 'gif' || pictureFormat == 'jpeg') {
|
|
|
+ console.log('图片判断结果1')
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ console.log('图片判断结果2')
|
|
|
return true
|
|
|
}
|
|
|
},
|