Commit b43274e2 by Sweet Zhang

删除文字跟踪轨迹

parent 22b46b32
a:hover.weui-dialog__ft{
color: #fff;
text-decoration: none;
}
.weui-dialog__btn_default{
color: #666;
}
\ No newline at end of file
......@@ -90,9 +90,7 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
this.saveDigitalSignatures();
}else{
this.saveRecord();
this.myService.customerBehaviorTrackSave(`经纪人合同签署 - ${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.insurerBranchName}${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.subordinateName}体系下,经纪人${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.name}点击了【我自愿签订经纪人合同书】`).subscribe(res=>{
this.router.navigate(['/employee_submit'],{queryParams:{ hiringBasicInfoId:this.hiringBasicInfoId,status:this.approveStatus}});
})
this.router.navigate(['/employee_submit'],{queryParams:{ hiringBasicInfoId:this.hiringBasicInfoId,status:this.approveStatus}});
}
}
......@@ -111,8 +109,6 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
}
if(this.type=='eNotice'){
this.saveRecord();
this.myService.customerBehaviorTrackSave(`客户告知书 - 客户点击了【确认提交】,告知书ID为${sessionStorage.getItem('eNoticeId')}`).subscribe(res=>{
})
this.myService.signInformedSheet({'id':sessionStorage.getItem('eNoticeId'),imgStr:this.imgStr}).subscribe(res=>{
if(res['success']){
// 确认提交
......@@ -123,8 +119,6 @@ export class SignatureComponent implements OnInit,OnDestroy,AfterViewInit {
})
}else if(this.type == 'continuationRate'){
this.saveRecord();
this.myService.customerBehaviorTrackSave(`保单继续率承诺书 - ${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.insurerBranchName}${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.subordinateName}体系下,经纪人${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.name}点击了【确认提交】`).subscribe(res=>{
})
// console.log('继续率承诺书');
const param = {
practitionerId: localStorage.getItem('lifeCustomerInfo')?JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerId']:null,
......
<div class="businessCardContainer">
<div style="text-align: right;padding-top: 15px;">
<button class="applyEmailBtn" (click)="applyEmail()" *ngIf="practitionerInfo?.emailIsActive==0">申请公司邮箱</button>
<!-- <button class="applyEmailBtn" (click)="savePicture(practitionerInfo.businessCardProsImg)" *ngIf="practitionerInfo?.businessCardProsImg">保存名片正面</button>
<button class="applyEmailBtn" (click)="savePicture(practitionerInfo.businessCardConsImg)" *ngIf="practitionerInfo?.businessCardConsImg">保存名片反面</button> -->
<!-- <a class="applyEmailBtn" href="assets/pdfjs/web/viewer.html?file={{practitionerInfo?.businessCardPdfUrl}}&isNeedCover=false&isNeedDownload=true" target="_blank" rel="noopener noreferrer">保存名片PDF档</a> -->
<!-- <a class="applyEmailBtn" href="{{practitionerInfo?.businessCardProsImg}}" download="名片正面" target="_blank" rel="noopener noreferrer">保存名片正面</a> -->
<!-- <a class="applyEmailBtn" href="{{practitionerInfo?.businessCardConsImg}}" download="名片反面" target="_blank" rel="noopener noreferrer">保存名片反面</a> -->
</div>
<div *ngIf="practitionerInfo?.businessCardProsImg" style="text-align: center;color: red;">长按可保存名片到相册</div>
<div id="saveImgContainer">
......@@ -61,4 +56,4 @@
</div> -->
</div>
</div>
<ydlife-alert *ngIf="isNeedAlert" [dialogInfo]="dialogInfo" (popInfo)="getPopInfo()"></ydlife-alert>
\ No newline at end of file
<ydlife-alert *ngIf="isNeedAlert" [dialogInfo]="dialogInfo" (popInfo)="getPopInfo($event)"></ydlife-alert>
\ No newline at end of file
......@@ -33,28 +33,34 @@ export class BusinessCardComponent implements OnInit {
// 申请企业邮箱
applyEmail(){
this.myService.applyEmail({practitionerId:this.practitionerInfo.practitionerId,email:this.practitionerInfo.email}).subscribe(res=>{
this.isNeedAlert = true;
if(res['success']){
this.dialogInfo = {
title: null,
content: { value: '您的银盾保险专属办公邮箱将在2个工作日内为您生成,欢迎使用!祝业绩长虹!', align: 'center' },
footer: [{ value: '确认', routerLink: '', className: 'weui-dialog__btn_primary' }],
};
}else{
this.dialogInfo = {
title: null,
content: { value: res['message'], align: 'center' },
footer: [{ value: '确认', routerLink: '', className: 'weui-dialog__btn_primary' }],
};
}
})
this.isNeedAlert = true;
this.dialogInfo = {
title: null,
content: { value: '您的银盾保险专属办公邮箱将在2个工作日内为您生成,欢迎使用!祝业绩长虹!', align: 'center' },
footer: [{ value: '取消', routerLink: '', className: 'weui-dialog__btn_default' },{ value: '确定', routerLink: '', className: 'weui-dialog__btn_primary' }],
};
}
getPopInfo() {
getPopInfo(e) {
this.isNeedAlert = false;
if(e==='确定'){
this.myService.applyEmail({practitionerId:this.practitionerInfo.practitionerId,email:this.practitionerInfo.email}).subscribe(res=>{
this.isNeedAlert = true;
if(res['success']){
this.dialogInfo = {
title: null,
content: { value: '申请成功!', align: 'center' },
footer: [{ value: '确认', routerLink: '', className: 'weui-dialog__btn_primary' }],
};
}else{
this.dialogInfo = {
title: null,
content: { value: res['message'], align: 'center' },
footer: [{ value: '确认', routerLink: '', className: 'weui-dialog__btn_primary' }],
};
}
})
}
}
businessCard(){
this.myService.businessCard({practitionerId:this.lifeCustomerInfo.practitionerId,businessCardType:2}).subscribe(res=>{
......
......@@ -51,9 +51,7 @@ export class ENoticeSignComponent implements OnInit,OnDestroy,AfterContentInit {
}
agree(){
this.saveRecord();
this.myService.customerBehaviorTrackSave(`客户告知书 - 客户点击了【同意并签署】`).subscribe(res=>{
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} })
})
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} })
}
}
......@@ -60,13 +60,9 @@ export class ENoticeComponent implements OnInit,OnDestroy {
agree(type){
this.saveRecord();
if(type===1){
this.myService.customerBehaviorTrackSave(`客户告知书 - 客户点击了【同意并签署】`).subscribe(res=>{
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} })
})
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} })
}else{
this.myService.customerBehaviorTrackSave(`保单继续率承诺书 - ${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.insurerBranchName}${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.subordinateName}体系下,经纪人${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.name}点击了【同意并签署】`).subscribe(res=>{
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'continuationRate'} })
})
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'continuationRate'} })
}
......
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