|
@@ -23,21 +23,20 @@
|
23
|
23
|
</div>
|
24
|
24
|
<!-- table -->
|
25
|
25
|
<el-table ref="multipleTable" :height='height' :data="tableData" tooltip-effect="dark" style="width: 100%">
|
26
|
|
- <el-table-column prop="name" label="群发标题" show-overflow-tooltip align="center"></el-table-column>
|
27
|
|
- <el-table-column label="消息类型" align="center">
|
|
26
|
+ <el-table-column prop="name" label="群发标题" show-overflow-tooltip align="center" min-width="140" fixed="left" />
|
|
27
|
+ <el-table-column label="消息类型" align="center" min-width="100">
|
28
|
28
|
<template slot-scope="scope">
|
29
|
29
|
<div>{{scope.row.send_type == 1 ? '立即发送':scope.row.send_type == 2?'定时发送':''}}</div>
|
30
|
30
|
</template>
|
31
|
31
|
</el-table-column>
|
32
|
|
-
|
33
|
|
- <el-table-column label="创建人" align="center">
|
|
32
|
+ <el-table-column label="创建人" align="center" min-width="140">
|
34
|
33
|
<template slot-scope="scope">
|
35
|
34
|
<div class="customerServiceTagBox">
|
36
|
35
|
<div class="customerServiceTag"><i class="el-icon-user-solid"></i> {{ scope.row.creator }}</div>
|
37
|
36
|
</div>
|
38
|
37
|
</template>
|
39
|
38
|
</el-table-column>
|
40
|
|
- <el-table-column prop="send_time" min-width="120" label="发送时间" show-overflow-tooltip align="center">
|
|
39
|
+ <el-table-column prop="send_time" min-width="160" label="发送时间" show-overflow-tooltip align="center">
|
41
|
40
|
<template #header>
|
42
|
41
|
<div :class="['flex-align-jus-center','pointer',sort_field=='send_time'?'sortFieldStyle':'']" @click="sortFieldEvent('send_time')">
|
43
|
42
|
发送时间
|
|
@@ -48,7 +47,7 @@
|
48
|
47
|
<div :class="sort_field=='send_time'?'sortFieldStyle':''">{{scope.row.send_time}}</div>
|
49
|
48
|
</template>
|
50
|
49
|
</el-table-column>
|
51
|
|
- <el-table-column label="创建时间" min-width="120" show-overflow-tooltip align="center">
|
|
50
|
+ <el-table-column label="创建时间" min-width="160" show-overflow-tooltip align="center">
|
52
|
51
|
<template #header>
|
53
|
52
|
<div :class="['flex-align-jus-center','pointer',sort_field=='created_at'?'sortFieldStyle':'']" @click="sortFieldEvent('created_at')">
|
54
|
53
|
创建时间
|
|
@@ -61,24 +60,23 @@
|
61
|
60
|
</div>
|
62
|
61
|
</template>
|
63
|
62
|
</el-table-column>
|
64
|
|
- <el-table-column prop="estimated_user" label="预计送达人数" show-overflow-tooltip align="center"></el-table-column>
|
65
|
|
- <el-table-column prop="send_success" label="送达客户数" show-overflow-tooltip align="center"></el-table-column>
|
66
|
|
- <el-table-column prop="send_fail" label="" show-overflow-tooltip align="center">
|
67
|
|
- <template slot="header">
|
68
|
|
- <div>失败客户数</div>
|
69
|
|
- </template>
|
70
|
|
- </el-table-column>
|
71
|
|
- <el-table-column label="发送状态" show-overflow-tooltip align="center">
|
|
63
|
+ <el-table-column prop="estimated_user" label="预计送达人数" show-overflow-tooltip align="center" min-width="140" />
|
|
64
|
+ <el-table-column prop="send_success" label="送达客户数" show-overflow-tooltip align="center" min-width="140" />
|
|
65
|
+ <el-table-column prop="send_fail" label="失败客户数" show-overflow-tooltip align="center" min-width="140" />
|
|
66
|
+ <el-table-column label="发送状态" show-overflow-tooltip align="center" min-width="140">
|
72
|
67
|
<template slot-scope="scope">
|
73
|
68
|
<span v-if="scope.row.enable==-2" class="c-F03F5C">已删除</span>
|
74
|
|
- <span v-if="scope.row.enable==-1" class="c-666">发送失败</span>
|
|
69
|
+ <span v-if="scope.row.enable==-1">
|
|
70
|
+ <p class="c-F03F5C">发送失败!</p>
|
|
71
|
+ <span class="c-666">这是企微返回的失败原因!</span>
|
|
72
|
+ </span>
|
75
|
73
|
<span v-if="scope.row.enable==0" class="c-F03F5C">禁用</span>
|
76
|
74
|
<span v-if="scope.row.enable==1" class="c-FFB055">待发送</span>
|
77
|
75
|
<span v-if="scope.row.enable==2" class="c-448AFF">正在发送中</span>
|
78
|
76
|
<span v-if="scope.row.enable==3" class="c-58BCA6">发送完成</span>
|
79
|
77
|
</template>
|
80
|
78
|
</el-table-column>
|
81
|
|
- <el-table-column min-width="120" label="操作" align="center">
|
|
79
|
+ <el-table-column min-width="140" label="操作" align="center" fixed="right">
|
82
|
80
|
<template slot-scope="scope">
|
83
|
81
|
<div class="flex" style="justify-content:center">
|
84
|
82
|
<el-popconfirm :disabled="scope.row.enable==1||scope.row.enable==2?false:true" @confirm="remind_send(scope.row)" :title="'猎羽将提醒未发送的客户发送消息,是否确认提醒 ?'">
|
|
@@ -323,6 +321,10 @@ export default {
|
323
|
321
|
var res = res.data
|
324
|
322
|
this.loading = false
|
325
|
323
|
if (res && res.errno == 0) {
|
|
324
|
+
|
|
325
|
+ // res.rst.data[1].enable = -1 // mock
|
|
326
|
+ // res.rst.data[3].enable = -1 // mock
|
|
327
|
+
|
326
|
328
|
if (type == 'export') {
|
327
|
329
|
this.exportEvent(res.rst.data)
|
328
|
330
|
} else {
|