diff --git a/backend/public/svg/._left.svg b/backend/public/svg/._left.svg new file mode 100644 index 0000000..0b5aa51 Binary files /dev/null and b/backend/public/svg/._left.svg differ diff --git a/backend/public/svg/._right_arrow.svg b/backend/public/svg/._right_arrow.svg new file mode 100644 index 0000000..9466402 Binary files /dev/null and b/backend/public/svg/._right_arrow.svg differ diff --git a/backend/public/svg/left.svg b/backend/public/svg/left.svg new file mode 100644 index 0000000..73fb40a --- /dev/null +++ b/backend/public/svg/left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/public/svg/right_arrow.svg b/backend/public/svg/right_arrow.svg new file mode 100644 index 0000000..3d093db --- /dev/null +++ b/backend/public/svg/right_arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/api/competition.js b/backend/src/api/competition.js new file mode 100644 index 0000000..8b55b27 --- /dev/null +++ b/backend/src/api/competition.js @@ -0,0 +1,47 @@ +import request from '@/utils/request' +let baseUrl = '/pc/competition/' +export function getList(query) { + return request({ + url: baseUrl+'list', + method: 'post', + data: query + }) + } + export function add(cat) { + return request({ + url: baseUrl+"add", + method: 'post', + data: cat + }) + } + + export function addSurvey(data){ + return request({ + url: baseUrl+ 'addSurvey', + method: 'post', + data: data + }) + } + + export function update(cat) { + return request({ + url: baseUrl+"update", + method: 'post', + data: cat + }) + } + + export function del(cat) { + return request({ + url: baseUrl+"delete", + method: 'post', + data: cat + }) + } + export function get(cat) { + return request({ + url: baseUrl+"get", + method: 'post', + data: cat + }) + } \ No newline at end of file diff --git a/backend/src/api/group.js b/backend/src/api/group.js new file mode 100644 index 0000000..12da7e1 --- /dev/null +++ b/backend/src/api/group.js @@ -0,0 +1,47 @@ +import request from '@/utils/request' +let baseUrl = '/pc/competition/group/' +export function getList(query) { + return request({ + url: baseUrl+'list', + method: 'post', + data: query + }) + } + export function add(cat) { + return request({ + url: baseUrl+"add", + method: 'post', + data: cat + }) + } + + export function addSurvey(data){ + return request({ + url: baseUrl+ 'addSurvey', + method: 'post', + data: data + }) + } + + export function update(cat) { + return request({ + url: baseUrl+"update", + method: 'post', + data: cat + }) + } + + export function del(cat) { + return request({ + url: baseUrl+"delete", + method: 'post', + data: cat + }) + } + export function get(cat) { + return request({ + url: baseUrl+"get", + method: 'post', + data: cat + }) + } \ No newline at end of file diff --git a/backend/src/api/multiquestion.js b/backend/src/api/multiquestion.js new file mode 100644 index 0000000..d3b53ec --- /dev/null +++ b/backend/src/api/multiquestion.js @@ -0,0 +1,46 @@ +import request from '@/utils/request' +let baseUrl = '/pc/multiquestion/' +export function getList(query) { + return request({ + url: baseUrl+'list', + method: 'post', + data: query + }) + } + export function add(cat) { + return request({ + url: baseUrl+"add", + method: 'post', + data: cat + }) + } + + export function update(cat) { + return request({ + url: baseUrl+"update", + method: 'post', + data: cat + }) + } + + export function del(cat) { + return request({ + url: baseUrl+"delete", + method: 'post', + data: cat + }) + } + export function get(cat) { + return request({ + url: baseUrl+"get", + method: 'post', + data: cat + }) + } + export function batch(data){ + return request({ + url: baseUrl+"batchupdate", + method: 'post', + data: data + }) + } \ No newline at end of file diff --git a/backend/src/api/province.js b/backend/src/api/province.js new file mode 100644 index 0000000..2f14717 --- /dev/null +++ b/backend/src/api/province.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' +let baseUrl = '/pc/system/province/' +export function getList() { + return request({ + url: baseUrl+'list', + method: 'get' + }) + } + export function add(cat) { + return request({ + url: baseUrl+"add", + method: 'post', + data: cat + }) + } + + export function update(cat) { + return request({ + url: baseUrl+"update", + method: 'post', + data: cat + }) + } + + export function del(cat) { + return request({ + url: baseUrl+"delete", + method: 'post', + data: cat + }) + } + export function get(cat) { + return request({ + url: baseUrl+"get", + method: 'post', + data: cat + }) + } + export function batch(data){ + return request({ + url: baseUrl+"batchupdate", + method: 'post', + data: data + }) + } \ No newline at end of file diff --git a/backend/src/components/Kanban/index.vue b/backend/src/components/Kanban/index.vue index 82f7dd7..5f5bf41 100644 --- a/backend/src/components/Kanban/index.vue +++ b/backend/src/components/Kanban/index.vue @@ -73,7 +73,7 @@ export default { .board-column-content { height: auto; - overflow: hidden; + overflow: scroll; border: 10px solid transparent; min-height: 60px; display: flex; @@ -83,6 +83,7 @@ export default { .board-item { cursor: pointer; + overflow: scroll; width: 100%; height: 64px; margin: 5px 0; diff --git a/backend/src/icons/svg/._anli.svg b/backend/src/icons/svg/._anli.svg new file mode 100644 index 0000000..d843f8a Binary files /dev/null and b/backend/src/icons/svg/._anli.svg differ diff --git a/backend/src/icons/svg/._anli_add.svg b/backend/src/icons/svg/._anli_add.svg new file mode 100644 index 0000000..4aac346 Binary files /dev/null and b/backend/src/icons/svg/._anli_add.svg differ diff --git a/backend/src/icons/svg/._anli_list.svg b/backend/src/icons/svg/._anli_list.svg new file mode 100644 index 0000000..b79d387 Binary files /dev/null and b/backend/src/icons/svg/._anli_list.svg differ diff --git a/backend/src/icons/svg/._left_arrow.svg b/backend/src/icons/svg/._left_arrow.svg new file mode 100644 index 0000000..0b5aa51 Binary files /dev/null and b/backend/src/icons/svg/._left_arrow.svg differ diff --git a/backend/src/icons/svg/._right_arrow.svg b/backend/src/icons/svg/._right_arrow.svg new file mode 100644 index 0000000..9466402 Binary files /dev/null and b/backend/src/icons/svg/._right_arrow.svg differ diff --git a/backend/src/icons/svg/anli.svg b/backend/src/icons/svg/anli.svg new file mode 100644 index 0000000..a567725 --- /dev/null +++ b/backend/src/icons/svg/anli.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/icons/svg/anli_add.svg b/backend/src/icons/svg/anli_add.svg new file mode 100644 index 0000000..85cc6be --- /dev/null +++ b/backend/src/icons/svg/anli_add.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/icons/svg/anli_list.svg b/backend/src/icons/svg/anli_list.svg new file mode 100644 index 0000000..f9ada72 --- /dev/null +++ b/backend/src/icons/svg/anli_list.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/icons/svg/left_arrow.svg b/backend/src/icons/svg/left_arrow.svg new file mode 100644 index 0000000..73fb40a --- /dev/null +++ b/backend/src/icons/svg/left_arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/icons/svg/right_arrow.svg b/backend/src/icons/svg/right_arrow.svg new file mode 100644 index 0000000..3d093db --- /dev/null +++ b/backend/src/icons/svg/right_arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/src/router/index.js b/backend/src/router/index.js index 74b841c..dd25400 100644 --- a/backend/src/router/index.js +++ b/backend/src/router/index.js @@ -98,6 +98,11 @@ export const constantRoutes = [ name: 'create', component: () => import('@/views/competition/create'), meta: { title: '新建大赛', icon: 'dasai' } + }, + { + path: 'edit', + name: 'Edit', + component: () => import('@/views/competition/create') } ] }, @@ -175,6 +180,31 @@ export const constantRoutes = [ meta: {title: '批量导入', icon: 'batch_add'} } ] + }, + { + path: 'anli', + component: () => import('@/views/resource/anli/index'), + name: 'anli', + meta: { title: '案例题管理', icon :'anli'}, + children: [ + { + path: 'list', + name: "List", + component: () => import('@/views/resource/anli/anliList'), + meta: { title: '案例题列表', icon: 'anli_list'} + }, + { + path: 'add', + name: 'Add', + component: () => import('@/views/resource/anli/add/anli'), + meta: { title: '新增竞赛案例', icon: 'anli_add'} + }, + { + path: 'edit', + name: 'Edit', + component: () => import('@/views/resource/anli/add/edit') + } + ] } ] }, diff --git a/backend/src/views/competition/components/commonEditor.vue b/backend/src/views/competition/components/commonEditor.vue new file mode 100644 index 0000000..a865316 --- /dev/null +++ b/backend/src/views/competition/components/commonEditor.vue @@ -0,0 +1,32 @@ + + \ No newline at end of file diff --git a/backend/src/views/competition/components/group.vue b/backend/src/views/competition/components/group.vue index 42a485d..7146769 100644 --- a/backend/src/views/competition/components/group.vue +++ b/backend/src/views/competition/components/group.vue @@ -18,7 +18,7 @@ @@ -33,26 +33,35 @@ - + - +
+ 查询 +
-
学校层次
-
所属省份
+
所属省份
+
学校层次
- - - +
    +
  • {{item.name}}
  • +
+
+
+
+
+
    +
  • {{item.name}}
  • +