mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 18:36:43 +08:00
修改配置,考试的上班架控制
This commit is contained in:
@@ -33,6 +33,7 @@ VUE_APP_LOGIN_URL='/pc/login'
|
||||
# 虚拟目录的变量
|
||||
VUE_APP_PUBLIC_PATH='/pc'
|
||||
VUE_APP_MANAGER_PATH='/manage'
|
||||
VUE_APP_STUDENT_PATH='/fe-student'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
@@ -30,6 +30,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
||||
VUE_APP_PUBLIC_PATH='/pc-release'
|
||||
VUE_APP_MANAGER_PATH='/manage-release'
|
||||
VUE_APP_STUDENT_PATH='/fe-student-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_APP_PUBLIC_PATH='/pc'
|
||||
VUE_APP_MANAGER_PATH='/manage'
|
||||
VUE_APP_STUDENT_PATH='/fe-student'
|
||||
|
||||
# 登录地址
|
||||
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
||||
|
||||
@@ -30,6 +30,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||
# 虚拟目录的变量,结尾的/在vue.config.js中添加
|
||||
VUE_APP_PUBLIC_PATH='/pc'
|
||||
VUE_APP_MANAGER_PATH='/manage'
|
||||
VUE_APP_STUDENT_PATH='/fe-student'
|
||||
|
||||
# 登录地址
|
||||
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
||||
|
||||
@@ -58,6 +58,13 @@
|
||||
{{ scope.row.published ? '已发布' : '未发布' }}
|
||||
</template>
|
||||
</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="操作" width="250px" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<!--学习路径图-->
|
||||
<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>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
export default{
|
||||
data(){
|
||||
return {
|
||||
basePath:process.env.VUE_APP_MANAGER_PATH
|
||||
basePath:process.env.VUE_APP_STUDENT_PATH
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<!--学习项目-->
|
||||
<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>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
export default{
|
||||
data(){
|
||||
return {
|
||||
basePath:process.env.VUE_APP_MANAGER_PATH
|
||||
basePath:process.env.VUE_APP_STUDENT_PATH
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user