diff --git a/back/src/views/modules/workBench/api.js b/back/src/views/modules/workBench/api.js index da7c16a2..38aad1e9 100644 --- a/back/src/views/modules/workBench/api.js +++ b/back/src/views/modules/workBench/api.js @@ -116,7 +116,8 @@ export const getFrequence = (data, success, fail) => { export const getResourceByDept = (data, success, fail) => { Request({ methods: 'get', - url: '/resource/getByDept', + // url: '/resource/getByDept', + url: '/workdynamics/getDeptWork', data }).then(res => { success && success(res) diff --git a/back/src/views/modules/workBench/components/bottom-view.vue b/back/src/views/modules/workBench/components/bottom-view.vue index cf6da540..35aed927 100644 --- a/back/src/views/modules/workBench/components/bottom-view.vue +++ b/back/src/views/modules/workBench/components/bottom-view.vue @@ -1,53 +1,132 @@ \ 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 deleted file mode 100644 index fea8cda8..00000000 --- a/back/src/views/modules/workBench/components/dynamic-view.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - \ No newline at end of file diff --git a/back/src/views/modules/workBench/components/frequency-top5-view.vue b/back/src/views/modules/workBench/components/frequency-top5-view.vue index 9764f74e..49938ded 100644 --- a/back/src/views/modules/workBench/components/frequency-top5-view.vue +++ b/back/src/views/modules/workBench/components/frequency-top5-view.vue @@ -4,15 +4,22 @@
-
{{ no2Obj.name || '--' }}
+ +
{{ no2Obj.name || '--' }}
+
{{ formatCount(no2Obj.count) }}
-
{{ no1Obj.name || '--' }}
+ +
{{ no1Obj.name || '--' }}
+
{{ formatCount(no1Obj.count) }}
-
{{ no3Obj.name || '--' }}
+ +
{{ no3Obj.name || '--' }}
+
+
{{ formatCount(no3Obj.count) }}
@@ -174,6 +181,7 @@ export default { margin-bottom: 10px; margin-top: 70px; width: 150px; + text-align: center; } .count { diff --git a/back/src/views/modules/workBench/components/recommend-view.vue b/back/src/views/modules/workBench/components/recommend-view.vue deleted file mode 100644 index c07032b0..00000000 --- a/back/src/views/modules/workBench/components/recommend-view.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - - - \ No newline at end of file diff --git a/back/src/views/modules/workBench/workBench.vue b/back/src/views/modules/workBench/workBench.vue index 95b6f0f8..04cb45a4 100644 --- a/back/src/views/modules/workBench/workBench.vue +++ b/back/src/views/modules/workBench/workBench.vue @@ -212,6 +212,8 @@ export default { } .work-brnch-box { + padding-bottom: 20px; + .top { height: 284px; margin-bottom: 16px;