|
|
@ -20,10 +20,10 @@ |
|
|
|
:formConfigOptions="{ dFormData: { eventState: '0' } }" @handleSearch="handleSearch" /> |
|
|
|
</div> |
|
|
|
<!-- 内容 --> |
|
|
|
<Table :data="tableData" height="100%" style="width:500"> |
|
|
|
<Table :data="tableData" height="100%" style="width:1880px"> |
|
|
|
<el-table-column label="序号" type="index" :index="indexMethod" width="100" align="center" |
|
|
|
header-align="center" /> |
|
|
|
|
|
|
|
|
|
|
|
<ElTableColumn label="发布渠道" prop="publishChannels" width="120" align="center" header-align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ enum_channels[scope.row.publishChannels-1] }} |
|
|
@ -114,7 +114,7 @@ export default { |
|
|
|
}, |
|
|
|
onDelete(id){ |
|
|
|
const self = this; |
|
|
|
this.$confirm("是否删除?"+id, "警告", { |
|
|
|
this.$confirm("是否删除?", "警告", { |
|
|
|
confirmButtonText: "确定", |
|
|
|
cancelButtonText: "取消", |
|
|
|
type: "warning", |
|
|
@ -152,7 +152,7 @@ export default { |
|
|
|
responseType: 'blob', |
|
|
|
}).then((res) => { |
|
|
|
console.log(res) |
|
|
|
|
|
|
|
|
|
|
|
const url = window.URL.createObjectURL(new Blob([res])); |
|
|
|
let link = document.createElement("a"); |
|
|
|
link.style.display = "none"; |
|
|
@ -173,7 +173,7 @@ export default { |
|
|
|
}, |
|
|
|
handleSearch(data) { |
|
|
|
let daterange = data.daterange; |
|
|
|
|
|
|
|
|
|
|
|
let _searchData = { |
|
|
|
pageSize: 20, |
|
|
|
pageNum: 1 |
|
|
@ -201,6 +201,7 @@ export default { |
|
|
|
request({ |
|
|
|
url: `/business/manage/statisticsList`, |
|
|
|
method: "post", |
|
|
|
params: { pageNum: this.searchData.pageNum, pageSize: this.searchData.pageSize }, |
|
|
|
data: this.searchData, |
|
|
|
}).then((result) => { |
|
|
|
if (result.code != 200) return Message.error(result?.msg); |
|
|
@ -208,7 +209,7 @@ export default { |
|
|
|
this.total = result.total; |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
onSizeChange(pageSize) { |
|
|
|
this.tableData = []; |
|
|
|
this.searchData.pageSize = pageSize; |
|
|
|