Commit 76dd9d56 by 前端

Merge branch 'v3.3.1' of http://192.168.3.233:8090/saas/scrm-micro-marketing into xuyl_dev_v3.3.1

2 parents 2198d7a6 c5211256
...@@ -465,7 +465,8 @@ export default { ...@@ -465,7 +465,8 @@ export default {
var txtObj = { var txtObj = {
add: '新建', add: '新建',
edit: '编辑', edit: '编辑',
copy: '复制' copy: '复制',
detail: '编辑'
}[addOrEdit] }[addOrEdit]
var params = { var params = {
addOrEdit: addOrEdit, addOrEdit: addOrEdit,
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<script> <script>
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import { downLoadFile, orderManageStatusList } from '@/common/constant' import { exportFn, orderManageStatusList } from '@/common/constant'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
const dataList = [ const dataList = [
...@@ -425,18 +425,17 @@ export default { ...@@ -425,18 +425,17 @@ export default {
if (name == 'rank') { if (name == 'rank') {
let params = this.getParams() let params = this.getParams()
this.$apis.seckillActivity.exportRankListApi(params).then(res => { this.$apis.seckillActivity.exportRankListApi(params).then(res => {
downLoadFile(res) exportFn(res)
}) })
} }
if (name == 'dailyOrders') { if (name == 'dailyOrders') {
this.$apis.seckillActivity.exportDailyOrderQuantityStatistics({ id: this.activityId }).then(result => { this.$apis.seckillActivity.exportDailyOrderQuantityStatistics({ id: this.activityId }).then(result => {
downLoadFile(result) exportFn(result)
}) })
} }
if (name == 'liveData') { if (name == 'liveData') {
this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => { this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => {
console.log(result) exportFn(result)
// downLoadFile(result)
}) })
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!