From e4418b60a9e80a1438919e618d2e5e2048d404bc Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 17 Oct 2022 11:23:11 +0800
Subject: [PATCH] 农场图片显示优化;加工产品管理去除导入功能;修复加工、销售、出库、损耗记录表的查询功能

---
 src/api/land/land.js |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/src/api/land/land.js b/src/api/land/land.js
index 3817b91..9783bde 100644
--- a/src/api/land/land.js
+++ b/src/api/land/land.js
@@ -1,3 +1,11 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2022-08-02 11:43:42
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2022-08-02 15:56:01
+ * @FilePath: \zhny_web\src\api\land\land.js
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ */
 import request from '@/router/axios';
 
 export const getList = (current, size, params) => {
@@ -8,6 +16,16 @@
       ...params,
       current,
       size,
+    }
+  })
+}
+
+export const getLandListNoPage = (params) => {
+  return request({
+    url: '/api/land/land/getLandList',
+    method: 'get',
+    params: {
+      ...params,
     }
   })
 }
@@ -58,6 +76,16 @@
   })
 }
 
+export const selectRecoveryLandList = (farmId) => {
+  return request({
+    url: '/api/land/land/selectRecoveryLandList',
+    method: 'get',
+    params: {
+      farmId
+    }
+  })
+}
+
 export const selectCount = (farmId) => {
   return request({
     url: '/api/land/land/selectCount',
@@ -77,3 +105,35 @@
       }
   })
 }
+
+export const submit = (params) => {
+    return request({
+        url: '/api/land/land/submit',
+        method: 'post',
+        data: {
+          ...params
+        }
+    })
+  }
+
+  export const selectByStrainId = (strainId,farmId)=>{
+    return request({
+      url: '/api/land/land/selcetByStrainId',
+      method: 'get',
+      params: {
+        strainId,
+        farmId
+      }
+    })
+  }
+
+  export const getByStrainIdFarmId = (params)=>{
+    return request({
+      url: '/api/land/land/getByStrainIdFarmId',
+      method: 'get',
+      params: {
+        ...params,
+      }
+    })
+  }
+  
\ No newline at end of file

--
Gitblit v1.9.3