自动分配、团队异常联调

dev_202412
yujialong 10 months ago
parent 79411cfb07
commit b97887506e
  1. 443
      src/api/index.js
  2. 392
      src/layouts/header/index.vue
  3. 1436
      src/pages/match/details/index.vue
  4. 146
      src/setting.js
  5. 9
      src/styles/common.scss

@ -5,223 +5,228 @@ const uploadURL = Setting.uploadURL
const host1 = "http://192.168.31.52:9000/";
export default {
logins: `users/users/user/login`,
verification: `${host}users/users/user/captcha`,// 验证码图片
logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息
isClient: `${host}users/users/user/isClient`,
sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`,
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,
queryUserInfoByPhone: `nakadai/nakadai/partner-team/queryUserInfoByPhone`,
transferAdmin: `nakadai/nakadai/partnerAccount/transferAdmin`,
savePartnerAccount: `nakadai/nakadai/partnerAccount/savePartnerAccount`,
getToken: `users/users/user/getToken`,
getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`,
unbindAccounts: `users/users/user/unbindAccounts`,
deleteProfile : `users/users/userInfo/deleteProfile`,
getUserRolesPermissionMenu: `${host}users/users/user-role/getUserRolesPermissionMenu`,
fileUploadNakadai: `${host}nakadai/nakadai/oss/fileUpload`,
refreshPageNotification : `nakadai/message/refreshPageNotification`,
getUserInfo : `users/users/userInfo/getUserInfo`,
getCurrentTime : `competition/competition/management/getCurrentTime`,
heartbeatDetection : `nakadai/message/heartbeatDetection`,
// 阿里云文件/视频管理
getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证
getPlayAuthNakadai: `nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证
platformLogList: `nakadai/nakadai/log/platformLogList`,
logNotification: `nakadai/nakadai/log/logNotification`,
//实验台
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
curriculumChapter: `nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections`,
queryChaptersAndSubsections: `occupationlab/occupationlab/theoreticalCourseChapter/queryChaptersAndSubsections`,
curriculumGetSubsection: `nakadai/nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
getProjectBySystemId: 'occupationlab/occupationlab/projectManage/getProjectBySystemId',
getTheMostRecentlyRunProject: 'python/python/getTheMostRecentlyRunProject',
whetherToRenewTheFee: 'nakadai/nakadai/curriculum/whetherToRenewTheFee',
courseLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/courseLearningProgress',
deleteLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/delete',
findLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/findById',
saveLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/save',
updateLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/update',
maximumPracticeScoreList: 'occupationlab/occupationlab/achievement/maximumPracticeScoreList',
websiteProductList: `nakadai/mall/websiteProductList`,
getSandTableLastCache: `product/product/bank/operation/getSandTableLastCache`,
// 课程笔记
addNote: `nakadai/curriculumNotes/addNote`,
curriculumNoteList: `nakadai/curriculumNotes/curriculumNoteList`,
deleteNotes: `nakadai/curriculumNotes/deleteNotes`,
updateNote: `nakadai/curriculumNotes/updateNote`,
// 教学互动
addComment: `nakadai/comment/addComment`,
commentTreeList: `nakadai/comment/commentTreeList`,
deleteAComment: `nakadai/comment/deleteAComment`,
commentAndLike: `nakadai/commentLike/commentAndLike`,
unlike: `nakadai/commentLike/unlike`,
messageNotificationList: `nakadai/notify/messageNotificationList`,
noticeRead: `nakadai/notify/noticeRead`,
// 能力测评
canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验
experimentDetail: `occupationlab/occupationlab/evaluationrecord/detail`, // 成绩详情
experimentNext: `occupationlab/occupationlab/evaluationrecord/next`, // 下一题
experimentNotmade: `occupationlab/occupationlab/evaluationrecord/not_made`, // 提交之前查询是否还有未做完的试题
openExercise: `occupationlab/occupationlab/evaluationrecord/openExercise`, // 查询是否能开启虚拟仿真实验
openTeaching: `occupationlab/occupationlab/evaluationrecord/openTeaching`, // 查询是否能开启教学实验
experimentPrevious: `occupationlab/occupationlab/evaluationrecord/previous`, // 上一题
experimentRemaining: `occupationlab/occupationlab/evaluationrecord/remaining`, // 获取测评剩余时间
experimentStart: `occupationlab/occupationlab/evaluationrecord/start`, // 开始测评
experimentSubmit: `occupationlab/occupationlab/evaluationrecord/submit`, // 提交测评
// 实验记录
schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
curriculumListForBeforeLogin: `nakadai/nakadai/curriculum/curriculumListForBeforeLogin`,
experimentOverview: `occupationlab/occupationlab/achievement/experimentOverview`, //实验概览
queryAssessmentByStudent: `occupationlab/occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
queryPracticeByStudent: `occupationlab/occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
exportAssessmentByStudent: `${host}occupationlab/occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
exportPracticeByStudent: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
practiceByStudentDetail: `occupationlab/occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
exportPracticeByStudentDetail: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 成绩报告详情
updateReport: `occupationlab/occupationlab/achievement/updateReport`, // 更新成绩报告
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`,
exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`,
queryBcJudgmentPointByBcId: 'judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId',
editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData',
getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`,
getSchoolEffectiveCourse: `nakadai/nakadai/curriculum/getSchoolEffectiveCourse`,
// 考核列表
pageStuAssessment: `occupationlab/occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
getPythonSysByStuAccountId: `occupationlab/occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
myClassByStudent: `occupationlab/occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
enterExam: `occupationlab/occupationlab/assessment/enterExam`, // 学生端——进入考试
// 课程学习
pageConditionalQueryCourseByStudent: `occupationlab/occupationlab/theoreticalCourse/pageConditionalQueryCourseByStudent`,
collectCourse: `occupationlab/occupationlab/theoreticalCourse/collectCourse`,
listClassification: `occupationlab/occupationlab/theoreticalCourseClassification/pagingQuery`,
findByIdCourse: `occupationlab/occupationlab/theoreticalCourse/findById`,
playRecordSave: `occupationlab/occupationlab/playRecord/save`,
studentLoginPreCourse: `occupationlab/occupationlab/theoreticalCourse/studentLoginPreCourse`,
getRedisCache: `occupationlab/occupationlab/theoreticalCourse/getRedisCache`,
getSubsection: `occupationlab/occupationlab/theoreticalCourseSubsection/getSubsection`,
recentUse: `nakadai/nakadai/curriculum/recentUse`,
recordRecentUsage: `nakadai/nakadai/curriculum/recordRecentUsage`,
// 资讯
queryAllColumns: `occupationlab/occupationlab/information/column/queryAllColumns`, // 栏目树
queryArticleByCondition: `occupationlab/occupationlab/information/article/queryArticleByCondition`, // 文章列表分页条件查询
getArticle: `occupationlab/occupationlab/information/article/getArticle`, // 根据id查询文章
// 线上赛事
notLoggedInBeforeStudentEvents: `competition/competition/management/notLoggedInBeforeStudentEvents`,
addCompetitionRegistration: `competition/competition/registration/addCompetitionRegistration`,
getCompetitionProgress: `competition/competition/progress/getCompetitionProgress`,
getCompetition: `competition/competition/management/getCompetition`,
queryAnnouncementByCompetitionId: `competition/competition/announcement/queryAnnouncementByCompetitionId`,
queryAnnouncementDetails: `competition/competition/announcement/queryAnnouncementDetails`,
competitionAfterLogin: `competition/competition/management/competitionAfterLogin`,
cancelRegistration: `competition/competition/registration/cancelRegistration`,
addCompetitionTeam: `competition/competition/team/addCompetitionTeam`,
captainOfTransfer: `competition/competition/team/captainOfTransfer`,
entryInformation: `competition/competition/team/entryInformation`,
joinCompetitionTeam: `competition/competition/team/joinCompetitionTeam`,
removeTheLine: `competition/competition/team/removeTheLine`,
studentAccountApplication: `users/users/register/studentAccountApplication`,
searchTeam: `competition/competition/team/searchTeam`,
addAnAdvisor: `competition/competition/teamInstructor/addAnAdvisor`,
deleteAnAdvisor: `competition/competition/teamInstructor/deleteAnAdvisor`,
allowedParticipateCompetition: `competition/competition/management/allowedParticipateCompetition`,
stageSelectParticipants: `competition/competition/teamParticipant/stageSelectParticipants`,
getCustomerBySchoolId: `nakadai/nakadai/customer/getCustomerBySchoolId`,
isParticipant: `competition/competition/management/isParticipant`,
editCompetitionTeam: `competition/competition/team/editCompetitionTeam`,
promptRemoval: `competition/competition/team/promptRemoval`,
checkPhoneOrEmailExist: `users/users/userInfo/checkPhoneOrEmailExist`,
cancelParticipant: `competition/competition/teamParticipant/cancelParticipant`,
enquireAboutSchoolStudents: `users/users/userAccount/enquireAboutSchoolStudents`,
frontDeskOverallRanking: `competition/competition/rank/frontDeskOverallRanking`,
frontOfficeCompetitionRanking: `competition/competition/rank/frontOfficeCompetitionRanking`,
stageGradeManagementList: `competition/competition/performance/stageGradeManagementList`,
stageTeamScoreDetails: `competition/competition/rank/stageTeamScoreDetails`,
getRedisCacheCompetition: `competition/competition/management/getRedisCache`,
getCompetitionStageRankingTime: `competition/competitionReleaseTime/getCompetitionStageRankingTime`,
cCompetitionStageFileSave: `competition/cCompetitionStageFile/save`,
cCompetitionStageFileDel: `competition/cCompetitionStageFile/batchDeletion`,
viewEventAllocationInformation: `competition/competitionAutomaticAllocationRecord/viewEventAllocationInformation`,
// 创业活动
activityList: `occupationlab/occupationlab/activity/activityList`,
schoolActivities: `occupationlab/occupationlab/activity/schoolActivities`,
batchDeletionActivity: `occupationlab/occupationlab/activity/batchDeletion`,
disabledEventsActivity: `occupationlab/occupationlab/activity/disabledEvents`,
findByIdActivity: `occupationlab/occupationlab/activity/findById`,
getRedisCacheActivity: `occupationlab/occupationlab/activity/getRedisCache`,
saveActivity: `occupationlab/occupationlab/activity/save`,
updateActivity: `occupationlab/occupationlab/activity/update`,
myActivities: `occupationlab/occupationlab/activity/myActivities`,
delActivityApplicant: `occupationlab/occupationlab/activity/applicant/delete`,
findByIdActivityApplicant: `occupationlab/occupationlab/activity/applicant/findById`,
saveActivityApplicant: `occupationlab/occupationlab/activity/applicant/save`,
updateActivityApplicant: `occupationlab/occupationlab/activity/applicant/update`,
ApplicantsList: `occupationlab/occupationlab/activity/applicant/ApplicantsList`,
disableActivityApplicant: `occupationlab/occupationlab/activity/applicant/disableRegistration`,
excelExportApplicant: `${host}occupationlab/occupationlab/activity/applicant/excelExport`,
exportDataInBatchesApplicant: `${host}occupationlab/occupationlab/activity/applicant/exportDataInBatches`,
addActivityProgress: `occupationlab/occupationlab/activity/progress/addCompetitionProgress`,
delActivityProgress: `occupationlab/occupationlab/activity/progress/batchDeletion`,
findActivityProgress: `occupationlab/occupationlab/activity/progress/findById`,
listActivityProgress: `occupationlab/occupationlab/activity/progress/getCompetitionProgress`,
updateActivityProgress: `occupationlab/occupationlab/activity/progress/update`,
addActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/addAnnouncement`,
updateActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/amendmentAnnouncement`,
delActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/deleteAnnouncement`,
disableActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/disableAnnouncement`,
listActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementByCompetitionId`,
findActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementDetails`,
delActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/delete`,
saveActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/save`,
collectionActivity: `occupationlab/occupationlab/activity/collectionActivity`,
concernedActivity: `occupationlab/occupationlab/activity/concernedActivity`,
queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `nakadai/nakadai/city/queryCity`, //查询城市
querySchool: `nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息
queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科
queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业
// 个人中心
uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示
updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改
examinePassword: `users/users/userAccount/examinePassword`,//更换密码
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱
unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`,
joinPractice: `tms/classTech/joinPractice`, //通过邀请码进入实验
queryArchievement: `tms/classTech/queryExperimentalReport`, //查看教学实验报告
queryVirtualReport: `tms/classTech/queryVirtualReport`, //查看虚仿实验报告
checkInvitationCode: `tms/classTech/checkInvitationCode`, //校验是否需要邀请码
userRecord: `tms/classTech/userRecord`, //查询班级实验列表信息
modifyReport: `Achievement/modify`,
academicLeadersRanking: `occupationlab/occupationlab/data/kanban/academicLeadersRanking`,
getTheMostUsedCoursesInOurSchool: `occupationlab/occupationlab/data/kanban/getTheMostUsedCoursesInOurSchool`,
examStatistics: `occupationlab/occupationlab/data/kanban/examStatistics`,
studentGradeDistribution: `occupationlab/occupationlab/data/kanban/studentGradeDistribution`,
studentAssessSchievement: `occupationlab/occupationlab/data/kanban/studentAssessSchievement`,
overviewOfOurSchoolData: `occupationlab/occupationlab/data/kanban/overviewOfOurSchoolData`,
monthlyAverageOnlineTime: `occupationlab/occupationlab/data/kanban/monthlyAverageOnlineTime`,
courseRankings: `occupationlab/occupationlab/data/kanban/courseRankings`,
platformLoginStatistics: `users/users/user/platformLoginStatistics`,
activityRanking: `occupationlab/occupationlab/data/kanban/activityRanking`,
listByEntity: `product/productLogo/listByEntity`,
logins: `users/users/user/login`,
verification: `${host}users/users/user/captcha`,// 验证码图片
logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息
isClient: `${host}users/users/user/isClient`,
sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`,
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,
queryUserInfoByPhone: `nakadai/nakadai/partner-team/queryUserInfoByPhone`,
transferAdmin: `nakadai/nakadai/partnerAccount/transferAdmin`,
savePartnerAccount: `nakadai/nakadai/partnerAccount/savePartnerAccount`,
getToken: `users/users/user/getToken`,
getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`,
unbindAccounts: `users/users/user/unbindAccounts`,
deleteProfile: `users/users/userInfo/deleteProfile`,
getUserRolesPermissionMenu: `${host}users/users/user-role/getUserRolesPermissionMenu`,
fileUploadNakadai: `${host}nakadai/nakadai/oss/fileUpload`,
refreshPageNotification: `nakadai/message/refreshPageNotification`,
getUserInfo: `users/users/userInfo/getUserInfo`,
getCurrentTime: `competition/competition/management/getCurrentTime`,
heartbeatDetection: `nakadai/message/heartbeatDetection`,
// 阿里云文件/视频管理
getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证
getPlayAuthNakadai: `nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证
platformLogList: `nakadai/nakadai/log/platformLogList`,
logNotification: `nakadai/nakadai/log/logNotification`,
//实验台
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
curriculumChapter: `nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections`,
queryChaptersAndSubsections: `occupationlab/occupationlab/theoreticalCourseChapter/queryChaptersAndSubsections`,
curriculumGetSubsection: `nakadai/nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
getProjectBySystemId: 'occupationlab/occupationlab/projectManage/getProjectBySystemId',
getTheMostRecentlyRunProject: 'python/python/getTheMostRecentlyRunProject',
whetherToRenewTheFee: 'nakadai/nakadai/curriculum/whetherToRenewTheFee',
courseLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/courseLearningProgress',
deleteLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/delete',
findLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/findById',
saveLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/save',
updateLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/update',
maximumPracticeScoreList: 'occupationlab/occupationlab/achievement/maximumPracticeScoreList',
websiteProductList: `nakadai/mall/websiteProductList`,
getSandTableLastCache: `product/product/bank/operation/getSandTableLastCache`,
// 课程笔记
addNote: `nakadai/curriculumNotes/addNote`,
curriculumNoteList: `nakadai/curriculumNotes/curriculumNoteList`,
deleteNotes: `nakadai/curriculumNotes/deleteNotes`,
updateNote: `nakadai/curriculumNotes/updateNote`,
// 教学互动
addComment: `nakadai/comment/addComment`,
commentTreeList: `nakadai/comment/commentTreeList`,
deleteAComment: `nakadai/comment/deleteAComment`,
commentAndLike: `nakadai/commentLike/commentAndLike`,
unlike: `nakadai/commentLike/unlike`,
messageNotificationList: `nakadai/notify/messageNotificationList`,
noticeRead: `nakadai/notify/noticeRead`,
// 能力测评
canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验
experimentDetail: `occupationlab/occupationlab/evaluationrecord/detail`, // 成绩详情
experimentNext: `occupationlab/occupationlab/evaluationrecord/next`, // 下一题
experimentNotmade: `occupationlab/occupationlab/evaluationrecord/not_made`, // 提交之前查询是否还有未做完的试题
openExercise: `occupationlab/occupationlab/evaluationrecord/openExercise`, // 查询是否能开启虚拟仿真实验
openTeaching: `occupationlab/occupationlab/evaluationrecord/openTeaching`, // 查询是否能开启教学实验
experimentPrevious: `occupationlab/occupationlab/evaluationrecord/previous`, // 上一题
experimentRemaining: `occupationlab/occupationlab/evaluationrecord/remaining`, // 获取测评剩余时间
experimentStart: `occupationlab/occupationlab/evaluationrecord/start`, // 开始测评
experimentSubmit: `occupationlab/occupationlab/evaluationrecord/submit`, // 提交测评
// 实验记录
schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
curriculumListForBeforeLogin: `nakadai/nakadai/curriculum/curriculumListForBeforeLogin`,
experimentOverview: `occupationlab/occupationlab/achievement/experimentOverview`, //实验概览
queryAssessmentByStudent: `occupationlab/occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
queryPracticeByStudent: `occupationlab/occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
exportAssessmentByStudent: `${host}occupationlab/occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
exportPracticeByStudent: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
practiceByStudentDetail: `occupationlab/occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
exportPracticeByStudentDetail: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 成绩报告详情
updateReport: `occupationlab/occupationlab/achievement/updateReport`, // 更新成绩报告
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`,
exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`,
queryBcJudgmentPointByBcId: 'judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId',
editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData',
getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`,
getSchoolEffectiveCourse: `nakadai/nakadai/curriculum/getSchoolEffectiveCourse`,
// 考核列表
pageStuAssessment: `occupationlab/occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
getPythonSysByStuAccountId: `occupationlab/occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
myClassByStudent: `occupationlab/occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
enterExam: `occupationlab/occupationlab/assessment/enterExam`, // 学生端——进入考试
// 课程学习
pageConditionalQueryCourseByStudent: `occupationlab/occupationlab/theoreticalCourse/pageConditionalQueryCourseByStudent`,
collectCourse: `occupationlab/occupationlab/theoreticalCourse/collectCourse`,
listClassification: `occupationlab/occupationlab/theoreticalCourseClassification/pagingQuery`,
findByIdCourse: `occupationlab/occupationlab/theoreticalCourse/findById`,
playRecordSave: `occupationlab/occupationlab/playRecord/save`,
studentLoginPreCourse: `occupationlab/occupationlab/theoreticalCourse/studentLoginPreCourse`,
getRedisCache: `occupationlab/occupationlab/theoreticalCourse/getRedisCache`,
getSubsection: `occupationlab/occupationlab/theoreticalCourseSubsection/getSubsection`,
recentUse: `nakadai/nakadai/curriculum/recentUse`,
recordRecentUsage: `nakadai/nakadai/curriculum/recordRecentUsage`,
// 资讯
queryAllColumns: `occupationlab/occupationlab/information/column/queryAllColumns`, // 栏目树
queryArticleByCondition: `occupationlab/occupationlab/information/article/queryArticleByCondition`, // 文章列表分页条件查询
getArticle: `occupationlab/occupationlab/information/article/getArticle`, // 根据id查询文章
// 线上赛事
notLoggedInBeforeStudentEvents: `competition/competition/management/notLoggedInBeforeStudentEvents`,
addCompetitionRegistration: `competition/competition/registration/addCompetitionRegistration`,
getCompetitionProgress: `competition/competition/progress/getCompetitionProgress`,
getCompetition: `competition/competition/management/getCompetition`,
queryAnnouncementByCompetitionId: `competition/competition/announcement/queryAnnouncementByCompetitionId`,
queryAnnouncementDetails: `competition/competition/announcement/queryAnnouncementDetails`,
competitionAfterLogin: `competition/competition/management/competitionAfterLogin`,
cancelRegistration: `competition/competition/registration/cancelRegistration`,
addCompetitionTeam: `competition/competition/team/addCompetitionTeam`,
captainOfTransfer: `competition/competition/team/captainOfTransfer`,
entryInformation: `competition/competition/team/entryInformation`,
joinCompetitionTeam: `competition/competition/team/joinCompetitionTeam`,
removeTheLine: `competition/competition/team/removeTheLine`,
studentAccountApplication: `users/users/register/studentAccountApplication`,
searchTeam: `competition/competition/team/searchTeam`,
addAnAdvisor: `competition/competition/teamInstructor/addAnAdvisor`,
deleteAnAdvisor: `competition/competition/teamInstructor/deleteAnAdvisor`,
allowedParticipateCompetition: `competition/competition/management/allowedParticipateCompetition`,
stageSelectParticipants: `competition/competition/teamParticipant/stageSelectParticipants`,
getCustomerBySchoolId: `nakadai/nakadai/customer/getCustomerBySchoolId`,
isParticipant: `competition/competition/management/isParticipant`,
editCompetitionTeam: `competition/competition/team/editCompetitionTeam`,
promptRemoval: `competition/competition/team/promptRemoval`,
checkPhoneOrEmailExist: `users/users/userInfo/checkPhoneOrEmailExist`,
cancelParticipant: `competition/competition/teamParticipant/cancelParticipant`,
enquireAboutSchoolStudents: `users/users/userAccount/enquireAboutSchoolStudents`,
frontDeskOverallRanking: `competition/competition/rank/frontDeskOverallRanking`,
frontOfficeCompetitionRanking: `competition/competition/rank/frontOfficeCompetitionRanking`,
stageGradeManagementList: `competition/competition/performance/stageGradeManagementList`,
stageTeamScoreDetails: `competition/competition/rank/stageTeamScoreDetails`,
getRedisCacheCompetition: `competition/competition/management/getRedisCache`,
getCompetitionStageRankingTime: `competition/competitionReleaseTime/getCompetitionStageRankingTime`,
cCompetitionStageFileSave: `competition/cCompetitionStageFile/save`,
cCompetitionStageFileDel: `competition/cCompetitionStageFile/batchDeletion`,
viewEventAllocationInformation: `competition/competitionAutomaticAllocationRecord/viewEventAllocationInformation`,
checkTeamStatus: `competition/teamAbnormalInformation/checkTeamStatus`,
competitionTeamAutomaticAllocationRecordSave: `competition/competitionTeamAutomaticAllocationRecord/save`,
teamAssignmentButtonDisplay: `competition/competitionTeamAutomaticAllocationRecord/teamAssignmentButtonDisplay`,
assignedPlayer: `competition/competition/automaticAllocation/assignedPlayer`,
competitionTeamAutomaticAllocationRecordSave: `competition/competitionTeamAutomaticAllocationRecord/saveOrUpdate`,
// 创业活动
activityList: `occupationlab/occupationlab/activity/activityList`,
schoolActivities: `occupationlab/occupationlab/activity/schoolActivities`,
batchDeletionActivity: `occupationlab/occupationlab/activity/batchDeletion`,
disabledEventsActivity: `occupationlab/occupationlab/activity/disabledEvents`,
findByIdActivity: `occupationlab/occupationlab/activity/findById`,
getRedisCacheActivity: `occupationlab/occupationlab/activity/getRedisCache`,
saveActivity: `occupationlab/occupationlab/activity/save`,
updateActivity: `occupationlab/occupationlab/activity/update`,
myActivities: `occupationlab/occupationlab/activity/myActivities`,
delActivityApplicant: `occupationlab/occupationlab/activity/applicant/delete`,
findByIdActivityApplicant: `occupationlab/occupationlab/activity/applicant/findById`,
saveActivityApplicant: `occupationlab/occupationlab/activity/applicant/save`,
updateActivityApplicant: `occupationlab/occupationlab/activity/applicant/update`,
ApplicantsList: `occupationlab/occupationlab/activity/applicant/ApplicantsList`,
disableActivityApplicant: `occupationlab/occupationlab/activity/applicant/disableRegistration`,
excelExportApplicant: `${host}occupationlab/occupationlab/activity/applicant/excelExport`,
exportDataInBatchesApplicant: `${host}occupationlab/occupationlab/activity/applicant/exportDataInBatches`,
addActivityProgress: `occupationlab/occupationlab/activity/progress/addCompetitionProgress`,
delActivityProgress: `occupationlab/occupationlab/activity/progress/batchDeletion`,
findActivityProgress: `occupationlab/occupationlab/activity/progress/findById`,
listActivityProgress: `occupationlab/occupationlab/activity/progress/getCompetitionProgress`,
updateActivityProgress: `occupationlab/occupationlab/activity/progress/update`,
addActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/addAnnouncement`,
updateActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/amendmentAnnouncement`,
delActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/deleteAnnouncement`,
disableActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/disableAnnouncement`,
listActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementByCompetitionId`,
findActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementDetails`,
delActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/delete`,
saveActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/save`,
collectionActivity: `occupationlab/occupationlab/activity/collectionActivity`,
concernedActivity: `occupationlab/occupationlab/activity/concernedActivity`,
queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `nakadai/nakadai/city/queryCity`, //查询城市
querySchool: `nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息
queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科
queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业
// 个人中心
uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示
updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改
examinePassword: `users/users/userAccount/examinePassword`,//更换密码
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱
unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`,
joinPractice: `tms/classTech/joinPractice`, //通过邀请码进入实验
queryArchievement: `tms/classTech/queryExperimentalReport`, //查看教学实验报告
queryVirtualReport: `tms/classTech/queryVirtualReport`, //查看虚仿实验报告
checkInvitationCode: `tms/classTech/checkInvitationCode`, //校验是否需要邀请码
userRecord: `tms/classTech/userRecord`, //查询班级实验列表信息
modifyReport: `Achievement/modify`,
academicLeadersRanking: `occupationlab/occupationlab/data/kanban/academicLeadersRanking`,
getTheMostUsedCoursesInOurSchool: `occupationlab/occupationlab/data/kanban/getTheMostUsedCoursesInOurSchool`,
examStatistics: `occupationlab/occupationlab/data/kanban/examStatistics`,
studentGradeDistribution: `occupationlab/occupationlab/data/kanban/studentGradeDistribution`,
studentAssessSchievement: `occupationlab/occupationlab/data/kanban/studentAssessSchievement`,
overviewOfOurSchoolData: `occupationlab/occupationlab/data/kanban/overviewOfOurSchoolData`,
monthlyAverageOnlineTime: `occupationlab/occupationlab/data/kanban/monthlyAverageOnlineTime`,
courseRankings: `occupationlab/occupationlab/data/kanban/courseRankings`,
platformLoginStatistics: `users/users/user/platformLoginStatistics`,
activityRanking: `occupationlab/occupationlab/data/kanban/activityRanking`,
listByEntity: `product/productLogo/listByEntity`,
};

