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 @@
-
-
-
-
+
+
+
+
+
+
+
{{ parseTime(scope.row.sTime, '{y}-{m}-{d}') }}
-
+
{{ parseTime(scope.row.eTime, '{y}-{m}-{d}') }}
-
-
-
+
+
+
+
+
+
+
+
删除
+ 去投票
@@ -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 @@
+
+ 投票
+
+
+
+
+