From 3a178cdd49413cbe2551ca0d4a11cf2629d082cb Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Thu, 16 Nov 2023 18:08:01 +0800
Subject: [PATCH] 编写逻辑获取权限菜单,网格巡查数据交互
---
subPackage/task/index.vue | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/subPackage/task/index.vue b/subPackage/task/index.vue
index 742c39f..c7e0823 100644
--- a/subPackage/task/index.vue
+++ b/subPackage/task/index.vue
@@ -91,6 +91,7 @@
</template>
<script>
+ import { getCountFrequencyNumber } from "@/api/task/task.js"
export default {
data() {
return {
@@ -99,7 +100,20 @@
}]
}
+ },
+
+ onLoad(){
+ this.getCount();
+ },
+
+ methods:{
+ getCount(){
+ getCountFrequencyNumber().then(res=>{
+ console.log(res);
+ })
+ }
}
+
}
</script>
--
Gitblit v1.9.3