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
3865ab71
Commit
3865ab71
authored
Mar 11, 2020
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售跟进样式
parent
a22c4e4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
13 deletions
+32
-13
src/app/my/my-business-detail/my-business-detail.component.html
+7
-1
src/app/my/my-business-detail/my-business-detail.component.scss
+23
-11
src/app/my/my-business-detail/my-business-detail.component.ts
+2
-1
No files found.
src/app/my/my-business-detail/my-business-detail.component.html
View file @
3865ab71
...
@@ -92,10 +92,15 @@
...
@@ -92,10 +92,15 @@
</div>
</div>
<div
class=
"content"
*
ngIf=
"selectedId===3"
>
<div
class=
"content"
*
ngIf=
"selectedId===3"
>
<div
class=
"add"
>
+
</div>
<div
class=
"add"
>
+
</div>
<ul>
<ul
class=
"record"
style=
"margin-top: 15px;"
>
<li>
日期
</li>
<li>
日期
</li>
<li>
商机状态
</li>
<li>
商机状态
</li>
<li>
备注
</li>
<li>
备注
</li>
</ul>
</ul>
<ul
class=
"record"
*
ngFor=
"let opportunityRecordItem of opportunityRecordInfos"
>
<li>
{{(opportunityRecordItem.updatedAt).substr(0,10)}}
</li>
<li>
{{lifeCommonService.checkStr(opportunityRecordItem.mdDropOptionId)}}
</li>
<li>
{{opportunityRecordItem.salesNotice}}
</li>
</ul>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/my/my-business-detail/my-business-detail.component.scss
View file @
3865ab71
...
@@ -90,17 +90,7 @@
...
@@ -90,17 +90,7 @@
background
:
rgba
(
91
,
184
,
92
,
0
.1
);
background
:
rgba
(
91
,
184
,
92
,
0
.1
);
}
}
}
}
.add
{
width
:
30px
;
height
:
30px
;
line-height
:
30px
;
border-radius
:
50%
;
text-align
:
center
;
border
:
1px
#ddd
solid
;
position
:
absolute
;
right
:
10px
;
top
:
-5px
;
}
.answerContent
{
.answerContent
{
border-bottom
:
1px
#ddd
solid
;
border-bottom
:
1px
#ddd
solid
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
...
@@ -116,5 +106,27 @@
...
@@ -116,5 +106,27 @@
.answerContent
:last-child
{
.answerContent
:last-child
{
border-bottom
:
0
;
border-bottom
:
0
;
}
}
.add
{
width
:
30px
;
height
:
30px
;
line-height
:
30px
;
border-radius
:
50%
;
text-align
:
center
;
border
:
1px
#ddd
solid
;
position
:
absolute
;
right
:
10px
;
top
:
-5px
;
}
.record
{
display
:
flex
;
list-style
:
none
;
justify-content
:
space-between
;
li
{
width
:
30%
;
text-align
:
center
;
height
:
30px
;
line-height
:
30px
;
}
}
}
}
}
}
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
3865ab71
...
@@ -24,6 +24,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -24,6 +24,7 @@ export class MyBusinessDetailComponent implements OnInit {
provinces
:
Array
<
any
>
;
provinces
:
Array
<
any
>
;
//返回的标签列表
//返回的标签列表
opportunityCustomerTags
:
Array
<
any
>
;
opportunityCustomerTags
:
Array
<
any
>
;
opportunityRecordInfos
:
Array
<
any
>
;
constructor
(
private
activateRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
constructor
(
private
activateRoute
:
ActivatedRoute
,
private
myService
:
MyService
,
public
lifeCommonService
:
LifeCommonService
)
{
public
lifeCommonService
:
LifeCommonService
)
{
this
.
titleList
=
[
this
.
titleList
=
[
...
@@ -68,7 +69,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -68,7 +69,7 @@ export class MyBusinessDetailComponent implements OnInit {
this
.
opportunitySurveyAnswersList
=
res
[
'data'
][
'opportunityConsultationInfo'
][
'opportunitySurveyAnswersList'
]
this
.
opportunitySurveyAnswersList
=
res
[
'data'
][
'opportunityConsultationInfo'
][
'opportunitySurveyAnswersList'
]
this
.
editBusiness
=
res
[
'data'
][
'opportunityBasicInformationInfo'
];
this
.
editBusiness
=
res
[
'data'
][
'opportunityBasicInformationInfo'
];
this
.
opportunityCustomerTags
=
res
[
'data'
][
'opportunityBasicInformationInfo'
][
'opportunityCustomerTags'
]
this
.
opportunityCustomerTags
=
res
[
'data'
][
'opportunityBasicInformationInfo'
][
'opportunityCustomerTags'
]
this
.
opportunityRecordInfos
=
res
[
'data'
][
'opportunityRecordInfos'
];
if
(
this
.
opportunityCustomerTags
.
length
>
0
){
if
(
this
.
opportunityCustomerTags
.
length
>
0
){
for
(
let
i
=
0
;
i
<
this
.
opportunityCustomerTags
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
this
.
opportunityCustomerTags
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
this
.
tagList
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
this
.
tagList
.
length
;
j
++
){
...
...
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