From 65d7677fe64dfafb9e203353684dc94784034d67 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Thu, 11 Apr 2024 16:41:47 +0800
Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=AE=A1=E7=90=86=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sgzb-ui/src/api/inventoryLogs/index.js | 9 +-
sgzb-ui/src/views/base/unit/index.vue | 8 -
sgzb-ui/src/views/inventoryLogs/index.vue | 326 ++++++++++++----------
3 files changed, 193 insertions(+), 150 deletions(-)
diff --git a/sgzb-ui/src/api/inventoryLogs/index.js b/sgzb-ui/src/api/inventoryLogs/index.js
index 6af406f2..7cec71df 100644
--- a/sgzb-ui/src/api/inventoryLogs/index.js
+++ b/sgzb-ui/src/api/inventoryLogs/index.js
@@ -1,5 +1,12 @@
import request from '@/utils/request'
+
+/* 日志列表 */
export const getLogsListApi = (data) => {
- return request.post('/login', data)
+ return request.get('/bm_num_logs/list', data)
+}
+
+/* 日志详情 */
+export const getLogsDetailsApi = (id) => {
+ return request.get(`/bm_num_logs/selectByPrimaryKey/${id}`)
}
\ No newline at end of file
diff --git a/sgzb-ui/src/views/base/unit/index.vue b/sgzb-ui/src/views/base/unit/index.vue
index 8b72f68b..ae96c4a3 100644
--- a/sgzb-ui/src/views/base/unit/index.vue
+++ b/sgzb-ui/src/views/base/unit/index.vue
@@ -117,14 +117,6 @@
@pagination="getList"
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
- 删除
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 正常
+ 异常
+
+
+
+
+
+
+ 详情
+
+
+
-
-
+
+
+
+
+
+
+ {{ item.label }}
+ {{ logsDetailsInfoDemo[item.content] || "" }}
+
+
+
+