From 44a321d6e138825d7b40a51f86c7dc35c7a8f7a8 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 2 Jun 2023 20:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E3=80=81=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 14 + src/assets/img/love1.png | Bin 0 -> 436 bytes src/assets/img/love2.png | Bin 0 -> 411 bytes src/pages/achievement/teach/index.vue | 75 +-- src/pages/activity/list/index.vue | 43 +- src/pages/expSystem/backstage/compiler.vue | 32 +- src/pages/expSystem/backstage/index.vue | 34 +- src/pages/expSystem/backstage/model.vue | 27 +- src/pages/expSystem/backstage/modelType.vue | 28 +- src/pages/expSystem/backstage/sourceModel.vue | 89 +-- src/pages/expSystem/backstage/sourceType.vue | 11 +- src/pages/expSystem/list/index.vue | 2 +- src/pages/match/manage/matchRank.vue | 76 +-- src/pages/project/list/index.vue | 35 +- src/pages/station/preview/index.vue | 481 ++++++++------- src/pages/system/list/role.vue | 559 ++++++++++-------- src/setting.js | 2 +- src/styles/page/station.scss | 335 +++++------ 18 files changed, 1041 insertions(+), 802 deletions(-) create mode 100644 src/assets/img/love1.png create mode 100644 src/assets/img/love2.png diff --git a/src/api/index.js b/src/api/index.js index afcd549..34f4cf4 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -29,6 +29,7 @@ export default { 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', // 课程笔记 addNote: `nakadai/curriculumNotes/addNote`, curriculumNoteList: `nakadai/curriculumNotes/curriculumNoteList`, @@ -109,6 +110,9 @@ export default { exportLabReport: `occupationlab/occupationlab/achievement/exportLabReport`, exportBankExperimentReport: `occupationlab/occupationlab/achievement/exportBankExperimentReport`, editExperimentalData: 'occupationlab/occupationlab/experimentalReport/editExperimentalData', + practiceActivity: 'occupationlab/occupationlab/achievement/practiceActivity', + exportAllActivity: `${host}occupationlab/occupationlab/achievement/exportAllData`, + exportActivity: `${host}occupationlab/occupationlab/achievement/exportDataInBatches`, // 项目管理 getSystemIdBySchool: `occupationlab/occupationlab/projectManage/getSystemIdBySchool`, // 获取学校下拥有的系统 @@ -124,6 +128,8 @@ export default { updateProjectManage: `occupationlab/occupationlab/projectManage/updateProjectManage`, // 修改项目管理 editProjectDraft: `occupationlab/occupationlab/projectManage/editProjectDraft`, // 修改项目管理 copyProjectManage: `occupationlab/occupationlab/projectManage/copyProjectManage`, // 复制项目管理 + schoolCreateProjectPromptsEnabled: `occupationlab/schoolProjectHintOpen/schoolCreateProjectPromptsEnabled`, + schoolProjectPromptsEnabled: `occupationlab/schoolProjectHintOpen/schoolProjectPromptsEnabled`, // 判分点 getBcJudgmentPoint: `judgment/judgment/bcJudgmentPoint/getTeacherJudgmentPoint`, // 获取编程类判分点列表(分页) @@ -370,6 +376,8 @@ export default { 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`, // 数据看板 curriculumListForBeforeLogin: `nakadai/nakadai/curriculum/curriculumListForBeforeLogin`, @@ -440,6 +448,12 @@ export default { builtInClassificationByNakadai: `nakadai/nakadai/model/reference/builtInClassificationByNakadai`, disableModelDemo: `nakadai/nakadai/model/demo/disabledEvents`, synchronizationMdelByOccupationlab: `nakadai/nakadai/model/reference/demo/synchronizationMdelByOccupationlab`, + controlPasteCode: `nakadai/nakadai/model/demo/controlPasteCode`, + whetherCanPaste: `nakadai/nakadai/model/demo/whetherCanPaste`, + builtInModelButtonDisplayByTeacher: `nakadai/nakadai/model/demo/builtInModelButtonDisplayByTeacher`, + displayListOrNotByTeacher: `nakadai/nakadai/model/demo/displayListOrNotByTeacher`, + builtInModelStateByTeacher: `nakadai/nakadai/model/demo/builtInModelStateByTeacher`, + modelRedis: `nakadai/nakadai/model/demo/getRedisCache`, // 教师评语 addComment: `evaluation/cevaluation/comment/addComment`, diff --git a/src/assets/img/love1.png b/src/assets/img/love1.png new file mode 100644 index 0000000000000000000000000000000000000000..1b1e3002e0c2202448804a39e737940e2a2ed861 GIT binary patch literal 436 zcmV;l0ZaagP)Px$Zb?KzR5(w)lRqy*Q5eR5Zt6qcCZuAK zh(RnOMlljLVZzEHv55hRCVk|p(yP_mCgo1|-gD0HectDNj?v)98qDLLfGMpb27p$? zHNN$Hbdu5*B6xoUPVsE=XNO^hGioEw0Y)4#MT~pIEHLqTaEK<($k9Ze5g>tQ?WNE# z(CG@1#kb8+qf$osKZF%-dlYm{b?WKAv^d2@Gr+#kcb?F!*v3q8r~%YJwI-T=GH-8G9}VCY8Y0 zuGvSY3&eO)T{*Czat|1cggV^-%Xqf)du)m;QBbE_AcJQc)q`ESn$#}FaG6r42gDk_ ztyJ>4dgh#hfRBAagUrDyo~3^qT6Bn0T15nRHU}(KgH;|%rP3)aB63l%+JQBNval(- ePx$RY^oaR5(wq)GgG~#(M<;tX`7cgh=aHZ z4nomQ5OEL`MHeSQa8U;-2s*jBIrXGIB`HmtlJ>2a_shLI?t~s6>9I#6XmuE6A0>y< zkMIhd6Uqiw$54EfQ6L9AAzTs2N<66uEa^DHU1G+s%J?22G1JtMj zeHlxzODL-m=<62BdPdA$GYnzn&1G2DV_?23P${q}6$h5|1i|YHghfI*aGoySJo-ux`XGx|6%v> zZ}cY literal 0 HcmV?d00001 diff --git a/src/pages/achievement/teach/index.vue b/src/pages/achievement/teach/index.vue index f7fcbde..e10d25f 100644 --- a/src/pages/achievement/teach/index.vue +++ b/src/pages/achievement/teach/index.vue @@ -87,6 +87,7 @@ \ No newline at end of file diff --git a/src/setting.js b/src/setting.js index 521d0cc..01931e1 100644 --- a/src/setting.js +++ b/src/setting.js @@ -87,7 +87,7 @@ const Setting = { // 相同路由,不同参数间进行切换,是否强力更新 sameRouteForceUpdate: false, // 是否使用动态路由(即角色权限,开启了的话就会取后端返回的权限树来显示头部导肮和页面按钮) - dynamicRoute: false, + dynamicRoute: true, // 文件上传 upload: { apiURL: uploadURL, diff --git a/src/styles/page/station.scss b/src/styles/page/station.scss index 0aae6d9..21e33b9 100644 --- a/src/styles/page/station.scss +++ b/src/styles/page/station.scss @@ -1,173 +1,174 @@ -.msg{ - li{ - margin-bottom: 10px; - border-top: 1px solid #f1f1f1; - &:first-child{ - border-top: 0; - } - .li-wrap{ - position: relative; - display: flex; - justify-content: space-between; - padding: 16px 0; - .avatar{ - width: 48px; - height: 48px; - border-radius: 50%; - } - .texts{ - flex: 1; - margin-left: 24px; - .name{ - color: rgba(0, 0, 0, 0.85); - font-size: 16px; - } - .des{ - margin: 8px 0; - } - .date{ - color: rgba(0, 0, 0, 0.45); - font-size: 14px; - } - } - .action{ - display: inline-flex; - align-items: center; - margin-top: 15px; - .icon{ - margin: 0 5px; - color: $main-color; - font-size: 18px; - cursor: pointer; - &:hover{ - opacity: .8; - } - &:first-child{ - margin-right: 5px; - } - &.del{ - color: rgba(0, 0, 0, 0.65); - border: 1px solid rgba(0, 0, 0, 0.15); - } - } - } - } - .reply{ - margin-top: 20px; - } - } - &.children{ - margin-left: 72px; - padding-left: 24px; - background-color: rgba(0, 0, 0, 0.02); - border-radius: 8px; - li{ - border-top-color: rgba(0, 0, 0, 0.06); - } - } +.msg { + li { + margin-bottom: 10px; + border-top: 1px solid #f1f1f1; + &:first-child { + border-top: 0; + } + .li-wrap { + position: relative; + display: flex; + justify-content: space-between; + padding: 16px 0; + .avatar { + width: 48px; + height: 48px; + border-radius: 50%; + } + .texts { + flex: 1; + margin-left: 24px; + .name { + color: rgba(0, 0, 0, 0.85); + font-size: 16px; + } + .date { + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + } + } + .reply-name { + color: #9076ff; + } + .action { + display: inline-flex; + align-items: center; + margin: 15px 10px 0 0; + .icon { + margin: 0 5px; + color: $main-color; + font-size: 18px; + cursor: pointer; + &:hover { + opacity: 0.8; + } + &:first-child { + margin-right: 5px; + } + &.del { + color: rgba(0, 0, 0, 0.65); + border: 1px solid rgba(0, 0, 0, 0.15); + } + } + } + } + .reply { + margin-top: 20px; + } + } + &.children { + margin-left: 72px; + padding-left: 24px; + background-color: rgba(0, 0, 0, 0.02); + border-radius: 8px; + li { + border-top-color: rgba(0, 0, 0, 0.06); + } + } } -.toggle{ - margin: 16px 0; - text-align: center; - color: $main-color; - font-size: 14px; - span{ - cursor: pointer; - } +.toggle { + margin: 16px 0; + text-align: center; + color: $main-color; + font-size: 14px; + span { + cursor: pointer; + } } -/deep/.quill{ - background-color: #fff; +/deep/.quill { + background-color: #fff; } /deep/.timeline { - padding-left: 9%; - overflow: hidden; - .el-timeline-item { - padding-bottom: 40px; - } - .el-timeline-item__node--normal { - top: 30px; - } - .el-timeline-item__wrapper { - top: 15px; - padding-left: 40px; - } - .el-timeline-item__tail { - height: 250%; - border-left-width: 1px; - } - .sign { - position: relative; - display: inline-block; - margin-left: -12.5%; - font-size: 14px; - color: #9076FF; - } - .draft { - .ver, .sign { - color: #b1b1b1; - } - } - .ver { - display: flex; - justify-content: space-between; - align-items: center; - padding-bottom: 10px; - margin: -22px 0 20px; - font-size: 18px; - color: #9076FF; - border-bottom: 1px dashed #bfbfbf; - } - .withdraw { - margin-right: 10px; - font-size: 13px; - color: #979797; - } - .action { - margin-left: 15px; - i { - margin-left: 8px; - font-size: 14px; - color: #9076FF; - cursor: pointer; - &:hover { - opacity: .9; - } - } - } - .detail { - li { - margin-bottom: 20px; - } - .name { - display: flex; - align-items: center; - margin-bottom: 5px; - font-size: 15px; - font-weight: 600; - img { - width: 20px; - margin-right: 5px; - } - } - .val { - font-size: 14px; - line-height: 1.8; - white-space: pre-wrap; - p { - position: relative; - color: #6a6a6a; - &:before { - content: ''; - display: inline-block; - width: 5px; - height: 5px; - margin: 0 10px 0 5px; - vertical-align: middle; - border-radius: 20px; - background-color: #c5b8ff; + padding-left: 9%; + overflow: hidden; + .el-timeline-item { + padding-bottom: 40px; + } + .el-timeline-item__node--normal { + top: 30px; + } + .el-timeline-item__wrapper { + top: 15px; + padding-left: 40px; + } + .el-timeline-item__tail { + height: 250%; + border-left-width: 1px; + } + .sign { + position: relative; + display: inline-block; + margin-left: -12.5%; + font-size: 14px; + color: #9076ff; + } + .draft { + .ver, + .sign { + color: #b1b1b1; + } + } + .ver { + display: flex; + justify-content: space-between; + align-items: center; + padding-bottom: 10px; + margin: -22px 0 20px; + font-size: 18px; + color: #9076ff; + border-bottom: 1px dashed #bfbfbf; + } + .withdraw { + margin-right: 10px; + font-size: 13px; + color: #979797; + } + .action { + margin-left: 15px; + i { + margin-left: 8px; + font-size: 14px; + color: #9076ff; + cursor: pointer; + &:hover { + opacity: 0.9; + } + } + } + .detail { + li { + margin-bottom: 20px; + } + .name { + display: flex; + align-items: center; + margin-bottom: 5px; + font-size: 15px; + font-weight: 600; + img { + width: 20px; + margin-right: 5px; } - } - } - } -} \ No newline at end of file + } + .val { + font-size: 14px; + line-height: 1.8; + white-space: pre-wrap; + p { + position: relative; + color: #6a6a6a; + &:before { + content: ''; + display: inline-block; + width: 5px; + height: 5px; + margin: 0 10px 0 5px; + vertical-align: middle; + border-radius: 20px; + background-color: #c5b8ff; + } + } + } + } +}