From a419efb94f091b102d3aca34c7252426d74b7fb1 Mon Sep 17 00:00:00 2001 From: unknown <2569982966@qq.com> Date: Mon, 13 Jun 2022 17:45:13 +0800 Subject: [PATCH 1/5] =?UTF-8?q?header=E9=83=A8=E5=88=86=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=A2=B3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header.vue | 54 ++++++++++++++++++++++++++++++++++++- src/components/Login.vue | 6 ++--- src/components/Register.vue | 2 +- src/pages/Home/Home.vue | 2 +- 4 files changed, 58 insertions(+), 6 deletions(-) diff --git a/src/components/Header.vue b/src/components/Header.vue index 844ee7f..c66cc08 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -42,13 +42,14 @@ + + \ No newline at end of file diff --git a/src/pages/Admin/CompManage.vue b/src/pages/Admin/CompManage.vue new file mode 100644 index 0000000..44c5c32 --- /dev/null +++ b/src/pages/Admin/CompManage.vue @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 89b90cd..19cec5e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -160,6 +160,14 @@ let routes = [ meta: { title: '红山开源社区' }, + }, + { + // 竞赛管理 + path: "compManage", + component: () => import("@/pages/Admin/CompManage"), + meta: { + title: '红山开源社区' + }, } ] }, diff --git a/src/utils/http/interface.js b/src/utils/http/interface.js index 86f79b6..3ebd038 100644 --- a/src/utils/http/interface.js +++ b/src/utils/http/interface.js @@ -89,6 +89,16 @@ export const homeContentUpdate = data => { data }) }; + +export const getAllComp = () => { + return axios({ + headers:{ + "Authorization": localStorage.getItem("systemToken") + }, + url: '/admin/getAllComp', + method: 'get' + }) +}; // 默认全部倒出 // 根据需要进行 export default { @@ -100,5 +110,6 @@ export default { register, chatContentUpdate, homeContentUpdate, - getUserDataByUserId + getUserDataByUserId, + getAllComp } \ No newline at end of file From e53b0d8f6b15584f792585f4475ce922d160f030 Mon Sep 17 00:00:00 2001 From: unknown <2569982966@qq.com> Date: Tue, 14 Jun 2022 17:34:58 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Admin/CompEdit.vue | 153 +++++++++++++++++++++++++++++++++ src/pages/Admin/CompManage.vue | 3 + src/router/index.js | 8 ++ 3 files changed, 164 insertions(+) create mode 100644 src/pages/Admin/CompEdit.vue diff --git a/src/pages/Admin/CompEdit.vue b/src/pages/Admin/CompEdit.vue new file mode 100644 index 0000000..486a547 --- /dev/null +++ b/src/pages/Admin/CompEdit.vue @@ -0,0 +1,153 @@ + + + + \ No newline at end of file diff --git a/src/pages/Admin/CompManage.vue b/src/pages/Admin/CompManage.vue index 44c5c32..6e70c03 100644 --- a/src/pages/Admin/CompManage.vue +++ b/src/pages/Admin/CompManage.vue @@ -5,6 +5,9 @@ 竞赛管理 +
+ 新增竞赛 +
diff --git a/src/router/index.js b/src/router/index.js index 19cec5e..eccd85f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -168,6 +168,14 @@ let routes = [ meta: { title: '红山开源社区' }, + }, + { + // 竞赛管理 + path: "compEdit/:compId", + component: () => import("@/pages/Admin/CompEdit"), + meta: { + title: '红山开源社区' + }, } ] }, From cbf99394917f18d4b71b24bb0551d5b9e3f16ab0 Mon Sep 17 00:00:00 2001 From: unknown <2569982966@qq.com> Date: Wed, 15 Jun 2022 11:15:13 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Admin/CompEdit.vue | 229 ++++++++++++++++++++++++++++++++++- 1 file changed, 228 insertions(+), 1 deletion(-) diff --git a/src/pages/Admin/CompEdit.vue b/src/pages/Admin/CompEdit.vue index 486a547..fa74fc1 100644 --- a/src/pages/Admin/CompEdit.vue +++ b/src/pages/Admin/CompEdit.vue @@ -95,6 +95,187 @@
+ +
+

通知公告信息

+
+ + + + + + + + + + 保存 + + + +
+
+ +
+

参赛报名信息

+
+ + + + + + + + + +
+
+ +
+

提案提交信息

+
+ + + + + + + + + + + + + 保存 + + +
+
+ +
+

数据统计信息

+
+ + + + + + + 保存 + + +
+
+ +
+

排行榜

+
+ + + + + + + 保存 + + +
+
+ +
+

交流互动信息

+
+ + + + + +
将文件拖到此处,或点击上传
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + +
+
+
+ +
+

联系我们信息

+
+ + + + + +
将文件拖到此处,或点击上传
+
+
+ + + + + + + + + + 保存 + +
+
+
@@ -133,6 +314,34 @@ export default { content:'', contentMd:'', show: false + }, + noticeInfo:{ + show: false, + }, + applyInfo:{ + + show: true, + }, + submitInfo:{ + show: true, + onlineScript: false, + onlineInter:'', + }, + chartInfo:{ + show: false, + }, + rankInfo:{ + show: false, + }, + chatInfo:{ + show: true, + urlOne:"", + urlTwo:"", + urlThree:"", + logoOne:"", + logoTwo:"", + logoThree:"", + imgUrl:"", } } @@ -146,8 +355,26 @@ export default { \ No newline at end of file