Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
e8f92dc3
Commit
e8f92dc3
authored
Nov 04, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文章点赞
parent
a11cd458
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
contentdetail.vue
src/views/conmanagementpage/contentdetail.vue
+1
-1
dialogintegralbar.vue
src/views/integralpage/dialogintegralbar.vue
+15
-0
No files found.
src/views/conmanagementpage/contentdetail.vue
View file @
e8f92dc3
...
...
@@ -277,7 +277,7 @@
this
.
getselectContentById
(
true
);
}
if
(
params
.
addOrSubtractHot
){
this
.
$refs
.
childintegral
.
getintegralCo
de
(
'ITV005'
,
row
?
row
.
id
:
params
.
contentId
,
row
?
4
:
3
);
this
.
$refs
.
childintegral
.
getintegralCo
ntent
(
'ITV005'
,
row
?
row
.
id
:
params
.
contentId
,
row
?
4
:
3
);
}
}
else
{
this
.
$message
.
error
(
response
.
msg
);
...
...
src/views/integralpage/dialogintegralbar.vue
View file @
e8f92dc3
...
...
@@ -68,6 +68,21 @@
})
}
},
//文章积分签到
getintegralContent
(
datatype
,
id
,
state
)
{
api
.
integralCode
(
datatype
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
result
!=
0
){
this
.
visible
=
true
;
this
.
integral
=
res
.
result
;
}
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
}).
catch
((
err
)
=>
{
this
.
$message
.
error
(
err
);
})
},
//积分列表首次进入
getgiveEmpRandomIntegral
(
state
){
api
.
giveEmpRandomIntegral
({
isFristGift
:
state
}).
then
(
response
=>
{
...
...
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