Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allCampaign
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
Administrator
allCampaign
Commits
17457033
Commit
17457033
authored
Mar 06, 2020
by
sweet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人项目过来填写问卷不需要填写姓名和手机号
parent
8c1c4fb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
questionnaire/src/app/live/live.component.ts
+16
-15
No files found.
questionnaire/src/app/live/live.component.ts
View file @
17457033
...
...
@@ -169,6 +169,7 @@ export class LiveComponent implements OnInit {
}
next
(
type
)
{
debugger
;
if
(
this
.
nextBtn
==
true
)
{
const
param
=
{
survey
:
{
...
...
@@ -200,21 +201,21 @@ export class LiveComponent implements OnInit {
return
;
}
}
//
if (double12_customerInfo) {
//
param.survey.customerId = double12_customerInfo.customerId;
//
const orderIdParam = {
//
name: double12_customerInfo.customerName,
//
customerId: double12_customerInfo.customerId,
//
campaignInfo: {
//
"campaignCode": JSON.parse(sessionStorage.getItem('campaignInfo'))['campaignCode'],
//
"campaignTaskCode": JSON.parse(sessionStorage.getItem('campaignInfo'))['campaignTaskCode']
//
}
//
}
//
if (type !== 1 && (JSON.parse(sessionStorage.getItem('campaignInfo'))['campaignTaskCode'] == '12task1' || JSON.parse(sessionStorage.getItem('campaignInfo'))['campaignTaskCode'] == 'AItask1')) {
//
this.getOrderId(orderIdParam);
//
return;
//
}
//
}
if
(
double12_customerInfo
)
{
param
.
survey
.
customerId
=
double12_customerInfo
.
customerId
;
const
orderIdParam
=
{
name
:
double12_customerInfo
.
customerName
,
customerId
:
double12_customerInfo
.
customerId
,
campaignInfo
:
{
"campaignCode"
:
JSON
.
parse
(
sessionStorage
.
getItem
(
'campaignInfo'
))[
'campaignCode'
],
"campaignTaskCode"
:
JSON
.
parse
(
sessionStorage
.
getItem
(
'campaignInfo'
))[
'campaignTaskCode'
]
}
}
if
(
type
!==
1
&&
(
JSON
.
parse
(
sessionStorage
.
getItem
(
'campaignInfo'
))[
'campaignTaskCode'
]
==
'12task1'
||
JSON
.
parse
(
sessionStorage
.
getItem
(
'campaignInfo'
))[
'campaignTaskCode'
]
==
'AItask1'
))
{
this
.
getOrderId
(
orderIdParam
);
return
;
}
}
if
(
!
param
||
!
param
.
survey
.
customerId
||
param
.
survey
.
customerId
===
'null'
||
param
.
survey
.
customerId
===
'undefined'
)
{
this
.
loginModalFlag
=
true
;
return
;
...
...
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