Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 969fa8ed
authored
Jul 31, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改获取门店接口
1 parent
f6f2e7ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/boutiqueDetail/index.vue
src/views/boutiqueDetail/index.vue
View file @
969fa8e
...
...
@@ -67,17 +67,17 @@ export default {
...
mapActions
([
'setBoutiqueMerchantid'
]),
async
init
()
{
this
.
tabObject
=
this
.
$route
.
query
const
{
merchantName
,
year
}
=
this
.
$route
.
query
const
{
year
}
=
this
.
$route
.
query
this
.
year
=
year
// 获取门店列表
const
_merchantList
=
await
this
.
getMerchant
(
merchantName
)
const
_merchantList
=
await
this
.
getMerchant
()
this
.
merchantList
=
_merchantList
},
// 获取门店列表
getMerchant
(
merchantName
)
{
getMerchant
()
{
return
new
Promise
(
resolve
=>
{
let
_merchantList
this
.
api
.
boutique
.
getMerchant
(
{
merchantName
}
).
then
(
res
=>
{
this
.
api
.
boutique
.
getMerchant
().
then
(
res
=>
{
if
(
!
res
.
code
===
'0'
)
{
this
.
openMessage
(
'获取门店列表失败'
)
return
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment