From 4f7d326b68c18ced8aeeb9bc538de7acdbcb8eb0 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 05 Aug 2022 14:49:41 +0800
Subject: [PATCH] 优化农资入库表单规格值1规格值2显示,优化退回,详情按钮位置
---
src/api/farm/farmingrecord.js | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index 804fa66..514ae53 100644
--- a/src/api/farm/farmingrecord.js
+++ b/src/api/farm/farmingrecord.js
@@ -11,6 +11,17 @@
}
})
}
+export const getListByNz = (current, size, params) => {
+ return request({
+ url: '/api/farmingRecord/pageNz',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
export const remove = (ids) => {
return request({
url: '/api/farmingRecord/remove',
@@ -45,4 +56,25 @@
id
}
})
-}
\ No newline at end of file
+}
+
+
+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
+ }
+ })
+}
--
Gitblit v1.9.3