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
ace811b3
Commit
ace811b3
authored
May 12, 2020
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增商机保存接口对接
parent
637975d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
src/app/my/my-business-detail/my-business-detail.component.html
+7
-5
src/app/my/my-business-detail/my-business-detail.component.ts
+1
-1
No files found.
src/app/my/my-business-detail/my-business-detail.component.html
View file @
ace811b3
...
@@ -42,9 +42,10 @@
...
@@ -42,9 +42,10 @@
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
血型
</span>
<span>
血型
</span>
<select
name=
"bloodTypeId"
id=
"bloodTypeId"
class=
"form-control"
[
disabled
]="
readonlyFlag
"
>
<select
name=
"bloodTypeId"
id=
"bloodTypeId"
class=
"form-control"
[
disabled
]="
readonlyFlag
"
[(
ngModel
)]="
editBusiness
.
bloodTypeId
"
>
<option
value=
""
>
{{readonlyFlag ?'暂无血型信息':'请选择血型'}}
</option>
<option
value=
""
>
{{readonlyFlag ?'暂无血型信息':'请选择血型'}}
</option>
<option
*
ngFor=
"let businessBloodItem of businessBloodList"
value
=
"businessBloodItem.id"
>
<option
*
ngFor=
"let businessBloodItem of businessBloodList"
[
value
]
="
businessBloodItem
.
id
"
>
{{businessBloodItem.dropOptionName}}
</option>
{{businessBloodItem.dropOptionName}}
</option>
</select>
</select>
<!--<input class="form-control" type="text" placeholder="{{readonlyFlag ?'暂无血型信息':'请选择血型'}}"-->
<!--<input class="form-control" type="text" placeholder="{{readonlyFlag ?'暂无血型信息':'请选择血型'}}"-->
...
@@ -52,9 +53,10 @@
...
@@ -52,9 +53,10 @@
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
星座
</span>
<span>
星座
</span>
<select
name=
"businessZodiacId"
id=
"businessZodiacId"
class=
"form-control"
[
disabled
]="
readonlyFlag
"
>
<select
name=
"businessZodiacId"
id=
"businessZodiacId"
class=
"form-control"
[
disabled
]="
readonlyFlag
"
[(
ngModel
)]="
editBusiness
.
zodiacTypeId
"
>
<option
value=
""
>
{{readonlyFlag ?'暂无星座信息':'请选择星座'}}
</option>
<option
value=
""
>
{{readonlyFlag ?'暂无星座信息':'请选择星座'}}
</option>
<option
*
ngFor=
"let businessZodiacItem of businessZodiacList"
value
=
"businessZodiacItem.id"
>
<option
*
ngFor=
"let businessZodiacItem of businessZodiacList"
[
value
]
="
businessZodiacItem
.
id
"
>
{{businessZodiacItem.dropOptionName}}
</option>
{{businessZodiacItem.dropOptionName}}
</option>
</select>
</select>
<!--<input class="form-control" type="text" placeholder="{{readonlyFlag ?'暂无星座信息':'请选择星座'}}"-->
<!--<input class="form-control" type="text" placeholder="{{readonlyFlag ?'暂无星座信息':'请选择星座'}}"-->
...
@@ -69,7 +71,7 @@
...
@@ -69,7 +71,7 @@
<i
class=
"iconfont icon-dianhua"
style=
"color: #e10d0d;"
></i>
<i
class=
"iconfont icon-dianhua"
style=
"color: #e10d0d;"
></i>
{{editBusiness.mobileNo}}
</a>
{{editBusiness.mobileNo}}
</a>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
editBusiness
.
mobileNo
"
*
ngIf=
"opportunityId==0"
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
editBusiness
.
mobileNo
"
*
ngIf=
"opportunityId==0"
placeholder=
"请输入手机号"
/>
placeholder=
"请输入手机号"
maxlength=
"11"
/>
</div>
</div>
<div
class=
"contentItem"
>
<div
class=
"contentItem"
>
<span>
微信
</span>
<span>
微信
</span>
...
...
src/app/my/my-business-detail/my-business-detail.component.ts
View file @
ace811b3
...
@@ -299,7 +299,7 @@ export class MyBusinessDetailComponent implements OnInit {
...
@@ -299,7 +299,7 @@ export class MyBusinessDetailComponent implements OnInit {
}
}
this
.
editBusiness
=
{
this
.
editBusiness
=
{
...
this
.
editBusiness
,
...
this
.
editBusiness
,
opportunityCustomerTags
:
newTag
,
opportunityCustomerTags
:
newTag
?
newTag
:
[]
,
assignedPractitionerId
:
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerId
assignedPractitionerId
:
JSON
.
parse
(
localStorage
.
getItem
(
'lifeCustomerInfo'
)).
practitionerId
}
}
this
.
myService
.
ownOpportunityBasicInformationSave
(
this
.
editBusiness
).
subscribe
((
res
)
=>
{
this
.
myService
.
ownOpportunityBasicInformationSave
(
this
.
editBusiness
).
subscribe
((
res
)
=>
{
...
...
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