Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
d77e7142
Commit
d77e7142
authored
Sep 28, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c9e582dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
groupBuy.js
src/api/groupBuy.js
+1
-3
groupShare.vue
src/components/groupShare.vue
+3
-0
No files found.
src/api/groupBuy.js
View file @
d77e7142
...
...
@@ -59,9 +59,7 @@ export default {
return
http
.
get
(
`
${
talosHost
}
/api/kdsp/playBill/getMakePicData?
${
qsString
}
`
);
},
getGroupShareInfo
(
orderNo
)
{
return
http
.
get
(
`
${
talosHost
}
/api/kdsp/groupShareInfo?orderNo=
${
orderNo
}
`
,
{
hideLoading
:
true
});
return
http
.
get
(
`
${
talosHost
}
/api/kdsp/groupShareInfo?orderNo=
${
orderNo
}
`
);
},
getPlayBillUrl
(
m
)
{
return
http
.
get
(
`http://192.168.25.122/api/kdsp/playBill/getPlayBillUrl?m=
${
m
}
`
);
...
...
src/components/groupShare.vue
View file @
d77e7142
...
...
@@ -63,6 +63,7 @@ export default {
this
.
tipDialogMessage
();
return
;
}
this
.
$store
.
dispatch
(
'
change_loading
'
,
true
);
this
.
type
=
type
;
if
(
typeof
shareInfo
===
'
object
'
)
{
this
.
sharePicData
=
shareInfo
;
...
...
@@ -109,9 +110,11 @@ export default {
async
getGroupShareInfo
(
orderNo
)
{
try
{
const
[
res
]
=
await
groupBuyApi
.
getGroupShareInfo
(
orderNo
);
this
.
$store
.
dispatch
(
'
change_loading
'
,
true
);
this
.
sharePicData
=
res
;
this
.
$refs
.
sharePic
.
createAndUploadPic
(
this
.
sharePicData
);
}
catch
(
err
)
{
this
.
$store
.
dispatch
(
'
change_loading
'
,
false
);
console
.
log
(
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