自动分配、团队异常联调

dev_202412
yujialong 11 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/"; const host1 = "http://192.168.31.52:9000/";
export default { export default {
logins: `users/users/user/login`, logins: `users/users/user/login`,
verification: `${host}users/users/user/captcha`,// 验证码图片 verification: `${host}users/users/user/captcha`,// 验证码图片
logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息 logoDetail: `occupationlab/occupationlab/sys/logo/detail`, //查看系统设置信息
isClient: `${host}users/users/user/isClient`, isClient: `${host}users/users/user/isClient`,
sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`, sendPhoneVerificationCode: `users/users/user/sendPhoneVerificationCode`,
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`, sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,
queryUserInfoByPhone: `nakadai/nakadai/partner-team/queryUserInfoByPhone`, queryUserInfoByPhone: `nakadai/nakadai/partner-team/queryUserInfoByPhone`,
transferAdmin: `nakadai/nakadai/partnerAccount/transferAdmin`, transferAdmin: `nakadai/nakadai/partnerAccount/transferAdmin`,
savePartnerAccount: `nakadai/nakadai/partnerAccount/savePartnerAccount`, savePartnerAccount: `nakadai/nakadai/partnerAccount/savePartnerAccount`,
getToken: `users/users/user/getToken`, getToken: `users/users/user/getToken`,
getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`, getOtherAccountByPhone: `users/users/user/getOtherAccountByPhone`,
unbindAccounts: `users/users/user/unbindAccounts`, unbindAccounts: `users/users/user/unbindAccounts`,
deleteProfile : `users/users/userInfo/deleteProfile`, deleteProfile: `users/users/userInfo/deleteProfile`,
getUserRolesPermissionMenu: `${host}users/users/user-role/getUserRolesPermissionMenu`, getUserRolesPermissionMenu: `${host}users/users/user-role/getUserRolesPermissionMenu`,
fileUploadNakadai: `${host}nakadai/nakadai/oss/fileUpload`, fileUploadNakadai: `${host}nakadai/nakadai/oss/fileUpload`,
refreshPageNotification : `nakadai/message/refreshPageNotification`, refreshPageNotification: `nakadai/message/refreshPageNotification`,
getUserInfo : `users/users/userInfo/getUserInfo`, getUserInfo: `users/users/userInfo/getUserInfo`,
getCurrentTime : `competition/competition/management/getCurrentTime`, getCurrentTime: `competition/competition/management/getCurrentTime`,
heartbeatDetection : `nakadai/message/heartbeatDetection`, heartbeatDetection: `nakadai/message/heartbeatDetection`,
// 阿里云文件/视频管理 // 阿里云文件/视频管理
getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证 getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证
getPlayAuthNakadai: `nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证 getPlayAuthNakadai: `nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证
platformLogList: `nakadai/nakadai/log/platformLogList`, platformLogList: `nakadai/nakadai/log/platformLogList`,
logNotification: `nakadai/nakadai/log/logNotification`, logNotification: `nakadai/nakadai/log/logNotification`,
//实验台 //实验台
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情 curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
curriculumChapter: `nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections`, curriculumChapter: `nakadai/nakadai/curriculum/chapter/queryChaptersAndSubsections`,
queryChaptersAndSubsections: `occupationlab/occupationlab/theoreticalCourseChapter/queryChaptersAndSubsections`, queryChaptersAndSubsections: `occupationlab/occupationlab/theoreticalCourseChapter/queryChaptersAndSubsections`,
curriculumGetSubsection: `nakadai/nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址 curriculumGetSubsection: `nakadai/nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
getProjectBySystemId: 'occupationlab/occupationlab/projectManage/getProjectBySystemId', getProjectBySystemId: 'occupationlab/occupationlab/projectManage/getProjectBySystemId',
getTheMostRecentlyRunProject: 'python/python/getTheMostRecentlyRunProject', getTheMostRecentlyRunProject: 'python/python/getTheMostRecentlyRunProject',
whetherToRenewTheFee: 'nakadai/nakadai/curriculum/whetherToRenewTheFee', whetherToRenewTheFee: 'nakadai/nakadai/curriculum/whetherToRenewTheFee',
courseLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/courseLearningProgress', courseLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/courseLearningProgress',
deleteLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/delete', deleteLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/delete',
findLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/findById', findLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/findById',
saveLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/save', saveLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/save',
updateLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/update', updateLearningProgress: 'nakadai/nakadai/curriculum/learning/progressprogress/update',
maximumPracticeScoreList: 'occupationlab/occupationlab/achievement/maximumPracticeScoreList', maximumPracticeScoreList: 'occupationlab/occupationlab/achievement/maximumPracticeScoreList',
websiteProductList: `nakadai/mall/websiteProductList`, websiteProductList: `nakadai/mall/websiteProductList`,
getSandTableLastCache: `product/product/bank/operation/getSandTableLastCache`, getSandTableLastCache: `product/product/bank/operation/getSandTableLastCache`,
// 课程笔记 // 课程笔记
addNote: `nakadai/curriculumNotes/addNote`, addNote: `nakadai/curriculumNotes/addNote`,
curriculumNoteList: `nakadai/curriculumNotes/curriculumNoteList`, curriculumNoteList: `nakadai/curriculumNotes/curriculumNoteList`,
deleteNotes: `nakadai/curriculumNotes/deleteNotes`, deleteNotes: `nakadai/curriculumNotes/deleteNotes`,
updateNote: `nakadai/curriculumNotes/updateNote`, updateNote: `nakadai/curriculumNotes/updateNote`,
// 教学互动 // 教学互动
addComment: `nakadai/comment/addComment`, addComment: `nakadai/comment/addComment`,
commentTreeList: `nakadai/comment/commentTreeList`, commentTreeList: `nakadai/comment/commentTreeList`,
deleteAComment: `nakadai/comment/deleteAComment`, deleteAComment: `nakadai/comment/deleteAComment`,
commentAndLike: `nakadai/commentLike/commentAndLike`, commentAndLike: `nakadai/commentLike/commentAndLike`,
unlike: `nakadai/commentLike/unlike`, unlike: `nakadai/commentLike/unlike`,
messageNotificationList: `nakadai/notify/messageNotificationList`, messageNotificationList: `nakadai/notify/messageNotificationList`,
noticeRead: `nakadai/notify/noticeRead`, noticeRead: `nakadai/notify/noticeRead`,
// 能力测评 // 能力测评
canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验 canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验
experimentDetail: `occupationlab/occupationlab/evaluationrecord/detail`, // 成绩详情 experimentDetail: `occupationlab/occupationlab/evaluationrecord/detail`, // 成绩详情
experimentNext: `occupationlab/occupationlab/evaluationrecord/next`, // 下一题 experimentNext: `occupationlab/occupationlab/evaluationrecord/next`, // 下一题
experimentNotmade: `occupationlab/occupationlab/evaluationrecord/not_made`, // 提交之前查询是否还有未做完的试题 experimentNotmade: `occupationlab/occupationlab/evaluationrecord/not_made`, // 提交之前查询是否还有未做完的试题
openExercise: `occupationlab/occupationlab/evaluationrecord/openExercise`, // 查询是否能开启虚拟仿真实验 openExercise: `occupationlab/occupationlab/evaluationrecord/openExercise`, // 查询是否能开启虚拟仿真实验
openTeaching: `occupationlab/occupationlab/evaluationrecord/openTeaching`, // 查询是否能开启教学实验 openTeaching: `occupationlab/occupationlab/evaluationrecord/openTeaching`, // 查询是否能开启教学实验
experimentPrevious: `occupationlab/occupationlab/evaluationrecord/previous`, // 上一题 experimentPrevious: `occupationlab/occupationlab/evaluationrecord/previous`, // 上一题
experimentRemaining: `occupationlab/occupationlab/evaluationrecord/remaining`, // 获取测评剩余时间 experimentRemaining: `occupationlab/occupationlab/evaluationrecord/remaining`, // 获取测评剩余时间
experimentStart: `occupationlab/occupationlab/evaluationrecord/start`, // 开始测评 experimentStart: `occupationlab/occupationlab/evaluationrecord/start`, // 开始测评
experimentSubmit: `occupationlab/occupationlab/evaluationrecord/submit`, // 提交测评 experimentSubmit: `occupationlab/occupationlab/evaluationrecord/submit`, // 提交测评
// 实验记录 // 实验记录
schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程 schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
curriculumListForBeforeLogin: `nakadai/nakadai/curriculum/curriculumListForBeforeLogin`, curriculumListForBeforeLogin: `nakadai/nakadai/curriculum/curriculumListForBeforeLogin`,
experimentOverview: `occupationlab/occupationlab/achievement/experimentOverview`, //实验概览 experimentOverview: `occupationlab/occupationlab/achievement/experimentOverview`, //实验概览
queryAssessmentByStudent: `occupationlab/occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩 queryAssessmentByStudent: `occupationlab/occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
queryPracticeByStudent: `occupationlab/occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩 queryPracticeByStudent: `occupationlab/occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
exportAssessmentByStudent: `${host}occupationlab/occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩 exportAssessmentByStudent: `${host}occupationlab/occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
exportPracticeByStudent: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩 exportPracticeByStudent: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
practiceByStudentDetail: `occupationlab/occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况 practiceByStudentDetail: `occupationlab/occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
exportPracticeByStudentDetail: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况 exportPracticeByStudentDetail: `${host}occupationlab/occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 成绩报告详情 reportDetail: `occupationlab/occupationlab/achievement/reportDetail`, // 成绩报告详情
updateReport: `occupationlab/occupationlab/achievement/updateReport`, // 更新成绩报告 updateReport: `occupationlab/occupationlab/achievement/updateReport`, // 更新成绩报告
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程 schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`, exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`,
exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`, exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`,
queryBcJudgmentPointByBcId: 'judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId', queryBcJudgmentPointByBcId: 'judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId',
editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData', editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData',
getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`, getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`,
getSchoolEffectiveCourse: `nakadai/nakadai/curriculum/getSchoolEffectiveCourse`, getSchoolEffectiveCourse: `nakadai/nakadai/curriculum/getSchoolEffectiveCourse`,
// 考核列表 // 考核列表
pageStuAssessment: `occupationlab/occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表 pageStuAssessment: `occupationlab/occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
getPythonSysByStuAccountId: `occupationlab/occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称 getPythonSysByStuAccountId: `occupationlab/occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
myClassByStudent: `occupationlab/occupationlab/achievement/myClassByStudent`, // 学生端:我的班级 myClassByStudent: `occupationlab/occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息 getStudentInfoByAccountId: `occupationlab/occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
enterExam: `occupationlab/occupationlab/assessment/enterExam`, // 学生端——进入考试 enterExam: `occupationlab/occupationlab/assessment/enterExam`, // 学生端——进入考试
// 课程学习 // 课程学习
pageConditionalQueryCourseByStudent: `occupationlab/occupationlab/theoreticalCourse/pageConditionalQueryCourseByStudent`, pageConditionalQueryCourseByStudent: `occupationlab/occupationlab/theoreticalCourse/pageConditionalQueryCourseByStudent`,
collectCourse: `occupationlab/occupationlab/theoreticalCourse/collectCourse`, collectCourse: `occupationlab/occupationlab/theoreticalCourse/collectCourse`,
listClassification: `occupationlab/occupationlab/theoreticalCourseClassification/pagingQuery`, listClassification: `occupationlab/occupationlab/theoreticalCourseClassification/pagingQuery`,
findByIdCourse: `occupationlab/occupationlab/theoreticalCourse/findById`, findByIdCourse: `occupationlab/occupationlab/theoreticalCourse/findById`,
playRecordSave: `occupationlab/occupationlab/playRecord/save`, playRecordSave: `occupationlab/occupationlab/playRecord/save`,
studentLoginPreCourse: `occupationlab/occupationlab/theoreticalCourse/studentLoginPreCourse`, studentLoginPreCourse: `occupationlab/occupationlab/theoreticalCourse/studentLoginPreCourse`,
getRedisCache: `occupationlab/occupationlab/theoreticalCourse/getRedisCache`, getRedisCache: `occupationlab/occupationlab/theoreticalCourse/getRedisCache`,
getSubsection: `occupationlab/occupationlab/theoreticalCourseSubsection/getSubsection`, getSubsection: `occupationlab/occupationlab/theoreticalCourseSubsection/getSubsection`,
recentUse: `nakadai/nakadai/curriculum/recentUse`, recentUse: `nakadai/nakadai/curriculum/recentUse`,
recordRecentUsage: `nakadai/nakadai/curriculum/recordRecentUsage`, recordRecentUsage: `nakadai/nakadai/curriculum/recordRecentUsage`,
// 资讯 // 资讯
queryAllColumns: `occupationlab/occupationlab/information/column/queryAllColumns`, // 栏目树 queryAllColumns: `occupationlab/occupationlab/information/column/queryAllColumns`, // 栏目树
queryArticleByCondition: `occupationlab/occupationlab/information/article/queryArticleByCondition`, // 文章列表分页条件查询 queryArticleByCondition: `occupationlab/occupationlab/information/article/queryArticleByCondition`, // 文章列表分页条件查询
getArticle: `occupationlab/occupationlab/information/article/getArticle`, // 根据id查询文章 getArticle: `occupationlab/occupationlab/information/article/getArticle`, // 根据id查询文章
// 线上赛事 // 线上赛事
notLoggedInBeforeStudentEvents: `competition/competition/management/notLoggedInBeforeStudentEvents`, notLoggedInBeforeStudentEvents: `competition/competition/management/notLoggedInBeforeStudentEvents`,
addCompetitionRegistration: `competition/competition/registration/addCompetitionRegistration`, addCompetitionRegistration: `competition/competition/registration/addCompetitionRegistration`,
getCompetitionProgress: `competition/competition/progress/getCompetitionProgress`, getCompetitionProgress: `competition/competition/progress/getCompetitionProgress`,
getCompetition: `competition/competition/management/getCompetition`, getCompetition: `competition/competition/management/getCompetition`,
queryAnnouncementByCompetitionId: `competition/competition/announcement/queryAnnouncementByCompetitionId`, queryAnnouncementByCompetitionId: `competition/competition/announcement/queryAnnouncementByCompetitionId`,
queryAnnouncementDetails: `competition/competition/announcement/queryAnnouncementDetails`, queryAnnouncementDetails: `competition/competition/announcement/queryAnnouncementDetails`,
competitionAfterLogin: `competition/competition/management/competitionAfterLogin`, competitionAfterLogin: `competition/competition/management/competitionAfterLogin`,
cancelRegistration: `competition/competition/registration/cancelRegistration`, cancelRegistration: `competition/competition/registration/cancelRegistration`,
addCompetitionTeam: `competition/competition/team/addCompetitionTeam`, addCompetitionTeam: `competition/competition/team/addCompetitionTeam`,
captainOfTransfer: `competition/competition/team/captainOfTransfer`, captainOfTransfer: `competition/competition/team/captainOfTransfer`,
entryInformation: `competition/competition/team/entryInformation`, entryInformation: `competition/competition/team/entryInformation`,
joinCompetitionTeam: `competition/competition/team/joinCompetitionTeam`, joinCompetitionTeam: `competition/competition/team/joinCompetitionTeam`,
removeTheLine: `competition/competition/team/removeTheLine`, removeTheLine: `competition/competition/team/removeTheLine`,
studentAccountApplication: `users/users/register/studentAccountApplication`, studentAccountApplication: `users/users/register/studentAccountApplication`,
searchTeam: `competition/competition/team/searchTeam`, searchTeam: `competition/competition/team/searchTeam`,
addAnAdvisor: `competition/competition/teamInstructor/addAnAdvisor`, addAnAdvisor: `competition/competition/teamInstructor/addAnAdvisor`,
deleteAnAdvisor: `competition/competition/teamInstructor/deleteAnAdvisor`, deleteAnAdvisor: `competition/competition/teamInstructor/deleteAnAdvisor`,
allowedParticipateCompetition: `competition/competition/management/allowedParticipateCompetition`, allowedParticipateCompetition: `competition/competition/management/allowedParticipateCompetition`,
stageSelectParticipants: `competition/competition/teamParticipant/stageSelectParticipants`, stageSelectParticipants: `competition/competition/teamParticipant/stageSelectParticipants`,
getCustomerBySchoolId: `nakadai/nakadai/customer/getCustomerBySchoolId`, getCustomerBySchoolId: `nakadai/nakadai/customer/getCustomerBySchoolId`,
isParticipant: `competition/competition/management/isParticipant`, isParticipant: `competition/competition/management/isParticipant`,
editCompetitionTeam: `competition/competition/team/editCompetitionTeam`, editCompetitionTeam: `competition/competition/team/editCompetitionTeam`,
promptRemoval: `competition/competition/team/promptRemoval`, promptRemoval: `competition/competition/team/promptRemoval`,
checkPhoneOrEmailExist: `users/users/userInfo/checkPhoneOrEmailExist`, checkPhoneOrEmailExist: `users/users/userInfo/checkPhoneOrEmailExist`,
cancelParticipant: `competition/competition/teamParticipant/cancelParticipant`, cancelParticipant: `competition/competition/teamParticipant/cancelParticipant`,
enquireAboutSchoolStudents: `users/users/userAccount/enquireAboutSchoolStudents`, enquireAboutSchoolStudents: `users/users/userAccount/enquireAboutSchoolStudents`,
frontDeskOverallRanking: `competition/competition/rank/frontDeskOverallRanking`, frontDeskOverallRanking: `competition/competition/rank/frontDeskOverallRanking`,
frontOfficeCompetitionRanking: `competition/competition/rank/frontOfficeCompetitionRanking`, frontOfficeCompetitionRanking: `competition/competition/rank/frontOfficeCompetitionRanking`,
stageGradeManagementList: `competition/competition/performance/stageGradeManagementList`, stageGradeManagementList: `competition/competition/performance/stageGradeManagementList`,
stageTeamScoreDetails: `competition/competition/rank/stageTeamScoreDetails`, stageTeamScoreDetails: `competition/competition/rank/stageTeamScoreDetails`,
getRedisCacheCompetition: `competition/competition/management/getRedisCache`, getRedisCacheCompetition: `competition/competition/management/getRedisCache`,
getCompetitionStageRankingTime: `competition/competitionReleaseTime/getCompetitionStageRankingTime`, getCompetitionStageRankingTime: `competition/competitionReleaseTime/getCompetitionStageRankingTime`,
cCompetitionStageFileSave: `competition/cCompetitionStageFile/save`, cCompetitionStageFileSave: `competition/cCompetitionStageFile/save`,
cCompetitionStageFileDel: `competition/cCompetitionStageFile/batchDeletion`, cCompetitionStageFileDel: `competition/cCompetitionStageFile/batchDeletion`,
viewEventAllocationInformation: `competition/competitionAutomaticAllocationRecord/viewEventAllocationInformation`, viewEventAllocationInformation: `competition/competitionAutomaticAllocationRecord/viewEventAllocationInformation`,
checkTeamStatus: `competition/teamAbnormalInformation/checkTeamStatus`,
// 创业活动 competitionTeamAutomaticAllocationRecordSave: `competition/competitionTeamAutomaticAllocationRecord/save`,
activityList: `occupationlab/occupationlab/activity/activityList`, teamAssignmentButtonDisplay: `competition/competitionTeamAutomaticAllocationRecord/teamAssignmentButtonDisplay`,
schoolActivities: `occupationlab/occupationlab/activity/schoolActivities`, assignedPlayer: `competition/competition/automaticAllocation/assignedPlayer`,
batchDeletionActivity: `occupationlab/occupationlab/activity/batchDeletion`, competitionTeamAutomaticAllocationRecordSave: `competition/competitionTeamAutomaticAllocationRecord/saveOrUpdate`,
disabledEventsActivity: `occupationlab/occupationlab/activity/disabledEvents`,
findByIdActivity: `occupationlab/occupationlab/activity/findById`, // 创业活动
getRedisCacheActivity: `occupationlab/occupationlab/activity/getRedisCache`, activityList: `occupationlab/occupationlab/activity/activityList`,
saveActivity: `occupationlab/occupationlab/activity/save`, schoolActivities: `occupationlab/occupationlab/activity/schoolActivities`,
updateActivity: `occupationlab/occupationlab/activity/update`, batchDeletionActivity: `occupationlab/occupationlab/activity/batchDeletion`,
myActivities: `occupationlab/occupationlab/activity/myActivities`, disabledEventsActivity: `occupationlab/occupationlab/activity/disabledEvents`,
delActivityApplicant: `occupationlab/occupationlab/activity/applicant/delete`, findByIdActivity: `occupationlab/occupationlab/activity/findById`,
findByIdActivityApplicant: `occupationlab/occupationlab/activity/applicant/findById`, getRedisCacheActivity: `occupationlab/occupationlab/activity/getRedisCache`,
saveActivityApplicant: `occupationlab/occupationlab/activity/applicant/save`, saveActivity: `occupationlab/occupationlab/activity/save`,
updateActivityApplicant: `occupationlab/occupationlab/activity/applicant/update`, updateActivity: `occupationlab/occupationlab/activity/update`,
ApplicantsList: `occupationlab/occupationlab/activity/applicant/ApplicantsList`, myActivities: `occupationlab/occupationlab/activity/myActivities`,
disableActivityApplicant: `occupationlab/occupationlab/activity/applicant/disableRegistration`, delActivityApplicant: `occupationlab/occupationlab/activity/applicant/delete`,
excelExportApplicant: `${host}occupationlab/occupationlab/activity/applicant/excelExport`, findByIdActivityApplicant: `occupationlab/occupationlab/activity/applicant/findById`,
exportDataInBatchesApplicant: `${host}occupationlab/occupationlab/activity/applicant/exportDataInBatches`, saveActivityApplicant: `occupationlab/occupationlab/activity/applicant/save`,
addActivityProgress: `occupationlab/occupationlab/activity/progress/addCompetitionProgress`, updateActivityApplicant: `occupationlab/occupationlab/activity/applicant/update`,
delActivityProgress: `occupationlab/occupationlab/activity/progress/batchDeletion`, ApplicantsList: `occupationlab/occupationlab/activity/applicant/ApplicantsList`,
findActivityProgress: `occupationlab/occupationlab/activity/progress/findById`, disableActivityApplicant: `occupationlab/occupationlab/activity/applicant/disableRegistration`,
listActivityProgress: `occupationlab/occupationlab/activity/progress/getCompetitionProgress`, excelExportApplicant: `${host}occupationlab/occupationlab/activity/applicant/excelExport`,
updateActivityProgress: `occupationlab/occupationlab/activity/progress/update`, exportDataInBatchesApplicant: `${host}occupationlab/occupationlab/activity/applicant/exportDataInBatches`,
addActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/addAnnouncement`, addActivityProgress: `occupationlab/occupationlab/activity/progress/addCompetitionProgress`,
updateActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/amendmentAnnouncement`, delActivityProgress: `occupationlab/occupationlab/activity/progress/batchDeletion`,
delActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/deleteAnnouncement`, findActivityProgress: `occupationlab/occupationlab/activity/progress/findById`,
disableActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/disableAnnouncement`, listActivityProgress: `occupationlab/occupationlab/activity/progress/getCompetitionProgress`,
listActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementByCompetitionId`, updateActivityProgress: `occupationlab/occupationlab/activity/progress/update`,
findActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementDetails`, addActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/addAnnouncement`,
delActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/delete`, updateActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/amendmentAnnouncement`,
saveActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/save`, delActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/deleteAnnouncement`,
collectionActivity: `occupationlab/occupationlab/activity/collectionActivity`, disableActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/disableAnnouncement`,
concernedActivity: `occupationlab/occupationlab/activity/concernedActivity`, listActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementByCompetitionId`,
findActivityAnnouncement: `occupationlab/occupationlab/activity/announcement/queryAnnouncementDetails`,
queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份 delActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/delete`,
queryCity: `nakadai/nakadai/city/queryCity`, //查询城市 saveActivityAnnouncementAnnex: `occupationlab/occupationlab/activity/announcement/annex/save`,
querySchool: `nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息 collectionActivity: `occupationlab/occupationlab/activity/collectionActivity`,
queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科 concernedActivity: `occupationlab/occupationlab/activity/concernedActivity`,
queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业 queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `nakadai/nakadai/city/queryCity`, //查询城市
// 个人中心 querySchool: `nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息
uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像 queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示 queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改 queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业
examinePassword: `users/users/userAccount/examinePassword`,//更换密码
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱 // 个人中心
unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`, uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示
joinPractice: `tms/classTech/joinPractice`, //通过邀请码进入实验 updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改
queryArchievement: `tms/classTech/queryExperimentalReport`, //查看教学实验报告 examinePassword: `users/users/userAccount/examinePassword`,//更换密码
queryVirtualReport: `tms/classTech/queryVirtualReport`, //查看虚仿实验报告 bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱
checkInvitationCode: `tms/classTech/checkInvitationCode`, //校验是否需要邀请码 unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`,
userRecord: `tms/classTech/userRecord`, //查询班级实验列表信息
modifyReport: `Achievement/modify`, joinPractice: `tms/classTech/joinPractice`, //通过邀请码进入实验
queryArchievement: `tms/classTech/queryExperimentalReport`, //查看教学实验报告
academicLeadersRanking: `occupationlab/occupationlab/data/kanban/academicLeadersRanking`, queryVirtualReport: `tms/classTech/queryVirtualReport`, //查看虚仿实验报告
getTheMostUsedCoursesInOurSchool: `occupationlab/occupationlab/data/kanban/getTheMostUsedCoursesInOurSchool`, checkInvitationCode: `tms/classTech/checkInvitationCode`, //校验是否需要邀请码
examStatistics: `occupationlab/occupationlab/data/kanban/examStatistics`, userRecord: `tms/classTech/userRecord`, //查询班级实验列表信息
studentGradeDistribution: `occupationlab/occupationlab/data/kanban/studentGradeDistribution`, modifyReport: `Achievement/modify`,
studentAssessSchievement: `occupationlab/occupationlab/data/kanban/studentAssessSchievement`,
overviewOfOurSchoolData: `occupationlab/occupationlab/data/kanban/overviewOfOurSchoolData`, academicLeadersRanking: `occupationlab/occupationlab/data/kanban/academicLeadersRanking`,
monthlyAverageOnlineTime: `occupationlab/occupationlab/data/kanban/monthlyAverageOnlineTime`, getTheMostUsedCoursesInOurSchool: `occupationlab/occupationlab/data/kanban/getTheMostUsedCoursesInOurSchool`,
courseRankings: `occupationlab/occupationlab/data/kanban/courseRankings`, examStatistics: `occupationlab/occupationlab/data/kanban/examStatistics`,
platformLoginStatistics: `users/users/user/platformLoginStatistics`, studentGradeDistribution: `occupationlab/occupationlab/data/kanban/studentGradeDistribution`,
activityRanking: `occupationlab/occupationlab/data/kanban/activityRanking`, studentAssessSchievement: `occupationlab/occupationlab/data/kanban/studentAssessSchievement`,
overviewOfOurSchoolData: `occupationlab/occupationlab/data/kanban/overviewOfOurSchoolData`,
listByEntity: `product/productLogo/listByEntity`, 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> <template>
<div class="header"> <div class="header">
<a class="logo" <a class="logo" @click="toIndex">
@click="toIndex">
<template v-if="isIndex"> <template v-if="isIndex">
<img v-if="isZj" <img v-if="isZj" src="/images/4.png" alt="">
src="/images/4.png" <img v-else-if="isSq" style="max-height: 100%" src="/images/1.png" alt="">
alt=""> <img v-else-if="!isZxy" src="@/assets/img/logo.png" alt="">
<img v-else-if="isSq" <img v-else src="@/assets/img/zxy/logo.png" alt="">
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>
<template v-else> <template v-else>
<img v-if="isZj" <img v-if="isZj" src="/images/4.png" alt="">
src="/images/4.png" <img v-else-if="isSq" style="max-height: 100%" src="/images/1.png" alt="">
alt=""> <img v-else :style="{ maxWidth: title ? '200px' : '300px' }" :src="logoUrl" height="50" />
<img v-else-if="isSq" <span class="title">{{ title }}</span>
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> </template>
</a> </a>
<el-radio-group v-if="isDev && !$store.state.layout.isMobile" <el-radio-group v-if="isDev && !$store.state.layout.isMobile" class="ip" v-model="ip" @change="ipChange">
class="ip"
v-model="ip"
@change="ipChange">
<el-radio :label="0">刘榕ip</el-radio> <el-radio :label="0">刘榕ip</el-radio>
<el-radio :label="1">陈赓ip</el-radio> <el-radio :label="1">陈赓ip</el-radio>
</el-radio-group> </el-radio-group>
<!-- pc端 --> <!-- pc端 -->
<div v-if="!$store.state.layout.isMobile" <div v-if="!$store.state.layout.isMobile" class="inner">
class="inner"> <navbar class="nav-wrap" ref="nav"></navbar>
<navbar class="nav-wrap"
ref="nav"></navbar>
<div class="right"> <div class="right">
<template v-if="token || serverToken"> <template v-if="token || serverToken">
<el-popover v-if="!isIndex" <el-popover v-if="!isIndex" placement="top" :disabled="!notices.length">
placement="top" <p v-for="(item, i) in notices" :key="i" class="p-v-5 cursor-pointer" @click="toComment(item)">{{
:disabled="!notices.length"> item.commentUsername }} 回复了你的评论</p>
<p v-for="(item, i) in notices" <el-badge class="msg" :is-dot="!!notices.length" slot="reference">消息</el-badge>
: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> </el-popover>
<div class="user-wrap"> <div class="user-wrap">
<el-dropdown size="medium" <el-dropdown size="medium" @command="menuChange">
@command="menuChange">
<div class="user"> <div class="user">
<el-avatar :size="35" <el-avatar :size="35" :src="avatar"></el-avatar>
:src="avatar"></el-avatar>
<span class="username">{{ customerName || cName || userName }}</span> <span class="username">{{ customerName || cName || userName }}</span>
</div> </div>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="isIndex" <el-dropdown-item v-if="isIndex" command="index">前往{{ serverToken ? '教学' : '学习' }}</el-dropdown-item>
command="index">前往{{ serverToken ? '教学' : '学习' }}</el-dropdown-item> <el-dropdown-item v-if="!customerName && !serverToken" command="info">个人中心</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-item command="logout">退出登录</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
</template> </template>
<template v-else> <template v-else>
<el-button v-if="isZxy" <el-button v-if="isZxy" class="rounded" type="primary" @click="toNew('/login')">登录</el-button>
class="rounded" <div v-else class="login" @click="toNew('/login')">
type="primary" <img src="@/assets/img/user.png" alt="">
@click="toNew('/login')">登录</el-button>
<div v-else
class="login"
@click="toNew('/login')">
<img src="@/assets/img/user.png"
alt="">
<span>登录</span> <span>登录</span>
</div> </div>
</template> </template>
<el-button v-if="isZxy && isIndex" <el-button v-if="isZxy && isIndex" class="rounded trial" type="primary" plain @click="toTrial">免费试用</el-button>
class="rounded trial"
type="primary"
plain
@click="toTrial">免费试用</el-button>
</div> </div>
</div> </div>
<!-- 移动端 --> <!-- 移动端 -->
<div v-else <div v-else class="mobile-inner">
class="mobile-inner"> <i class="login el-icon-user-solid" @click="toLogin"></i>
<i class="login el-icon-user-solid" <i class="menu-icon" :class="mobileMenuStatus ? 'el-icon-s-fold' : 'el-icon-s-unfold'"
@click="toLogin"></i> @click.stop="toggleMobileMenu"></i>
<i class="menu-icon" <navbar v-show="mobileMenuStatus" class="mobile-menu" :isHome.sync="isHome"
:class="mobileMenuStatus ? 'el-icon-s-fold': 'el-icon-s-unfold' " @toggleMobileMenu="toggleMobileMenu" />
@click.stop="toggleMobileMenu"></i>
<navbar v-show="mobileMenuStatus"
class="mobile-menu"
:isHome.sync="isHome"
@toggleMobileMenu="toggleMobileMenu" />
</div> </div>
</div> </div>
</template> </template>
@ -316,155 +268,181 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
$height: 64px; $height: 64px;
.header { .header {
z-index: 10; z-index: 10;
position: fixed; 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; top: 0;
left: 0; left: 40px;
width: 100%; display: flex;
align-items: center;
font-size: 28px;
color: #568df2;
height: $height; height: $height;
background-color: #fff; cursor: pointer;
box-shadow: 0px 0px 6px 0px rgba(178, 178, 178, 0.32);
.inner { img {
display: flex; max-width: 300px;
justify-content: space-between; margin-right: 10px;
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;
} }
.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; margin-left: 5px;
font-size: 12px;
color: #666; 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 { .mobile-inner {
background-color: #48cafd; position: absolute;
border-color: #48cafd; 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 { .menu-icon {
position: absolute; margin: 0 20px 0 10px;
top: 0; font-size: 20px;
display: flex; color: #c1c1c1;
justify-content: flex-end; cursor: pointer;
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;
}
} }
}
} }
.mobile-menu { .mobile-menu {
z-index: 9999; z-index: 9999;
position: absolute; position: absolute;
top: $height; top: $height;
left: 0; left: 0;
width: 100%; width: 100%;
background-color: white; background-color: white;
max-height: 300px; max-height: 300px;
overflow-y: scroll; overflow-y: scroll;
} }
@media (max-width: 1870px) { @media (max-width: 1870px) {
.header { .header {
.logo { .logo {
left: 20px; left: 20px;
}
.inner {
padding-right: 20px;
}
} }
.inner {
padding-right: 20px;
}
}
} }
@media (max-width: 1550px) { @media (max-width: 1550px) {
.header { .header {
.logo { .logo {
img { img {
max-width: 260px; max-width: 260px;
} }
}
} }
}
} }
.ip { .ip {
position: fixed; position: fixed;
top: 25px; top: 25px;
left: 200px; left: 200px;
} }
</style> </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 = `${location.origin}/`
// let uploadURL = `https://izhixinyun.com/` // let uploadURL = `https://izhixinyun.com/`
let title = isZxy ? let title = isZxy ?
'智信云' : '智信云' :
(isHh || isCH) ? (isHh || isCH) ?
'学生端' : '学生端' :
'职站' '职站'
if (isPro) { if (isPro) {
// 职站生产 // 职站生产
uploadURL = `https://www.huorantech.cn/` uploadURL = `https://www.huorantech.cn/`
} else if (isDev) { } else if (isDev) {
// 本地 // 本地
systemPath = `http://${location.hostname}:8093` systemPath = `http://${location.hostname}:8093`
sandPath = `http://${location.hostname}:9520` sandPath = `http://${location.hostname}:9520`
uploadURL = `http://121.37.12.51/` uploadURL = `http://121.37.12.51/`
host = "http://121.37.12.51/"; // 测试服 host = "http://121.37.12.51/"; // 测试服
// host = 'https://www.occupationlab.com/' // 正式服 // host = 'https://www.occupationlab.com/' // 正式服
host = localStorage.getItem('localIp') == 1 ? 'http://192.168.31.51:9000/' : 'http://192.168.31.217:9000/' host = localStorage.getItem('localIp') == 1 ? 'http://192.168.31.51:9000/' : 'http://192.168.31.217:9000/'
} else if (isSq) { } else if (isSq) {
zcPath = `10.20.100.204:8883` zcPath = `10.20.100.204:8883`
} }
const Setting = { const Setting = {
/** /**
* 基础配置 * 基础配置
* */ * */
platformId: 1, // 平台标识,1职站,2数据平台,3中台 platformId: 1, // 平台标识,1职站,2数据平台,3中台
platformSource: 0, // 平台来源(0中台,1职站) platformSource: 0, // 平台来源(0中台,1职站)
titleSuffix: title, // 网页标题的后缀 titleSuffix: title, // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash routerMode: "hash", // 路由模式,可选值为 history 或 hash
showProgressBar: true, // 页面切换时,是否显示模拟的进度条 showProgressBar: true, // 页面切换时,是否显示模拟的进度条
apiBaseURL: host, // 接口请求地址 apiBaseURL: host, // 接口请求地址
uploadURL, // 阿里云oss域名 uploadURL, // 阿里云oss域名
systemPath, // 子系统地址前缀 systemPath, // 子系统地址前缀
sandPath, sandPath,
autoLogoutTime: 1000 * 60 * 60 * 3, // 长时间未操作,自动退出登录时间 autoLogoutTime: 1000 * 60 * 60 * 3, // 长时间未操作,自动退出登录时间
modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒 modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒
errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
cookiesExpires: 1, // Cookies 默认保存时间,单位:天 cookiesExpires: 1, // Cookies 默认保存时间,单位:天
tokenExpires: 1296000000, // token在localStorage的时间(毫秒) tokenExpires: 1296000000, // token在localStorage的时间(毫秒)
tokenKey: "oc_client_token", // localStorage里保存的token的key tokenKey: "oc_client_token", // localStorage里保存的token的key
storeKey: "oc_client_store", // localStorage里保存的vuex的key storeKey: "oc_client_store", // localStorage里保存的vuex的key
initialPassword: "1122aa", // 默认密码 initialPassword: "1122aa", // 默认密码
isDev, isDev,
isTest, isTest,
isPro, isPro,
isZxy, isZxy,
isSq, isSq,
zcPath, 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'], 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: [ platformList: [
{ {
id: 1, id: 1,
name: '职站' name: '职站'
},
{
id: 2,
name: '数据平台'
},
{
id: 3,
name: '中台'
}
],
/**
* 多语言配置
* */
i18n: {
default: "zh", // 默认语言
auto: false // 是否根据用户电脑配置自动设置语言(仅第一次有效)
}, },
layout: {}, // 布局配置 {
/** id: 2,
* 功能配置 name: '数据平台'
* */ },
sameRouteForceUpdate: false, // 相同路由,不同参数间进行切换,是否强力更新 {
dynamicRoute: false // 是否使用动态路由 id: 3,
name: '中台'
}
],
/**
* 多语言配置
* */
i18n: {
default: "zh", // 默认语言
auto: false // 是否根据用户电脑配置自动设置语言(仅第一次有效)
},
layout: {}, // 布局配置
/**
* 功能配置
* */
sameRouteForceUpdate: false, // 相同路由,不同参数间进行切换,是否强力更新
dynamicRoute: false // 是否使用动态路由
}; };
export default Setting; export default Setting;

@ -355,15 +355,6 @@
.el-tooltip__popper { .el-tooltip__popper {
width: 300px; 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'] { .el-tooltip__popper[x-placement^='top'] {
.popper__arrow { .popper__arrow {
border-top-color: #fff; border-top-color: #fff;

Loading…
Cancel
Save