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")