Commit 006a9ae5 authored by youjie's avatar youjie

no message

parent 54338cc6
......@@ -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="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-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-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
......@@ -2297,76 +2300,63 @@ export default {
query: { tcmun: id,blank:'y'}
})
}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: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
})
}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: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
})
}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: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'}
})
}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: { id:id,OutBranchId:id.RB_Branch_Id,blank:'y'}
})
}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: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true,blank:'y'}
})
}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: { id:id,isShow:false,blank:'y'}
})
}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({
name: path,
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){
......
......@@ -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,
......
<style>
.iconfont {
font-size: 14px;
display: inline-block;
margin-right: 8px;
}
._wenjian_P {
font-size: 30px;
text-align: center;
color: #41D2A1;
}
.customerApproval .approvalNav {
height: 52px;
width: 100%;
......@@ -220,11 +230,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 +336,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 +356,27 @@
<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">
<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">
<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,26 @@
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;
console.log(this.detailList,'-------')
} else {}
this.loadingInfor = false
},
(err) => {}
(err) => {this.loadingInfor = false}
);
this.apipost(
......@@ -692,4 +731,4 @@
this.getList();
},
};
</script>
\ No newline at end of file
</script>
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