Commit ba6de5c7 authored by 黄奎's avatar 黄奎

页面修改

parents ee2ac177 3dd36320
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1070,7 +1070,10 @@
</div>
</div>
<div class="_fujian_box"
v-if="GetDetail.VorcherInos&&GetDetail.VorcherInos.length===0&&GetDetail.IsUploadPic===1&&saveMsg.length===0">
v-if="GetDetail.VorcherInos
&&GetDetail.VorcherInos.length===0
&&GetDetail.IsUploadPic===1
&&saveMsg.length===0">
<div style="margin-top: 80px;">
<div class="_pic_upload" v-if="GetDetail.IsUploadPic===1">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
......@@ -2135,11 +2138,6 @@
}
})
} else if (type == 2) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2149,11 +2147,6 @@
}
})
} else if (type == 3) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2163,11 +2156,6 @@
}
})
} else if (type == 4) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2177,11 +2165,6 @@
}
})
} else if (type == 5) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,OutBranchId:id.RB_Branch_Id}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2191,11 +2174,6 @@
}
})
} else if (type == 6) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2206,11 +2184,6 @@
}
})
} else if (type == 7) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,isShow:false}
// });
// window.open(routeData.href, "_blank");
this.$router.push({
name: path,
query: {
......@@ -2220,11 +2193,6 @@
}
})
} else if (type == 8) {
// let routeData = this.$router.resolve({
// name: path,
// query: {VisaID:id.SourceID,isFinacial:0}
// });
// window.open(routeData.href, "_blank");
if (OrderID) {
this.$router.push({
name: path,
......
......@@ -406,7 +406,7 @@
<li>
<button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button>
<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="getDownList">模板下载</button>
</li>
......@@ -775,7 +775,7 @@
<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"
:show-file-list="false" action="">
<el-button size="small" type="primary">签约材</el-button>
<el-button size="small" type="primary">上传资</el-button>
</el-upload>
<template v-if="updateMsg.SigningType && saveMsg&& saveMsg.length>0">
<template v-for="(subItem,subIndex) in saveMsg">
......@@ -1039,6 +1039,11 @@
}
},
methods: {
clickAdd(){
this.addShow=true;
this.isOldPerson=false,
this.addLayer1=false
},
uploadFileBtn(file) { //上传
if (file.file.size > 1024 * 1024 * 100) {
this.$message.warning('文件大小不能超过100M!')
......
<style>
.iconfont {
font-size: 14px;
display: inline-block;
}
._wenjian_P {
font-size: 30px;
text-align: center;
color: #41D2A1;
}
.customerApproval .approvalNav {
height: 52px;
width: 100%;
......@@ -220,11 +229,13 @@
<img v-for="item in picObj" :src="item" :key="item" />
</viewer>
<div :class="{ customerApprovalLayer: showlayer }" @click="closeLayer">
<div :class="{ customerApprovalLayer: showlayer }" @click="closeLayer"
>
<div :class="{
customerApprovalLayercontentDiv: true,
rightZero: isTransition,
}" class="ownScrollbarStyle" @click.stop>
}" class="ownScrollbarStyle" @click.stop
v-loading="loadingInfor">
<div class="title">{{ meta }}{{ $t("fnc.xiangqing") }}</div>
<div class="item">
<div class="topMsg">
......@@ -324,7 +335,8 @@
</p>
<p class="pImg" v-else>
<img @click="getPic(detailList.images, index)" v-if="detailList.images.length == 1"
v-for="(i, index) in detailList.images" :src="i + '?x-oss-process=image/resize,m_mfit,h_100,w_300'" />
v-for="(i, index) in detailList.images"
:src="i + '?x-oss-process=image/resize,m_mfit,h_100,w_300'" />
<img @click="getPic(detailList.images, index)" v-if="
detailList.images.length == 2 || detailList.images.length == 4
" v-for="(i, index) in detailList.images" :src="
......@@ -343,8 +355,28 @@
<i class="iconfont icon-ico_yingyezhizhao fz14 colorccc"></i>&nbsp;
签约资料
</p>
<a v-if="detailList.signingFile" style="margin-left:20px;color:blue;cursor:pointer;font-size: 14px;"
target="_blank" @click="downloadFile(detailList.signingFile)">签约客户附件</a>
<!-- <a v-if="detailList.signingFile" style="margin-left:20px;color:blue;cursor:pointer;font-size: 14px;"
target="_blank" @click="downloadFile(detailList.signingFile)">签约客户附件</a> -->
<div v-if="detailList&&detailList.signingFile" style="display: flex;">
<span style="color:blue;font-size: 12px; padding: 5px 0;">签约附件:</span>
<div>
<template v-if="verificationFile(detailList.signingFile)==3">
<el-image :src="domainManager().ViittoFileUrl+detailList.signingFile"
:preview-src-list="[domainManager().ViittoFileUrl+detailList.signingFile]"
style="height: 100px;">
<div slot="error" class="image-slot">
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
</template>
<div v-if="verificationFile(detailList.signingFile)==1"
style="width: 88px; line-height: 59px;text-align: center;cursor: pointer;"
@click="showUpLoadFile(domainManager().ViittoFileUrl+detailList.signingFile)">
<span class="_wenjian_P iconfont"
:class="detailList.signingFile.substring(detailList.signingFile.lastIndexOf('.')+1,detailList.signingFile.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"></span>
</div>
</div>
</div>
<p class="fz14 color666 mt10">
<i class="iconfont icon-fangwenjilu fz14 colorccc"></i>&nbsp;
{{ $t("salesModule.kaifaDetail") }}
......@@ -502,7 +534,7 @@
<img src="../../assets/img/ysp.png" v-show="item.customerStatus == 2 || item.customerStatus == 3" />
</td>
<td>
<input type="button" :value="$t('salesModule.CheckDetails')" class="normalBtn" style="margin-left: 0"
<input type="button" :value="$t('salesModule.CheckDetails')" class="normalBtn" style="margin-left: 0;margin-right: 10px;"
@click="getDetail(item)" />
</td>
</tr>
......@@ -517,6 +549,7 @@
export default {
data() {
return {
loadingInfor: false,
subItem: {},
imageOptions: {
navbar: false,
......@@ -556,6 +589,9 @@
};
},
methods: {
showUpLoadFile(i) { // 预览上传文件
this.previewPDF(i)
},
//下载文件
downloadFile(fileUrl) {
var newUrl = this.domainManager().ViittoFileUrl + fileUrl
......@@ -597,23 +633,25 @@
this.$viewer.show();
},
getDetail(obj) {
this.openLayer();
this.meta = obj.customerName;
this.addMsg.VisitId = obj.visitID;
this.addMsg.CustomerId = obj.customerId;
this.addMsg.SigningEndTime = obj.signingEndTime;
this.addMsg.SigningPrice = obj.signingPrice;
this.customerStatus = obj.customerStatus;
this.loadingInfor = true
this.apipost(
"app_today_visit_GetVisitByCustomerIDEntity", {
customerId: obj.customerId
},
(res) => {
if (res.data.resultCode == 1) {
this.openLayer();
this.detailList = res.data.data.customerInfo;
} else {}
this.loadingInfor = false
},
(err) => {}
(err) => {this.loadingInfor = false}
);
this.apipost(
......
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