From 245397841c9fddf4be7b97e458b4c0565a60089b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 14 Sep 2021 09:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E7=AE=A1=E7=90=86=E3=80=81=E8=B5=84=E8=AE=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E3=80=81=E8=B5=9B=E4=BA=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 466 +++--- src/assets/img/arrow-down.png | Bin 0 -> 239 bytes src/assets/img/close.png | Bin 0 -> 318 bytes src/assets/img/upload.png | Bin 0 -> 209 bytes src/components/quill/index.vue | 19 +- src/layouts/home/index.vue | 1 + src/layouts/navbar/index.vue | 31 +- src/libs/auth/generateBtnPermission.js | 24 +- src/libs/route/addRoutes.js | 9 +- src/libs/util.js | 3 + src/main.js | 6 +- src/pages/account/login/index.vue | 244 ++-- src/pages/achievement/ass/index.vue | 4 +- src/pages/achievement/edit/index.vue | 8 +- src/pages/achievement/list/index.vue | 1 + src/pages/achievement/show/index.vue | 3 - src/pages/assessment/add/index.vue | 401 ++++-- src/pages/assessment/list/index.vue | 170 +-- src/pages/course/courseManagement/add.vue | 286 ++++ .../courseManagement/contentSettings.vue | 742 ++++++++++ src/pages/course/courseManagement/index.vue | 219 +++ src/pages/course/courseManagement/preview.vue | 495 +++++++ src/pages/course/index.vue | 66 + src/pages/course/sortManagement/index.vue | 166 +++ src/pages/evaluation/list/index.vue | 689 +++++---- src/pages/information/columnManage/index.vue | 397 +++++ .../information/contentManage/addArticle.vue | 267 ++++ .../information/contentManage/contentList.vue | 197 +++ src/pages/information/contentManage/index.vue | 102 ++ src/pages/information/index.vue | 64 + src/pages/match/add.vue | 472 ++++++ src/pages/match/index.vue | 279 ++++ src/pages/match/manage/index.vue | 61 + src/pages/match/manage/matchDetail.vue | 421 ++++++ src/pages/match/manage/matchProgress.vue | 162 +++ src/pages/match/manage/matchSignup.vue | 154 ++ src/pages/project/add/index.vue | 1283 ++++++----------- src/pages/project/add/index.vue.copy | 1080 ++++++++++++++ src/pages/project/list/index.vue | 596 ++++---- src/pages/setting/person/index.vue | 42 +- src/pages/student/list/index.vue | 811 ++++++++--- src/pages/system/list/index.vue | 3 +- src/pages/system/list/role.vue | 46 +- src/pages/system/list/staff.vue | 26 +- src/pages/system/list/staffSide.vue | 4 +- src/plugins/auth/index.js | 2 + src/plugins/requests/index.js | 2 +- src/router/index.js | 26 +- src/router/modules/course.js | 41 + src/router/modules/information.js | 29 + src/router/modules/match.js | 35 + src/router/routes.js | 8 +- src/setting.js | 197 ++- src/store/modules/info.js | 26 + src/store/modules/match.js | 19 + src/store/modules/project.js | 16 +- src/store/modules/user.js | 19 +- vue.config.js | 6 +- 58 files changed, 8503 insertions(+), 2443 deletions(-) create mode 100644 src/assets/img/arrow-down.png create mode 100644 src/assets/img/close.png create mode 100644 src/assets/img/upload.png create mode 100644 src/pages/course/courseManagement/add.vue create mode 100644 src/pages/course/courseManagement/contentSettings.vue create mode 100644 src/pages/course/courseManagement/index.vue create mode 100644 src/pages/course/courseManagement/preview.vue create mode 100644 src/pages/course/index.vue create mode 100644 src/pages/course/sortManagement/index.vue create mode 100644 src/pages/information/columnManage/index.vue create mode 100644 src/pages/information/contentManage/addArticle.vue create mode 100644 src/pages/information/contentManage/contentList.vue create mode 100644 src/pages/information/contentManage/index.vue create mode 100644 src/pages/information/index.vue create mode 100644 src/pages/match/add.vue create mode 100644 src/pages/match/index.vue create mode 100644 src/pages/match/manage/index.vue create mode 100644 src/pages/match/manage/matchDetail.vue create mode 100644 src/pages/match/manage/matchProgress.vue create mode 100644 src/pages/match/manage/matchSignup.vue create mode 100644 src/pages/project/add/index.vue.copy create mode 100644 src/router/modules/course.js create mode 100644 src/router/modules/information.js create mode 100644 src/router/modules/match.js create mode 100644 src/store/modules/info.js create mode 100644 src/store/modules/match.js diff --git a/src/api/index.js b/src/api/index.js index 245c3ed..fb67be2 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,167 +1,303 @@ -import Setting from '@/setting' -// let host = 'http://192.168.31.125:9090'//林 -// let host = 'http://192.168.31.152:9090'//榕 -let host = Setting.apiBaseURL -let uploadURL = Setting.upload.apiURL -let host1 = 'http://39.108.250.202:8080/' +import Setting from '@/setting'; +// let host = Setting.apiBaseURL +let host = 'http://192.168.31.151:9000/'; // 榕 +// let host = 'http://192.168.31.125:9000/'; // 坤 +let xsHost = 'http://39.108.250.202:9000/'; // 线上 + + +let uploadURL = Setting.upload.apiURL; +let host1 = 'http://39.108.250.202:8080/'; // 川大 export default { - fileupload: `${uploadURL}oss/manage/fileupload`, - logins: `${host}liuwanr/userInfo/adminLogins`, //登录 - queryToken: `${host}liuwanr/userInfo/queryToken`, - - updateLogInNumber: `${host}liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 - uploadUserAvatars: `${host}liuwanr/userInfo/uploadUserAvatars`, //上传头像 - queryProvince: `${host}liuwanr/province/queryProvince`, //查询省份 - queryCity: `${host}liuwanr/city/queryCity`, //查询城市 - querySchoolData: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息 - - queryAccountIsExist:`${host}liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口 - queryWorkNumberIsExist:`${host}liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在 - querySchool: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息 - - queryPersonalCenter:`${host}liuwanr/personalCenter/queryPersonalCenter`, - addStaffPro: `${host}liuwanr/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, //添加员工专业 - queryStaffPro: `${host}liuwanr/staffProfessionalArchitecture/queryAllStaffProfessionalArchitecture`, //查询员工专业 - deleteStaffPro: `${host}liuwanr/staffProfessionalArchitecture/deleteStaffProfessionalArchitecture`, //删除员工专业 - deleteStaffGrade: `${host}liuwanr/staffGrade/deleteStaffGrade`, //删除员工部门 - updateStaffPro: `${host}liuwanr/staffProfessionalArchitecture/updateStaffProfessionalArchitecture`, //编辑员工专业 - queryStaffGrade: `${host}liuwanr/staffGrade/queryStaffGrade`, //查询员工部门 - queryStaffGradeDetails: `${host}liuwanr/staffGrade/queryStaffGradeDetails`, //查询员工部门详情 - addStaffGrade: `${host}liuwanr/staffGrade/addStaffGrade`, //新增员工部门 - updateStaffGrade: `${host}liuwanr/staffGrade/updateStaffGrade`, //编辑员工部门 - queryCourseDiscipline: `${host}liuwanr/course/queryCourseDiscipline`, //查询课程学科 - queryCourseProfessionalClass: `${host}liuwanr/course/queryCourseProfessionalClass`, //查询专业类 - queryCourseProfessional: `${host}liuwanr/course/queryCourseProfessional`, //查询专业 - queryPhone: `${host}liuwanr/user/queryPhone`, //查询电话是否存在 - queryEmail: `${host}liuwanr/user/queryEmail`, //查询邮箱是否存在 - queryStaffPAN:`${host}liuwanr/staffProfessionalArchitecture/queryStaffPAN`,//查询员工专业是否存在 - - // 个人中心 - userinfo:`${host}evaluation/tms/userInfo/userinfo`, - userinfoUpdate:`${host}evaluation/tms/userInfo/updateUser`, - sendEmailCode:`${host}evaluation/tms/user/sendEmailCode`,//发送邮箱验证码 - bingEmail:`${host}evaluation/tms/user/bingEmail`,//邮箱验证并更新 - sendPhoneCode:`${host}evaluation/tms/user/sendPhoneCode`,//发送手机验证码 - bindPhone:`${host}evaluation/tms/user/bindPhone`,//校验手机验证码 - examinePassword:`${host}evaluation/tms/user/examinePassword`,//更换密码 - - // 测评管理 - list: `${host}evaluation/tms/questions/list`, //分页加条件查询试题信息 - info: `${host}evaluation/tms/evaluationrules/info`, //测评规则信息的展示 - update: `${host}evaluation/tms/evaluationrules/update`, //修改测评规则信息 - delete: `${host}evaluation/tms/questions/delete`, //批量删除试题信息 - questionsTemplate: `${host}template/试题导入模板.xlsx`, //excel模板文件下载 - import: `${host}evaluation/tms/questions/import`, //通过excel批量导入 - infoId: `${host}evaluation/tms/questions/info/`, //根据试题id查询试题详情信息 - isenable: `${host}evaluation/tms/questions/isenable`, //是否禁用试题 - save: `${host}evaluation/tms/questions/save`, //新增一道试题 - questionsUpdate: `${host}evaluation/tms/questions/update`, //根据试题id修改试题信息 - upload: `${host}evaluation/tms/questions/upload`, //excel模板文件上传 - export_failure: `${host}evaluation/tms/questions/export_failure`, //导出导入失败的数据和失败原因 - - expDelete: `${host}evaluation/tms/exp/delete`, //删除实验教学 - expList: `${host}evaluation/tms/exp/list`, //实验教学列表 - expSave: `${host}evaluation/tms/exp/save`, //添加实验教学 - expUpdate: `${host}evaluation/tms/exp/update`, //修改实验教学 - expInfo: `${host}evaluation/tms/exp/getById/`, //实验教学详情 - expCheck: `${host}evaluation/tms/exp/check`, //实验名称判重 - getInvitationCode: `${host}evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 - expInfo1: `${host}evaluation/tms/exp/upload`, //实验教学提前结束 - - queryAllManagements: `${host}project/ProjectManagement/queryAllManagements`, //项目管理列表信息 - queryManagements: `${host}project/ProjectManagement/queryManagements`, //项目管理列表信息 - addRole: `${host}project/ProjectManagement/addRole`, //新增案例对象 - avgValues: `${host}project/ProjectManagement/avgValues`, //平均分配分值 - getByRoleId: `${host}project/ProjectManagement/getByRoleId`, //根据角色id查询信息 - getByjudgmentPointsId: `${host}project/ProjectManagement/getByjudgmentPointsId`, //实验任务表格信息的展示 - queryAllJudgmentPoints: `${host}project/ProjectManagement/queryAllJudgmentPoints`, //添加判分点面板的数据展示+条件筛选 - getProjectId: `${host}project/ProjectManagement/getProjectId`, //根据项目管理id查询对应信息 - updateProjectManagement: `${host}project/ProjectManagement/updateProjectManagement`, //编辑项目管理 - addProjectManagement: `${host}project/ProjectManagement/addProjectManagement`, //添加项目管理 - removeProjectManagement: `${host}project/ProjectManagement/removeProjectManagement`, //删除 - getJudgmentPoints: `${host}project/ProjectManagement/getJudgmentPoints`, //复制项目获取数据 - getZZJudgmentPoints: `${host}project/ProjectManagement/getZZJudgmentPoints`, //复制项目获取数据 - updateRole: `${host}project/ProjectManagement/updateRole`, //修改实验数据—角色信息 - isNameExistis: `${host}project/ProjectManagement/isNameExistis`, //项目名称是否存在 - QueryPfdInformation: `${host}judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息 - addProjectManagementTrad: `${host}project/ProjectManagement/newAddProjectManagement`, - getTrdingJudgmentPoints: `${host}project/ProjectManagement/getTrdingJudgmentPoints`, - updateProjectManagementTrad: `${host}project/ProjectManagement/newUpdateProjectManagement`, - enableProject: `${host}project/ProjectManagement/enable`, - QueryPointOfJudgement: `${host}judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询 - queryUserIds:`${host}liuwanr/userInfo/queryUserIds`, - - // 学生管理 - addStudent: `${host}evaluation/tms/student/zzAddStudent`, - daleteStudent: `${host}evaluation/tms/student/daleteStudent`, - disableAccount: `${host}evaluation/tms/student/disableAccount`, - queryStudent: `${host}evaluation/tms/student/queryStudent`, - reSetPassword: `${host}evaluation/tms/student/reSetPassword`, - updateStudent: `${host}evaluation/tms/student/updateStudent`, - downloadStudent: `${host}evaluation/tms/student/download`, - uploadFile: `${host}evaluation/tms/student/uploadFile`, - export_failureStudent: `${host}evaluation/tms/student/export_failure`, - queryAccountStudent:`${host}evaluation/tms/student/queryAccount`, - studentTemplate:`${host}template/student.xlsx`, - - // 员工管理 - addStaff: `${host}evaluation/tms/system/addStaff`, - daleteBatchStaff: `${host}evaluation/tms/system/daleteBatchStaff`, - queryStaff: `${host}evaluation/tms/system/queryStaff`, - querystaffDetail: `${host}evaluation/tms/system/querystaffDetail`, - updateStaff: `${host}evaluation/tms/system/updateStaff`, - downloadStaff: `${host}evaluation/tms/system/download`, - export_failureStaff: `${host}evaluation/tms/system/export_failure`, - uploadFileStaff: `${host}evaluation/tms/system/uploadFile`, - queryAccountStaff:`${host}evaluation/tms/system/queryAccount`, - resetPwd:`${host}evaluation/tms/system/resetPwd`, - dalStaffByStaffGradeId:`${host}evaluation/tms/system/dalStaffByStaffGradeId`, - dalStaffByProfessionalId:`${host}evaluation/tms/system/dalStaffByProfessionalId`, - staffTemplate:`${host}template/staff.xlsx`, - - // 角色权限 - rolePermissionList:`${host}evaluation/sys-permission/rolePermissionList`, - saveRolePermission:`${host}evaluation/sys-permission/saveRolePermission`, - updateRolePermission:`${host}evaluation/sys-permission/updateRolePermission`, - delRolePermission:`${host}evaluation/sys-permission/delRolePermission`, - queryPermissionArrById:`${host}evaluation/sys-permission/queryPermissionArrById`, - roleTree:`${host}evaluation/sys-permission/tree`, - - // 成绩管理 - getImitationAchievement: `${host}evaluation/Achievement/getImitationAchievement`, - getTeachAchievement: `${host}evaluation/Achievement/getTeachAchievement`, - addReport: `${host}evaluation/Achievement/addReport`, - deleteReport: `${host}evaluation/Achievement/deleteReport`, - deleteReportById: `${host}evaluation/Achievement/deleteReportById`, - exportAchievement:`${host}evaluation/Achievement/exportAchievement`, - // queryAchievement:`${host}evaluation/Achievement/queryAchievement`, - queryAchievement:`${host}evaluation/Achievement/list`, - queryAchievementNew:`${host}evaluation/Achievement/newList`, - queryEvaluationReport:`${host}evaluation/Achievement/queryEvaluationReport`, - queryReport:`${host}evaluation/Achievement/queryReport`, - queryArchievement: `${host}evaluation/tms/classTech/queryExperimentalReport`, //查看教学实验报告 - queryVirtualReport: `${host}evaluation/tms/classTech/queryVirtualReport`, //查看虚仿实验报告 - - // 教师评语 - addComment: `${host}evaluation/comment/addComment`, - queryComment: `${host}evaluation/comment/queryComment`, - updateComment:`${host}evaluation/comment/updateComment`, - - // 老师签名照 - daleteSignature: `${host}evaluation/signature/daleteSignature`, - querySignature: `${host}evaluation/signature/querySignature`, - uploadSignature:`${host}evaluation/signature/uploadSignature`, - - // 判分点 - queryListTrading: `${host}judgment/tradingJudgmentPoints/query`, - queryDetailsTrading: `${host}judgment/tradingJudgmentPoints/queryDetails`, - // 科大 - queryPoint: `${host}kdSys/queryPoint`, - querySubject: `${host}kdSys/querySubject`, - queryItem: `${host}kdSys/queryItem`, - // 川大 - firstLevel: `${host1}sichuan/point/firstLevel`, - secondaryLevel: `${host1}sichuan/point/secondaryLevel`, - thirdLevel: `${host1}sichuan/point/thirdLevel`, -} \ No newline at end of file + // fileupload: `${uploadURL}oss/manage/fileupload`, + queryToken: `${host}liuwanr/userInfo/queryToken`, + + logins: `${host}users/users/user/login`, //登录 + verification:`${host}users/users/user/captcha`,// 验证码图片 + // bindPhoneOrEmail:`${host}users/users/userAccount/bindPhoneOrEmail`,// 绑定手机 + // sendPhoneOrEmailCode:`${host} users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码 + + // 考核管理 + pageByCondition: `${host}occupationlab/assessment/pageByCondition`, // 考核管理列表 + saveAssessment: `${host}occupationlab/assessment/saveAssessment`, // 创建考核 + modifyAssessment: `${host}occupationlab/assessment/modifyAssessment`, // 编辑考核 + getDetailById: `${host}occupationlab/assessment/getDetailById`, // 根据考核Id查询考核详情 + deleteAssessment: `${host}occupationlab/assessment/deleteAssessment`, // 单个、批量删除 + collectPaper: `${host}occupationlab/assessment/collectPaper`, // 收卷(提前结束) + // 学生组织架构 + treeList: `${host}occupationlab/architecture/treeList`, // 学生组织架构树形列表 + + + // 测评管理 + questionsList: `${host}occupationlab/questions/list`, // 题库列表查询 + questionsSave: `${host}occupationlab/questions/save`, // 新增题目 + questionsUpdate: `${host}occupationlab/questions/update`, // 根据试题id修改试题信息 + questionsDetail: `${host}occupationlab/questions/detail`, // 查看当前题库信息 + questionsDelete: `${host}occupationlab/questions/delete`, // 根据主键删除 + questionsIsDisable: `${host}occupationlab/questions/isDisable`, // 是否禁用试题 + questionsTemplate: `${Setting.apiBaseURL}template/试题导入模板.xlsx`, //excel模板文件下载 + questionsImport: `${host}occupationlab/questions/importQuestion`, // 批量导入题库 + questionsExportFailure: `${host}occupationlab/questions/exportFailure`, // 批量导入题库失败数据导出 + questionsInfo: `${host}occupationlab/questions/info`, // 测评规则信息的展示 + questionsUpdateRules: `${host}occupationlab/questions/updateEvaluationRules`, // 修改测评规则信息 + + + // 项目管理 + avgValues: `${host}occupationlab/projectManage/avgValues`, // 平均分分配值 + deleteProjectManage: `${host}occupationlab/projectManage/deleteProjectManage`, // 新增项目管理 + getProjectBySystemId: `${host}occupationlab/projectManage/getProjectBySystemId`, // 根据系统id获取全部项目(项目中没有用上这个接口) + queryNameIsExist: `${host}occupationlab/projectManage/queryNameIsExist`, // 新增/编辑项目管理名称判重 + queryProjectManage: `${host}occupationlab/projectManage/queryProjectManage`, // 项目管理列表(分页、筛选) + updateIsOpen: `${host}occupationlab/projectManage/updateIsOpen`, // 更新开启状态 + getProjectDetail: `${host}occupationlab/projectManage/getProjectDetail`, // 根据项目id查询详情 + addProjectManage: `${host}occupationlab/projectManage/addProjectManage`, // 新增项目管理 + updateProjectManage: `${host}occupationlab/projectManage/updateProjectManage`, // 修改项目管理 + copyProjectManage: `${host}occupationlab/projectManage/copyProjectManage`, // 复制项目管理 + // 判分点 + getBcJudgmentPoint: `${host}judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取编程类判分点列表(分页) + getLcJudgmentPoint: `${host}judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表(分页) + + + // 赛事管理 + addContest: `${host}occupationlab/enterprise/match/contest/addContest`, + deleteContest: `${host}occupationlab/enterprise/match/contest/deleteContest`, + editContest: `${host}occupationlab/enterprise/match/contest/editContest`, + publishContest: `${host}occupationlab/enterprise/match/contest/publishContest`, + getContest: `${host}occupationlab/enterprise/match/contest/getContest`, + queryContestByCondition: `${host}occupationlab/enterprise/match/contest/queryContestByCondition`, + // 竞赛进展 + addContestProgress: `${host}occupationlab/enterprise/match/contest-progress/addContestProgress`, + deleteContestProgress: `${host}occupationlab/enterprise/match/contest-progress/deleteContestProgress`, + getContestProgress: `${host}occupationlab/enterprise/match/contest-progress/getContestProgress`, + editContestProgress: `${host}occupationlab/enterprise/match/contest-progress/editContestProgress`, + // 报名人员 + addApplicant: `${host}occupationlab/enterprise/match/applicant/addApplicant`, + disableContests: `${host}occupationlab/enterprise/match/applicant/disableContests`, + excelExport: `${host}occupationlab/enterprise/match/applicant/excelExport`, + queryApplicantByCondition: `${host}occupationlab/enterprise/match/applicant/queryApplicantByCondition`, + disableApplicant: `${host}occupationlab/enterprise/match/applicant/disableApplicant`, + batchExport: `${host}occupationlab/enterprise/match/applicant/batchExport`, + + + // 栏目管理 + addColumn: `${host}occupationlab/enterprise/information/column/addColumn`, + deleteColumn: `${host}occupationlab/enterprise/information/column/deleteColumn`, + editColumn: `${host}occupationlab/enterprise/information/column/editColumn`, + queryAllColumns: `${host}occupationlab/enterprise/information/column/queryAllColumns`, + columnReorder: `${host}occupationlab/enterprise/information/column/reorder`, + // 内容管理 + addArticle: `${host}occupationlab/enterprise/information/article/addArticle`, + deleteArticles: `${host}occupationlab/enterprise/information/article/deleteArticles`, + editArticle: `${host}occupationlab/enterprise/information/article/editArticle`, + enableArticle: `${host}occupationlab/enterprise/information/article/enableArticle`, + getArticle: `${host}occupationlab/enterprise/information/article/getArticle`, + getArticles: `${host}occupationlab/enterprise/information/article/getArticles`, + queryArticleByCondition: `${host}occupationlab/enterprise/information/article/queryArticleByCondition`, + articleSort: `${host}occupationlab/enterprise/information/article/articleSort`, + + + // 课程管理 + queryCourseByCondition: `${host}occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询 + addCourse: `${host}occupationlab/management/edu/course/addCourse`, // 添加课程 + deleteCourse: `${host}occupationlab/management/edu/course/deleteCourse`, // 根据id删除课程 + deleteCourses: `${host}occupationlab/management/edu/course/deleteCourses`, // 批量删除课程 + editCourse: `${host}occupationlab/management/edu/course/editCourse`, // 修改课程 + enableCourse: `${host}occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程 + getCourse: `${host}occupationlab/management/edu/course/getCourse`, // 根据id查询课程 + // 分类管理 + queryGlClassification: `${host}occupationlab/management/edu/courseClassification/queryGlClassification`, + deleteClassification: `${host}occupationlab/management/edu/courseClassification/deleteClassification`, + addClassification: `${host}occupationlab/management/edu/courseClassification/addClassification`, + editClassification: `${host}occupationlab/management/edu/courseClassification/editClassification`, + // 课程章节管理 + addChapter: `${host}occupationlab/management/edu/courseChapter/addChapter`, + chapterReorder: `${host}occupationlab/management/edu/courseChapter/chapterReorder`, + deleteChapter: `${host}occupationlab/management/edu/courseChapter/deleteChapter`, + editChapter: `${host}occupationlab/management/edu/courseChapter/editChapter`, + queryChaptersAndSubsections: `${host}occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, + reorder: `${host}occupationlab/management/edu/courseChapter/reorder`, + // 课程小节管理 + addSubsection: `${host}occupationlab/management/edu/courseSubsection/addSubsection`, // 添加小节 + deleteSubsection: `${host}occupationlab/management/edu/courseSubsection/deleteSubsection`, // 根据id删除小节 + editSubsection: `${host}occupationlab/management/edu/courseSubsection/editSubsection`, // 修改小节 + getSubsection: `${host}occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址 + + + // 阿里云文件/视频管理 + fileDeletion: `${host}nakadai/nakadai/oss/fileDeletion`, // 删除OSS文件 + fileupload: `${host}nakadai/nakadai/oss/fileUpload`, // 文件上传 + + + + getPlayAuth: `${host}occupationlab/oss/manage/getPlayAuth`, + removeMoreVideo: `${host}occupationlab/oss/manage/removeMoreVideo`, + removeVideo: `${host}occupationlab/oss/manage/removeVideo`, + + + + + + + + + + + + + + updateLogInNumber: `${host}liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 + uploadUserAvatars: `${host}liuwanr/userInfo/uploadUserAvatars`, //上传头像 + queryProvince: `${host}liuwanr/province/queryProvince`, //查询省份 + queryCity: `${host}liuwanr/city/queryCity`, //查询城市 + querySchoolData: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息 + + queryAccountIsExist: `${host}liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口 + queryWorkNumberIsExist: `${host}liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在 + querySchool: `${host}liuwanr/customer/querySchool`, //根据学校名称查询学校信息 + + queryPersonalCenter: `${host}liuwanr/personalCenter/queryPersonalCenter`, + addStaffPro: `${host}liuwanr/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, //添加员工专业 + queryStaffPro: `${host}liuwanr/staffProfessionalArchitecture/queryAllStaffProfessionalArchitecture`, //查询员工专业 + deleteStaffPro: `${host}liuwanr/staffProfessionalArchitecture/deleteStaffProfessionalArchitecture`, //删除员工专业 + deleteStaffGrade: `${host}liuwanr/staffGrade/deleteStaffGrade`, //删除员工部门 + updateStaffPro: `${host}liuwanr/staffProfessionalArchitecture/updateStaffProfessionalArchitecture`, //编辑员工专业 + queryStaffGrade: `${host}liuwanr/staffGrade/queryStaffGrade`, //查询员工部门 + queryStaffGradeDetails: `${host}liuwanr/staffGrade/queryStaffGradeDetails`, //查询员工部门详情 + addStaffGrade: `${host}liuwanr/staffGrade/addStaffGrade`, //新增员工部门 + updateStaffGrade: `${host}liuwanr/staffGrade/updateStaffGrade`, //编辑员工部门 + queryCourseDiscipline: `${host}liuwanr/course/queryCourseDiscipline`, //查询课程学科 + queryCourseProfessionalClass: `${host}liuwanr/course/queryCourseProfessionalClass`, //查询专业类 + queryCourseProfessional: `${host}liuwanr/course/queryCourseProfessional`, //查询专业 + queryPhone: `${host}liuwanr/user/queryPhone`, //查询电话是否存在 + queryEmail: `${host}liuwanr/user/queryEmail`, //查询邮箱是否存在 + queryStaffPAN: `${host}liuwanr/staffProfessionalArchitecture/queryStaffPAN`,//查询员工专业是否存在 + + // 个人中心 + userinfo: `${host}evaluation/tms/userInfo/userinfo`, + userinfoUpdate: `${host}evaluation/tms/userInfo/updateUser`, + sendEmailCode: `${host}evaluation/tms/user/sendEmailCode`,//发送邮箱验证码 + bingEmail: `${host}evaluation/tms/user/bingEmail`,//邮箱验证并更新 + sendPhoneCode: `${host}evaluation/tms/user/sendPhoneCode`,//发送手机验证码 + bindPhone: `${host}evaluation/tms/user/bindPhone`,//校验手机验证码 + examinePassword: `${host}evaluation/tms/user/examinePassword`,//更换密码 + + // 测评管理 + list: `${host}evaluation/tms/questions/list`, //分页加条件查询试题信息 + info: `${host}evaluation/tms/evaluationrules/info`, //测评规则信息的展示 + update: `${host}evaluation/tms/evaluationrules/update`, //修改测评规则信息 + delete: `${host}evaluation/tms/questions/delete`, //批量删除试题信息 + // questionsTemplate: `${host}template/试题导入模板.xlsx`, //excel模板文件下载 + import: `${host}evaluation/tms/questions/import`, //通过excel批量导入 + infoId: `${host}evaluation/tms/questions/info/`, //根据试题id查询试题详情信息 + isenable: `${host}evaluation/tms/questions/isenable`, //是否禁用试题 + save: `${host}evaluation/tms/questions/save`, //新增一道试题 + // questionsUpdate: `${host}evaluation/tms/questions/update`, //根据试题id修改试题信息 + upload: `${host}evaluation/tms/questions/upload`, //excel模板文件上传 + export_failure: `${host}evaluation/tms/questions/export_failure`, //导出导入失败的数据和失败原因 + + expDelete: `${host}evaluation/tms/exp/delete`, //删除实验教学 + expList: `${host}evaluation/tms/exp/list`, //实验教学列表 + expSave: `${host}evaluation/tms/exp/save`, //添加实验教学 + expUpdate: `${host}evaluation/tms/exp/update`, //修改实验教学 + expInfo: `${host}evaluation/tms/exp/getById/`, //实验教学详情 + expCheck: `${host}evaluation/tms/exp/check`, //实验名称判重 + getInvitationCode: `${host}evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 + expInfo1: `${host}evaluation/tms/exp/upload`, //实验教学提前结束 + + // queryAllManagements: `${host}project/ProjectManagement/queryAllManagements`, //项目管理列表信息 + queryManagements: `${host}project/ProjectManagement/queryManagements`, //项目管理列表信息 + addRole: `${host}project/ProjectManagement/addRole`, //新增案例对象 + // avgValues: `${host}project/ProjectManagement/avgValues`, //平均分配分值 + getByRoleId: `${host}project/ProjectManagement/getByRoleId`, //根据角色id查询信息 + getByjudgmentPointsId: `${host}project/ProjectManagement/getByjudgmentPointsId`, //实验任务表格信息的展示 + queryAllJudgmentPoints: `${host}project/ProjectManagement/queryAllJudgmentPoints`, //添加判分点面板的数据展示+条件筛选 + getProjectId: `${host}project/ProjectManagement/getProjectId`, //根据项目管理id查询对应信息 + updateProjectManagement: `${host}project/ProjectManagement/updateProjectManagement`, //编辑项目管理 + addProjectManagement: `${host}project/ProjectManagement/addProjectManagement`, //添加项目管理 + removeProjectManagement: `${host}project/ProjectManagement/removeProjectManagement`, //删除 + getJudgmentPoints: `${host}project/ProjectManagement/getJudgmentPoints`, //复制项目获取数据 + getZZJudgmentPoints: `${host}project/ProjectManagement/getZZJudgmentPoints`, //复制项目获取数据 + updateRole: `${host}project/ProjectManagement/updateRole`, //修改实验数据—角色信息 + isNameExistis: `${host}project/ProjectManagement/isNameExistis`, //项目名称是否存在 + QueryPfdInformation: `${host}judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息 + addProjectManagementTrad: `${host}project/ProjectManagement/newAddProjectManagement`, + getTrdingJudgmentPoints: `${host}project/ProjectManagement/getTrdingJudgmentPoints`, + updateProjectManagementTrad: `${host}project/ProjectManagement/newUpdateProjectManagement`, + enableProject: `${host}project/ProjectManagement/enable`, + QueryPointOfJudgement: `${host}judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询 + queryUserIds: `${host}liuwanr/userInfo/queryUserIds`, + + // 学生管理 + addStudent: `${host}evaluation/tms/student/zzAddStudent`, + daleteStudent: `${host}evaluation/tms/student/daleteStudent`, + disableAccount: `${host}evaluation/tms/student/disableAccount`, + queryStudent: `${host}evaluation/tms/student/queryStudent`, + reSetPassword: `${host}evaluation/tms/student/reSetPassword`, + updateStudent: `${host}evaluation/tms/student/updateStudent`, + downloadStudent: `${host}evaluation/tms/student/download`, + uploadFile: `${host}evaluation/tms/student/uploadFile`, + export_failureStudent: `${host}evaluation/tms/student/export_failure`, + queryAccountStudent: `${host}evaluation/tms/student/queryAccount`, + studentTemplate: `${host}template/student.xlsx`, + + // 员工管理 + addStaff: `${host}evaluation/tms/system/addStaff`, + daleteBatchStaff: `${host}evaluation/tms/system/daleteBatchStaff`, + queryStaff: `${host}evaluation/tms/system/queryStaff`, + querystaffDetail: `${host}evaluation/tms/system/querystaffDetail`, + updateStaff: `${host}evaluation/tms/system/updateStaff`, + downloadStaff: `${host}evaluation/tms/system/download`, + export_failureStaff: `${host}evaluation/tms/system/export_failure`, + uploadFileStaff: `${host}evaluation/tms/system/uploadFile`, + queryAccountStaff: `${host}evaluation/tms/system/queryAccount`, + resetPwd: `${host}evaluation/tms/system/resetPwd`, + dalStaffByStaffGradeId: `${host}evaluation/tms/system/dalStaffByStaffGradeId`, + dalStaffByProfessionalId: `${host}evaluation/tms/system/dalStaffByProfessionalId`, + staffTemplate: `${host}template/staff.xlsx`, + + // 角色权限 + rolePermissionList: `${host}evaluation/sys-permission/rolePermissionList`, + saveRolePermission: `${host}evaluation/sys-permission/saveRolePermission`, + updateRolePermission: `${host}evaluation/sys-permission/updateRolePermission`, + delRolePermission: `${host}evaluation/sys-permission/delRolePermission`, + queryPermissionArrById: `${host}evaluation/sys-permission/queryPermissionArrById`, + roleTree: `${host}evaluation/sys-permission/tree`, + + // 成绩管理 + getImitationAchievement: `${host}evaluation/Achievement/getImitationAchievement`, + getTeachAchievement: `${host}evaluation/Achievement/getTeachAchievement`, + addReport: `${host}evaluation/Achievement/addReport`, + deleteReport: `${host}evaluation/Achievement/deleteReport`, + deleteReportById: `${host}evaluation/Achievement/deleteReportById`, + exportAchievement: `${host}evaluation/Achievement/exportAchievement`, + // queryAchievement:`${host}evaluation/Achievement/queryAchievement`, + queryAchievement: `${host}evaluation/Achievement/list`, + queryAchievementNew: `${host}evaluation/Achievement/newList`, + queryEvaluationReport: `${host}evaluation/Achievement/queryEvaluationReport`, + queryReport: `${host}evaluation/Achievement/queryReport`, + queryArchievement: `${host}evaluation/tms/classTech/queryExperimentalReport`, //查看教学实验报告 + queryVirtualReport: `${host}evaluation/tms/classTech/queryVirtualReport`, //查看虚仿实验报告 + + // 教师评语 + addComment: `${host}evaluation/comment/addComment`, + queryComment: `${host}evaluation/comment/queryComment`, + updateComment: `${host}evaluation/comment/updateComment`, + + // 老师签名照 + daleteSignature: `${host}evaluation/signature/daleteSignature`, + querySignature: `${host}evaluation/signature/querySignature`, + uploadSignature: `${host}evaluation/signature/uploadSignature`, + + // 判分点 + queryListTrading: `${host}judgment/tradingJudgmentPoints/query`, + queryDetailsTrading: `${host}judgment/tradingJudgmentPoints/queryDetails`, + // 科大 + queryPoint: `${host}kdSys/queryPoint`, + querySubject: `${host}kdSys/querySubject`, + queryItem: `${host}kdSys/queryItem`, + // 川大 + firstLevel: `${host1}sichuan/point/firstLevel`, + secondaryLevel: `${host1}sichuan/point/secondaryLevel`, + thirdLevel: `${host1}sichuan/point/thirdLevel`, + +}; \ No newline at end of file diff --git a/src/assets/img/arrow-down.png b/src/assets/img/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..dc9a3a9db549da423a89e72182fc02ef4357973b GIT binary patch literal 239 zcmVS)1CjKDs2=Ty@7<+<&^@A)Iv8V_ pH`ua6dc_vgqKhp9lwSHB0FJ*e8xeg3N5}vG002ovPDHLkV1h^+Unl?o literal 0 HcmV?d00001 diff --git a/src/assets/img/close.png b/src/assets/img/close.png new file mode 100644 index 0000000000000000000000000000000000000000..24e36d4ecdb8d9860e557d4cd249334c95b6ed98 GIT binary patch literal 318 zcmV-E0m1%>P)^4K+vO555aC7(s8^f5QVV@L4jgf>EsC1vhw3hX*i$ejMUH zOG-h&O&sI8O=pu>!aT zjT0Bddd{vna70L_QA62P=b%te&Ve&G#CUppRJ*Q(n(wvWQ`Elv^W5LBON3P8gD#zH zerxb$f|(7snIU&V*Jbr{O}bw`91uI6|8Vts`B~=sUH;myS=byaqOF@HULAA)bY?=M zBg^VU%k3++9g}!2p|?@XqC?Tma7}WP7vrAfzSHr3dfz{*pRkbNpO$};6X-?;Pgg&e IbxsLQ0OdhZ?*IS* literal 0 HcmV?d00001 diff --git a/src/components/quill/index.vue b/src/components/quill/index.vue index 953c290..4a4122b 100644 --- a/src/components/quill/index.vue +++ b/src/components/quill/index.vue @@ -2,13 +2,21 @@
- + 点击上传
\ No newline at end of file diff --git a/src/pages/achievement/ass/index.vue b/src/pages/achievement/ass/index.vue index 614e91e..1afa499 100644 --- a/src/pages/achievement/ass/index.vue +++ b/src/pages/achievement/ass/index.vue @@ -163,7 +163,7 @@ export default { }) .then(() => { this.$post(`${this.api.deleteReport}?reportId=${row.reportId}&recordId=${row.recordId}`).then(res => { - this.$message.success('删除成功'); + util.successMsg('删除成功'); this.getData() }).catch(res => {}); }) @@ -183,7 +183,7 @@ export default { }) .then(() => { this.$post(`${this.api.deleteReport}?${delList.join('&')}&${delList1.join('&')}`).then(res => { - this.$message.success('删除成功') + util.successMsg('删除成功') this.getData() }).catch(res => {}) }) diff --git a/src/pages/achievement/edit/index.vue b/src/pages/achievement/edit/index.vue index b1a710f..c37b42b 100644 --- a/src/pages/achievement/edit/index.vue +++ b/src/pages/achievement/edit/index.vue @@ -265,13 +265,13 @@ } if(this.configId){ this.$post(this.api.updateServiceConfig,data).then((res) => { - util.successMsg('编辑成功'); + util.successMsg('编辑成功'); this.$router.back() }).catch((res) => { }) }else{ this.$post(this.api.updateServiceConfig,data).then((res) => { - util.successMsg('添加成功'); + util.successMsg('添加成功'); this.$router.back() }).catch((res) => { }) @@ -293,7 +293,7 @@ this.isEdit = true }, handleExceed(files, fileList) { - this.$message.warning( + util.warningMsg( `当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!` ); }, @@ -302,7 +302,7 @@ util.successMsg('上传成功') this.getSgin() }else{ - util.errorMsg(res.errmessage) + $message.error(res.errmessage) } }, goback() { diff --git a/src/pages/achievement/list/index.vue b/src/pages/achievement/list/index.vue index 21f1a99..a6a71c4 100644 --- a/src/pages/achievement/list/index.vue +++ b/src/pages/achievement/list/index.vue @@ -155,6 +155,7 @@ export default { } }, mounted() { + // 如果systemId有历史记录,就取历史记录里的systemId,否则就取默认的systemId this.systemId = this.lastSystemId ? this.lastSystemId : Setting.systemId this.getData() }, diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue index 1da8b2b..3c265af 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -251,9 +251,6 @@ import Setting from '@/setting' }) } }, - handleRemove(file, fileList) { - console.log(file, fileList); - }, handlePictureCardPreview(file) { this.dialogImageUrl = file.url; this.dialogVisible = true; diff --git a/src/pages/assessment/add/index.vue b/src/pages/assessment/add/index.vue index c4d0b4b..89bec08 100644 --- a/src/pages/assessment/add/index.vue +++ b/src/pages/assessment/add/index.vue @@ -19,29 +19,19 @@ clearable maxlength="15" class="inline-input" - @change="judgeExpName" > - -
-

班级名称

- -
-
+

发布方式

- 手动发布 - 定时发布 + + 手动发布 + 定时发布 +
@@ -74,7 +64,7 @@
-

系统

+

课程

- + - + - + - +