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 @@ + + + + + + + + + + + + + + + + + + + + + + + Vaptcha Initializing... + + + + + + + + \ 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 @@ - - - - - 人员姓名: - - 查询 - 导出 - - - - - - - + + + + + {queryParam = {}, handleRefresh()}"> + + 导出 + + + + + 项目档案 + + 自学档案 + + 违章档案 + + handleDelete(record)"> + 导出 + + + + + + + - \ 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 @@ + + + + + + + {queryParam = {}, tabs1HandleRefresh()}"> + + + + 培训详情 + + 答题记录 + + + + + + + + {queryParam = {}, tabs2HandleRefresh()}"> + + + + 查看详情 + + + + + + + + + \ 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 @@ + + + + + {queryParam = {}, handleRefresh()}"> + + + + + + + \ 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 @@ + + + + + {queryParam = {}, handleRefresh()}"> + + + + + + + \ 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 @@ + + + + + {{detailData.name}} + {{detailData.time}} + {{detailData.host}} + {{detailData.personSize}} + {{detailData.studyContent}} + {{detailData.contact}} + {{detailData.remark}} + + + + {{detailData.signInTime}} + + + + {{detailData.state}} + + + + + + + + \ No newline at end of file