From a92108cb4e99e9faacf08db7115bff9104f3e52a Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 19 Jun 2025 16:51:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=80=83=E6=A0=B8=E8=AF=84=E6=B5=8B?= =?UTF-8?q?=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/api/kaohe/pingce.js | 10 + ruoyi-ui/src/views/kaohe/pingce/index.vue | 244 +++++++++++++++++++++- 2 files changed, 250 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/api/kaohe/pingce.js b/ruoyi-ui/src/api/kaohe/pingce.js index 7dd1dfa..7dc6255 100644 --- a/ruoyi-ui/src/api/kaohe/pingce.js +++ b/ruoyi-ui/src/api/kaohe/pingce.js @@ -42,3 +42,13 @@ export function delPingce(id) { method: 'delete' }) } + + +// 查询考核评测列表 +export function getItemVote(query) { + return request({ + url: '/kaohe/template/getItemVote', + method: 'get', + params: query + }) +} diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue index 8d6aa79..635f170 100644 --- a/ruoyi-ui/src/views/kaohe/pingce/index.vue +++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue @@ -82,18 +82,23 @@ - + - - + From 3641e7908417bc22b903da35258d71e8e3fcb871 Mon Sep 17 00:00:00 2001 From: wanglei Date: Thu, 19 Jun 2025 17:10:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E8=AF=84=E6=B5=8B?= =?UTF-8?q?=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/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 @@ + + + + +