From f7791e81efb86d876aec23aeaa17fde3ff3efcaf Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 30 Jun 2022 20:55:20 +0800
Subject: [PATCH] 1、接口对接,增加库存判断,省市县对接 2、样式调整,修改为avue加载,增加判空条件,增加尾部图标 3、库存损耗
---
src/api/land/land.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/api/land/land.js b/src/api/land/land.js
index fbeb54a..63d9eca 100644
--- a/src/api/land/land.js
+++ b/src/api/land/land.js
@@ -2,7 +2,7 @@
export const getList = (current, size, params) => {
return request({
- url: '/api/land/land/list',
+ url: '/api/land/land/page',
method: 'get',
params: {
...params,
@@ -34,7 +34,7 @@
export const add = (row) => {
return request({
- url: '/api/land/land/submit',
+ url: '/api/land/land/save',
method: 'post',
data: row
})
@@ -57,3 +57,13 @@
}
})
}
+
+export const selectCount = (deptId) => {
+ return request({
+ url: '/api/land/land/selectCount',
+ method: 'get',
+ params: {
+ deptId
+ }
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3