mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 21:36:45 +08:00
细节
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="all_path">
|
<view class="all_path">
|
||||||
<view class="headers">
|
<view class="headers">
|
||||||
<text>全岗位路径图</text>
|
<text>专业力必修图</text>
|
||||||
<view class="go_to" @click="goSearch">
|
<view class="go_to" @click="goSearch">
|
||||||
<text class="text">筛选</text>
|
<text class="text">筛选</text>
|
||||||
<image class="img" src="../../static/images/learnpath/uotdown.png" mode=""></image>
|
<image class="img" src="../../static/images/learnpath/uotdown.png" mode=""></image>
|
||||||
@@ -10,15 +10,15 @@
|
|||||||
<view class="path">
|
<view class="path">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<image style="width: 40rpx;height: 36rpx;" class="img" src="../../static/images/learnpath/thispath.png" mode=""></image>
|
<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>
|
||||||
<view class="item" style="margin-left: 80rpx;">
|
<view class="item" style="margin-left: 80rpx;">
|
||||||
<image style="width: 40rpx;height: 36rpx;" class="img" src="../../static/images/learnpath/otherpath.png" mode=""></image>
|
<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>
|
||||||
<!-- <view class="item">
|
<!-- <view class="item">
|
||||||
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
|
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
|
||||||
<text class="text">其他路径(无权限)</text>
|
<text class="text">其他任务(无权限)</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="table">
|
<view class="table">
|
||||||
@@ -230,9 +230,9 @@
|
|||||||
return integratedDataArray;
|
return integratedDataArray;
|
||||||
},
|
},
|
||||||
goSearch(){
|
goSearch(){
|
||||||
let positionId = this.preparedData.map(item => item.positionName).join(',')
|
// let positionId = this.preparedData.map(item => item.positionName).join(',')
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/learnPath/pathSearch?positionId=${positionId}`
|
url: `/pages/learnPath/pathSearch`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<view class="learn" v-if="Object.keys(detailData).length">
|
<view class="learn" v-if="Object.keys(detailData).length">
|
||||||
<view class="learn_header">
|
<view class="learn_header">
|
||||||
<view class="learn_left">
|
<view class="learn_left">
|
||||||
<text class="text">我的成长路径</text>
|
<text class="text">我的专业力必修</text>
|
||||||
<image @click="contentOn" src="../../static/images/learnpath/why.png" class="image"></image>
|
<image @click="contentOn" src="../../static/images/learnpath/why.png" class="image"></image>
|
||||||
<view class="up_content" v-show="upContent">
|
<view class="up_content" v-show="upContent">
|
||||||
<view class="text">根据您的归属组织、您所在岗位、职级,已为您自动匹配“{{detailData.growName || ''}}”,抓紧时间学习吧~</view>
|
<view class="text">根据您的归属组织、您所在岗位、职级,已为您自动匹配“{{detailData.growName || ''}}”,抓紧时间学习吧~</view>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="learn_right">
|
<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>
|
<image @click="onLearnModal" class="image" src="../../static/images/learnpath/whyWhite.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -104,10 +104,10 @@
|
|||||||
<u-modal :show="learnModal" :showConfirmButton="false" width="200px">
|
<u-modal :show="learnModal" :showConfirmButton="false" width="200px">
|
||||||
<view class="item_modal">
|
<view class="item_modal">
|
||||||
<view class="item_title">
|
<view class="item_title">
|
||||||
成长路径说明
|
专业力必修说明
|
||||||
</view>
|
</view>
|
||||||
<view class="item_text">
|
<view class="item_text">
|
||||||
本功能针对学员所在组织、岗位、职级自动匹配成长路径,完成本路径方可晋升
|
本功能针对学员所在组织、岗位、职级自动匹配专业力必修任务,完成专业力必修任务方可晋升
|
||||||
</view>
|
</view>
|
||||||
<view class="item_btn" @click="learnModal = false">
|
<view class="item_btn" @click="learnModal = false">
|
||||||
我已阅读
|
我已阅读
|
||||||
@@ -212,12 +212,13 @@
|
|||||||
margin-bottom: 38rpx;
|
margin-bottom: 38rpx;
|
||||||
}
|
}
|
||||||
.item_text{
|
.item_text{
|
||||||
height: 96rpx;
|
height: 124rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
line-height: 48rpx;
|
line-height: 48rpx;
|
||||||
margin-bottom: 40rpx;
|
margin-bottom: 40rpx;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
.item_btn{
|
.item_btn{
|
||||||
width: 220rpx;
|
width: 220rpx;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="path_body" :style="{height:dataList.length<=7?'93vh':''}">
|
<view class="path_body" :style="{height:dataList.length<=7?'93vh':''}">
|
||||||
<view class="body_header">
|
<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 v-else></view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<u-switch size="14" v-model="openDown"></u-switch>
|
<u-switch size="14" v-model="openDown"></u-switch>
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
this.bandIndexs = []
|
this.bandIndexs = []
|
||||||
this.bandItem = []
|
this.bandItem = []
|
||||||
this.indexs = [0]
|
this.indexs = [0]
|
||||||
this.posiData = [this.posiLists[0]]
|
this.posiData = []
|
||||||
this.bandFirst = ''
|
this.bandFirst = ''
|
||||||
this.bandEnd = ''
|
this.bandEnd = ''
|
||||||
},
|
},
|
||||||
@@ -146,9 +146,9 @@
|
|||||||
this.isTrue = true
|
this.isTrue = true
|
||||||
},
|
},
|
||||||
searchItem(item,index){
|
searchItem(item,index){
|
||||||
if(index == 0){
|
// if(index == 0){
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
const indexToRemove = this.indexs.indexOf(index);
|
const indexToRemove = this.indexs.indexOf(index);
|
||||||
if (indexToRemove !== -1) {
|
if (indexToRemove !== -1) {
|
||||||
this.indexs.splice(indexToRemove, 1);
|
this.indexs.splice(indexToRemove, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user