|
@@ -167,10 +167,8 @@
|
167
|
167
|
</el-table-column>
|
168
|
168
|
<el-table-column prop="department_name" label="企微主体" show-overflow-tooltip align="center"></el-table-column>
|
169
|
169
|
<el-table-column prop="status" min-width="80" label="消息送达状态" show-overflow-tooltip align="center">
|
170
|
|
- <template slot-scope="scope">
|
171
|
|
- <div v-if="scope.row.status == 1">群主已发送</div>
|
172
|
|
- <div v-if="scope.row.status == 2">群主未发送</div>
|
173
|
|
- <div v-if="scope.row.status == 3">发送失败</div>
|
|
170
|
+ <template slot-scope="{ row }">
|
|
171
|
+ <div>{{ handleGetStatusDesc(row.status) }}</div>
|
174
|
172
|
</template>
|
175
|
173
|
</el-table-column>
|
176
|
174
|
<el-table-column prop="send_time" label="群聊发送时间" show-overflow-tooltip align="center"></el-table-column>
|
|
@@ -206,6 +204,11 @@ import selfChannel from '@/components/assembly/screen/channel.vue'
|
206
|
204
|
import qunDetail from './chatGroupDetail.vue'
|
207
|
205
|
import phonePreview from '@/components/assembly/phonePreview.vue'
|
208
|
206
|
import groupOwnDialog from './components/groupOwnDialog.vue'
|
|
207
|
+const statusMap = new Map([
|
|
208
|
+ [1, '群主已发送'],
|
|
209
|
+ [0, '群主未发送'],
|
|
210
|
+ [3, '发送失败'],
|
|
211
|
+])
|
209
|
212
|
|
210
|
213
|
export default {
|
211
|
214
|
components: {
|
|
@@ -341,6 +344,10 @@ export default {
|
341
|
344
|
onCloseGroupOwn() {
|
342
|
345
|
this.groupOwnDialogVisible = false
|
343
|
346
|
},
|
|
347
|
+
|
|
348
|
+ handleGetStatusDesc(status) {
|
|
349
|
+ return statusMap.get(Number(status)) || '-'
|
|
350
|
+ },
|
344
|
351
|
}
|
345
|
352
|
}
|
346
|
353
|
</script>
|