|
|
@@ -710,7 +710,7 @@
|
|
|
<!--endprint1-->
|
|
|
<el-card v-if="(isInvestigate) && (formData.InStyle != '2')">
|
|
|
<el-row>
|
|
|
- <el-col :span="4">
|
|
|
+ <el-col :span="24">
|
|
|
<span>现场考察报告</span>
|
|
|
<el-button type="primary" style="margin-left: 10px;" plain size="mini" title="上传" @click="openDialog()" >上传
|
|
|
</el-button>
|
|
|
@@ -723,25 +723,20 @@
|
|
|
<!--<!–</div>–>-->
|
|
|
<!--</el-upload>-->
|
|
|
</el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <!-- <div v-for="(tmpUrl, index) in scenefileurllist" :key="index">
|
|
|
- <el-link :href="'http://'+fileurlcut(scenefile.FileUrl, index)" target="_blank" type="primary">
|
|
|
+ </el-row>
|
|
|
+ <el-row style="margin-top: 10px;">
|
|
|
+ <viewer :images="scenefileurllist">
|
|
|
+ <el-col :span="6" v-for="(tmpUrl,index) in scenefileurllist" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scenefile.FileUrl, index)" target="_blank" type="primary"
|
|
|
+ v-if="imgFormat(scenefile.FileUrl, index)" >
|
|
|
{{scenefile.FileName.split('$')[index]}}</el-link>
|
|
|
- </div> -->
|
|
|
-
|
|
|
- <viewer :images="scenefileurllist">
|
|
|
- <div v-for="(tmpUrl,index) in scenefileurllist" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <el-link :href="'http://'+fileurlcut(scenefile.FileUrl, index)" target="_blank" type="primary"
|
|
|
- v-if="imgFormat(scenefile.FileUrl, index)" >
|
|
|
- {{scenefile.FileName.split('$')[index]}}</el-link>
|
|
|
- <img
|
|
|
- v-else
|
|
|
- class="photoStyle" alt=""
|
|
|
- :src="'http://'+fileurlcut(scenefile.FileUrl, index)"
|
|
|
- :key="index">
|
|
|
- </div>
|
|
|
- </viewer>
|
|
|
- </el-col>
|
|
|
+ <img
|
|
|
+ v-else
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ :src="'http://'+fileurlcut(scenefile.FileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </el-col>
|
|
|
+ </viewer>
|
|
|
</el-row>
|
|
|
</el-card>
|
|
|
|