全岗位

This commit is contained in:
zhangsir
2024-06-24 14:17:59 +08:00
parent 2f9c3827ee
commit 94de112f49
3 changed files with 8 additions and 3 deletions

View File

@@ -3,3 +3,5 @@ import ajax from "@/api/ajax"
export const getList = (params) => ajax.get('/manageApi',`/stu/grow/getStuLearnInfo?userId=${params}`); export const getList = (params) => ajax.get('/manageApi',`/stu/grow/getStuLearnInfo?userId=${params}`);
//获取路径图详情 //获取路径图详情
export const taskList = (params) => ajax.get('/manageApi',`/stu/grow/taskList?growId=${params}`); export const taskList = (params) => ajax.get('/manageApi',`/stu/grow/taskList?growId=${params}`);
//全岗位路径
export const getFullJobPath = (params) => ajax.get('/manageApi',`/stu/grow/getFullJobPath`);

View File

@@ -181,7 +181,7 @@ export default {
startLearn(){ startLearn(){
this.$router.push({ this.$router.push({
path: '/growthpath', path: '/growthpath',
query: {growId:this.detailData.growId,name: this.detailData.growName,isTrue: true} query: {growId:this.detailData.growId,name: this.detailData.growName,isTrue: true,status:this.detailData.overallCompletionRate}
}) })
}, },
checkedTrue(){ checkedTrue(){

View File

@@ -88,7 +88,7 @@
<div :style="{ <div :style="{
left: (getPosition(item.name, index).left + 55) + 'px', left: (getPosition(item.name, index).left + 55) + 'px',
top: (getPosition(item.name, index).top + 60) + 'px' top: (getPosition(item.name, index).top + 60) + 'px'
}" class="growth_explain1" v-if="item.id == istabId && explainBody"> }" class="growth_explain1" v-if="item.id == istabId && explainBody && $route.query.status == 0">
<div class="growth_explain_text"> <div class="growth_explain_text">
<div class="text">{{item.title}}是您当前所在位置请您从这里开始学习哦</div> <div class="text">{{item.title}}是您当前所在位置请您从这里开始学习哦</div>
<div class="explain_close" @click="explainBody = false"></div> <div class="explain_close" @click="explainBody = false"></div>
@@ -275,7 +275,7 @@
<script> <script>
import portalHeader from '@/components/PortalHeader.vue'; import portalHeader from '@/components/PortalHeader.vue';
import {taskList} from '@/api/growth'; import {taskList,getFullJobPath} from '@/api/growth';
import { scrollTo } from '@/utils/scroll-to' import { scrollTo } from '@/utils/scroll-to'
export default { export default {
name: 'GrowthPath', name: 'GrowthPath',
@@ -439,6 +439,9 @@ export default {
} }
} }
}) })
getFullJobPath().then(res=>{
console.log(res,'res')
})
}, },
methods: { methods: {
toggleFlag() { toggleFlag() {