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/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/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 @@ - + - - + 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 @@ + + + + +