|
@@ -60,8 +60,18 @@
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)" :disabled="record.status !== 4">推送</a>
|
|
|
<a-divider type="vertical" />
|
|
|
+ <a @click="handleEdit(record)" :disabled="record.status !== 4">编辑</a>
|
|
|
+ <a-divider type="vertical" />
|
|
|
<a @click="handleDelete(record)">删除</a>
|
|
|
</span>
|
|
|
+
|
|
|
+ <span slot="coverNum" slot-scope="text, record">
|
|
|
+ <a>{{ text }}</a>
|
|
|
+ </span>
|
|
|
+ <span slot="actionMore" slot-scope="text, record">
|
|
|
+ <a @click="handleDelete(record)">推送历史</a>
|
|
|
+ </span>
|
|
|
+
|
|
|
<span slot="cause" slot-scope="text, record">
|
|
|
<a class="cause-text-class" @click="handleCause(record)">失败原因</a>
|
|
|
</span>
|
|
@@ -269,14 +279,14 @@ export default {
|
|
|
},
|
|
|
columns: [
|
|
|
{
|
|
|
- title: '人群包名称',
|
|
|
+ title: '定向包名称',
|
|
|
align: 'center',
|
|
|
width: 200,
|
|
|
ellipsis: true,
|
|
|
dataIndex: 'orientationName'
|
|
|
},
|
|
|
{
|
|
|
- title: '人群包类型',
|
|
|
+ title: '所属项目',
|
|
|
align: 'center',
|
|
|
dataIndex: 'populationType',
|
|
|
customRender(t) {
|
|
@@ -284,55 +294,39 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '匹配类型',
|
|
|
+ title: '系统平台',
|
|
|
align: 'center',
|
|
|
dataIndex: 'typeStr'
|
|
|
},
|
|
|
{
|
|
|
- title: '上传时间',
|
|
|
+ title: '修改时间',
|
|
|
dataIndex: 'statDate',
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- title: '覆盖数量',
|
|
|
+ title: '相关账户',
|
|
|
dataIndex: 'coverNum',
|
|
|
+ scopedSlots: {customRender: 'coverNum'},
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- title: '状态',
|
|
|
+ title: '相关组',
|
|
|
dataIndex: 'statusStr',
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- title: '原因',
|
|
|
- dataIndex: '',
|
|
|
+ title: '操作',
|
|
|
+ dataIndex: 'action',
|
|
|
align: 'center',
|
|
|
- scopedSlots: {customRender: 'cause'}
|
|
|
+ scopedSlots: {customRender: 'action'}
|
|
|
},
|
|
|
{
|
|
|
- title: '目标账户',
|
|
|
- dataIndex: 'accountName',
|
|
|
+ title: '更多',
|
|
|
+ dataIndex: 'actionMore',
|
|
|
align: 'center',
|
|
|
+ scopedSlots: {customRender: 'actionMore'},
|
|
|
ellipsis: true
|
|
|
},
|
|
|
- {
|
|
|
- title: '相关项目',
|
|
|
- dataIndex: 'projectCount',
|
|
|
- align: 'center',
|
|
|
- scopedSlots: {customRender: 'depRelax'}
|
|
|
- },
|
|
|
- {
|
|
|
- title: '相关账户',
|
|
|
- dataIndex: 'accountCount',
|
|
|
- align: 'center',
|
|
|
- scopedSlots: {customRender: 'acountRelax'}
|
|
|
- },
|
|
|
- {
|
|
|
- title: '操作',
|
|
|
- dataIndex: 'action',
|
|
|
- align: 'center',
|
|
|
- scopedSlots: {customRender: 'action'}
|
|
|
- }
|
|
|
],
|
|
|
personForm: {
|
|
|
name: '',
|