Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Damon
study
Commits
94b5e19c
Commit
94b5e19c
authored
Oct 21, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 领取奖励接口增加传入机构id
parent
8375ed39
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
index.vue
src/components/question-bank-cell/index.vue
+1
-1
questionnaire.vue
src/pages/advertisement/questionnaire.vue
+1
-1
results.vue
src/pages/advertisement/results.vue
+5
-1
No files found.
src/components/question-bank-cell/index.vue
View file @
94b5e19c
...
...
@@ -174,7 +174,7 @@ export default {
this
.
$emit
(
'action'
,
this
.
questionData
,
this
.
type
)
},
handleClickCell
()
{
this
.
$emit
(
'click'
,
this
.
questionData
,
this
.
info
.
echoMap
&&
this
.
info
.
echoMap
.
cardId
)
this
.
$emit
(
'click'
,
this
.
questionData
,
this
.
info
.
echoMap
&&
this
.
info
.
echoMap
.
cardId
,
this
.
info
.
echoMap
&&
this
.
info
.
echoMap
.
institutionId
)
},
getTodayDate
()
{
let
day
=
new
Date
()
...
...
src/pages/advertisement/questionnaire.vue
View file @
94b5e19c
...
...
@@ -64,7 +64,7 @@ export default {
{
text
:
'抖音/快手'
,
checked
:
false
},
{
text
:
'培训机构'
,
checked
:
false
},
{
text
:
'他人推荐'
,
checked
:
false
},
{
text
:
'
他人推荐
'
,
checked
:
false
},
{
text
:
'
其他
'
,
checked
:
false
},
],
},
{
...
...
src/pages/advertisement/results.vue
View file @
94b5e19c
...
...
@@ -52,6 +52,7 @@ export default {
loading
:
false
,
selectedData
:
{},
cardData
:
{},
institutionData
:
{},
surveyId
:
1
,
// 问卷id
}
},
...
...
@@ -91,9 +92,10 @@ export default {
this
.
loadList
()
// 获取已选题库列表
},
methods
:
{
handleClickCell
(
questionData
,
cardData
)
{
handleClickCell
(
questionData
,
cardData
,
institutionData
)
{
this
.
selectedData
=
questionData
this
.
cardData
=
cardData
||
{}
this
.
institutionData
=
institutionData
||
{}
},
handleClick
()
{
if
(
!
this
.
selected
)
return
...
...
@@ -104,6 +106,7 @@ export default {
cardId
:
this
.
cardData
.
id
,
sourse
:
'SURVEY'
,
// 问卷调查
bizId
:
this
.
surveyId
,
// 问卷id
institutionData
:
this
.
institutionData
.
id
// 机构id
}
let
trackParams
=
{
openId
:
this
.
openId
,
...
...
@@ -136,6 +139,7 @@ export default {
if
(
this
.
list
.
length
==
1
)
{
this
.
selectedData
=
this
.
list
[
0
].
echoMap
.
questionWarehouseId
this
.
cardData
=
this
.
list
[
0
].
echoMap
.
cardId
||
{}
this
.
institutionData
=
this
.
list
[
0
].
echoMap
.
institutionData
||
{}
}
})
.
catch
((
err
)
=>
{
...
...
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