|
@@ -354,12 +354,14 @@
|
|
<!-- class-name="small-padding fixed-width" -->
|
|
<!-- class-name="small-padding fixed-width" -->
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="demo-image__preview">
|
|
<div class="demo-image__preview">
|
|
- <el-image
|
|
|
|
|
|
+ <a v-for="(item, index) in scope.row.photo"
|
|
|
|
+ :key="index" style="color: red;" :href="item == null? '#' : item" target="blank" v-html="item == null?'暂无数据' : '点击查看到资证明文件' + '</br>'"></a>
|
|
|
|
+ <!-- <el-image
|
|
style="width: 100px; height: 100px"
|
|
style="width: 100px; height: 100px"
|
|
:src="scope.row.phototwo"
|
|
:src="scope.row.phototwo"
|
|
:preview-src-list="scope.row.photo"
|
|
:preview-src-list="scope.row.photo"
|
|
>
|
|
>
|
|
- </el-image>
|
|
|
|
|
|
+ </el-image> -->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -671,7 +673,7 @@
|
|
@keyup.enter.native="handleQuery"
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="图片" prop="photo">
|
|
|
|
|
|
+ <el-form-item label="文件" prop="photo">
|
|
<el-upload
|
|
<el-upload
|
|
class="upload-demo"
|
|
class="upload-demo"
|
|
ref="upload"
|
|
ref="upload"
|
|
@@ -684,7 +686,7 @@
|
|
:auto-upload="true"
|
|
:auto-upload="true"
|
|
:multiple="true"
|
|
:multiple="true"
|
|
:disabled = "disfal"
|
|
:disabled = "disfal"
|
|
- list-type="picture"
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<el-button slot="trigger" :disabled = "disfal" size="small" type="primary"
|
|
<el-button slot="trigger" :disabled = "disfal" size="small" type="primary"
|
|
>选取文件</el-button
|
|
>选取文件</el-button
|
|
@@ -698,7 +700,7 @@
|
|
>上传到服务器</el-button
|
|
>上传到服务器</el-button
|
|
> -->
|
|
> -->
|
|
<div slot="tip" class="el-upload__tip">
|
|
<div slot="tip" class="el-upload__tip">
|
|
- 只能上传jpg/png文件,且不超过500kb
|
|
|
|
|
|
+ 只能上传PDF/Word文件,且不超过100MB
|
|
</div>
|
|
</div>
|
|
</el-upload>
|
|
</el-upload>
|
|
</el-form-item>
|
|
</el-form-item>
|