diff --git a/src/api/marketingCard/marketingCard.js b/src/api/marketingCard/marketingCard.js index 39097c6..30fa01e 100644 --- a/src/api/marketingCard/marketingCard.js +++ b/src/api/marketingCard/marketingCard.js @@ -64,6 +64,16 @@ export default { }, + // 导出 + exportExcel: function(data) { + return request({ + url: '/lpkgiftcard/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, // 获取提货卡页面 礼包列表 diff --git a/src/views/commodity/index.vue b/src/views/commodity/index.vue index 2aac84c..b696c70 100644 --- a/src/views/commodity/index.vue +++ b/src/views/commodity/index.vue @@ -196,6 +196,10 @@ this.$refs['divadd'].showAdd() }, + doClose() { + this.$store.dispatch('tagsView/delView', this.$route) + this.$router.go(-1) + }, toRelevancy(row) { this.viewState = 3 this.$refs['divadd'].showEdit(row) diff --git a/src/views/marketingCard/index.vue b/src/views/marketingCard/index.vue index 42c6db8..cac3751 100644 --- a/src/views/marketingCard/index.vue +++ b/src/views/marketingCard/index.vue @@ -200,6 +200,11 @@ this.viewState = 2 this.$refs['divadd'].showAdd() }, + + doClose() { + this.$store.dispatch('tagsView/delView', this.$route) + this.$router.go(-1) + }, toRelevancy(row) { this.viewState = 3 diff --git a/src/views/marketingCard/pickupCardSet.vue b/src/views/marketingCard/pickupCardSet.vue index d4b4312..94931a2 100644 --- a/src/views/marketingCard/pickupCardSet.vue +++ b/src/views/marketingCard/pickupCardSet.vue @@ -29,12 +29,13 @@ - + @@ -59,30 +60,37 @@
- + - + - - - + + + - 查 询 + 查 询 返 回 + + + 导出Excel + + + + 下载二维码 + +
- +