@ -1,115 +1,67 @@
<template>
<div class="header">
<a class="logo"
@click="toIndex">
<a class="logo" @click="toIndex">
<template v-if="isIndex">
<img v-if="isZj"
src="/images/4.png"
alt="">
<img v-else-if="isSq"
style="max-height: 100%"
src="/images/1.png"
alt="">
<img v-else-if="!isZxy"
src="@/assets/img/logo.png"
alt="">
<img v-else
src="@/assets/img/zxy/logo.png"
alt="">
<img v-if="isZj" src="/images/4.png" alt="">
<img v-else-if="isSq" style="max-height: 100%" src="/images/1.png" alt="">
<img v-else-if="!isZxy" src="@/assets/img/logo.png" alt="">
<img v-else src="@/assets/img/zxy/logo.png" alt="">
</template>
<template v-else>
<img v-if="isZj"
src="/images/4.png"
alt="">
<img v-else-if="isSq"
style="max-height: 100%"
src="/images/1.png"
alt="">
<img v-else
:style="{maxWidth: title ? '200px' : '300px'}"
:src="logoUrl"
height="50" />
<span class="title">{{title}}</span>
<img v-if="isZj" src="/images/4.png" alt="">
<img v-else-if="isSq" style="max-height: 100%" src="/images/1.png" alt="">
<img v-else :style="{ maxWidth: title ? '200px' : '300px' }" :src="logoUrl" height="50" />
<span class="title">{{ title }}</span>
</template>
</a>
<el-radio-group v-if="isDev && !$store.state.layout.isMobile"
class="ip"
v-model="ip"
@change="ipChange">
<el-radio-group v-if="isDev && !$store.state.layout.isMobile" class="ip" v-model="ip" @change="ipChange">
<el-radio :label="0">刘榕ip</el-radio>
<el-radio :label="1">陈赓ip</el-radio>
</el-radio-group>
<!-- pc端 -->
<div v-if="!$store.state.layout.isMobile"
class="inner">
<navbar class="nav-wrap"
ref="nav"></navbar>
<div v-if="!$store.state.layout.isMobile" class="inner">
<navbar class="nav-wrap" ref="nav"></navbar>
<div class="right">
<template v-if="token || serverToken">
<el-popover v-if="!isIndex"
placement="top"
:disabled="!notices.length">
<p v-for="(item, i) in notices"
:key="i"
class="p-v-5 cursor-pointer"
@click="toComment(item)">{{ item.commentUsername }} 回复了你的评论</p>
<el-badge class="msg"
:is-dot="!!notices.length"
slot="reference">消息</el-badge>
<el-popover v-if="!isIndex" placement="top" :disabled="!notices.length">
<p v-for="(item, i) in notices" :key="i" class="p-v-5 cursor-pointer" @click="toComment(item)">{{
item.commentUsername }} 回复了你的评论</p>
<el-badge class="msg" :is-dot="!!notices.length" slot="reference">消息</el-badge>
</el-popover>
<div class="user-wrap">
<el-dropdown size="medium"
@command="menuChange">
<el-dropdown size="medium" @command="menuChange">
<div class="user">
<el-avatar :size="35"
:src="avatar"></el-avatar>
<el-avatar :size="35" :src="avatar"></el-avatar>
<span class="username">{{ customerName || cName || userName }}</span>
</div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="isIndex"
command="index">前往{{ serverToken ? '教学' : '学习' }}</el-dropdown-item>
<el-dropdown-item v-if="!customerName && !serverToken"
command="info">个人中心</el-dropdown-item>
<el-dropdown-item v-if="isIndex" command="index">前往{{ serverToken ? '教学' : '学习' }}</el-dropdown-item>
<el-dropdown-item v-if="!customerName && !serverToken" command="info">个人中心</el-dropdown-item>
<el-dropdown-item command="logout">退出登录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</template>
<template v-else>
<el-button v-if="isZxy"
class="rounded"
type="primary"
@click="toNew('/login')">登录</el-button>
<div v-else
class="login"
@click="toNew('/login')">
<img src="@/assets/img/user.png"
alt="">
<el-button v-if="isZxy" class="rounded" type="primary" @click="toNew('/login')">登录</el-button>
<div v-else class="login" @click="toNew('/login')">
<img src="@/assets/img/user.png" alt="">
<span>登录</span>
</div>
</template>
<el-button v-if="isZxy && isIndex"
class="rounded trial"
type="primary"
plain
@click="toTrial">免费试用</el-button>
<el-button v-if="isZxy && isIndex" class="rounded trial" type="primary" plain @click="toTrial">免费试用</el-button>
</div>
</div>
<!-- 移动端 -->
<div v-else
class="mobile-inner">
<i class="login el-icon-user-solid"
@click="toLogin"></i>
<i class="menu-icon"
:class="mobileMenuStatus ? 'el-icon-s-fold': 'el-icon-s-unfold' "
@click.stop="toggleMobileMenu"></i>
<navbar v-show="mobileMenuStatus"
class="mobile-menu"
:isHome.sync="isHome"
@toggleMobileMenu="toggleMobileMenu" />
<div v-else class="mobile-inner">
<i class="login el-icon-user-solid" @click="toLogin"></i>
<i class="menu-icon" :class="mobileMenuStatus ? 'el-icon-s-fold' : 'el-icon-s-unfold'"
@click.stop="toggleMobileMenu"></i>
<navbar v-show="mobileMenuStatus" class="mobile-menu" :isHome.sync="isHome"
@toggleMobileMenu="toggleMobileMenu" />
</div>
</div>
</template>
@ -316,155 +268,181 @@ export default {
</script>
<style scoped lang="scss">
$height: 64px;
.header {
z-index: 10;
position: fixed;
z-index: 10;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: $height;
background-color: #fff;
box-shadow: 0px 0px 6px 0px rgba(178, 178, 178, 0.32);
.inner {
display: flex;
justify-content: space-between;
align-items: center;
min-width: $min-width;
padding: 0 80px 0 10px;
margin: 0 auto;
}
.logo {
position: absolute;
top: 0;
left: 0;
width: 100%;
left: 40px;
display: flex;
align-items: center;
font-size: 28px;
color: #568df2;
height: $height;
background-color: #fff;
box-shadow: 0px 0px 6px 0px rgba(178, 178, 178, 0.32);
.inner {
display: flex;
justify-content: space-between;
align-items: center;
min-width: $min-width;
padding: 0 80px 0 10px;
margin: 0 auto;
}
.logo {
position: absolute;
top: 0;
left: 40px;
display: flex;
align-items: center;
font-size: 28px;
color: #568df2;
height: $height;
cursor: pointer;
img {
max-width: 300px;
margin-right: 10px;
}
}
.title {
font-size: 18px;
font-weight: bold;
}
.nav-wrap {
height: 64px;
}
.right {
display: inline-flex;
align-items: center;
.login {
display: inline-flex;
align-items: center;
cursor: pointer;
&:hover {
opacity: 0.9;
}
span {
margin-left: 5px;
color: #666;
font-size: 14px;
}
}
}
.msg {
margin-right: 30px;
cursor: pointer;
}
.user-wrap {
display: inline-flex;
align-items: center;
}
.user {
display: inline-flex;
align-items: center;
cursor: pointer;
}
.el-divider--vertical {
width: 2px;
height: 15px;
margin-left: 15px;
background-color: #d8d8d8;
}
.username {
margin-left: 10px;
font-size: 12px;
cursor: pointer;
img {
max-width: 300px;
margin-right: 10px;
}
.logout {
}
.title {
font-size: 18px;
font-weight: bold;
}
.nav-wrap {
height: 64px;
}
.right {
display: inline-flex;
align-items: center;
.login {
display: inline-flex;
align-items: center;
cursor: pointer;
&:hover {
opacity: 0.9;
}
span {
margin-left: 5px;
font-size: 12px;
color: #666;
cursor: pointer;
font-size: 14px;
}
}
.rounded {
border-radius: 6px;
}
.msg {
margin-right: 30px;
cursor: pointer;
}
.user-wrap {
display: inline-flex;
align-items: center;
}
.user {
display: inline-flex;
align-items: center;
cursor: pointer;
}
.el-divider--vertical {
width: 2px;
height: 15px;
margin-left: 15px;
background-color: #d8d8d8;
}
.username {
margin-left: 10px;
font-size: 12px;
}
.logout {
margin-left: 5px;
font-size: 12px;
color: #666;
cursor: pointer;
}
.rounded {
border-radius: 6px;
}
.trial {
margin-left: 10px;
&:hover {
background-color: #48cafd;
border-color: #48cafd;
}
.trial {
margin-left: 10px;
&:hover {
background-color: #48cafd;
border-color: #48cafd;
}
}
.mobile-inner {
position: absolute;
top: 0;
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
height: $height;
.login {
font-size: 20px;
color: #c1c1c1;
cursor: pointer;
}
.mobile-inner {
position: absolute;
top: 0;
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
height: $height;
.login {
font-size: 20px;
color: #c1c1c1;
cursor: pointer;
}
.menu-icon {
margin: 0 20px 0 10px;
font-size: 20px;
color: #c1c1c1;
cursor: pointer;
}
.menu-icon {
margin: 0 20px 0 10px;
font-size: 20px;
color: #c1c1c1;
cursor: pointer;
}
}
}
.mobile-menu {
z-index: 9999;
position: absolute;
top: $height;
left: 0;
width: 100%;
background-color: white;
max-height: 300px;
overflow-y: scroll;
z-index: 9999;
position: absolute;
top: $height;
left: 0;
width: 100%;
background-color: white;
max-height: 300px;
overflow-y: scroll;
}
@media (max-width: 1870px) {
.header {
.logo {
left: 20px;
}
.inner {
padding-right: 20px;
}
.header {
.logo {
left: 20px;
}
.inner {
padding-right: 20px;
}
}
}
@media (max-width: 1550px) {
.header {
.logo {
img {
max-width: 260px;
}
}
.header {
.logo {
img {
max-width: 260px;
}
}
}
}
.ip {
position: fixed;
top: 25px;
left: 200px;
position: fixed;
top: 25px;
left: 200px;
}
</style>

File diff suppressed because it is too large Load Diff

@ -18,87 +18,87 @@ let host = `${location.origin}/`
let uploadURL = `${location.origin}/`
// let uploadURL = `https://izhixinyun.com/`
let title = isZxy ?
'智信云' :
(isHh || isCH) ?
'学生端' :
'职站'
'智信云' :
(isHh || isCH) ?
'学生端' :
'职站'
if (isPro) {
// 职站生产
uploadURL = `https://www.huorantech.cn/`
// 职站生产
uploadURL = `https://www.huorantech.cn/`
} else if (isDev) {
// 本地
systemPath = `http://${location.hostname}:8093`
sandPath = `http://${location.hostname}:9520`
uploadURL = `http://121.37.12.51/`
host = "http://121.37.12.51/"; // 测试服
// host = 'https://www.occupationlab.com/' // 正式服
host = localStorage.getItem('localIp') == 1 ? 'http://192.168.31.51:9000/' : 'http://192.168.31.217:9000/'
// 本地
systemPath = `http://${location.hostname}:8093`
sandPath = `http://${location.hostname}:9520`
uploadURL = `http://121.37.12.51/`
host = "http://121.37.12.51/"; // 测试服
// host = 'https://www.occupationlab.com/' // 正式服
host = localStorage.getItem('localIp') == 1 ? 'http://192.168.31.51:9000/' : 'http://192.168.31.217:9000/'
} else if (isSq) {
zcPath = `10.20.100.204:8883`
zcPath = `10.20.100.204:8883`
}
const Setting = {
/**
* 基础配置
* */
platformId: 1, // 平台标识,1职站,2数据平台,3中台
platformSource: 0, // 平台来源(0中台,1职站)
titleSuffix: title, // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash
showProgressBar: true, // 页面切换时,是否显示模拟的进度条
apiBaseURL: host, // 接口请求地址
uploadURL, // 阿里云oss域名
systemPath, // 子系统地址前缀
sandPath,
autoLogoutTime: 1000 * 60 * 60 * 3, // 长时间未操作,自动退出登录时间
modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒
errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
cookiesExpires: 1, // Cookies 默认保存时间,单位:天
tokenExpires: 1296000000, // token在localStorage的时间(毫秒)
tokenKey: "oc_client_token", // localStorage里保存的token的key
storeKey: "oc_client_store", // localStorage里保存的vuex的key
initialPassword: "1122aa", // 默认密码
isDev,
isTest,
isPro,
isZxy,
isSq,
zcPath,
/**
* 路由白名单
* */
whiteList: ['/login', '/index/list', '/index/zxy', '/product', '/cityPartner/list', '/devPlatform/list', '/log/list', '/touristMatch/list', '/touristMatch/details', '/touristMatch/noticeDetail', '/preCourse/list', '/preCourse/details', '/preInfo/list', '/preInfo/details', '/screen', '/screenShow', '/screenShowPro', '/join', '/join/success'],
/**
* 平台列表
* */
platformList: [
{
id: 1,
name: '职站'
},
{
id: 2,
name: '数据平台'
},
{
id: 3,
name: '中台'
}
],
/**
* 多语言配置
* */
i18n: {
default: "zh", // 默认语言
auto: false // 是否根据用户电脑配置自动设置语言(仅第一次有效)
/**
* 基础配置
* */
platformId: 1, // 平台标识,1职站,2数据平台,3中台
platformSource: 0, // 平台来源(0中台,1职站)
titleSuffix: title, // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash
showProgressBar: true, // 页面切换时,是否显示模拟的进度条
apiBaseURL: host, // 接口请求地址
uploadURL, // 阿里云oss域名
systemPath, // 子系统地址前缀
sandPath,
autoLogoutTime: 1000 * 60 * 60 * 3, // 长时间未操作,自动退出登录时间
modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒
errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
cookiesExpires: 1, // Cookies 默认保存时间,单位:天
tokenExpires: 1296000000, // token在localStorage的时间(毫秒)
tokenKey: "oc_client_token", // localStorage里保存的token的key
storeKey: "oc_client_store", // localStorage里保存的vuex的key
initialPassword: "1122aa", // 默认密码
isDev,
isTest,
isPro,
isZxy,
isSq,
zcPath,
/**
* 路由白名单
* */
whiteList: ['/login', '/index/list', '/index/zxy', '/product', '/cityPartner/list', '/devPlatform/list', '/log/list', '/touristMatch/list', '/touristMatch/details', '/touristMatch/noticeDetail', '/preCourse/list', '/preCourse/details', '/preInfo/list', '/preInfo/details', '/screen', '/screenShow', '/screenShowPro', '/join', '/join/success'],
/**
* 平台列表
* */
platformList: [
{
id: 1,
name: '职站'
},
layout: {}, // 布局配置
/**
* 功能配置
* */
sameRouteForceUpdate: false, // 相同路由,不同参数间进行切换,是否强力更新
dynamicRoute: false // 是否使用动态路由
{
id: 2,
name: '数据平台'
},
{
id: 3,
name: '中台'
}
],
/**
* 多语言配置
* */
i18n: {
default: "zh", // 默认语言
auto: false // 是否根据用户电脑配置自动设置语言(仅第一次有效)
},
layout: {}, // 布局配置
/**
* 功能配置
* */
sameRouteForceUpdate: false, // 相同路由,不同参数间进行切换,是否强力更新
dynamicRoute: false // 是否使用动态路由
};
export default Setting;

@ -355,15 +355,6 @@
.el-tooltip__popper {
width: 300px;
}
.el-tooltip__popper.is-dark {
padding: 18px 20px;
color: #606266;
line-height: 1.8;
background-color: #fff;
border: 0.0625rem solid #ebeef5;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
.el-tooltip__popper[x-placement^='top'] {
.popper__arrow {
border-top-color: #fff;

Loading…
Cancel
Save