mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
提交
This commit is contained in:
@@ -134,8 +134,8 @@ export const ROUTER_DETAIL_CHAPTER_LIST = `/stu/router/chapterPcList`
|
|||||||
|
|
||||||
|
|
||||||
/**专业力必修模块 */
|
/**专业力必修模块 */
|
||||||
let baseUrl = "/growth"
|
// let baseUrl = "/growth"
|
||||||
// let baseUrl = ""
|
let baseUrl = ""
|
||||||
//查询专业力必修详情
|
//查询专业力必修详情
|
||||||
export const PROFESSIONAL_STUDENT_DETAIL = id => `${baseUrl}/professional/student/studentGrowthDetail/${id}`
|
export const PROFESSIONAL_STUDENT_DETAIL = id => `${baseUrl}/professional/student/studentGrowthDetail/${id}`
|
||||||
//查询专业力必修详情
|
//查询专业力必修详情
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 990 KiB After Width: | Height: | Size: 304 KiB |
@@ -112,7 +112,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-time">
|
<div class="item-time">
|
||||||
<template v-if="value.progress === 0">
|
<template v-if="value.completionStatus === '0'">
|
||||||
<div style="color: #999999">未开始</div>
|
<div style="color: #999999">未开始</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
@@ -167,12 +167,7 @@
|
|||||||
<div class="box"></div>
|
<div class="box"></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- todo #路径详情 个人信息缺少img和介绍-->
|
<!-- todo #路径详情 个人信息缺少img和介绍-->
|
||||||
<div
|
<div class="teacheritem">
|
||||||
class="teacheritem"
|
|
||||||
:style="{
|
|
||||||
'border-bottom': '1px solid rgba(56, 125, 247, 0.2)',
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<img
|
<img
|
||||||
class="peopleimg"
|
class="peopleimg"
|
||||||
:src="userInfo?.avatar ? '/upload' + userInfo?.avatar : ''"
|
:src="userInfo?.avatar ? '/upload' + userInfo?.avatar : ''"
|
||||||
@@ -188,7 +183,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info" style="padding: 20px 0 33px 0">
|
<div class="info" style="padding: 0px 0 33px 0">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<img
|
<img
|
||||||
style="width: 18px; height: 17px"
|
style="width: 18px; height: 17px"
|
||||||
@@ -215,7 +210,7 @@
|
|||||||
<div class="progressBox">
|
<div class="progressBox">
|
||||||
<div>总进度</div>
|
<div>总进度</div>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div style="width: 291px">
|
<div style="flex: 1;">
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="totalProgress"
|
:percentage="totalProgress"
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
@@ -240,7 +235,7 @@
|
|||||||
<div class="progressBox">
|
<div class="progressBox">
|
||||||
<div>必修进度</div>
|
<div>必修进度</div>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div style="width: 291px">
|
<div style="flex: 1;">
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="requiredProgress"
|
:percentage="requiredProgress"
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
@@ -268,7 +263,7 @@
|
|||||||
<div class="progressBox">
|
<div class="progressBox">
|
||||||
<div>选修进度</div>
|
<div>选修进度</div>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div style="width: 291px">
|
<div style="flex: 1;">
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="electiveProgress"
|
:percentage="electiveProgress"
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
@@ -867,8 +862,8 @@ function toOffcoursePlanPage(id) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.detailR {
|
.detailR {
|
||||||
width: 494px;
|
width: 25%;
|
||||||
|
min-width: 400px;
|
||||||
.detailRB {
|
.detailRB {
|
||||||
min-height: 459px;
|
min-height: 459px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
@@ -899,11 +894,10 @@ function toOffcoursePlanPage(id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.info .teacheritem {
|
.info .teacheritem {
|
||||||
margin-left: 48px;
|
|
||||||
margin-right: 48px;
|
|
||||||
margin-top: 30px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
// align-items: center;
|
padding-bottom: 5px;
|
||||||
|
margin: 30px 48px 0 48px;
|
||||||
|
border-bottom: 1px solid rgba(56, 125, 247, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.info .teacheritem .peopleimg {
|
.info .teacheritem .peopleimg {
|
||||||
@@ -980,6 +974,7 @@ function toOffcoursePlanPage(id) {
|
|||||||
.progress {
|
.progress {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress .el-progress-bar__outer {
|
.progress .el-progress-bar__outer {
|
||||||
@@ -1019,7 +1014,7 @@ function toOffcoursePlanPage(id) {
|
|||||||
.item-button {
|
.item-button {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
margin-left: 187px;
|
margin-left: 15%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
div {
|
div {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -1041,7 +1036,7 @@ function toOffcoursePlanPage(id) {
|
|||||||
color: #0077ec;
|
color: #0077ec;
|
||||||
}
|
}
|
||||||
.item-img {
|
.item-img {
|
||||||
width: 300px;
|
width: 24%;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,35 @@
|
|||||||
<div class="tabs-line"></div>
|
<div class="tabs-line"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="display: flex">
|
||||||
|
<el-select
|
||||||
|
style="width: 230px"
|
||||||
|
:teleported="false"
|
||||||
|
v-model="queryParams.completionStatus"
|
||||||
|
placeholder="搜索学习状态"
|
||||||
|
>
|
||||||
|
<el-option label="全部" value="3"> </el-option>
|
||||||
|
<el-option label="未开始" value="0"> </el-option>
|
||||||
|
<el-option label="已完成" value="1"> </el-option>
|
||||||
|
<el-option label="进行中" value="2"> </el-option>
|
||||||
|
</el-select>
|
||||||
|
<el-input
|
||||||
|
style="margin-left: 9px; width: 230px"
|
||||||
|
v-model="queryParams.taskName"
|
||||||
|
placeholder="搜索名称"
|
||||||
|
clearable
|
||||||
|
/>
|
||||||
|
<el-button
|
||||||
|
icon="Search"
|
||||||
|
style="margin-left: 20px"
|
||||||
|
type="primary"
|
||||||
|
@click="getList"
|
||||||
|
>搜索</el-button
|
||||||
|
>
|
||||||
|
<el-button icon="Refresh" style="margin-left: 20px" @click="refresh"
|
||||||
|
>清除</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="growth-path-container">
|
<div class="growth-path-container">
|
||||||
<div class="growth-name-type">
|
<div class="growth-name-type">
|
||||||
@@ -57,6 +86,7 @@
|
|||||||
<div
|
<div
|
||||||
:style="{ transform: 'scale(' + transformSize + ')' }"
|
:style="{ transform: 'scale(' + transformSize + ')' }"
|
||||||
style="transform-origin: top left"
|
style="transform-origin: top left"
|
||||||
|
v-loading="loading"
|
||||||
>
|
>
|
||||||
<template v-if="selectGrowth.template == 1">
|
<template v-if="selectGrowth.template == 1">
|
||||||
<Roadmap2
|
<Roadmap2
|
||||||
@@ -260,6 +290,13 @@ const tabClick = (type, status) => {
|
|||||||
}
|
}
|
||||||
getList();
|
getList();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// 清除
|
||||||
|
const refresh = () => {
|
||||||
|
queryParams.taskName = "";
|
||||||
|
queryParams.completionStatus = "";
|
||||||
|
getList();
|
||||||
|
};
|
||||||
// 学习任务列表
|
// 学习任务列表
|
||||||
const stageProcessList = ref([]);
|
const stageProcessList = ref([]);
|
||||||
|
|
||||||
@@ -623,7 +660,6 @@ function toOffcoursePlanPage(id) {
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
padding: 0 80px 0 62px;
|
padding: 0 80px 0 62px;
|
||||||
width: 1920px;
|
|
||||||
}
|
}
|
||||||
.growth-name-type {
|
.growth-name-type {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export default defineConfig(({ command, mode }) =>
|
|||||||
promiseExportName: '__tla',
|
promiseExportName: '__tla',
|
||||||
promiseImportName: i => `__tla_${i}`
|
promiseImportName: i => `__tla_${i}`
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// viteMockServe({
|
// viteMockServe({
|
||||||
// mockPath: './src/mock/mocks',
|
// mockPath: './src/mock/mocks',
|
||||||
// })
|
// })
|
||||||
@@ -36,16 +37,18 @@ export default defineConfig(({ command, mode }) =>
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
host: '0.0.0.0',
|
||||||
proxy: {
|
proxy: {
|
||||||
// "/professional": {
|
"/professional": {
|
||||||
// // target: 'http://192.168.16.195:32002',
|
// target: 'http://192.168.16.195:32002',
|
||||||
// target: 'http://192.168.150.97:32002',
|
// target: 'http://192.168.150.97:32002',
|
||||||
// changeOrigin: true,
|
target: 'http://192.168.68.211:32002',
|
||||||
// },
|
|
||||||
'/growth': {
|
|
||||||
target: 'https://u-pre.boe.com',
|
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
|
// '/growth': {
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
|
// changeOrigin: true,
|
||||||
|
// },
|
||||||
'/file/upload': {
|
'/file/upload': {
|
||||||
target: loadEnv(mode, process.cwd()).VITE_PROXY_URL,
|
target: loadEnv(mode, process.cwd()).VITE_PROXY_URL,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user