From 9cf8f479bc9f77c470cdf34cb979a12526d3e475 Mon Sep 17 00:00:00 2001 From: tianea Date: Thu, 24 Feb 2022 22:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=B5=9B=E8=B5=9B=E7=BB=84=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/public/svg/._left.svg | Bin 0 -> 4096 bytes backend/public/svg/._right_arrow.svg | Bin 0 -> 4096 bytes backend/public/svg/left.svg | 1 + backend/public/svg/right_arrow.svg | 1 + backend/src/api/competition.js | 47 +++ backend/src/api/group.js | 47 +++ backend/src/api/multiquestion.js | 46 +++ backend/src/api/province.js | 45 +++ backend/src/components/Kanban/index.vue | 3 +- backend/src/icons/svg/._anli.svg | Bin 0 -> 4096 bytes backend/src/icons/svg/._anli_add.svg | Bin 0 -> 4096 bytes backend/src/icons/svg/._anli_list.svg | Bin 0 -> 4096 bytes backend/src/icons/svg/._left_arrow.svg | Bin 0 -> 4096 bytes backend/src/icons/svg/._right_arrow.svg | Bin 0 -> 4096 bytes backend/src/icons/svg/anli.svg | 1 + backend/src/icons/svg/anli_add.svg | 1 + backend/src/icons/svg/anli_list.svg | 1 + backend/src/icons/svg/left_arrow.svg | 1 + backend/src/icons/svg/right_arrow.svg | 1 + backend/src/router/index.js | 30 ++ .../competition/components/commonEditor.vue | 32 ++ .../views/competition/components/group.vue | 259 ++++++++++--- .../views/competition/components/survey.vue | 136 +++++-- backend/src/views/competition/create.vue | 105 ++--- backend/src/views/competition/index.vue | 87 ++--- backend/src/views/resource/anli/add/anli.vue | 354 +++++++++++++++++ backend/src/views/resource/anli/add/edit.vue | 358 ++++++++++++++++++ backend/src/views/resource/anli/anliList.vue | 299 +++++++++++++++ backend/src/views/resource/anli/index.vue | 3 + .../src/views/resource/course/add/index.vue | 2 +- backend/src/views/resource/course/list.vue | 2 +- backend/src/views/resource/exam/add/batch.vue | 6 +- backend/src/views/resource/exam/add/edit.vue | 2 +- backend/src/views/resource/exam/add/index.vue | 6 +- backend/src/views/resource/exam/anliList.vue | 296 +++++++++++++++ backend/src/views/resource/exam/list.vue | 71 ++-- tz/gateway/target/classes/bootstrap.yml | 17 + 37 files changed, 2036 insertions(+), 224 deletions(-) create mode 100644 backend/public/svg/._left.svg create mode 100644 backend/public/svg/._right_arrow.svg create mode 100644 backend/public/svg/left.svg create mode 100644 backend/public/svg/right_arrow.svg create mode 100644 backend/src/api/competition.js create mode 100644 backend/src/api/group.js create mode 100644 backend/src/api/multiquestion.js create mode 100644 backend/src/api/province.js create mode 100644 backend/src/icons/svg/._anli.svg create mode 100644 backend/src/icons/svg/._anli_add.svg create mode 100644 backend/src/icons/svg/._anli_list.svg create mode 100644 backend/src/icons/svg/._left_arrow.svg create mode 100644 backend/src/icons/svg/._right_arrow.svg create mode 100644 backend/src/icons/svg/anli.svg create mode 100644 backend/src/icons/svg/anli_add.svg create mode 100644 backend/src/icons/svg/anli_list.svg create mode 100644 backend/src/icons/svg/left_arrow.svg create mode 100644 backend/src/icons/svg/right_arrow.svg create mode 100644 backend/src/views/competition/components/commonEditor.vue create mode 100644 backend/src/views/resource/anli/add/anli.vue create mode 100644 backend/src/views/resource/anli/add/edit.vue create mode 100644 backend/src/views/resource/anli/anliList.vue create mode 100644 backend/src/views/resource/anli/index.vue create mode 100644 backend/src/views/resource/exam/anliList.vue create mode 100644 tz/gateway/target/classes/bootstrap.yml diff --git a/backend/public/svg/._left.svg b/backend/public/svg/._left.svg new file mode 100644 index 0000000000000000000000000000000000000000..0b5aa5160b605b8b8e95124e07b208c864aa5f86 GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j10{UlTDJWoimE^ zb5pIIER0-T933rnEeuSJbxjP+4RxK2on3$|OCwiPV>c56Cr31kM!BOQFd71*Aut*O zqaiRF0;3@?8UmvsFd71*Aut*OBPRqvolOu11G$il%wmP2)Z+ZoqU2PCwEUuMh0MH? qRA9F=KQA#Sr&1v&HLXM;DJL;68`u|y>Kf7%s{i3$kztVg{~rK=Eiz*O literal 0 HcmV?d00001 diff --git a/backend/public/svg/._right_arrow.svg b/backend/public/svg/._right_arrow.svg new file mode 100644 index 0000000000000000000000000000000000000000..9466402907b85d2c2d2107d1b02fabb549c164a4 GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j10{UlTFR6oimE^ zb5pII3@lB}og6K6Eu9^Wbxq7&9d#WooGo>YolIPe9W9(3&0LMqEE?sGhQMeDjE2By z2#kinXb6mkz-S1JhQMeDjE2By2#lN%0ChG&7!2e>GBS%5ic*X7ON)|I71HvHvK2D( rN>YK{&iuT@oSaI9oYb@ug`}Lsylh}!7^-VXQ>gxjdqsvp?*D%P$;&c% literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d843f8aabe33950e428deeddf6fa92c3b5d5fe78 GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j0{c8j4TbUoimE^ zb5pGiU0hu)Ok7=cO`KdzbxkZRophbd&0Ta2EKJNT9bFwwoSmJ}EE?sGhQMeDjE2By z2#kinXb6mkz-S1JhQMeDjE2By2#lN%0ChG&7!2e>GBS%5ic*X7ON)|I71HvHvK2D( rN>YK{&iuT@oSaI9oYb@ug`}Lsylh}!7^-VXQ>gxjdqsvp?*D%PlnpXv literal 0 HcmV?d00001 diff --git a/backend/src/icons/svg/._anli_add.svg b/backend/src/icons/svg/._anli_add.svg new file mode 100644 index 0000000000000000000000000000000000000000..4aac346785aac72d82ba90ceba0d39de06994add GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j0{c8OpFq(oimE^ zb5pGiEX_=eO9R;HyFd71*Aut*O zqaiRF0;3@?8UmvsFd71*Aut*OBQyj+olOu11G$il%wmP2)Z+ZoqU2PCwEUuMh0MH? qRA9F=KQA#Sr&1v&HLXM;DJL;68`u|y>Kf7%s{i3$kztVg{~rLTnld8* literal 0 HcmV?d00001 diff --git a/backend/src/icons/svg/._anli_list.svg b/backend/src/icons/svg/._anli_list.svg new file mode 100644 index 0000000000000000000000000000000000000000..b79d38770b4b244e87e551e5dbbce163fae8b81e GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j0{c8j7^QKoimE^ zb5pIIoy`r+EzFE`Eu5V!bxoX1oOB(HT#a-s%^lq=&7GVqTr7;yEE?sGhQMeDjE2By z2#kinXb6mkz-S1JhQMeDjE2By2#lN%0ChG&7!2e>GBS%5ic*X7ON)|I71HvHvK2D( rN>YK{&iuT@oSaI9oYb@ug`}Lsylh}!7^-VXQ>gxjdqsvp?*D%P$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j10{UlTDJWoimE^ zb5pIIER0-T933rnEeuSJbxjP+4RxK2on3$|OCwiPV>c56Cr31kM!BOQFd71*Aut*O zqaiRF0;3@?8UmvsFd71*Aut*OBPRqvolOu11G$il%wmP2)Z+ZoqU2PCwEUuMh0MH? qRA9F=KQA#Sr&1v&HLXM;DJL;68`u|y>Kf7%s{i3$kztVg{~rK=Eiz*O literal 0 HcmV?d00001 diff --git a/backend/src/icons/svg/._right_arrow.svg b/backend/src/icons/svg/._right_arrow.svg new file mode 100644 index 0000000000000000000000000000000000000000..9466402907b85d2c2d2107d1b02fabb549c164a4 GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wO%uWLu(X0m{L|MU(S$^%4sTa#HmQOB0I{^GY)FQW*>kEDWv9j10{UlTFR6oimE^ zb5pII3@lB}og6K6Eu9^Wbxq7&9d#WooGo>YolIPe9W9(3&0LMqEE?sGhQMeDjE2By z2#kinXb6mkz-S1JhQMeDjE2By2#lN%0ChG&7!2e>GBS%5ic*X7ON)|I71HvHvK2D( rN>YK{&iuT@oSaI9oYb@ug`}Lsylh}!7^-VXQ>gxjdqsvp?*D%P$;&c% literal 0 HcmV?d00001 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}}
  • +