diff --git a/src/views/modules/shequzhili/htgl/cpts/htglInfo.vue b/src/views/modules/shequzhili/htgl/cpts/htglInfo.vue index 59e6ec9c8..532d52db6 100644 --- a/src/views/modules/shequzhili/htgl/cpts/htglInfo.vue +++ b/src/views/modules/shequzhili/htgl/cpts/htglInfo.vue @@ -15,10 +15,13 @@ - 图片: + 图片: + + -- @@ -33,7 +36,18 @@ 发布时间: {{htglDetailData.releaseTime||'--'}} - + + + 语音详情: +
+ +
+ -- +
+
+ 当前支持:{{htglDetailData.supportCount||'--'}}票,反对: {{htglDetailData.oppositionCount||'--'}}票 @@ -44,24 +58,45 @@ diff --git a/src/views/modules/shequzhili/htgl/index.vue b/src/views/modules/shequzhili/htgl/index.vue index 906b7bbba..033196013 100644 --- a/src/views/modules/shequzhili/htgl/index.vue +++ b/src/views/modules/shequzhili/htgl/index.vue @@ -164,14 +164,14 @@ - @@ -200,11 +200,12 @@ export default { startDate: '', endDate: '', }, + showhtglDialog:false, topicId:'', tableData:[], dialogVisible:false, agencyIdArray: [], - htglDetailData:{}, + htglDetailId:"", pageNo: 1, pageSize: window.localStorage.getItem("pageSize") || 20, total: 1, @@ -294,17 +295,8 @@ export default { } }, async handleWatch (row) { - this.topicId = row.topicId - this.dialogVisible = true - const url = "/resi/group/ytTopic/topicDetail"; - const { data, code, msg } = await requestPost(url, { - topicId: this.topicId, - }); - if (code === 0) { - this.htglDetailData = { ...data }; - } else { - this.$message.error(msg); - } + this.showhtglDialog = true + this.htglDetailId = row.topicId }, }, components: {