Commit 0e6546e4 authored by youjie's avatar youjie

no message

parent 85a8e504
This diff is collapsed.
<style>
._info_img ul {
/* padding: 10px 0 */
}
._info_img ul li {
width: 50px;
height: 50px;
float: left;
position: relative;
cursor: pointer
}
._info_img ul li:hover ._see_img {
opacity: 1;
}
._info_img ul li img {
width: 50px;
height: 50px;
}
._see_img {
position: absolute;
top: 0;
width: 50px;
height: 50px;
line-height: 34px;
text-align: center;
background-color: rgba(2, 2, 2, 0.3);
display: inherit;
opacity: 0;
transition: all linear .5s
}
._see_img i.iconfont {
display: inline-block;
width: 32px;
height: 32px;
border-radius: 50%;
color: #FFFFFF !important;
background-color: rgba(255, 255, 255, 0.5);
}
._show_img_box {
position: fixed;
background: rgba(0, 0, 0, .6);
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
text-align: center;
overflow: auto;
}
.customerApproval .approvalNav{height: 52px;width: 100%; margin: 30px 0 20px;}
.customerApproval .approvalNav>li{float: left; width: 116px; font-size: 14px; height: 52px; color: #666; text-align: center; line-height: 52px; background: #E9E9E9; cursor: pointer;}
.customerApproval .approvalNav>li.active{background: #fff; color: #333;}
......@@ -77,13 +131,34 @@
<div class="bottomMsg">
<p class="fz14 color666 mt10">
<i class="iconfont icon-ico-mingpianzhaopian fz14 colorccc" ></i>&nbsp;
<!-- {{$t('salesModule.BusinessPhoto')}} -->合同照片
<!-- {{$t('salesModule.BusinessPhoto')}} -->合同资料
</p>
<p class="pImg" v-if="!detailList.businessCardPhotos"><span class="fz12 color333">{{$t('active.cl_zanwu')}}</span></p>
<p class="pImg" v-else>
<img @click="getPic(detailList.businessCardPhotos,index)"
<div class="_info_img" v-if="detailList.businessCardPhotos&&detailList.businessCardPhotos.length>0">
<ul class="clearfix">
<li v-for="(img,imgI) in detailList.businessCardPhotos" style="margin-right: 5px;position: relative;">
<img v-if="!img" src="../../assets/img/Travelslider.png" alt="">
<el-image
v-if="img&&verificationFile(img,3)"
:src="img"
:preview-src-list="[img]">
</el-image>
<div v-if="img&&verificationFile(img,1)"
style="width: 50px; line-height: 50px;text-align: center;">
<span class="_wenjian_P iconfont"
:class="img.substring(img.lastIndexOf('.')+1,img.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"></span>
</div>
<div v-if="img&&verificationFile(img,1)" class="_see_img" @click="verificationFile(img,3)?'':showUpLoadFile2(img)">
<i class="iconfont icon-sousuo"></i>
</div>
</li>
</ul>
</div>
<!-- <img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.businessCardPhotos" :src="i+'?x-oss-process=image/resize,m_mfit,h_100,w_300'"/>
<template v-if='detailList.businessCardPhotos&&detailList.businessCardPhotos.length==1'>
<template v-if='detailList.businessCardPhotos&&detailList.businessCardPhotos.length==1'>
<img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.businessCardPhotos" :src="i+'?x-oss-process=image/resize,m_mfit,h_100,w_300'"/>
</template>
......@@ -96,10 +171,27 @@
<img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.housePhotos" :src="i+'?x-oss-process=image/resize,m_pad,h_100,w_100,color_333333'"/>
</template>
</template> -->
</p>
<p class="fz14 color666 mt10">
<i class="iconfont icon-ico-menpaizhaopian fz14 colorccc" ></i>&nbsp;
平台用户名
</p>
<p>
<div style="display: flex; flex-wrap: wrap;align-items: center;">
<el-tag
:key="tag"
v-for="tag in detailList.platformUserNameList"
closable
:disable-transitions="false"
size="medium"
style="margin-right: 5px;">
{{tag}}
</el-tag>
</div>
</p>
<p class="fz14 color666 mt10">
<i class="iconfont icon-ico-menpaizhaopian fz14 colorccc" ></i>&nbsp;
{{$t('salesModule.doorPhoto')}}
......@@ -284,6 +376,13 @@
}
},
methods:{
showUpLoadFile2(i) { // 预览上传文件
if (i.substring(i.lastIndexOf('.') + 1, i.length).toUpperCase() == 'PDF') {
this.previewPDF(i)
} else {
window.open("https://view.officeapps.live.com/op/view.aspx?src=" + i)
}
},
inited (viewer){
this.$viewer = viewer
},
......@@ -323,7 +422,6 @@
if(res.data.resultCode==1){
this.openLayer()
this.detailList=res.data.data.customerInfo
console.log(this.detailList.businessCardPhotos.length)
}else{}
},err=>{})
......
......@@ -269,9 +269,9 @@
},
methods: {
AddAccountBank(){
if(this.list&&this.list.length>0){
return this.$message.info('已有账户,试试编辑已有账户吧!')
}
// if(this.list&&this.list.length>0){
// return this.$message.info('已有账户,试试编辑已有账户吧!')
// }
this.outerVisible = true
this.dialogTitle= this.$t('ground.xinzengzhanghu')
this.resetForm('addMsg')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment