This commit is contained in:
zhangsir
2024-07-10 18:18:35 +08:00
parent d1061455f6
commit 046351c883
4 changed files with 17 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="all_path">
<view class="headers">
<text>全岗位路径</text>
<text>专业力必修</text>
<view class="go_to" @click="goSearch">
<text class="text">筛选</text>
<image class="img" src="../../static/images/learnpath/uotdown.png" mode=""></image>
@@ -10,15 +10,15 @@
<view class="path">
<view class="item">
<image style="width: 40rpx;height: 36rpx;" class="img" src="../../static/images/learnpath/thispath.png" mode=""></image>
<text class="text">当前路径</text>
<text class="text">当前任务</text>
</view>
<view class="item" style="margin-left: 80rpx;">
<image style="width: 40rpx;height: 36rpx;" class="img" src="../../static/images/learnpath/otherpath.png" mode=""></image>
<text class="text">其他路径</text>
<text class="text">其他任务</text>
</view>
<!-- <view class="item">
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
<text class="text">其他路径(无权限)</text>
<text class="text">其他任务(无权限)</text>
</view> -->
</view>
<view class="table">
@@ -230,9 +230,9 @@
return integratedDataArray;
},
goSearch(){
let positionId = this.preparedData.map(item => item.positionName).join(',')
// let positionId = this.preparedData.map(item => item.positionName).join(',')
uni.navigateTo({
url: `/pages/learnPath/pathSearch?positionId=${positionId}`
url: `/pages/learnPath/pathSearch`
})
},
}

View File

@@ -3,7 +3,7 @@
<view class="learn" v-if="Object.keys(detailData).length">
<view class="learn_header">
<view class="learn_left">
<text class="text">我的成长路径</text>
<text class="text">我的专业力必修</text>
<image @click="contentOn" src="../../static/images/learnpath/why.png" class="image"></image>
<view class="up_content" v-show="upContent">
<view class="text">根据您的归属组织您所在岗位职级已为您自动匹配{{detailData.growName || ''}}抓紧时间学习吧</view>
@@ -11,7 +11,7 @@
</view>
</view>
<view class="learn_right">
<text class="text">什么是成长路径</text>
<text class="text">什么是专业力必修</text>
<image @click="onLearnModal" class="image" src="../../static/images/learnpath/whyWhite.png" mode=""></image>
</view>
</view>
@@ -104,10 +104,10 @@
<u-modal :show="learnModal" :showConfirmButton="false" width="200px">
<view class="item_modal">
<view class="item_title">
成长路径说明
专业力必修说明
</view>
<view class="item_text">
本功能针对学员所在组织岗位职级自动匹配成长路径完成本路径方可晋升
本功能针对学员所在组织岗位职级自动匹配专业力必修任务完成专业力必修任务方可晋升
</view>
<view class="item_btn" @click="learnModal = false">
我已阅读
@@ -212,12 +212,13 @@
margin-bottom: 38rpx;
}
.item_text{
height: 96rpx;
height: 124rpx;
font-weight: 400;
font-size: 26rpx;
color: #333333;
line-height: 48rpx;
margin-bottom: 40rpx;
text-align: left;
}
.item_btn{
width: 220rpx;

View File

@@ -5,7 +5,7 @@
</view>
<view class="path_body" :style="{height:dataList.length<=7?'93vh':''}">
<view class="body_header">
<view class="left" v-if="isAllPath" @click="goAllPath">全岗位路径</view>
<view class="left" v-if="isAllPath" @click="goAllPath">专业力必修</view>
<view v-else></view>
<view class="right">
<u-switch size="14" v-model="openDown"></u-switch>

View File

@@ -81,7 +81,7 @@
this.bandIndexs = []
this.bandItem = []
this.indexs = [0]
this.posiData = [this.posiLists[0]]
this.posiData = []
this.bandFirst = ''
this.bandEnd = ''
},
@@ -146,9 +146,9 @@
this.isTrue = true
},
searchItem(item,index){
if(index == 0){
return
}
// if(index == 0){
// return
// }
const indexToRemove = this.indexs.indexOf(index);
if (indexToRemove !== -1) {
this.indexs.splice(indexToRemove, 1);