|
|
|
@ -85,7 +85,7 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="请选择项目" :visible.sync="projectVisible" width="828px" custom-class="project-dia" :close-on-click-modal="false"> |
|
|
|
|
<el-dialog title="请选择项目" v-loading="loading" :visible.sync="projectVisible" width="828px" custom-class="project-dia" :close-on-click-modal="false"> |
|
|
|
|
<ul class="projects"> |
|
|
|
|
<li v-for="(item, i) in projects" :key="i" :class="{active: curProject == item.projectId}" @click="selectProject(item)"> |
|
|
|
|
<img src="@/assets/img/project.png" alt=""> |
|
|
|
@ -356,11 +356,12 @@ export default { |
|
|
|
|
util.cookies.set('courseId', this.courseId) |
|
|
|
|
util.cookies.set('curriculumName', escape(this.curriculumName)) |
|
|
|
|
util.cookies.set('systemId', id) |
|
|
|
|
util.cookies.set('fromManager', '', -1) |
|
|
|
|
// 8个python子系统都跳这个地址,子系统会通过cookie里的systemId识别展示哪套系统 |
|
|
|
|
location.href = process.env.NODE_ENV === 'development' ? |
|
|
|
|
`http://${location.hostname}:8085/#/` : |
|
|
|
|
Setting.isPro ? |
|
|
|
|
'https://www.occupationlab.com/pyTrials' : |
|
|
|
|
`https://${location.hostname}/pyTrials` : |
|
|
|
|
`${location.origin}/pyTrials` |
|
|
|
|
}, |
|
|
|
|
// 进入子系统 |
|
|
|
@ -632,10 +633,9 @@ $height: 700px; |
|
|
|
|
overflow: auto; |
|
|
|
|
li { |
|
|
|
|
display: inline-flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
width: 238px; |
|
|
|
|
padding: 16px 0; |
|
|
|
|
padding: 16px; |
|
|
|
|
margin: 0 20px 20px 0; |
|
|
|
|
background-color: #F6F8FA; |
|
|
|
|
border-radius: 16px; |
|
|
|
|