|
|
@ -73,8 +73,8 @@ |
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div style="display: flex;flex-direction: row;justify-content: center;align-items: center"> |
|
|
|
<upload ref="upload" v-show="scope.row.loanCotractNo !== ''" v-model="file_list1" @change="changeFile($event, scope.row)" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
<el-button style="margin-left: 10px" v-if="scope.row.loanCotractImages.length > 0" type="primary" size="mini" @click="lookGSFile(scope.row.loanCotractImages)">查看</el-button> |
|
|
|
<upload ref="upload" v-show="scope.row.loanCotractNo !== ''" :accept="'.rar, application/zip, application/x-zip-compressed, application/x-rar-compressed'" v-model="file_list1" @change="changeFile($event, scope.row)" :limit="1" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
<el-button style="margin-left: 10px" v-if="scope.row.loanCotractImages.length > 0" type="primary" size="mini" @click="lookFile(scope.row.loanCotractImages)">下载</el-button> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -176,19 +176,6 @@ |
|
|
|
</el-collapse> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
<!-- 查看公司合同类 附件 --> |
|
|
|
<el-dialog :visible.sync="dialogGSVisible" :append-to-body="true"> |
|
|
|
<div v-for="(item,index) in dialogGS_list" :key="index" style="display:inline-block;"> |
|
|
|
<div class="dialogImg"> |
|
|
|
<el-image |
|
|
|
:src="item" |
|
|
|
style="width: 100px; height: 100px" |
|
|
|
:preview-src-list="dialogGS_list"> |
|
|
|
</el-image> |
|
|
|
<el-button type="danger" size="mini" @click="handleGSDel(item)">删除</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
<!-- 查看资方合同类 附件 --> |
|
|
|
<el-dialog :visible.sync="dialogZFVisible" :append-to-body="true"> |
|
|
|
<div v-for="(item,index) in dialogZF_list" :key="index" style="display:inline-block;"> |
|
|
@ -223,8 +210,6 @@ export default { |
|
|
|
tableZfKey: 1, |
|
|
|
index: 0, |
|
|
|
submitdisabled: false, |
|
|
|
dialogGSVisible: false, |
|
|
|
dialogGS_list: [], |
|
|
|
dialogZFVisible: false, |
|
|
|
dialogZF_list: [], |
|
|
|
activeNames: '1', |
|
|
@ -466,24 +451,9 @@ export default { |
|
|
|
row.bankContractImages = [] |
|
|
|
} |
|
|
|
}, |
|
|
|
// 公司合同类 -- 查看附件 |
|
|
|
lookGSFile(row) { |
|
|
|
this.dialogGSVisible = true |
|
|
|
this.dialogGS_list = row |
|
|
|
}, |
|
|
|
handleGSDel(val) { |
|
|
|
this.dialogGS_list.forEach((e, index) => { |
|
|
|
if (e === val) { |
|
|
|
this.dialogGS_list.splice((index, 1)) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.formobj.loanXdCons.forEach((e) => { |
|
|
|
e.loanCotractImages.forEach((h, index) => { |
|
|
|
if (h === val) { |
|
|
|
e.loanCotractImages.splice(index, 1) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
// 公司合同类 -- 下载附件(压缩包) |
|
|
|
lookFile(row) { |
|
|
|
window.open(row, '_parent') |
|
|
|
}, |
|
|
|
// 资方合同类 -- 查看附件 |
|
|
|
lookZFFile(row) { |
|
|
@ -722,7 +692,6 @@ export default { |
|
|
|
this.image_list16 = [] |
|
|
|
this.image_list17 = [] |
|
|
|
this.submitdisabled = false |
|
|
|
this.dialogGS_list = [] |
|
|
|
this.dialogZF_list = [] |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|