diff --git a/src/api/archives/user.js b/src/api/archives/user.js new file mode 100644 index 0000000..f350d63 --- /dev/null +++ b/src/api/archives/user.js @@ -0,0 +1,84 @@ +import request from '@/utils/request' + +const courseApi = { + list: '/archives/user/listPage', + autoTrainList: '/archives/user/autoTrainPageList', + autoTrainDetailList: '/archives/user/autoTrainDetailPageList', + autoTrainAnswerList: '/archives/user/autoTrainAnswerPageList', + terminalTrainList: '/archives/user/terminalTrainPageList', + terminalTrainDetail: '/archives/user/terminalTrainDetail', + selfStudyList: '/archives/user/selfStudyPageList', + violationList: '/archives/user/violationPageList' +} + +// 人员档案 列表 +export function getArchivesUserList(params) { + return request({ + url: courseApi.list, + method: 'get', + params: params + }) +} + +// 人员档案-自主培训 列表 +export function getArchivesUserAutoTrainList(params) { + return request({ + url: courseApi.autoTrainList, + method: 'get', + params: params + }) +} + +// 人员档案-自主培训-培训详情 列表 +export function getArchivesUserAutoTrainDetailList(params) { + return request({ + url: courseApi.autoTrainDetailList, + method: 'get', + params: params + }) +} + +// 人员档案-自主培训-答题记录 列表 +export function getArchivesUserAutoTrainAnswerList(params) { + return request({ + url: courseApi.autoTrainAnswerList, + method: 'get', + params: params + }) +} + +// 人员档案-终端培训 列表 +export function getArchivesUserTerminalTrainList(params) { + return request({ + url: courseApi.terminalTrainList, + method: 'get', + params: params + }) +} + +// 人员档案-终端培训-查看详情 +export function getArchivesUserTerminalTrainDetail(params) { + return request({ + url: courseApi.terminalTrainDetail, + method: 'get', + params: params + }) +} + +// 人员档案-自学档案 +export function getArchivesUserSelfStudyList(params) { + return request({ + url: courseApi.selfStudyList, + method: 'get', + params: params + }) +} + +// 人员档案-违章档案 +export function getArchivesUserViolationList(params) { + return request({ + url: courseApi.violationList, + method: 'get', + params: params + }) +} \ No newline at end of file diff --git a/src/components/vaptcha/Vaptcha.vue b/src/components/vaptcha/Vaptcha.vue new file mode 100644 index 0000000..0bcbecd --- /dev/null +++ b/src/components/vaptcha/Vaptcha.vue @@ -0,0 +1,123 @@ + + + + + \ No newline at end of file diff --git a/src/views/archives/user/Index.vue b/src/views/archives/user/Index.vue index 2df4e90..647f8e1 100644 --- a/src/views/archives/user/Index.vue +++ b/src/views/archives/user/Index.vue @@ -1,52 +1,84 @@ - \ No newline at end of file diff --git a/src/views/archives/user/Project.vue b/src/views/archives/user/Project.vue new file mode 100644 index 0000000..aae7f30 --- /dev/null +++ b/src/views/archives/user/Project.vue @@ -0,0 +1,138 @@ + + + \ No newline at end of file diff --git a/src/views/archives/user/ProjectAnswer.vue b/src/views/archives/user/ProjectAnswer.vue new file mode 100644 index 0000000..d57577b --- /dev/null +++ b/src/views/archives/user/ProjectAnswer.vue @@ -0,0 +1,36 @@ + + + \ No newline at end of file diff --git a/src/views/archives/user/ProjectDetail.vue b/src/views/archives/user/ProjectDetail.vue new file mode 100644 index 0000000..40e79d5 --- /dev/null +++ b/src/views/archives/user/ProjectDetail.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/src/views/archives/user/SelfStudy.vue b/src/views/archives/user/SelfStudy.vue new file mode 100644 index 0000000..60a0e92 --- /dev/null +++ b/src/views/archives/user/SelfStudy.vue @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/src/views/archives/user/TerminalTrainDetail.vue b/src/views/archives/user/TerminalTrainDetail.vue new file mode 100644 index 0000000..b25c097 --- /dev/null +++ b/src/views/archives/user/TerminalTrainDetail.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file