From 886ec9a3f9364cb4fb2fe2510fe667eb2f8e4e84 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 10 Feb 2023 21:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=9D=E9=A2=98=E7=AE=A1=E7=90=86=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=AF=AD=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shequzhili/htgl/cpts/htglInfo.vue | 59 +++++++++++++++---- src/views/modules/shequzhili/htgl/index.vue | 24 +++----- 2 files changed, 55 insertions(+), 28 deletions(-) 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: {