mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-15 05:46:46 +08:00
点击跳转岗位
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
v-else-if="(t && t.permission)"
|
||||
src="@/static/images/learnpath/otherpath.png"
|
||||
mode="aspectFit"
|
||||
@click="goOtherPath(t)"
|
||||
style="width: 40rpx;height: 36rpx;"
|
||||
/>
|
||||
<!-- <image
|
||||
@@ -109,7 +110,6 @@
|
||||
}
|
||||
},
|
||||
onShow: function(options) {
|
||||
console.log('xixi')
|
||||
const bandCodeList = uni.getStorageSync('bandCodeList');
|
||||
const positionIdList = uni.getStorageSync('positionIdList');
|
||||
getFullJobPath({
|
||||
@@ -133,6 +133,12 @@
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
goOtherPath(item){
|
||||
console.log(item,'item')
|
||||
uni.navigateTo({
|
||||
url: '/pages/learnPath/learnPath?growId='+item.growId+'&name='+item.growName + '&isAllPath=' + false
|
||||
});
|
||||
},
|
||||
integrateTableData(data) {
|
||||
const { growFullPositionPathBoItemList, allBandCodeList } = data;
|
||||
const bandCodeIndexMap = new Map(allBandCodeList.map((code, index) => [code, index]));
|
||||
@@ -152,7 +158,7 @@
|
||||
const codeTrimmed = code.trim();
|
||||
const index = bandCodeIndexMap.get(codeTrimmed);
|
||||
if (index !== undefined) {
|
||||
integratedDataMap.get(key).bandCodes[index] = { growId: item.growId, permission: item.permission ,isMajorPosition:item.isMajorPosition };
|
||||
integratedDataMap.get(key).bandCodes[index] = { growId: item.growId, permission: item.permission ,isMajorPosition:item.isMajorPosition,growName:item.growName };
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user