mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
修改配置,考试的上班架控制
This commit is contained in:
@@ -33,6 +33,7 @@ VUE_APP_LOGIN_URL='/pc/login'
|
|||||||
# 虚拟目录的变量
|
# 虚拟目录的变量
|
||||||
VUE_APP_PUBLIC_PATH='/pc'
|
VUE_APP_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
|||||||
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
||||||
VUE_APP_PUBLIC_PATH='/pc-release'
|
VUE_APP_PUBLIC_PATH='/pc-release'
|
||||||
VUE_APP_MANAGER_PATH='/manage-release'
|
VUE_APP_MANAGER_PATH='/manage-release'
|
||||||
|
VUE_APP_STUDENT_PATH='/fe-student-release'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'
|
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
|||||||
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
||||||
VUE_APP_PUBLIC_PATH='/pc'
|
VUE_APP_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
|||||||
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
||||||
VUE_APP_PUBLIC_PATH='/pc'
|
VUE_APP_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
||||||
|
|||||||
@@ -58,6 +58,13 @@
|
|||||||
{{ scope.row.published ? '已发布' : '未发布' }}
|
{{ scope.row.published ? '已发布' : '未发布' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="上下架" prop="collectNumber">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<!-- {{ scope.row.enabled ? '已上架' : '已下架' }} -->
|
||||||
|
<span v-if="scope.row.enabled">已上架</span>
|
||||||
|
<span v-else style="color:red">已下架</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="创建人" prop="sysCreateBy"></el-table-column>
|
<el-table-column label="创建人" prop="sysCreateBy"></el-table-column>
|
||||||
<el-table-column label="操作" width="250px" fixed="right">
|
<el-table-column label="操作" width="250px" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<!--学习路径图-->
|
<!--学习路径图-->
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<iframe id="studyPathFrame" :src="basePath+'/fe-student/learnpath'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
|
<iframe id="studyPathFrame" :src="basePath+'/learnpath'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
export default{
|
export default{
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
basePath:process.env.VUE_APP_MANAGER_PATH
|
basePath:process.env.VUE_APP_STUDENT_PATH
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<!--学习项目-->
|
<!--学习项目-->
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<iframe id="studyPathFrame" :src="basePath+'/fe-student/projectManage'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
|
<iframe id="studyPathFrame" :src="basePath+'/projectManage'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
export default{
|
export default{
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
basePath:process.env.VUE_APP_MANAGER_PATH
|
basePath:process.env.VUE_APP_STUDENT_PATH
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user