diff --git a/api/modules/growth.js b/api/modules/growth.js index aea7ae9..655d6f7 100644 --- a/api/modules/growth.js +++ b/api/modules/growth.js @@ -1,4 +1,8 @@ import ajax from '@/api/manage/manageAjax.js'; export const getList = (params) => ajax.get(`/manageApi/stu/grow/getStuLearnInfo?userId=${params}`); //获取路径图详情 -export const taskList = (id) => ajax.get(`/manageApi/stu/grow/taskList?growId=${id}`); \ No newline at end of file +export const taskList = (id) => ajax.get(`/stu/grow/taskList?growId=${id}`); +// 获取岗位 +export const getAllPosition = () => ajax.get(`/manageApi/admin/thirdApi/getAllPosition`) +// 获取职级 +export const getAllBandInfo = () => ajax.get(`/manageApi/admin/thirdApi/getAllBandInfo`) \ No newline at end of file diff --git a/pages.json b/pages.json index 822da09..fcf8bfe 100644 --- a/pages.json +++ b/pages.json @@ -90,6 +90,24 @@ } } + ,{ + "path" : "pages/learnPath/allPath", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/learnPath/pathSearch", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/learnPath/allPath.vue b/pages/learnPath/allPath.vue new file mode 100644 index 0000000..b447d00 --- /dev/null +++ b/pages/learnPath/allPath.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/pages/learnPath/learnPath.vue b/pages/learnPath/learnPath.vue index 303cd35..bee65c9 100644 --- a/pages/learnPath/learnPath.vue +++ b/pages/learnPath/learnPath.vue @@ -5,7 +5,7 @@ - 全岗位路径 + 全岗位路径 高亮显示未完成 @@ -311,6 +311,9 @@ this.flagToggleTwo = 1 }, 10000); }, + goAllPath(){ + uni.navigateTo({url:'/pages/learnPath/allPath'}) + }, goStudy(item){ if(item.type == 1){ console.log(item,'在线') diff --git a/pages/learnPath/pathSearch.vue b/pages/learnPath/pathSearch.vue new file mode 100644 index 0000000..8678f02 --- /dev/null +++ b/pages/learnPath/pathSearch.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/static/images/learnpath/notpath.png b/static/images/learnpath/notpath.png new file mode 100644 index 0000000..08a978e Binary files /dev/null and b/static/images/learnpath/notpath.png differ diff --git a/static/images/learnpath/otherpath.png b/static/images/learnpath/otherpath.png new file mode 100644 index 0000000..b0451e1 Binary files /dev/null and b/static/images/learnpath/otherpath.png differ diff --git a/static/images/learnpath/thispath.png b/static/images/learnpath/thispath.png new file mode 100644 index 0000000..7035162 Binary files /dev/null and b/static/images/learnpath/thispath.png differ diff --git a/static/images/learnpath/uotdown.png b/static/images/learnpath/uotdown.png new file mode 100644 index 0000000..409c19d Binary files /dev/null and b/static/images/learnpath/uotdown.png differ diff --git a/static/images/learnpath/updown.png b/static/images/learnpath/updown.png new file mode 100644 index 0000000..5667ff8 Binary files /dev/null and b/static/images/learnpath/updown.png differ