diff --git a/src/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index 0e4c9a7..aa72e03 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -183,6 +183,60 @@ export default [ }, ], }, + { + path: "/platform_resource_library/paper/list", + meta: { title: "试卷管理", isSubMenu: false }, + component: "children", + children: [ + { + path: "", + component: "platform_resource_library/paper/list", + }, + { + path: "/platform_resource_library/paper/view", + meta: { + title: "试卷详情查看", + activeMenu: "/platform_resource_library/paper/list", + }, + component: "platform_resource_library/paper/view", + }, + ], + }, + ], + }, + { + path: "/archives", + redirect: "/archives/user", + meta: { title: "档案管理", model: MODEL["2"] }, + component: "children", + children: [ + { + path: "/archives/user", + meta: { title: "一人一档", isSubMenu: false }, + component: "children", + children: [ + { + path: "", + component: "archives/user/index", + }, + { + path: "/archives/user/task_list", + meta: { + title: "任务详情", + activeMenu: "/archives/user", + }, + component: "archives/user/task_list", + }, + { + path: "/archives/user/detail", + meta: { + title: "任务详情", + activeMenu: "/archives/user", + }, + component: "archives/user/detail", + }, + ], + }, ], }, { diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 8abe143..4133715 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -13,6 +13,7 @@ :show-header="showHeader" :show-summary="showSummary" :summary-method="summaryMethod" + :span-method="spanMethod" @row-click="rowClick" @row-dblclick="rowDblclick" > @@ -93,6 +94,9 @@ const props = defineProps({ summaryMethod: { type: Function, }, + spanMethod: { + type: Function, + }, }); const emits = defineEmits([ "update:pagination", diff --git a/src/request/archives.js b/src/request/archives.js new file mode 100644 index 0000000..2f9244d --- /dev/null +++ b/src/request/archives.js @@ -0,0 +1,21 @@ +import { post } from "@/request/axios.js"; + +export const getUserList = (params) => post("/user/list", params); // 档案管理-一人一档-获取人员列表 + +export const getUserInfo = (params) => post("/user/goEditUser", params); // 档案管理-一人一档-获取人员详情 + +export const getTaskList = (params) => post("/studytask/userlist", params); // 档案管理-一人一档-获取任务详情列表 + +export const getStudyTaskInfo = (params) => post("/studytask/goEdit", params); // 档案管理-一人一档-档案详情-获取任务信息 + +export const getCurriculums = (params) => + post("/studytask/getAllCourseware", params); // 档案管理-一人一档-档案详情-获取课程列表 + +export const getArchivesPaper = (params) => + post("/studytask/getArchivesPaper", params); // 档案管理-一人一档-档案详情-获取试卷 + +export const getSignByStudyTask = (params) => + post("/studytasksign/getListByStudytaskID", params); // 档案管理-一人一档-档案详情-任务人员的签字信息 + +export const getUserExamScoreByStudyTaskId = (params) => + post("/stageexam/getUserExamScoreByStudystaskId", params); // 档案管理-一人一档-档案详情-??? diff --git a/src/request/platform_resource_library.js b/src/request/platform_resource_library.js index ef8c648..3429242 100644 --- a/src/request/platform_resource_library.js +++ b/src/request/platform_resource_library.js @@ -22,4 +22,13 @@ export const joinMyCurriculum = (params) => post("/platform/curriculum/joinMyCurriculum", params); // 课件资源管理-资料课件-添加 export const getCurriculumInfo = (params) => - post("platform/curriculum/goEdit", params); // 课件资源管理-获取课程详情信息 + post("/platform/curriculum/goEdit", params); // 课件资源管理-获取课程详情信息 + +export const getPaperList = (params) => + post("/platform/stageexampaperinput/list", params); // 试卷管理-获取课程列表 + +export const joinMyPaper = (params) => + post("/platform/stageexampaperinput/joinMyPaper", params); // 试卷管理-添加 + +export const getPaperInfo = (params) => + post("/platform/stageexampaperinput/goEdit", params); // 试卷管理-获取试卷详情信息 diff --git a/src/views/archives/user/components/personal.vue b/src/views/archives/user/components/personal.vue new file mode 100644 index 0000000..4684228 --- /dev/null +++ b/src/views/archives/user/components/personal.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/archives/user/detail.vue b/src/views/archives/user/detail.vue new file mode 100644 index 0000000..2e53e40 --- /dev/null +++ b/src/views/archives/user/detail.vue @@ -0,0 +1,500 @@ + + + + + diff --git a/src/views/archives/user/index.vue b/src/views/archives/user/index.vue new file mode 100644 index 0000000..a483dcc --- /dev/null +++ b/src/views/archives/user/index.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/src/views/archives/user/task_list.vue b/src/views/archives/user/task_list.vue new file mode 100644 index 0000000..02e2743 --- /dev/null +++ b/src/views/archives/user/task_list.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/src/views/platform_resource_library/courseware/data.vue b/src/views/platform_resource_library/courseware/data.vue index 0b4cfd6..751e7e6 100644 --- a/src/views/platform_resource_library/courseware/data.vue +++ b/src/views/platform_resource_library/courseware/data.vue @@ -87,8 +87,10 @@ - +