|
|
@@ -710,7 +710,7 @@
|
|
|
<!--打印内容结束-->
|
|
|
<!--endprint1-->
|
|
|
<!-- && (formData.InStyle != '2') -->
|
|
|
- <el-card>
|
|
|
+ <el-card style="margin-top: 35px;">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<span>现场考察报告</span>
|
|
|
@@ -726,10 +726,9 @@
|
|
|
<!--</el-upload>-->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row style="margin-top: 10px;">
|
|
|
- <el-table :data="scenefileurllist" border size="mini">
|
|
|
+<!-- <el-row style="margin-top: 10px;">-->
|
|
|
+ <el-table :data="scenefileurllist" border size="mini" empty-text="暂无数据" style="margin-top: 30px;">
|
|
|
<el-table-column prop="FileUrlList" label="报告" show-overflow-tooltip>
|
|
|
- <template slot="empty" v-if="scenefile.FileName == ''">暂无数据</template>
|
|
|
<template slot-scope="scope">
|
|
|
<viewer :images="scenefileurllist">
|
|
|
<el-col :span="6" v-for="(tmpUrl,index) in scenefileurllist" v-if="index<1" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
@@ -764,7 +763,7 @@
|
|
|
<!-- :key="index">-->
|
|
|
<!-- </el-col>-->
|
|
|
<!-- </viewer>-->
|
|
|
- </el-row>
|
|
|
+<!-- </el-row>-->
|
|
|
</el-card>
|
|
|
|
|
|
<el-dialog title="现场考察报告" :visible.sync="visible" top="5vh" width="900px">
|
|
|
@@ -1378,9 +1377,9 @@ export default {
|
|
|
this.isInvestigate = true
|
|
|
this.$axios.get('/supplier/getscenefilelist', {params}).then(res => {
|
|
|
this.scenefile = res.data.item
|
|
|
- if (this.scenefile && this.scenefile != null) {
|
|
|
+ if (this.scenefile && this.scenefile.FileUrl && this.scenefile != null) {
|
|
|
this.scenefileurllist = this.scenefile.FileUrl.split('$')
|
|
|
- console.log(this.scenefile, '说过的话')
|
|
|
+ console.log(this.scenefileurllist, '说过的话')
|
|
|
}
|
|
|
})
|
|
|
}
|