From f6681700f7065cacceba628fe44824521f762824 Mon Sep 17 00:00:00 2001
From: yinq <1345442242@qq.com>
Date: Wed, 20 Sep 2023 11:40:58 +0800
Subject: [PATCH] =?UTF-8?q?add=20-=20=E6=8E=A5=E5=8F=A3=E6=97=A5=E5=BF=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/portLog.js | 44 ++++
src/views/system/portLog/index.vue | 312 +++++++++++++++++++++++++++++
2 files changed, 356 insertions(+)
create mode 100644 src/api/system/portLog.js
create mode 100644 src/views/system/portLog/index.vue
diff --git a/src/api/system/portLog.js b/src/api/system/portLog.js
new file mode 100644
index 0000000..a7e0212
--- /dev/null
+++ b/src/api/system/portLog.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询MES接口日志列表
+export function listPortLog(query) {
+ return request({
+ url: '/system/portLog/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询MES接口日志详细
+export function getPortLog(objId) {
+ return request({
+ url: '/system/portLog/' + objId,
+ method: 'get'
+ })
+}
+
+// 新增MES接口日志
+export function addPortLog(data) {
+ return request({
+ url: '/system/portLog',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改MES接口日志
+export function updatePortLog(data) {
+ return request({
+ url: '/system/portLog',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除MES接口日志
+export function delPortLog(objId) {
+ return request({
+ url: '/system/portLog/' + objId,
+ method: 'delete'
+ })
+}
diff --git a/src/views/system/portLog/index.vue b/src/views/system/portLog/index.vue
new file mode 100644
index 0000000..20a9af7
--- /dev/null
+++ b/src/views/system/portLog/index.vue
@@ -0,0 +1,312 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.operationTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+ 查看明细
+
+
+
+
+
+
+
+
+
+
+ {{form.factoryCode}}
+
+
+ {{form.logTitle}}
+
+
+ {{form.logMethod}}
+
+
+ {{form.operationParam}}
+
+
+ {{form.resultOne}}
+
+
+
+
+
+
+
+
+ {{form.errorMsg}}
+
+
+ {{form.operationUser}}
+
+
+ {{form.operationTime}}
+
+
+
+
+
+
+
+