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:
@@ -9,11 +9,11 @@
|
||||
</view>
|
||||
<view class="path">
|
||||
<view class="item">
|
||||
<image 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>
|
||||
</view>
|
||||
<view class="item" style="margin-left: 80rpx;">
|
||||
<image 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>
|
||||
</view>
|
||||
<!-- <view class="item">
|
||||
@@ -39,11 +39,13 @@
|
||||
v-if="(t && t.isMajorPosition) "
|
||||
src="@/static/images/learnpath/thispath.png"
|
||||
mode="aspectFit"
|
||||
style="width: 40rpx;height: 36rpx;"
|
||||
/>
|
||||
<image
|
||||
v-else-if="(t && t.permission)"
|
||||
src="@/static/images/learnpath/otherpath.png"
|
||||
mode="aspectFit"
|
||||
style="width: 40rpx;height: 36rpx;"
|
||||
/>
|
||||
<!-- <image
|
||||
v-else-if="!(t && t.permission)"
|
||||
@@ -106,10 +108,13 @@
|
||||
preparedData: [],
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onShow: function(options) {
|
||||
console.log('xixi')
|
||||
const bandCodeList = uni.getStorageSync('bandCodeList');
|
||||
const positionIdList = uni.getStorageSync('positionIdList');
|
||||
getFullJobPath({
|
||||
positionNameList:this.$route.query.positionIdList || '',
|
||||
bandCodeList:this.$route.query.bandCodeList || ''
|
||||
positionNameList: positionIdList || '',
|
||||
bandCodeList: bandCodeList || ''
|
||||
}).then(res=>{
|
||||
if(res.code == 200){
|
||||
this.pathData = res.data
|
||||
@@ -125,6 +130,8 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
integrateTableData(data) {
|
||||
const { growFullPositionPathBoItemList, allBandCodeList } = data;
|
||||
|
||||
@@ -478,6 +478,8 @@
|
||||
}, 10000);
|
||||
},
|
||||
goAllPath(){
|
||||
uni.setStorageSync('bandCodeList', '');
|
||||
uni.setStorageSync('positionIdList', '');
|
||||
uni.navigateTo({url:'/pages/learnPath/allPath'})
|
||||
},
|
||||
goStudy(item){
|
||||
|
||||
@@ -88,9 +88,14 @@
|
||||
goAllPath(){
|
||||
let bandCodeList = this.bandItem.map(item => item.bandCode).join(',')
|
||||
let positionIdList = this.posiData.map(item => item.positionName).join(',')
|
||||
uni.navigateTo({
|
||||
url: `/pages/learnPath/allPath?bandCodeList=${bandCodeList}&positionIdList=${positionIdList}`,
|
||||
})
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/learnPath/allPath?bandCodeList=${bandCodeList}&positionIdList=${positionIdList}`,
|
||||
// })
|
||||
uni.setStorageSync('bandCodeList', bandCodeList);
|
||||
uni.setStorageSync('positionIdList', positionIdList);
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
getPosiList(){
|
||||
getAllPosition().then(res=>{
|
||||
|
||||
@@ -966,6 +966,7 @@
|
||||
}
|
||||
}
|
||||
.learn{
|
||||
height: 80vh;
|
||||
.line{
|
||||
width: 100%;
|
||||
height: 20rpx;
|
||||
|
||||
Reference in New Issue
Block a user