Commit f7d43c34 by Sweet Zhang

客户告知书q签署跟踪

parent d6cc8c08
...@@ -78,6 +78,8 @@ export class SignatureComponent implements OnInit { ...@@ -78,6 +78,8 @@ export class SignatureComponent implements OnInit {
return; return;
} }
if(this.type=='eNotice'){ if(this.type=='eNotice'){
this.myService.customerBehaviorTrackSave(`客户告知书 - 客户点击了【确认提交】,告知书ID为${sessionStorage.getItem('eNoticeId')}`).subscribe(res=>{
})
this.myService.signInformedSheet({'id':sessionStorage.getItem('eNoticeId'),imgStr:this.imgStr}).subscribe(res=>{ this.myService.signInformedSheet({'id':sessionStorage.getItem('eNoticeId'),imgStr:this.imgStr}).subscribe(res=>{
if(res['success']){ if(res['success']){
// 确认提交 // 确认提交
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { MyService } from '../my.service';
@Component({ @Component({
selector: 'ydlife-e-notice-sign', selector: 'ydlife-e-notice-sign',
...@@ -8,13 +9,15 @@ import { Router } from '@angular/router'; ...@@ -8,13 +9,15 @@ import { Router } from '@angular/router';
}) })
export class ENoticeSignComponent implements OnInit { export class ENoticeSignComponent implements OnInit {
constructor(private router:Router) { } constructor(private router:Router,private myService:MyService) { }
ngOnInit() { ngOnInit() {
} }
agree(){ agree(){
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} }) this.myService.customerBehaviorTrackSave(`客户告知书 - 客户点击了【同意并签署】`).subscribe(res=>{
this.router.navigate(['/eNoticeSignature'],{ queryParams: { type:'eNotice'} })
})
} }
} }
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