|
@@ -54,7 +54,7 @@
|
|
|
<el-button type="primary"
|
|
|
size="small"
|
|
|
plain
|
|
|
- @click="handleDelete">下载详情
|
|
|
+ @click="downLoadAppoint">下载详情
|
|
|
</el-button>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="menu">
|
|
@@ -74,6 +74,7 @@
|
|
|
import {mapGetters} from "vuex";
|
|
|
import {appointGoodsOption} from "../../../option/mall/appointGoodsOption"
|
|
|
import {appointStoreList} from "@/api/distribution/appoint";
|
|
|
+ import {getToken} from '@/util/auth';
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -188,6 +189,9 @@
|
|
|
});
|
|
|
},
|
|
|
|
|
|
+ downLoadAppoint(){
|
|
|
+ window.open(`/api/distribution/appoint/exportStoreAppointGoods?${this.website.tokenHeader}=${getToken()}&grouponId=${this.grouponId}`);
|
|
|
+ },
|
|
|
rowUpdate(row, index, done, loading) {
|
|
|
update(row).then(() => {
|
|
|
this.onLoad(this.page);
|