Commit 39197f5b authored by Qingyu Deng's avatar Qingyu Deng

feat: add get order export url

parent 45999212
......@@ -220,7 +220,9 @@
</el-form-item>
<el-form-item class="exportBtn">
<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-dialog>
<!-- 退款弹窗 -->
......@@ -293,6 +295,7 @@ import {
orderItemList,
orderRefundReject,
refundOrder,
getOrderExportURL,
} from "@/service/Groupmeal/groupmeal";
import page from "../../components/Pagination.vue";
......@@ -392,6 +395,10 @@ export default {
],
};
},
computed: {
exportURL() {},
},
methods: {
// 获取活动名称
async getMarketingListMet() {
......@@ -548,7 +555,7 @@ export default {
// 同意
agree(val) {
console.log(val);
this.refund(val);
},
// 全选
......
......@@ -102,3 +102,8 @@ export async function orderRefundReject(params) {
});
return res;
}
// 导出订单
export function getOrderExportURL(eventId, type) {
return `http://bp-dev.ini.yidian-inc.com/order/background/order_export?marketing_id=${eventId}&type=${type}`;
}
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