Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
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
xulili
ybf
Commits
f1631122
Commit
f1631122
authored
5 years ago
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专柜维护粉丝获取修改
parent
9aaf5f3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
+13
-15
counterInfo.vue
wx_application/src/views/counter/counterInfo.vue
+12
-11
index.vue
wx_application/src/views/mainSale/active/main/index.vue
+1
-4
No files found.
wx_application/src/views/counter/counterInfo.vue
View file @
f1631122
...
...
@@ -47,12 +47,12 @@ export default {
}
},
mounted
()
{
this
.
userId
=
sessionStorage
.
getItem
(
'userId'
)
this
.
getDirector
(
this
.
userId
)
this
.
userId
=
sessionStorage
.
getItem
(
'userId'
)
this
.
oyStallCode
=
sessionStorage
.
getItem
(
'oyStallCode'
)
console
.
log
(
sessionStorage
.
getItem
(
'oyStallCode'
),
'专柜code1'
)
this
.
getAgentAuth
()
this
.
getDetail
()
this
.
getDirector
(
this
.
userId
)
},
methods
:
{
getDetail
()
{
...
...
@@ -85,6 +85,15 @@ export default {
this
.
$router
.
push
(
"counterHome"
)
}
},
getDirector
(
userId
)
{
getDirector
({
userId
}).
then
(
res
=>
{
if
(
res
.
data
==
true
)
{
this
.
flag
=
1
}
else
{
this
.
flag
=
2
}
})
},
handlePushInfo
()
{
if
(
this
.
info
==
1
)
{
this
.
$router
.
push
(
'pushStoreInfo'
)
...
...
@@ -104,16 +113,8 @@ export default {
})
}
}
},
getDirector
(
userId
)
{
getDirector
({
userId
}).
then
(
res
=>
{
if
(
res
.
data
==
true
)
{
this
.
flag
=
1
}
else
{
this
.
flag
=
2
}
})
}
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
wx_application/src/views/mainSale/active/main/index.vue
View file @
f1631122
...
...
@@ -226,15 +226,12 @@ export default {
}
if
(
sessionStorage
.
getItem
(
'allFans'
))
{
this
.
test
.
barInfo
.
fans
=
sessionStorage
.
getItem
(
'allFans'
)
console
.
log
(
sessionStorage
.
getItem
(
'allFans'
),
'已有全部粉丝'
)
}
if
(
sessionStorage
.
getItem
(
'newFans'
))
{
this
.
test
.
barInfo
.
newFans
=
sessionStorage
.
getItem
(
'allFans'
)
console
.
log
(
sessionStorage
.
getItem
(
'newFans'
),
'已有新增粉丝'
)
this
.
test
.
barInfo
.
newFans
=
sessionStorage
.
getItem
(
'newFans'
)
}
if
(
sessionStorage
.
getItem
(
'allNewFans'
))
{
this
.
test
.
barInfo
.
allNewFans
=
sessionStorage
.
getItem
(
'allNewFans'
)
console
.
log
(
sessionStorage
.
getItem
(
'allNewFans'
),
'已有店铺新增粉丝'
)
}
}
else
{
this
.
zReadyUserId
()
...
...
This diff is collapsed.
Click to expand it.
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