From caf831c320329bb3ff4544aad9d90c50cf7db2d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <>
Date: Fri, 10 Jul 2026 10:11:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E6=9C=BA=E6=9E=84=E7=AD=9B=E9=80=89=EF=BC=8C=E5=8E=BB?=
=?UTF-8?q?=E6=8E=89=E5=8F=96=E6=B6=88=E6=80=BB=E6=A3=80=E6=97=A5=E5=BF=97?=
=?UTF-8?q?=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../YeWu/DeleteOperationLogController.php | 12 +++++++++
.../Admin/YeWu/HealthCheckupController.php | 26 +++++++++----------
el-admin/.env.production | 8 +++---
.../src/views/Report/DeleteOperationLog.vue | 23 +++++++++++++++-
4 files changed, 51 insertions(+), 18 deletions(-)
diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/DeleteOperationLogController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/DeleteOperationLogController.php
index 59b6801..6ead528 100644
--- a/Laravel/app/Http/Controllers/API/Admin/YeWu/DeleteOperationLogController.php
+++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/DeleteOperationLogController.php
@@ -37,6 +37,12 @@ public function GetList(Request $request)
if (!empty($searchInfo['dateRange'])) {
$query->whereBetween('created_at', [$searchInfo['dateRange'][0] . ' 00:00:00', $searchInfo['dateRange'][1] . ' 23:59:59']);
}
+ if (!empty($searchInfo['org_id'])) {
+ $org = DB::table('medical_institution')->where('id', $searchInfo['org_id'])->first();
+ if ($org) {
+ $query->where('current_org_name', $org->org_name);
+ }
+ }
$count = $query->count();
$list = $query->orderBy('id', 'desc')
@@ -83,6 +89,12 @@ public function ExportList(Request $request)
if (!empty($searchInfo['dateRange'])) {
$query->whereBetween('created_at', [$searchInfo['dateRange'][0] . ' 00:00:00', $searchInfo['dateRange'][1] . ' 23:59:59']);
}
+ if (!empty($searchInfo['org_id'])) {
+ $org = DB::table('medical_institution')->where('id', $searchInfo['org_id'])->first();
+ if ($org) {
+ $query->where('current_org_name', $org->org_name);
+ }
+ }
$list = $query->orderBy('id', 'desc')->get();
diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/HealthCheckupController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/HealthCheckupController.php
index 377a38f..46eef6b 100644
--- a/Laravel/app/Http/Controllers/API/Admin/YeWu/HealthCheckupController.php
+++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/HealthCheckupController.php
@@ -248,19 +248,19 @@ public function DelCheckUpInfo()
if(!$info) return \Yz::echoError1('未找到对应记录');
//记录删除日志
- $deleteLogService = app()->make(\App\Services\DeleteLogService::class);
- $deleteLogService->logDeletion(
- 'examination_records',
- $info->id,
- $info->name,
- $info->id_card_num,
- null,
- $doctor_name,
- '接口删除-取消总检',
- $org_id->org_name ?? '',
- $info->type ?? '',
- ''
- );
+// $deleteLogService = app()->make(\App\Services\DeleteLogService::class);
+// $deleteLogService->logDeletion(
+// 'examination_records',
+// $info->id,
+// $info->name,
+// $info->id_card_num,
+// null,
+// $doctor_name,
+// '接口删除-取消总检',
+// $org_id->org_name ?? '',
+// $info->type ?? '',
+// ''
+// );
$del=DB::table('examination_records')->where(['id'=>$info->id])->update(['is_del'=>1]);
if($del){
diff --git a/el-admin/.env.production b/el-admin/.env.production
index 9f2e0e5..4e552bd 100644
--- a/el-admin/.env.production
+++ b/el-admin/.env.production
@@ -1,6 +1,6 @@
ENV = 'production'
-VITE_APP_API_6666666666 = 'http://192.168.50.123:33583/common/la/public/api/'
-VITE_APP_FILE_6666666666 = 'http://192.168.50.123:33583/common/la/public'
+VITE_APP_API = 'http://192.168.50.123:33583/common/la/public/api/'
+VITE_APP_FILE = 'http://192.168.50.123:33583/common/la/public'
-VITE_APP_API = 'http://172.31.68.39:33583/common/la/public/api/'
-VITE_APP_FILE = 'http://172.31.68.39:33583/common/la/public'
\ No newline at end of file
+VITE_APP_API_6666666666 = 'http://172.31.68.39:33583/common/la/public/api/'
+VITE_APP_FILE_6666666666 = 'http://172.31.68.39:33583/common/la/public'
\ No newline at end of file
diff --git a/el-admin/src/views/Report/DeleteOperationLog.vue b/el-admin/src/views/Report/DeleteOperationLog.vue
index 20abde7..4b3fc92 100644
--- a/el-admin/src/views/Report/DeleteOperationLog.vue
+++ b/el-admin/src/views/Report/DeleteOperationLog.vue
@@ -27,6 +27,11 @@
+
+
+
+
+
搜索
导出Excel
@@ -60,7 +65,7 @@