From bd945da69dff5ffc5df0e1579bcc6838867f8dc9 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 28 Jul 2022 17:01:09 +0800
Subject: [PATCH] 任务管理页面,已完成任务不可编辑
---
src/api/farm/farmingrecord.js | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index 804fa66..f237073 100644
--- a/src/api/farm/farmingrecord.js
+++ b/src/api/farm/farmingrecord.js
@@ -45,4 +45,25 @@
id
}
})
+}
+
+
+export const getFarmingCount = (deptId) => {
+ return request({
+ url: '/api/farmingRecord/getFarmingCount',
+ method: 'get',
+ params: {
+ deptId
+ }
+ })
+}
+
+export const getFarmingStatis = (deptId) => {
+ return request({
+ url: '/api/farmingRecord/getFarmingStatis',
+ method: 'get',
+ params: {
+ deptId
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3