diff --git a/back/src/views/modules/workBench/api.js b/back/src/views/modules/workBench/api.js index add2d7d7..c387c498 100644 --- a/back/src/views/modules/workBench/api.js +++ b/back/src/views/modules/workBench/api.js @@ -83,4 +83,28 @@ export const getRequire = (data, success, fail) => { }).catch(err => { fail && fail(err) }) +} +// 部门发布动态 +export const getResourceByDept = (data, success, fail) => { + Request({ + methods: 'get', + url: '/resource/getByDept', + data + }).then(res => { + success && success(res) + }).catch(err => { + fail && fail(err) + }) +} +// 部门能力推荐 +export const getApplyByDept = (data, success, fail) => { + Request({ + methods: 'get', + url: '/resource/getApplyByDept', + data + }).then(res => { + success && success(res) + }).catch(err => { + fail && fail(err) + }) } \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/bottom-view.vue b/back/src/views/modules/workBench/components/bottom-view.vue index b73cc86e..cf6da540 100644 --- a/back/src/views/modules/workBench/components/bottom-view.vue +++ b/back/src/views/modules/workBench/components/bottom-view.vue @@ -1,19 +1,74 @@ \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/content-title.vue b/back/src/views/modules/workBench/components/content-title.vue new file mode 100644 index 00000000..063ee4aa --- /dev/null +++ b/back/src/views/modules/workBench/components/content-title.vue @@ -0,0 +1,37 @@ + + + + + \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/dynamic-view.vue b/back/src/views/modules/workBench/components/dynamic-view.vue new file mode 100644 index 00000000..fea8cda8 --- /dev/null +++ b/back/src/views/modules/workBench/components/dynamic-view.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/recommend-view.vue b/back/src/views/modules/workBench/components/recommend-view.vue new file mode 100644 index 00000000..64702109 --- /dev/null +++ b/back/src/views/modules/workBench/components/recommend-view.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/back/src/views/modules/workBench/images/bgIndex.png b/back/src/views/modules/workBench/images/bgIndex.png new file mode 100644 index 00000000..70320c8c Binary files /dev/null and b/back/src/views/modules/workBench/images/bgIndex.png differ