From 0295f0b967990e3b84d36061d5e7372e895399f9 Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 30 Jun 2022 12:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=EF=BC=9A=E9=A2=91?= =?UTF-8?q?=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/views/modules/workBench/api.js | 14 +++++ .../components/frequency-top5-view.vue | 63 +++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/back/src/views/modules/workBench/api.js b/back/src/views/modules/workBench/api.js index add2d7d7..283b2e2a 100644 --- a/back/src/views/modules/workBench/api.js +++ b/back/src/views/modules/workBench/api.js @@ -83,4 +83,18 @@ export const getRequire = (data, success, fail) => { }).catch(err => { fail && fail(err) }) +} + + +// 频率top5 +export const getFrequence = (data, success, fail) => { + Request({ + methods: 'get', + url: '/resource/selectDeptResourceByApplyNum', + 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/frequency-top5-view.vue b/back/src/views/modules/workBench/components/frequency-top5-view.vue index 4e5f2742..54541671 100644 --- a/back/src/views/modules/workBench/components/frequency-top5-view.vue +++ b/back/src/views/modules/workBench/components/frequency-top5-view.vue @@ -1,11 +1,46 @@ \ No newline at end of file