diff --git a/src/api/growthpath.js b/src/api/growthpath.js index 8a9c5f91..29a342a8 100644 --- a/src/api/growthpath.js +++ b/src/api/growthpath.js @@ -19,6 +19,10 @@ export const publishedTask = (id) => http.get(API_URL + '/professional/task/publ export const withdrawTask = (id) => http.get(API_URL + '/professional/task/withdrawal/' + id) //批量删除学习任务 export const deleteTask = (ids) => http.get(API_URL + '/professional/task/delete/' + ids) + + +//列表排序 +export const toSortTask = (ids) => http.get(API_URL + `/professional/task/sortTask/` + ids) //新增、编辑成长路径 // export const addEdit = (obj) => http.post('/admin/grow/edit', obj) //编辑获取路径信息 @@ -48,8 +52,7 @@ export const copyCreate = (obj) => http.post('/admin/grow/copy', obj) export const removeTask = (obj) => http.post(`/admin/grow/removeTask?growId=${obj.growId}&taskIdList=${obj.taskId}`) //改变选修必修 export const isRequiredTask = (obj) => http.post(`/admin/grow/isRequiredTask?taskId=${obj.taskId}`) -//列表排序 -export const toSortTask = (obj) => http.post(`/admin/grow/toSortTask?taskIdList=${obj}`) + //获取学员列表 export const getGrowStudent = (obj) => http.get('/admin/student/getGrowStudent', { params: obj }) //获取查看详情 diff --git a/src/api/method.js b/src/api/method.js index cb856747..31bd834c 100644 --- a/src/api/method.js +++ b/src/api/method.js @@ -278,8 +278,8 @@ const commonData = { const organizationalTree = [] //嵌套页面 -// const iframeUrl = window.location.protocol + process.env.VUE_APP_IFRAME_URL -const iframeUrl = 'http://localhost:80/pc/iframe' +const iframeUrl = window.location.protocol + process.env.VUE_APP_IFRAME_URL +// const iframeUrl = 'http://localhost:80/pc/iframe' //学员端路由 const studentUrl = window.location.protocol + process.env.VUE_APP_IFRAME_STUDENT_URL const teacherUrl = window.location.protocol + process.env.VUE_APP_IFRAME_TEACHER_URL diff --git a/src/components/growthpath/CommonHomework.vue b/src/components/growthpath/CommonHomework.vue new file mode 100644 index 00000000..daf49c92 --- /dev/null +++ b/src/components/growthpath/CommonHomework.vue @@ -0,0 +1,355 @@ + + + + + + + + + + 作业名称: + + + + + + + + + + + + 开始时间: + + + + + + + + + + + 作业要求: + + + + + + + + + + + + + + + + + + 取消 + 确定 + + + + + diff --git a/src/components/growthpath/CommonTest.vue b/src/components/growthpath/CommonTest.vue new file mode 100644 index 00000000..2979ed0e --- /dev/null +++ b/src/components/growthpath/CommonTest.vue @@ -0,0 +1,744 @@ + + + + + + + 系统考试 + + + 外部考试 + + + + + + + + + + + + 考试名称: + + + + + + + + + + + + 选择试卷: + + + + {{ + formData.examinationTestName + }} + + + + + {{ formData.examinationPaperId ? "重选" : "选择" }}试卷 + + + + + + + + + + 考试时间: + + + + + + + + + + + 考试时长: + + + + 分钟 + + + + + + + + 及格线: + + + + + 分 + + + + + 考试说明: + + + + + + + + 考试限制: + + + + + 允许重复考试: + + 次,-1表示无限制 + + + + + + + + 显示答案: + + + + 允许查看 + 不允许查看 + + + + + + 显示解析: + + + + 允许查看 + 不允许查看 + + + + + + 评分模式: + + + + 最高一次 + 最后一次 + + + + + + + 试题排列: + + + + 试题乱序 + 选项乱序 + 全部乱序 + 不乱序 + + + + + + + + + + + + + + 考试名称: + + + + + + + + + + + 数据来源: + + + + + + + + 考试说明: + + + + + + + + + + 取消 + 确定 + + + + + + + + + + + + + + diff --git a/src/components/growthpath/GrowthAssessment.vue b/src/components/growthpath/GrowthAssessment.vue index 2a2a0a58..941afa55 100644 --- a/src/components/growthpath/GrowthAssessment.vue +++ b/src/components/growthpath/GrowthAssessment.vue @@ -1,65 +1,123 @@ - - - - - - - - 搜索 - - - - 重置 - - - - 刷新 - - + + + + + + + + + 搜索 + + + + 重置 + + + + 刷新 + + - - - 新建评估 - - + + + 新建评估 + + - - - + + + + + 选择 + + + + - - - diff --git a/src/views/growthpath/EditingTasks.vue b/src/views/growthpath/EditingTasks.vue index d205fb0b..3ab0fe29 100644 --- a/src/views/growthpath/EditingTasks.vue +++ b/src/views/growthpath/EditingTasks.vue @@ -251,15 +251,13 @@ - - +