Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
e9cb8ae7
Commit
e9cb8ae7
authored
Feb 17, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人页面客户告知书问题解决
parent
cf3e9024
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
15 deletions
+16
-15
src/app/my/application-process/signature/signature.component.ts
+11
-11
src/app/my/e-notice/e-notice.component.html
+2
-2
src/app/my/e-notice/e-notice.component.ts
+2
-1
src/app/my/my-business-detail/my-business-detail.component.html
+1
-1
No files found.
src/app/my/application-process/signature/signature.component.ts
View file @
e9cb8ae7
import
{
Component
,
OnInit
,
ViewChild
,
ElementRef
,
OnDestroy
}
from
'@angular/core'
;
import
{
Component
,
OnInit
,
ViewChild
,
ElementRef
,
OnDestroy
,
AfterViewInit
}
from
'@angular/core'
;
import
{
MyService
}
from
'../../my.service'
;
import
{
MyService
}
from
'../../my.service'
;
import
{
ActivatedRoute
,
Router
}
from
"@angular/router"
;
import
{
ActivatedRoute
,
Router
}
from
"@angular/router"
;
import
{
LifeCommonService
}
from
"../../../common/life-common.service"
;
import
{
LifeCommonService
}
from
"../../../common/life-common.service"
;
...
@@ -9,14 +9,14 @@ declare var rrweb:any;
...
@@ -9,14 +9,14 @@ declare var rrweb:any;
templateUrl
:
'./signature.component.html'
,
templateUrl
:
'./signature.component.html'
,
styleUrls
:
[
'./signature.component.scss'
]
styleUrls
:
[
'./signature.component.scss'
]
})
})
export
class
SignatureComponent
implements
OnInit
,
OnDestroy
{
export
class
SignatureComponent
implements
OnInit
,
OnDestroy
,
AfterViewInit
{
hiringBasicInfoId
:
any
;
hiringBasicInfoId
:
any
;
signatureImage
:
string
;
signatureImage
:
string
;
signaturePadOptions
:
any
;
signaturePadOptions
:
any
;
imgStr
:
any
;
imgStr
:
any
;
isNeedAlert
:
boolean
;
isNeedAlert
:
boolean
;
dialogInfo
:
any
;
dialogInfo
:
any
;
isSignatureShow
:
boolean
;
isSignatureShow
:
boolean
=
false
;
viewApprovalInfo
:
any
;
viewApprovalInfo
:
any
;
approveStatus
:
any
;
approveStatus
:
any
;
// 获取页面适用类型
// 获取页面适用类型
...
@@ -36,6 +36,14 @@ export class SignatureComponent implements OnInit,OnDestroy {
...
@@ -36,6 +36,14 @@ export class SignatureComponent implements OnInit,OnDestroy {
}
}
ngAfterViewInit
():
void
{
setTimeout
(()
=>
{
this
.
creatRecord
()},
500
);
this
.
timerId
=
setInterval
(()
=>
{
if
(
this
.
events
.
length
>
100
){
this
.
saveRecord
()
}
},
10
*
1000
);
}
ngOnDestroy
():
void
{
ngOnDestroy
():
void
{
clearInterval
(
this
.
timerId
)
clearInterval
(
this
.
timerId
)
}
}
...
@@ -75,12 +83,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
...
@@ -75,12 +83,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
this
.
queryWholeInfo
(
this
.
hiringBasicInfoId
)
this
.
queryWholeInfo
(
this
.
hiringBasicInfoId
)
this
.
viewApprovalInfo
=
sessionStorage
.
getItem
(
'viewApprovalInfo'
);
this
.
viewApprovalInfo
=
sessionStorage
.
getItem
(
'viewApprovalInfo'
);
}
}
this
.
creatRecord
();
this
.
timerId
=
setInterval
(()
=>
{
if
(
this
.
events
.
length
>
50
){
this
.
saveRecord
()
}
},
10
*
1000
);
}
}
next
(){
next
(){
...
@@ -114,7 +116,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
...
@@ -114,7 +116,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
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'
]){
// 确认提交
// 确认提交
this
.
saveRecord
();
this
.
router
.
navigate
([
'/eNotice_submit'
]);
this
.
router
.
navigate
([
'/eNotice_submit'
]);
}
else
{
}
else
{
this
.
openPopInfo
(
res
[
'message'
]);
this
.
openPopInfo
(
res
[
'message'
]);
...
@@ -134,7 +135,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
...
@@ -134,7 +135,6 @@ export class SignatureComponent implements OnInit,OnDestroy {
this
.
myService
.
signCommitment
(
param
).
subscribe
((
res
)
=>
{
this
.
myService
.
signCommitment
(
param
).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
// 确认提交
// 确认提交
this
.
saveRecord
();
this
.
router
.
navigate
([
'/eNotice_submit'
]);
this
.
router
.
navigate
([
'/eNotice_submit'
]);
}
else
{
}
else
{
this
.
openPopInfo
(
res
[
'message'
]);
this
.
openPopInfo
(
res
[
'message'
]);
...
...
src/app/my/e-notice/e-notice.component.html
View file @
e9cb8ae7
<div
class=
"csNoticeContent"
*
ngIf=
"pageType
==1
"
>
<div
class=
"csNoticeContent"
*
ngIf=
"pageType
!=2
"
>
<h3
style=
"padding-top:15px;border-top:1px solid #dcdcdc"
>
上海银盾保险经纪有限公司客户告知书
</h3>
<h3
style=
"padding-top:15px;border-top:1px solid #dcdcdc"
>
上海银盾保险经纪有限公司客户告知书
</h3>
<p
style=
"margin-bottom: 10px;"
>
尊敬的客户:
</p>
<p
style=
"margin-bottom: 10px;"
>
尊敬的客户:
</p>
<p
style=
"text-indent: 32px;"
>
感谢您委托上海银盾保险经纪有限公司代为办理保险业务,本公司是基于投保人的利益,为投保人与保险公司订立保险合同提供中介服务的保险专业中介机构。为了保护您的合法权益,按照《保险经纪人监管规定》的要求,本公司履行客户告知义务,将有关事项告知如下,请仔细阅读:
</p>
<p
style=
"text-indent: 32px;"
>
感谢您委托上海银盾保险经纪有限公司代为办理保险业务,本公司是基于投保人的利益,为投保人与保险公司订立保险合同提供中介服务的保险专业中介机构。为了保护您的合法权益,按照《保险经纪人监管规定》的要求,本公司履行客户告知义务,将有关事项告知如下,请仔细阅读:
</p>
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
<div
class=
"signInput"
><span
class=
"noBorder"
>
投保人:
</span></div>
<div
class=
"signInput"
><span
class=
"noBorder"
>
投保人:
</span></div>
<div
class=
"signInput"
><span
class=
"noBorder"
>
投保人亲签:
</span></div>
<div
class=
"signInput"
><span
class=
"noBorder"
>
投保人亲签:
</span></div>
<div
class=
"signInput"
><span
class=
"noBorder"
>
日 期:
</span></div>
<div
class=
"signInput"
><span
class=
"noBorder"
>
日 期:
</span></div>
<div
class=
"send"
>
<div
class=
"send"
*
ngIf=
"agreeFlag"
>
<div
class=
"signBtn"
(
click
)="
agree
(
1
)"
>
同意,并签署
</div>
<div
class=
"signBtn"
(
click
)="
agree
(
1
)"
>
同意,并签署
</div>
</div>
</div>
</div>
</div>
...
...
src/app/my/e-notice/e-notice.component.ts
View file @
e9cb8ae7
import
{
Component
,
OnDestroy
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
Input
,
OnDestroy
,
OnInit
}
from
'@angular/core'
;
import
{
ActivatedRoute
}
from
"@angular/router"
;
import
{
ActivatedRoute
}
from
"@angular/router"
;
import
{
Router
}
from
'@angular/router'
;
import
{
Router
}
from
'@angular/router'
;
import
{
MyService
}
from
'../my.service'
;
import
{
MyService
}
from
'../my.service'
;
...
@@ -10,6 +10,7 @@ declare var rrweb:any;
...
@@ -10,6 +10,7 @@ declare var rrweb:any;
styleUrls
:
[
'./e-notice.component.scss'
]
styleUrls
:
[
'./e-notice.component.scss'
]
})
})
export
class
ENoticeComponent
implements
OnInit
,
OnDestroy
{
export
class
ENoticeComponent
implements
OnInit
,
OnDestroy
{
@
Input
()
agreeFlag
:
boolean
=
true
;
pageType
:
any
;
pageType
:
any
;
timerId
:
any
;
timerId
:
any
;
events
:
Array
<
any
>
;
events
:
Array
<
any
>
;
...
...
src/app/my/my-business-detail/my-business-detail.component.html
View file @
e9cb8ae7
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
</div>
</div>
<!-- 客户告知书 -->
<!-- 客户告知书 -->
<div
class=
"content"
*
ngIf=
"selectedId===5"
>
<div
class=
"content"
*
ngIf=
"selectedId===5"
>
<ydlife-e-notice></ydlife-e-notice>
<ydlife-e-notice
[
agreeFlag
]="
false
"
></ydlife-e-notice>
<div
class=
"send"
>
<div
class=
"send"
>
<div
(
click
)="
eNoticeState=
true;"
>
发送给客户签署
</div>
<div
(
click
)="
eNoticeState=
true;"
>
发送给客户签署
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment