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
4de97899
Commit
4de97899
authored
Oct 27, 2021
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享
parent
16ff06a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
src/app/common/guide-page/guide-page.component.html
+1
-1
src/app/common/guide-page/guide-page.component.ts
+4
-2
src/app/my/my-business-detail/my-business-detail.component.html
+0
-1
src/app/my/my-business-detail/my-business-detail.component.ts
+1
-3
No files found.
src/app/common/guide-page/guide-page.component.html
View file @
4de97899
<div
class=
"guidePageContainer"
(
click
)="
closeGuidePage
()"
>
<div
class=
"guidePageContainer"
(
click
)="
closeGuidePage
()"
>
<div
class=
"guideTips"
>
<div
class=
"guideTips"
>
<p>
请点击右上角菜单
</p>
<p>
请点击右上角菜单
</p>
<p>
{{
tips ? tips
:'分享给朋友'}}
</p>
<p>
{{
eNoticeId ? '分享给客户'
:'分享给朋友'}}
</p>
</div>
</div>
<i
class=
"iconfont icon-yindaojiantou"
></i>
<i
class=
"iconfont icon-yindaojiantou"
></i>
</div>
</div>
src/app/common/guide-page/guide-page.component.ts
View file @
4de97899
import
{
Component
,
Input
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
LifeCommonService
}
from
"../life-common.service"
;
import
{
LifeCommonService
}
from
"../life-common.service"
;
@
Component
({
@
Component
({
...
@@ -7,12 +7,14 @@ import { LifeCommonService } from "../life-common.service";
...
@@ -7,12 +7,14 @@ import { LifeCommonService } from "../life-common.service";
styleUrls
:
[
'./guide-page.component.scss'
]
styleUrls
:
[
'./guide-page.component.scss'
]
})
})
export
class
GuidePageComponent
implements
OnInit
{
export
class
GuidePageComponent
implements
OnInit
{
@
Input
()
tips
:
string
;
eNoticeId
:
string
;
constructor
(
private
lifeCommonService
:
LifeCommonService
)
{
constructor
(
private
lifeCommonService
:
LifeCommonService
)
{
}
}
ngOnInit
()
{
ngOnInit
()
{
// 判断是分享给客户还是分享给朋友
this
.
eNoticeId
=
sessionStorage
.
getItem
(
'eNoticeId'
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
closeGuidePage
();
this
.
closeGuidePage
();
},
6000
);
},
6000
);
...
...
src/app/my/my-business-detail/my-business-detail.component.html
View file @
4de97899
...
@@ -293,4 +293,3 @@
...
@@ -293,4 +293,3 @@
</div>
</div>
<ydlife-toast
*
ngIf=
"toastDialog"
[
toastInfo
]="
toastInfo
"
></ydlife-toast>
<ydlife-toast
*
ngIf=
"toastDialog"
[
toastInfo
]="
toastInfo
"
></ydlife-toast>
<ydlife-alert
*
ngIf=
"isNeedAlert"
[
dialogInfo
]="
dialogInfo
"
(
popInfo
)="
getPopInfo
()"
></ydlife-alert>
<ydlife-alert
*
ngIf=
"isNeedAlert"
[
dialogInfo
]="
dialogInfo
"
(
popInfo
)="
getPopInfo
()"
></ydlife-alert>
<ydlife-guide-page
*
ngIf=
"shareENotice"
[
tips
]="'分享给客户'"
></ydlife-guide-page>
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
4de97899
...
@@ -66,8 +66,6 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -66,8 +66,6 @@ export class MyBusinessDetailComponent implements OnInit {
practitionerId
:
any
;
practitionerId
:
any
;
// 电子告知书弹窗显示
// 电子告知书弹窗显示
eNoticeState
:
boolean
=
false
;
eNoticeState
:
boolean
=
false
;
// 分享
shareENotice
:
boolean
=
false
;
deviceType
:
number
;
deviceType
:
number
;
// 获取经纪人信息
// 获取经纪人信息
lifeCustomerInfo
:
any
;
lifeCustomerInfo
:
any
;
...
@@ -615,6 +613,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -615,6 +613,7 @@ export class MyBusinessDetailComponent implements OnInit {
// 发送电子客户告知书,opportunityIdID = CustomerId
// 发送电子客户告知书,opportunityIdID = CustomerId
sendENotice
(){
sendENotice
(){
event
.
stopPropagation
();
const
param
=
{
const
param
=
{
practitionerId
:
this
.
lifeCustomerInfo
[
'practitionerId'
],
practitionerId
:
this
.
lifeCustomerInfo
[
'practitionerId'
],
leadsAssignedId
:
this
.
leadsAssignedId
,
leadsAssignedId
:
this
.
leadsAssignedId
,
...
@@ -626,7 +625,6 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -626,7 +625,6 @@ export class MyBusinessDetailComponent implements OnInit {
this
.
myService
.
saveInformedSheet
(
param
).
subscribe
(
res
=>
{
this
.
myService
.
saveInformedSheet
(
param
).
subscribe
(
res
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
if
(
this
.
deviceType
==
3
){
if
(
this
.
deviceType
==
3
){
this
.
shareENotice
=
true
;
this
.
eNoticeState
=
false
;
this
.
eNoticeState
=
false
;
const
imgUrl
=
this
.
lifeCustomerInfo
.
practitionerBasicInfo
.
headImagePath
?
this
.
lifeCustomerInfo
.
practitionerBasicInfo
.
headImagePath
:
`
${
environment
.
ORIGINNAME
}
/ydLife/assets/images/icons/meng.png`
;
const
imgUrl
=
this
.
lifeCustomerInfo
.
practitionerBasicInfo
.
headImagePath
?
this
.
lifeCustomerInfo
.
practitionerBasicInfo
.
headImagePath
:
`
${
environment
.
ORIGINNAME
}
/ydLife/assets/images/icons/meng.png`
;
this
.
lifeCommonService
.
shareStatusPublish
(
1
);
this
.
lifeCommonService
.
shareStatusPublish
(
1
);
...
...
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