Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
39197f5b
Commit
39197f5b
authored
Jul 27, 2021
by
Qingyu Deng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add get order export url
parent
45999212
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
index.vue
src/pages/Groupmeal/orderManagement/index.vue
+9
-2
groupmeal.js
src/service/Groupmeal/groupmeal.js
+5
-0
No files found.
src/pages/Groupmeal/orderManagement/index.vue
View file @
39197f5b
...
@@ -220,7 +220,9 @@
...
@@ -220,7 +220,9 @@
</el-form-item>
</el-form-item>
<el-form-item
class=
"exportBtn"
>
<el-form-item
class=
"exportBtn"
>
<el-button
@
click=
"exportShow = false"
>
取消
</el-button>
<el-button
@
click=
"exportShow = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"confirmExport"
>
确定导出
</el-button>
<a
:href=
"exportURL"
><el-button
type=
"primary"
>
确定导出
</el-button></a
>
</el-form-item>
</el-form-item>
</el-dialog>
</el-dialog>
<!-- 退款弹窗 -->
<!-- 退款弹窗 -->
...
@@ -293,6 +295,7 @@ import {
...
@@ -293,6 +295,7 @@ import {
orderItemList
,
orderItemList
,
orderRefundReject
,
orderRefundReject
,
refundOrder
,
refundOrder
,
getOrderExportURL
,
}
from
"@/service/Groupmeal/groupmeal"
;
}
from
"@/service/Groupmeal/groupmeal"
;
import
page
from
"../../components/Pagination.vue"
;
import
page
from
"../../components/Pagination.vue"
;
...
@@ -392,6 +395,10 @@ export default {
...
@@ -392,6 +395,10 @@ export default {
],
],
};
};
},
},
computed
:
{
exportURL
()
{},
},
methods
:
{
methods
:
{
// 获取活动名称
// 获取活动名称
async
getMarketingListMet
()
{
async
getMarketingListMet
()
{
...
@@ -548,7 +555,7 @@ export default {
...
@@ -548,7 +555,7 @@ export default {
// 同意
// 同意
agree
(
val
)
{
agree
(
val
)
{
console
.
log
(
val
);
this
.
refund
(
val
);
},
},
// 全选
// 全选
...
...
src/service/Groupmeal/groupmeal.js
View file @
39197f5b
...
@@ -102,3 +102,8 @@ export async function orderRefundReject(params) {
...
@@ -102,3 +102,8 @@ export async function orderRefundReject(params) {
});
});
return
res
;
return
res
;
}
}
// 导出订单
export
function
getOrderExportURL
(
eventId
,
type
)
{
return
`http://bp-dev.ini.yidian-inc.com/order/background/order_export?marketing_id=
${
eventId
}
&type=
${
type
}
`
;
}
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