From 3641e7908417bc22b903da35258d71e8e3fcb871 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 19 Jun 2025 17:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E8=AF=84=E6=B5=8B=E9=A1=B5?= =?UTF-8?q?=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/router/index.js | 5 ++++ ruoyi-ui/src/views/kaohe/vote/index.vue | 31 ++++++++++++++++++------- ruoyi-ui/src/views/votepage.vue | 13 +++++++++++ 3 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 ruoyi-ui/src/views/votepage.vue diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index bbfd237..ac94502 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -41,6 +41,11 @@ export const constantRoutes = [ } ] }, + { + path: '/votepage', + component: () => import('@/views/votepage'), + hidden: true + }, { path: '/login', component: () => import('@/views/login'), diff --git a/ruoyi-ui/src/views/kaohe/vote/index.vue b/ruoyi-ui/src/views/kaohe/vote/index.vue index a862a76..2785515 100644 --- a/ruoyi-ui/src/views/kaohe/vote/index.vue +++ b/ruoyi-ui/src/views/kaohe/vote/index.vue @@ -79,22 +79,30 @@ - - - - + + + + + + + - + - - - + + + + + + @@ -167,6 +181,7 @@ import { listVote, getVote, delVote, addVote, updateVote } from "@/api/kaohe/vot export default { name: "Vote", + dicts: ['kh_state'], data() { return { // 遮罩层 diff --git a/ruoyi-ui/src/views/votepage.vue b/ruoyi-ui/src/views/votepage.vue new file mode 100644 index 0000000..46d0b9e --- /dev/null +++ b/ruoyi-ui/src/views/votepage.vue @@ -0,0 +1,13 @@ + + + + +