Commit d77e7142 authored by Xuguangxing's avatar Xuguangxing

fix

parent c9e582dc
...@@ -59,9 +59,7 @@ export default { ...@@ -59,9 +59,7 @@ export default {
return http.get(`${talosHost}/api/kdsp/playBill/getMakePicData?${qsString}`); return http.get(`${talosHost}/api/kdsp/playBill/getMakePicData?${qsString}`);
}, },
getGroupShareInfo(orderNo) { getGroupShareInfo(orderNo) {
return http.get(`${talosHost}/api/kdsp/groupShareInfo?orderNo=${orderNo}`, { return http.get(`${talosHost}/api/kdsp/groupShareInfo?orderNo=${orderNo}`);
hideLoading: true
});
}, },
getPlayBillUrl(m) { getPlayBillUrl(m) {
return http.get(`http://192.168.25.122/api/kdsp/playBill/getPlayBillUrl?m=${m}`); return http.get(`http://192.168.25.122/api/kdsp/playBill/getPlayBillUrl?m=${m}`);
......
...@@ -63,6 +63,7 @@ export default { ...@@ -63,6 +63,7 @@ export default {
this.tipDialogMessage(); this.tipDialogMessage();
return; return;
} }
this.$store.dispatch('change_loading', true);
this.type = type; this.type = type;
if (typeof shareInfo === 'object') { if (typeof shareInfo === 'object') {
this.sharePicData = shareInfo; this.sharePicData = shareInfo;
...@@ -109,9 +110,11 @@ export default { ...@@ -109,9 +110,11 @@ export default {
async getGroupShareInfo(orderNo) { async getGroupShareInfo(orderNo) {
try { try {
const [res] = await groupBuyApi.getGroupShareInfo(orderNo); const [res] = await groupBuyApi.getGroupShareInfo(orderNo);
this.$store.dispatch('change_loading', true);
this.sharePicData = res; this.sharePicData = res;
this.$refs.sharePic.createAndUploadPic(this.sharePicData); this.$refs.sharePic.createAndUploadPic(this.sharePicData);
} catch (err) { } catch (err) {
this.$store.dispatch('change_loading', false);
console.log(err); console.log(err);
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment