From 29417f40685a280c4d0c00ca2a77a6891743a94f Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Tue, 1 Apr 2025 15:40:59 +0800 Subject: [PATCH 1/8] add process of apply-for-credits --- process/apply-for-credits.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 process/apply-for-credits.md diff --git a/process/apply-for-credits.md b/process/apply-for-credits.md new file mode 100644 index 0000000..376f84b --- /dev/null +++ b/process/apply-for-credits.md @@ -0,0 +1,18 @@ +# 申请第二课堂学分 + +:::info 维护信息 +| 维护人 | 时间 | +| -------- | --------- | +| @ZaoAn0skiler | ??? - ??? | +::: + + +## 流程 + +```mermaid +graph TD + A[填写&修改申报表] -->|按模板| B[提交校素拓部负责人] + C[项目结束] -->|填写学分名单(按模板)| D[提交校素拓部负责人] + D --> E[社内留档] + +``` From 018c6e461013b2cf6dbed083da71dc292a3199d0 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Tue, 1 Apr 2025 16:17:44 +0800 Subject: [PATCH 2/8] add process of apply-for-credits --- process/apply-for-credits.md | 18 ------------------ process/borrow-classroom.md | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 process/apply-for-credits.md diff --git a/process/apply-for-credits.md b/process/apply-for-credits.md deleted file mode 100644 index 376f84b..0000000 --- a/process/apply-for-credits.md +++ /dev/null @@ -1,18 +0,0 @@ -# 申请第二课堂学分 - -:::info 维护信息 -| 维护人 | 时间 | -| -------- | --------- | -| @ZaoAn0skiler | ??? - ??? | -::: - - -## 流程 - -```mermaid -graph TD - A[填写&修改申报表] -->|按模板| B[提交校素拓部负责人] - C[项目结束] -->|填写学分名单(按模板)| D[提交校素拓部负责人] - D --> E[社内留档] - -``` diff --git a/process/borrow-classroom.md b/process/borrow-classroom.md index fdaeb14..816f81f 100644 --- a/process/borrow-classroom.md +++ b/process/borrow-classroom.md @@ -20,4 +20,23 @@ graph TD F --> G[在工作日提交给教室管理员] G --> H[等待维修日] H --> I[提前1小时确认是否开门] -``` \ No newline at end of file +``` + +# 申请第二课堂学分 + +:::info 维护信息 +| 维护人 | 时间 | +| -------- | --------- | +| @ZaoAn0skiler | ??? - ??? | +::: + + +## 流程 + +```mermaid +graph TD + A[填写&修改申报表] -->|按模板| B[提交校素拓部负责人] + C[项目结束] -->|填写学分名单(按模板)| D[提交校素拓部负责人] + D --> E[社内留档] + +``` From cebb1aac15a56cbd64fb97ba2c10f25b849059fd Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Tue, 1 Apr 2025 16:36:24 +0800 Subject: [PATCH 3/8] add process of apply-for-credits --- process/borrow-classroom.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/process/borrow-classroom.md b/process/borrow-classroom.md index 816f81f..c2f630c 100644 --- a/process/borrow-classroom.md +++ b/process/borrow-classroom.md @@ -35,8 +35,11 @@ graph TD ```mermaid graph TD - A[填写&修改申报表] -->|按模板| B[提交校素拓部负责人] - C[项目结束] -->|填写学分名单(按模板)| D[提交校素拓部负责人] - D --> E[社内留档] - + A[填写和修改二课堂学分申报表] --> B[确定人员、学分数额] + B --> C[交到校素拓部负责人] + C --> D{审核通过?} + D -- 否,修正 --> B + D -- 是 --> E[填写和修改学分申报名单] + E --> F[交到校素拓部负责人] + F --> G[社内留档一份] ``` From 84745c4d3ec0208e871c0ad4ed36eabb3aca7048 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Wed, 2 Apr 2025 12:34:27 +0800 Subject: [PATCH 4/8] fix the process sidebar and add apply-for-credits --- process/2025/apply-for-credits.md | 21 +++++++++++++++++++++ process/{ => 2025}/borrow-classroom.md | 22 ---------------------- process/index.md | 5 +++++ process/sidebar.ts | 26 ++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 22 deletions(-) create mode 100644 process/2025/apply-for-credits.md rename process/{ => 2025}/borrow-classroom.md (50%) create mode 100644 process/index.md create mode 100644 process/sidebar.ts diff --git a/process/2025/apply-for-credits.md b/process/2025/apply-for-credits.md new file mode 100644 index 0000000..fa61858 --- /dev/null +++ b/process/2025/apply-for-credits.md @@ -0,0 +1,21 @@ +# 申请第二课堂学分 + +:::info 维护信息 +| 维护人 | 时间 | +| -------- | --------- | +| @ZaoAn0skiler | ??? - ??? | +::: + + +## 流程 + +```mermaid +graph TD + A[填写和修改二课堂学分申报表] --> B[确定人员、学分数额] + B --> C[交到校素拓部负责人] + C --> D{审核通过?} + D -- 否,修正 --> B + D -- 是 --> E[填写和修改学分申报名单] + E --> F[交到校素拓部负责人] + F --> G[社内留档一份] +``` diff --git a/process/borrow-classroom.md b/process/2025/borrow-classroom.md similarity index 50% rename from process/borrow-classroom.md rename to process/2025/borrow-classroom.md index c2f630c..3cc8881 100644 --- a/process/borrow-classroom.md +++ b/process/2025/borrow-classroom.md @@ -21,25 +21,3 @@ graph TD G --> H[等待维修日] H --> I[提前1小时确认是否开门] ``` - -# 申请第二课堂学分 - -:::info 维护信息 -| 维护人 | 时间 | -| -------- | --------- | -| @ZaoAn0skiler | ??? - ??? | -::: - - -## 流程 - -```mermaid -graph TD - A[填写和修改二课堂学分申报表] --> B[确定人员、学分数额] - B --> C[交到校素拓部负责人] - C --> D{审核通过?} - D -- 否,修正 --> B - D -- 是 --> E[填写和修改学分申报名单] - E --> F[交到校素拓部负责人] - F --> G[社内留档一份] -``` diff --git a/process/index.md b/process/index.md new file mode 100644 index 0000000..9bc9d3f --- /dev/null +++ b/process/index.md @@ -0,0 +1,5 @@ +# 申报流程说明 + +所有的流程文件仅供参考,因为随着时间的变化,校方以及社内事务流程是否变更已不可察,请以社内管理人员为准 + +此处为方便全社人员快速掌握申报流程而编写的文档,请注意更新 diff --git a/process/sidebar.ts b/process/sidebar.ts new file mode 100644 index 0000000..7361375 --- /dev/null +++ b/process/sidebar.ts @@ -0,0 +1,26 @@ +export const sidebar = [ + { + text: '说明', + link: '/process/index', + }, + { + text: '2025版本', + collapsed: false, + base: '/process/2025/', + items: [ + { + text: '申报流程', + items: [ + { + text: '借教室', + link: 'borrow-classroom', + }, + { + text: '申请第二课堂学分', + link: 'apply-for-credits', + }, + ] + } + ] + } +] From db3487e9577efecca110b9d1a85d909f21a9ec5c Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Wed, 2 Apr 2025 12:58:07 +0800 Subject: [PATCH 5/8] fix the vitepress config --- .vitepress/config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index f9fbbc8..650a097 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -17,7 +17,8 @@ export default withMermaid({ }, sidebar: { '/process/': [ - { text: '借教室', link: '/process/borrow-classroom' } + { text: '借教室', link: '/process/2025/borrow-classroom' }, + { text: '申请第二课堂学分', link: '/process/2025/apply-for-credits' }, ], '/repair/': [ { text: '维修操作指南', link: '/repair/guide' }, From c06e7939da90b06251a941f07d7bac9bbf8f7417 Mon Sep 17 00:00:00 2001 From: m1ng <128229751+m1ngsama@users.noreply.github.com> Date: Wed, 2 Apr 2025 22:52:48 +0800 Subject: [PATCH 6/8] Update .vitepress/config.mts Co-authored-by: clas --- .vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 650a097..d7afd4f 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -19,7 +19,7 @@ export default withMermaid({ '/process/': [ { text: '借教室', link: '/process/2025/borrow-classroom' }, { text: '申请第二课堂学分', link: '/process/2025/apply-for-credits' }, - ], + '/process/': sidebarProcess, '/repair/': [ { text: '维修操作指南', link: '/repair/guide' }, { text: 'Tools', link: '/repair/tools' }, From e8627e46e13f77e017aba46e5df0e3b5d7bbaf5d Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Thu, 3 Apr 2025 16:53:10 +0800 Subject: [PATCH 7/8] fix the sidebar config --- .vitepress/config.mts | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index d7afd4f..40bc7f3 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -1,39 +1,37 @@ -import { withMermaid } from "vitepress-plugin-mermaid" -import { sidebar as sidebarArchived } from "../archived/sidebar" +import { withMermaid } from 'vitepress-plugin-mermaid'; +import { sidebar as sidebarArchived } from '../archived/sidebar'; +import { sidebar as sidebarProcess } from '../process/sidebar'; // https://vitepress.dev/reference/site-config export default withMermaid({ - title: "计算机协会文档", - description: "Documents for nbtca", + title: '计算机协会文档', + description: 'Documents for nbtca', themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: '流程', link: '/process/borrow-classroom' }, { text: '维修', link: '/repair/guide' }, - { text: '存档', link: '/archived' } + { text: '存档', link: '/archived' }, ], search: { - provider: "local" + provider: 'local', }, sidebar: { - '/process/': [ - { text: '借教室', link: '/process/2025/borrow-classroom' }, - { text: '申请第二课堂学分', link: '/process/2025/apply-for-credits' }, '/process/': sidebarProcess, '/repair/': [ { text: '维修操作指南', link: '/repair/guide' }, { text: 'Tools', link: '/repair/tools' }, ], - '/archived': sidebarArchived + '/archived': sidebarArchived, }, editLink: { pattern: 'https://github.com/nbtca/documents/edit/main/:path', - text: 'Edit this page on GitHub' + text: 'Edit this page on GitHub', }, socialLinks: [ - { icon: 'github', link: 'https://github.com/nbtca/documents' } - ] + { icon: 'github', link: 'https://github.com/nbtca/documents' }, + ], }, ignoreDeadLinks: true, lastUpdated: true, -}) +}); From 199633eb9540d4c5fd59fcbb4168cc5e8f54f1e2 Mon Sep 17 00:00:00 2001 From: Clas Wen Date: Thu, 3 Apr 2025 18:29:59 +0800 Subject: [PATCH 8/8] fix nav --- .vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 40bc7f3..2d2e655 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -9,7 +9,7 @@ export default withMermaid({ themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ - { text: '流程', link: '/process/borrow-classroom' }, + { text: '流程', link: '/process/' }, { text: '维修', link: '/repair/guide' }, { text: '存档', link: '/archived' }, ],