|
@@ -31,6 +31,11 @@
|
31
|
31
|
<span v-if="row['send_status'] == 1" class="c-FE9">{{ row[item.column] }}</span>
|
32
|
32
|
<span v-else class="c-00b38a">{{ row[item.column] }}</span>
|
33
|
33
|
</template>
|
|
34
|
+
|
|
35
|
+ <template v-else-if="item.column == 'handler'">
|
|
36
|
+ <div class="c-00B38A pointer table_button" @click="onClickDetail(row)">详情</div>
|
|
37
|
+ </template>
|
|
38
|
+
|
34
|
39
|
<span v-else>{{ (row[item.column] || row[item.column] == 0) ? $formatNum(row[item.column]) : '-' }}</span>
|
35
|
40
|
</template>
|
36
|
41
|
</ux-table-column>
|
|
@@ -38,6 +43,16 @@
|
38
|
43
|
<div class="pagination" v-show="pagination.total > 0">
|
39
|
44
|
<el-pagination background :current-page="pagination.page" @current-change="handleCurrentChange" layout="prev, pager, next" :page-count='Number(pagination.pages)' />
|
40
|
45
|
</div>
|
|
46
|
+
|
|
47
|
+ <!-- S 详情 - 客户群群发 -->
|
|
48
|
+ <!-- <el-drawer size="1200px" :visible.sync="massMsgFlag" :with-header="false">
|
|
49
|
+ <createMsg v-if="massMsgFlag" :is_copy='false' title="群发详情" :rule_id='detail_rule_id' @close="detailClose" />
|
|
50
|
+ </el-drawer>
|
|
51
|
+ <el-drawer size="1200px" :visible.sync="detialFlag" :with-header="false">
|
|
52
|
+ <detail v-if="detialFlag" title="群发详情" :rule_id='detail_rule_id' @close="detailClose" />
|
|
53
|
+ </el-drawer> -->
|
|
54
|
+ <!-- E 详情 - 客户群群发 -->
|
|
55
|
+
|
41
|
56
|
</div>
|
42
|
57
|
<!-- E 明细表 detailsTable -->
|
43
|
58
|
</div>
|
|
@@ -71,6 +86,7 @@ export default {
|
71
|
86
|
{ column: 'msg_type_text', name: '消息类型', 'min_width': 140, fixed: '', },
|
72
|
87
|
{ column: 'send_status_text', name: '发送状态', 'min_width': 140, fixed: '', },
|
73
|
88
|
{ column: 'notice', name: '消息内容', 'min_width': 400, fixed: '', },
|
|
89
|
+ { column: 'handler', name: '操作', 'min_width': 60, fixed: 'right', },
|
74
|
90
|
],
|
75
|
91
|
pagination: {
|
76
|
92
|
page: 1,
|
|
@@ -196,6 +212,29 @@ export default {
|
196
|
212
|
initTableHeight() {
|
197
|
213
|
this.height = document.documentElement.clientHeight - 240 > 400 ? document.documentElement.clientHeight - 240 : 400
|
198
|
214
|
},
|
|
215
|
+
|
|
216
|
+ onClickDetail({ send_status, msg_type }) {
|
|
217
|
+ console.log('onClickDetail => send_status ', send_status)
|
|
218
|
+ console.log('onClickDetail => msg_type ', msg_type)
|
|
219
|
+ // 客户群发详情
|
|
220
|
+ if (msg_type == 1) this.handleShowKHQF(send_status)
|
|
221
|
+ // 客户群群发
|
|
222
|
+ if (msg_type == 2) this.handleShowKHQQF(send_status)
|
|
223
|
+ // 智能群发
|
|
224
|
+ if (msg_type == 3) this.handleShowZNQF(send_status)
|
|
225
|
+ },
|
|
226
|
+ // 客户群发详情
|
|
227
|
+ handleShowKHQF(send_status) {
|
|
228
|
+ console.log('handleShowKHQF => ', send_status)
|
|
229
|
+ },
|
|
230
|
+ // 客户群群发
|
|
231
|
+ handleShowKHQQF(send_status) {
|
|
232
|
+ console.log('handleShowKHQQF => ', send_status)
|
|
233
|
+ },
|
|
234
|
+ // 智能群发
|
|
235
|
+ handleShowZNQF(send_status) {
|
|
236
|
+ console.log('handleShowZNQF => ', send_status)
|
|
237
|
+ },
|
199
|
238
|
},
|
200
|
239
|
}
|
201
|
240
|
</script>
|