|
@@ -109,6 +109,7 @@
|
|
|
label="购买课程"
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
|
+ v-if="!$route.query.year"
|
|
|
align="center"
|
|
|
prop="giveMember"
|
|
|
label="是否赠送会员"
|
|
@@ -208,6 +209,7 @@ export default {
|
|
|
const res = await getDoubleElevenDetail({
|
|
|
organId: this.organId,
|
|
|
...params,
|
|
|
+ year: this.$route.query.year,
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
});
|
|
@@ -228,7 +230,12 @@ export default {
|
|
|
},
|
|
|
onCancel() {
|
|
|
this.$store.dispatch("delVisitedViews", this.$route);
|
|
|
- this.$router.push("/2021double11List");
|
|
|
+ this.$router.push({
|
|
|
+ path: "/2021double11List",
|
|
|
+ query: {
|
|
|
+ year: this.$route.query.year
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
async onExport() {
|
|
|
let { getTime, ...rest } = this.searchForm;
|
|
@@ -246,7 +253,7 @@ export default {
|
|
|
this,
|
|
|
{
|
|
|
url: "/api-web/export/doubleEleven2021OrderDetail",
|
|
|
- fileName: "2021双十一活动.xls",
|
|
|
+ fileName: this.$route.query.year === "" ? "2022双十一活动.xls" : "2021双十一活动.xls",
|
|
|
method: "post",
|
|
|
params: qs.stringify(cleanDeep(obj)),
|
|
|
},
|