From 2c906b6af15c0a6c041055033e8ebea23ac9bd9e Mon Sep 17 00:00:00 2001 From: jiangyy Date: Fri, 14 Oct 2022 16:32:46 +0800 Subject: [PATCH] bug --- .../issue/cptsAudit/issue-detail.vue | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/src/views/modules/shequzhili/issue/cptsAudit/issue-detail.vue b/src/views/modules/shequzhili/issue/cptsAudit/issue-detail.vue index b4db55186..eac1c06d2 100644 --- a/src/views/modules/shequzhili/issue/cptsAudit/issue-detail.vue +++ b/src/views/modules/shequzhili/issue/cptsAudit/issue-detail.vue @@ -34,14 +34,14 @@ v-for="src in topicInfo.photoList" @click="watchImg(src.url)" /> -
语音:
@@ -100,6 +100,7 @@ function iniData () { issueInfo: {}, topicInfo: {}, + voiceList: {}, showType: '', }; @@ -154,11 +155,30 @@ export default { "yyyy-MM-dd hh:mm" ); } + + this.getAttechment() } }, methods: { + async getAttechment () { + const url = "/resi/group/topic/topicattachmentlist" + + let params = { + topicId: this.topicInfo.topicId, + + } + + const { data, code, msg } = await requestPost(url, params) + + if (code === 0) { + this.voiceList = data.voiceList + + } else { + this.$message.error(msg) + } + }, watchImg (src) { window.open(src); }, @@ -171,8 +191,6 @@ export default { this.$emit("handleClose"); }, - async getApiData () { - }, handleToTopic () { this.$emit("handleToTopic")