Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
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
leiqingsong
XiTianSenMall
Commits
4c795e1b
Commit
4c795e1b
authored
Apr 01, 2021
by
全球
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进步奖
parent
62dfa728
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
grade.vue
H5/src/views/grade.vue
+2
-3
fastest-progress.vue
H5/src/views/rewards/fastest-progress.vue
+7
-1
No files found.
H5/src/views/grade.vue
View file @
4c795e1b
...
@@ -68,7 +68,6 @@ export default {
...
@@ -68,7 +68,6 @@ export default {
nextLevel
:
""
,
nextLevel
:
""
,
perenct
:
0
,
perenct
:
0
,
diffrentMap
:
{},
diffrentMap
:
{},
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
userId
,
type
:
[
"amount"
,
"recommend"
,
"team"
],
type
:
[
"amount"
,
"recommend"
,
"team"
],
list
:
[
list
:
[
{
{
...
@@ -100,7 +99,7 @@ export default {
...
@@ -100,7 +99,7 @@ export default {
]
]
};
};
},
},
moun
ted
()
{
crea
ted
()
{
this
.
getstatus
();
this
.
getstatus
();
},
},
methods
:
{
methods
:
{
...
@@ -115,7 +114,7 @@ export default {
...
@@ -115,7 +114,7 @@ export default {
this
.
$router
.
push
({
name
:
urlName
});
this
.
$router
.
push
({
name
:
urlName
});
},
},
getstatus
()
{
getstatus
()
{
const
userId
=
this
.
userId
;
const
userId
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
))
.
userId
;
const
_this
=
this
;
const
_this
=
this
;
getForestStatus
(
userId
)
getForestStatus
(
userId
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
...
H5/src/views/rewards/fastest-progress.vue
View file @
4c795e1b
...
@@ -82,7 +82,13 @@ export default {
...
@@ -82,7 +82,13 @@ export default {
getProgressPrizes
().
then
(
res
=>
{
getProgressPrizes
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
_this
.
growthTotal
=
res
.
data
.
growthTotal
;
_this
.
growthTotal
=
res
.
data
.
growthTotal
;
_this
.
prizeVos
=
res
.
data
.
prizeVos
;
_this
.
prizeVos
=
res
.
data
.
prizeVos
.
map
(
item
=>
{
const
temp
=
item
;
temp
.
userId
=
item
.
userId
.
substring
(
0
,
3
)
+
"****"
+
item
.
userId
.
substring
(
7
);
return
temp
;
});
// _this.prizeVos = res.data.prizeVos;
}
else
{
}
else
{
_this
.
growthTotal
=
0
;
_this
.
growthTotal
=
0
;
_this
.
prizeVos
=
[];
_this
.
prizeVos
=
[];
...
...
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