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
ba982ef6
Commit
ba982ef6
authored
Jul 13, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SFP智能财策集成到ydLife中
parent
bb682571
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
+37
-5
src/app/my/my-business-detail/my-business-detail.component.html
+16
-2
src/app/my/my-business-detail/my-business-detail.component.ts
+20
-2
src/app/my/my-business/my-business.component.ts
+1
-1
No files found.
src/app/my/my-business-detail/my-business-detail.component.html
View file @
ba982ef6
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
</div>
</div>
</div>
</div>
<!-- 咨询问卷 -->
<!-- 咨询问卷 -->
<div
class=
"content"
*
ngIf=
"selectedId===2"
>
<div
class=
"content"
*
ngIf=
"selectedId===2
&& isSfpShow == false
"
>
<div
style=
"text-align: center;font-size: 16px;margin-top: 10px;"
<div
style=
"text-align: center;font-size: 16px;margin-top: 10px;"
*
ngIf=
"opportunitySurveyAnswersList?.length==0 || !opportunitySurveyAnswersList"
>
*
ngIf=
"opportunitySurveyAnswersList?.length==0 || !opportunitySurveyAnswersList"
>
暂无问卷信息
</div>
暂无问卷信息
</div>
...
@@ -198,8 +198,14 @@
...
@@ -198,8 +198,14 @@
<div
class=
"questionTitle"
>
{{surveyItem.questionName}}
</div>
<div
class=
"questionTitle"
>
{{surveyItem.questionName}}
</div>
<div
class=
"questionContent"
>
{{surveyItem.optionName}}
</div>
<div
class=
"questionContent"
>
{{surveyItem.optionName}}
</div>
</div>
</div>
</div>
<!-- SFP咨询问卷 -->
<div
class=
"content"
*
ngIf=
"selectedId===2 && isSfpShow == true"
>
<iframe
src=
"http://localhost:4200/salesDetail"
style=
"height: 100%; width: 100%;flex-grow: 1;"
>
</iframe>
</div>
</div>
<!-- 客户告知书 -->
<!-- 客户告知书 -->
<div
class=
"content"
*
ngIf=
"selectedId===5"
>
<div
class=
"content"
*
ngIf=
"selectedId===5"
>
<ydlife-e-notice
[
agreeFlag
]="
false
"
></ydlife-e-notice>
<ydlife-e-notice
[
agreeFlag
]="
false
"
></ydlife-e-notice>
...
@@ -267,10 +273,18 @@
...
@@ -267,10 +273,18 @@
(
blur
)="
inputBlur
()"
></div>
(
blur
)="
inputBlur
()"
></div>
</div>
</div>
<div>
<div>
<div>
跟进
时间
</div>
<div>
跟进
日期
</div>
<div><input
style=
"-webkit-appearance: none;"
id=
"time"
class=
"form-control"
type=
"date"
<div><input
style=
"-webkit-appearance: none;"
id=
"time"
class=
"form-control"
type=
"date"
[(
ngModel
)]="
opportunityRecordNoticeDate
"
(
blur
)="
inputBlur
()"
></div>
[(
ngModel
)]="
opportunityRecordNoticeDate
"
(
blur
)="
inputBlur
()"
></div>
</div>
</div>
<div
*
ngIf=
"isSfpShow"
>
<div>
日程开始时间
</div>
<div><input
type=
"text"
id=
"remark"
class=
"form-control"
placeholder=
"输入开始时间"
[(
ngModel
)]="
taskTimeFrom
"
(
blur
)="
inputBlur
()"
></div>
<div>
日程结束时间
</div>
<div><input
type=
"text"
id=
"remark"
class=
"form-control"
placeholder=
"输入结束时间"
[(
ngModel
)]="
taskTimeEnd
"
(
blur
)="
inputBlur
()"
></div>
</div>
<ul
class=
"footer"
>
<ul
class=
"footer"
>
<li
(
click
)="
ownOpportunityRecordSave
()"
>
确定
</li>
<li
(
click
)="
ownOpportunityRecordSave
()"
>
确定
</li>
<li
(
click
)="
closeToast
()"
>
取消
</li>
<li
(
click
)="
closeToast
()"
>
取消
</li>
...
...
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
ba982ef6
...
@@ -17,6 +17,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -17,6 +17,7 @@ export class MyBusinessDetailComponent implements OnInit {
surveyAnswersList
:
Array
<
any
>
;
surveyAnswersList
:
Array
<
any
>
;
readonlyFlag
:
boolean
=
true
;
readonlyFlag
:
boolean
=
true
;
orderId
:
number
;
orderId
:
number
;
sfpMainId
:
number
;
opportunityId
:
number
;
opportunityId
:
number
;
opportunitySurveyAnswersList
:
Array
<
any
>
;
opportunitySurveyAnswersList
:
Array
<
any
>
;
tagList
:
Array
<
any
>
;
tagList
:
Array
<
any
>
;
...
@@ -46,6 +47,10 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -46,6 +47,10 @@ export class MyBusinessDetailComponent implements OnInit {
salesNotice
:
string
;
salesNotice
:
string
;
// 跟进时间
// 跟进时间
opportunityRecordNoticeDate
:
Date
;
opportunityRecordNoticeDate
:
Date
;
//跟进开始时间
taskTimeFrom
:
string
;
//跟进结束时间
taskTimeEnd
:
string
;
// 跟进状态
// 跟进状态
opportunityRecordId
:
number
;
opportunityRecordId
:
number
;
//性别显示
//性别显示
...
@@ -55,6 +60,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -55,6 +60,7 @@ export class MyBusinessDetailComponent implements OnInit {
//显示男
//显示男
maleFlag
:
boolean
;
maleFlag
:
boolean
;
isShow
:
boolean
;
isShow
:
boolean
;
isSfpShow
:
boolean
;
//线索id
//线索id
leadsAssignedId
:
any
;
leadsAssignedId
:
any
;
//控制tab可不可点
//控制tab可不可点
...
@@ -86,6 +92,12 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -86,6 +92,12 @@ export class MyBusinessDetailComponent implements OnInit {
// 获取设备
// 获取设备
this
.
deviceType
=
this
.
lifeCommonService
.
checkDeviceType
();
this
.
deviceType
=
this
.
lifeCommonService
.
checkDeviceType
();
this
.
orderId
=
this
.
activateRoute
.
snapshot
.
queryParams
[
'orderId'
];
this
.
orderId
=
this
.
activateRoute
.
snapshot
.
queryParams
[
'orderId'
];
this
.
sfpMainId
=
this
.
activateRoute
.
snapshot
.
queryParams
[
'sfpMainId'
];
if
(
this
.
sfpMainId
){
this
.
isSfpShow
=
true
;
}
else
{
this
.
isSfpShow
=
false
;
}
//商机对应的客户id
//商机对应的客户id
this
.
opportunityId
=
+
this
.
activateRoute
.
snapshot
.
paramMap
.
get
(
'id'
);
this
.
opportunityId
=
+
this
.
activateRoute
.
snapshot
.
paramMap
.
get
(
'id'
);
//商机id
//商机id
...
@@ -165,7 +177,8 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -165,7 +177,8 @@ export class MyBusinessDetailComponent implements OnInit {
const
detailParam
=
{
const
detailParam
=
{
opportunityId
:
this
.
opportunityId
?
Number
(
this
.
opportunityId
)
:
null
,
opportunityId
:
this
.
opportunityId
?
Number
(
this
.
opportunityId
)
:
null
,
orderId
:
this
.
orderId
?
Number
(
this
.
orderId
)
:
null
,
orderId
:
this
.
orderId
?
Number
(
this
.
orderId
)
:
null
,
practitionerId
:
this
.
practitionerId
practitionerId
:
this
.
practitionerId
,
sfpMainId
:
this
.
sfpMainId
?
Number
(
this
.
sfpMainId
)
:
null
}
}
this
.
myService
.
ownOpportunityDetailQuery
(
detailParam
).
subscribe
((
res
)
=>
{
this
.
myService
.
ownOpportunityDetailQuery
(
detailParam
).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
...
@@ -538,7 +551,11 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -538,7 +551,11 @@ export class MyBusinessDetailComponent implements OnInit {
opportunityId
:
this
.
opportunityId
?
Number
(
this
.
opportunityId
)
:
null
,
opportunityId
:
this
.
opportunityId
?
Number
(
this
.
opportunityId
)
:
null
,
mdDropOptionId
:
this
.
opportunityRecordId
?
Number
(
this
.
opportunityRecordId
)
:
null
,
mdDropOptionId
:
this
.
opportunityRecordId
?
Number
(
this
.
opportunityRecordId
)
:
null
,
noticeDate
:
this
.
opportunityRecordNoticeDate
,
noticeDate
:
this
.
opportunityRecordNoticeDate
,
leadsAssignedId
:
this
.
leadsAssignedId
?
Number
(
this
.
leadsAssignedId
)
:
null
leadsAssignedId
:
this
.
leadsAssignedId
?
Number
(
this
.
leadsAssignedId
)
:
null
,
sfpMainId
:
this
.
sfpMainId
?
Number
(
this
.
sfpMainId
)
:
null
,
taskTimeFrom
:
this
.
taskTimeFrom
,
//跟进开始时间
taskTimeEnd
:
this
.
taskTimeEnd
//跟进结束时间
}
}
}
else
{
}
else
{
param
=
opportunityRecordItem
param
=
opportunityRecordItem
...
@@ -553,6 +570,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -553,6 +570,7 @@ export class MyBusinessDetailComponent implements OnInit {
align
:
'center'
align
:
'center'
};
};
this
.
opportunityRecordId
=
this
.
salesNotice
=
this
.
opportunityRecordNoticeDate
=
null
;
this
.
opportunityRecordId
=
this
.
salesNotice
=
this
.
opportunityRecordNoticeDate
=
null
;
this
.
taskTimeFrom
=
this
.
taskTimeEnd
=
null
;
this
.
ownOpportunityDetailQuery
();
this
.
ownOpportunityDetailQuery
();
this
.
isShow
=
false
;
this
.
isShow
=
false
;
this
.
remarkId
=
''
;
this
.
remarkId
=
''
;
...
...
src/app/my/my-business/my-business.component.ts
View file @
ba982ef6
...
@@ -86,7 +86,7 @@ export class MyBusinessComponent implements OnInit {
...
@@ -86,7 +86,7 @@ export class MyBusinessComponent implements OnInit {
isJumpToDetail
(
opportunityId
,
orderId
,
leadsAssignedId
,
businessItem
?:
any
){
isJumpToDetail
(
opportunityId
,
orderId
,
leadsAssignedId
,
businessItem
?:
any
){
if
(
this
.
pageType
==
'business'
){
if
(
this
.
pageType
==
'business'
){
this
.
router
.
navigate
([
`/business/
${
opportunityId
}
`
],
{
queryParams
:
{
orderId
:
orderId
,
leadsAssignedId
:
leadsAssignedId
}
});
this
.
router
.
navigate
([
`/business/
${
opportunityId
}
`
],
{
queryParams
:
{
orderId
:
orderId
,
leadsAssignedId
:
leadsAssignedId
,
sfpMainId
:
businessItem
.
sfpMainId
}
});
}
else
{
}
else
{
if
(
!
this
.
selectedBusiness
){
if
(
!
this
.
selectedBusiness
){
this
.
selectedBusiness
=
businessItem
;
this
.
selectedBusiness
=
businessItem
;
...
...
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