Commit 006a9ae5 authored by youjie's avatar youjie

no message

parent 54338cc6
...@@ -484,6 +484,9 @@ ...@@ -484,6 +484,9 @@
<td v-if="qjGroupId==userInfo.RB_Group_id || TeamShouZhi" @click="GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"> <span class="_jump_page _font_bold">团队收支</span> </td> <td v-if="qjGroupId==userInfo.RB_Group_id || TeamShouZhi" @click="GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"> <span class="_jump_page _font_bold">团队收支</span> </td>
<td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('SettlementOrder',GetDetail.SourceID,2)"> <span class="_jump_page _font_bold">国内票务</span> </td> <td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('SettlementOrder',GetDetail.SourceID,2)"> <span class="_jump_page _font_bold">国内票务</span> </td>
<td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail.SourceID,3)"> <span class="_jump_page _font_bold">签证收支</span> </td> <td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail.SourceID,3)"> <span class="_jump_page _font_bold">签证收支</span> </td>
<td v-if="GetDetail.OrderID">签证订单:<span
@click="jumpPage('VisaProductOrder',GetDetail,9,GetDetail.OrderID)"
class="_jump_page _font_bold">{{GetDetail.OrderID}}</span></td>
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td> <td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td>
<td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56 <td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56
|| GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 51|| GetDetail.TemplateId === 52 || GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 51|| GetDetail.TemplateId === 52
...@@ -2297,76 +2300,63 @@ export default { ...@@ -2297,76 +2300,63 @@ export default {
query: { tcmun: id,blank:'y'} query: { tcmun: id,blank:'y'}
}) })
}else if(type==2){ }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({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
}) })
}else if(type==3){ }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({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
}) })
}else if(type==4){ }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({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
}) })
}else if(type==5){ }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({ this.$router.push({
name: path, name: path,
query: { id:id,OutBranchId:id.RB_Branch_Id,blank:'y'} query: { id:id,OutBranchId:id.RB_Branch_Id,blank:'y'}
}) })
}else if(type==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({ this.$router.push({
name: path, name: path,
query: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true,blank:'y'} query: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true,blank:'y'}
}) })
}else if(type==7){ }else if(type==7){
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,isShow:false}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:id,isShow:false,blank:'y'} query: { id:id,isShow:false,blank:'y'}
}) })
}else if(type==8){ }else if(type==8){
// let routeData = this.$router.resolve({
// name: path,
// query: {VisaID:id.SourceID,isFinacial:0}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { VisaID:id.SourceID,isFinacial:0,blank:'y'} query: { VisaID:id.SourceID,isFinacial:0,blank:'y'}
}) })
} else if (type == 9) {
if (OrderID) {
this.$router.push({
name: path,
query: {
id: id.SourceID,
isFinacial: 0,
blank: 'y',
OrderId: OrderID
}
})
} else {
this.$router.push({
name: path,
query: {
id: id.SourceID,
isFinacial: 0,
blank: 'y',
}
})
} }
}
}, },
//跳转至手配详情 //跳转至手配详情
jumpHotelContract(path,item){ jumpHotelContract(path,item){
......
...@@ -1070,7 +1070,10 @@ ...@@ -1070,7 +1070,10 @@
</div> </div>
</div> </div>
<div class="_fujian_box" <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 style="margin-top: 80px;">
<div class="_pic_upload" v-if="GetDetail.IsUploadPic===1"> <div class="_pic_upload" v-if="GetDetail.IsUploadPic===1">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">--> <!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
...@@ -2135,11 +2138,6 @@ ...@@ -2135,11 +2138,6 @@
} }
}) })
} else if (type == 2) { } 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({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2149,11 +2147,6 @@ ...@@ -2149,11 +2147,6 @@
} }
}) })
} else if (type == 3) { } 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({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2163,11 +2156,6 @@ ...@@ -2163,11 +2156,6 @@
} }
}) })
} else if (type == 4) { } 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({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2177,11 +2165,6 @@ ...@@ -2177,11 +2165,6 @@
} }
}) })
} else if (type == 5) { } 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({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2191,11 +2174,6 @@ ...@@ -2191,11 +2174,6 @@
} }
}) })
} else if (type == 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({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2206,11 +2184,6 @@ ...@@ -2206,11 +2184,6 @@
} }
}) })
} else if (type == 7) { } else if (type == 7) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,isShow:false}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2220,11 +2193,6 @@ ...@@ -2220,11 +2193,6 @@
} }
}) })
} else if (type == 8) { } else if (type == 8) {
// let routeData = this.$router.resolve({
// name: path,
// query: {VisaID:id.SourceID,isFinacial:0}
// });
// window.open(routeData.href, "_blank");
if (OrderID) { if (OrderID) {
this.$router.push({ this.$router.push({
name: path, name: path,
......
<style> <style>
.iconfont {
font-size: 14px;
display: inline-block;
margin-right: 8px;
}
._wenjian_P {
font-size: 30px;
text-align: center;
color: #41D2A1;
}
.customerApproval .approvalNav { .customerApproval .approvalNav {
height: 52px; height: 52px;
width: 100%; width: 100%;
...@@ -220,11 +230,13 @@ ...@@ -220,11 +230,13 @@
<img v-for="item in picObj" :src="item" :key="item" /> <img v-for="item in picObj" :src="item" :key="item" />
</viewer> </viewer>
<div :class="{ customerApprovalLayer: showlayer }" @click="closeLayer"> <div :class="{ customerApprovalLayer: showlayer }" @click="closeLayer"
>
<div :class="{ <div :class="{
customerApprovalLayercontentDiv: true, customerApprovalLayercontentDiv: true,
rightZero: isTransition, rightZero: isTransition,
}" class="ownScrollbarStyle" @click.stop> }" class="ownScrollbarStyle" @click.stop
v-loading="loadingInfor">
<div class="title">{{ meta }}{{ $t("fnc.xiangqing") }}</div> <div class="title">{{ meta }}{{ $t("fnc.xiangqing") }}</div>
<div class="item"> <div class="item">
<div class="topMsg"> <div class="topMsg">
...@@ -324,7 +336,8 @@ ...@@ -324,7 +336,8 @@
</p> </p>
<p class="pImg" v-else> <p class="pImg" v-else>
<img @click="getPic(detailList.images, index)" v-if="detailList.images.length == 1" <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=" <img @click="getPic(detailList.images, index)" v-if="
detailList.images.length == 2 || detailList.images.length == 4 detailList.images.length == 2 || detailList.images.length == 4
" v-for="(i, index) in detailList.images" :src=" " v-for="(i, index) in detailList.images" :src="
...@@ -343,8 +356,27 @@ ...@@ -343,8 +356,27 @@
<i class="iconfont icon-ico_yingyezhizhao fz14 colorccc"></i>&nbsp; <i class="iconfont icon-ico_yingyezhizhao fz14 colorccc"></i>&nbsp;
签约资料 签约资料
</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">
<span style="color:blue;font-size: 12px;display: block; 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]">
<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;"
@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"> <p class="fz14 color666 mt10">
<i class="iconfont icon-fangwenjilu fz14 colorccc"></i>&nbsp; <i class="iconfont icon-fangwenjilu fz14 colorccc"></i>&nbsp;
{{ $t("salesModule.kaifaDetail") }} {{ $t("salesModule.kaifaDetail") }}
...@@ -502,7 +534,7 @@ ...@@ -502,7 +534,7 @@
<img src="../../assets/img/ysp.png" v-show="item.customerStatus == 2 || item.customerStatus == 3" /> <img src="../../assets/img/ysp.png" v-show="item.customerStatus == 2 || item.customerStatus == 3" />
</td> </td>
<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)" /> @click="getDetail(item)" />
</td> </td>
</tr> </tr>
...@@ -517,6 +549,7 @@ ...@@ -517,6 +549,7 @@
export default { export default {
data() { data() {
return { return {
loadingInfor: false,
subItem: {}, subItem: {},
imageOptions: { imageOptions: {
navbar: false, navbar: false,
...@@ -556,6 +589,9 @@ ...@@ -556,6 +589,9 @@
}; };
}, },
methods: { methods: {
showUpLoadFile(i) { // 预览上传文件
this.previewPDF(i)
},
//下载文件 //下载文件
downloadFile(fileUrl) { downloadFile(fileUrl) {
var newUrl = this.domainManager().ViittoFileUrl + fileUrl var newUrl = this.domainManager().ViittoFileUrl + fileUrl
...@@ -597,23 +633,26 @@ ...@@ -597,23 +633,26 @@
this.$viewer.show(); this.$viewer.show();
}, },
getDetail(obj) { getDetail(obj) {
this.openLayer();
this.meta = obj.customerName; this.meta = obj.customerName;
this.addMsg.VisitId = obj.visitID; this.addMsg.VisitId = obj.visitID;
this.addMsg.CustomerId = obj.customerId; this.addMsg.CustomerId = obj.customerId;
this.addMsg.SigningEndTime = obj.signingEndTime; this.addMsg.SigningEndTime = obj.signingEndTime;
this.addMsg.SigningPrice = obj.signingPrice; this.addMsg.SigningPrice = obj.signingPrice;
this.customerStatus = obj.customerStatus; this.customerStatus = obj.customerStatus;
this.loadingInfor = true
this.apipost( this.apipost(
"app_today_visit_GetVisitByCustomerIDEntity", { "app_today_visit_GetVisitByCustomerIDEntity", {
customerId: obj.customerId customerId: obj.customerId
}, },
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.openLayer();
this.detailList = res.data.data.customerInfo; this.detailList = res.data.data.customerInfo;
console.log(this.detailList,'-------')
} else {} } else {}
this.loadingInfor = false
}, },
(err) => {} (err) => {this.loadingInfor = false}
); );
this.apipost( this.apipost(
...@@ -692,4 +731,4 @@ ...@@ -692,4 +731,4 @@
this.getList(); this.getList();
}, },
}; };
</script> </script>
\ No newline at end of file
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