From 213e5d806ffc941d3c1e895bb87c1e92f1e8341f Mon Sep 17 00:00:00 2001 From: wanglei Date: Tue, 24 Jun 2025 08:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E6=A0=B8=E4=BB=BB=E5=8A=A1=E3=80=81?= =?UTF-8?q?=E8=AF=84=E5=88=86=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/kaohe/pingce/index.vue | 169 ++++++++++++---------- ruoyi-ui/src/views/votepage.vue | 12 +- 2 files changed, 98 insertions(+), 83 deletions(-) diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue index 55b1c5b..afa6267 100644 --- a/ruoyi-ui/src/views/kaohe/pingce/index.vue +++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue @@ -442,89 +442,100 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + +
+
+ + + + - - - - - - - + +
+
+ + + + - - + +
- -
-
- - - - - - - - - - - - diff --git a/ruoyi-ui/src/views/votepage.vue b/ruoyi-ui/src/views/votepage.vue index fbce6ea..a62013d 100644 --- a/ruoyi-ui/src/views/votepage.vue +++ b/ruoyi-ui/src/views/votepage.vue @@ -5,7 +5,7 @@
{{ kaohexiang.vote.vDescription }}
-
{{ item.label }}
+
{{ item.label }} 参与评分 231 人 均值:96.45
@@ -13,7 +13,7 @@
-
{{ item.label }}
+
{{ item.label }} 参与评分 231 人 均值:96.45
优秀 合格 @@ -38,6 +38,8 @@ export default { name: "votepage", data() { return { + index:0, + index1:0, kaohexiang: null, loading:null, voteList: [ @@ -578,9 +580,11 @@ export default { created() { // this.getVote() if(this.$route.query.index&&this.$route.query.index1){ - this.kaohexiang = this.pingceList[this.$route.query.index].kaohexiang[this.$route.query.index1]; - console.log(this.kaohexiang); + this.index=this.$route.query.index; + this.index1=this.$route.query.index1; } + this.kaohexiang = this.pingceList[this.index].kaohexiang[this.index1]; + console.log(this.kaohexiang); }, methods: { getVote(){