Commit f404310f authored by youjie's avatar youjie

no message

parent 006a9ae5
...@@ -406,7 +406,7 @@ ...@@ -406,7 +406,7 @@
<li> <li>
<button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" <button class="normalBtn"
@click="addShow=true;isOldPerson=false,addLayer1=false">{{$t('salesModule.addCustomer')}}</button> @click="clickAdd">{{$t('salesModule.addCustomer')}}</button>
<button class="normalBtn" @click="outerVisible=true">导入</button> <button class="normalBtn" @click="outerVisible=true">导入</button>
<button class="normalBtn" @click="getDownList">模板下载</button> <button class="normalBtn" @click="getDownList">模板下载</button>
</li> </li>
...@@ -775,7 +775,7 @@ ...@@ -775,7 +775,7 @@
<el-upload v-if="!saveMsg || !saveMsg.length" class="upload-demo" :disabled="!updateMsg.SigningType" <el-upload v-if="!saveMsg || !saveMsg.length" class="upload-demo" :disabled="!updateMsg.SigningType"
style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn" style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn"
:show-file-list="false" action=""> :show-file-list="false" action="">
<el-button size="small" type="primary">签约材</el-button> <el-button size="small" type="primary">上传资</el-button>
</el-upload> </el-upload>
<template v-if="updateMsg.SigningType && saveMsg&& saveMsg.length>0"> <template v-if="updateMsg.SigningType && saveMsg&& saveMsg.length>0">
<template v-for="(subItem,subIndex) in saveMsg"> <template v-for="(subItem,subIndex) in saveMsg">
...@@ -1039,6 +1039,11 @@ ...@@ -1039,6 +1039,11 @@
} }
}, },
methods: { methods: {
clickAdd(){
this.addShow=true;
this.isOldPerson=false,
this.addLayer1=false
},
uploadFileBtn(file) { //上传 uploadFileBtn(file) { //上传
if (file.file.size > 1024 * 1024 * 100) { if (file.file.size > 1024 * 1024 * 100) {
this.$message.warning('文件大小不能超过100M!') this.$message.warning('文件大小不能超过100M!')
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
.iconfont { .iconfont {
font-size: 14px; font-size: 14px;
display: inline-block; display: inline-block;
margin-right: 8px;
} }
._wenjian_P { ._wenjian_P {
font-size: 30px; font-size: 30px;
...@@ -358,19 +357,20 @@ ...@@ -358,19 +357,20 @@
</p> </p>
<!-- <a v-if="detailList.signingFile" style="margin-left:20px;color:blue;cursor:pointer;font-size: 14px;" <!-- <a v-if="detailList.signingFile" style="margin-left:20px;color:blue;cursor:pointer;font-size: 14px;"
target="_blank" @click="downloadFile(detailList.signingFile)">签约客户附件</a> --> target="_blank" @click="downloadFile(detailList.signingFile)">签约客户附件</a> -->
<div v-if="detailList&&detailList.signingFile"> <div v-if="detailList&&detailList.signingFile" style="display: flex;">
<span style="color:blue;font-size: 12px;display: block; padding: 5px 0;">签约客户附件:</span> <span style="color:blue;font-size: 12px; padding: 5px 0;">附件:</span>
<div> <div>
<template v-if="verificationFile(detailList.signingFile)==3"> <template v-if="verificationFile(detailList.signingFile)==3">
<el-image :src="domainManager().ViittoFileUrl+detailList.signingFile" <el-image :src="domainManager().ViittoFileUrl+detailList.signingFile"
:preview-src-list="[domainManager().ViittoFileUrl+detailList.signingFile]"> :preview-src-list="[domainManager().ViittoFileUrl+detailList.signingFile]"
style="height: 100px;">
<div slot="error" class="image-slot"> <div slot="error" class="image-slot">
<i class="el-icon-picture-outline"></i> <i class="el-icon-picture-outline"></i>
</div> </div>
</el-image> </el-image>
</template> </template>
<div v-if="verificationFile(detailList.signingFile)==1" <div v-if="verificationFile(detailList.signingFile)==1"
style="width: 88px; line-height: 59px;text-align: center;" style="width: 88px; line-height: 59px;text-align: center;cursor: pointer;"
@click="showUpLoadFile(domainManager().ViittoFileUrl+detailList.signingFile)"> @click="showUpLoadFile(domainManager().ViittoFileUrl+detailList.signingFile)">
<span class="_wenjian_P iconfont" <span class="_wenjian_P iconfont"
:class="detailList.signingFile.substring(detailList.signingFile.lastIndexOf('.')+1,detailList.signingFile.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"></span> :class="detailList.signingFile.substring(detailList.signingFile.lastIndexOf('.')+1,detailList.signingFile.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"></span>
...@@ -648,7 +648,6 @@ ...@@ -648,7 +648,6 @@
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.detailList = res.data.data.customerInfo; this.detailList = res.data.data.customerInfo;
console.log(this.detailList,'-------')
} else {} } else {}
this.loadingInfor = false this.loadingInfor = false
}, },
......
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