diff --git a/Laravel/app/Services/Admin/YeWu/HealthCheckupService.php b/Laravel/app/Services/Admin/YeWu/HealthCheckupService.php
index d7e91b6..e88cf09 100644
--- a/Laravel/app/Services/Admin/YeWu/HealthCheckupService.php
+++ b/Laravel/app/Services/Admin/YeWu/HealthCheckupService.php
@@ -1,5 +1,6 @@
put($filePath, $file);
$img_url='/storage/'.$filePath;
@@ -122,7 +124,9 @@ class HealthCheckupService
} catch (\Exception $e) {
DB::rollBack(); // 回滚事务
- dd($e);
+ Log::error('发生错误: ' . $e->getMessage(), [
+ 'exception' => $e
+ ]);
}
diff --git a/el-admin/.env.production b/el-admin/.env.production
index 9207569..c9b3ed5 100644
--- a/el-admin/.env.production
+++ b/el-admin/.env.production
@@ -1,6 +1,6 @@
ENV = 'production'
-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_6666 = 'http://192.168.50.123:33583/common/la/public/api/'
+VITE_APP_FILE_5555 = 'http://192.168.50.123:33583/common/la/public'
-VITE_APP_API_5555 = 'http://172.31.68.39:33583/common/la/public/api/'
-VITE_APP_FILE_5555 = 'http://172.31.68.39:33583/common/la/public'
\ No newline at end of file
+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
diff --git a/el-admin/src/assets/user.png b/el-admin/src/assets/user.png
new file mode 100644
index 0000000..5b27e1a
Binary files /dev/null and b/el-admin/src/assets/user.png differ
diff --git a/el-admin/src/views/AppointmentMngr/AppointmentList.vue b/el-admin/src/views/AppointmentMngr/AppointmentList.vue
index 4100231..9f0fb1c 100644
--- a/el-admin/src/views/AppointmentMngr/AppointmentList.vue
+++ b/el-admin/src/views/AppointmentMngr/AppointmentList.vue
@@ -64,8 +64,8 @@
-
-
+
+
删除
@@ -167,9 +167,12 @@
})
}
+ let userinfo=ref('');
onMounted(() => {
getHealthOrganizationEnableList()
GetList()
+ userinfo.value=JSON.parse(sessionStorage.getItem('userinfo'))
+ console.log(userinfo.value);
})
diff --git a/el-admin/src/views/Index.vue b/el-admin/src/views/Index.vue
index fa07ce4..bd36237 100644
--- a/el-admin/src/views/Index.vue
+++ b/el-admin/src/views/Index.vue
@@ -124,7 +124,7 @@
import {
useDark
} from "@vueuse/core";
-import userjpg from '@/assets/user.jpg'
+import userjpg from '@/assets/user.png'
const isDark = useDark()
const toggleDark = () => useToggle(isDark)
@@ -174,6 +174,8 @@ import userjpg from '@/assets/user.jpg'
const getBaseAdminUserInfo = () => {
GetBaseAdminUserInfo().then(res => {
BaseUserInfo.value = res.info[0]
+ sessionStorage.setItem('userinfo',JSON.stringify(BaseUserInfo.value));
+
})
}
onMounted(() => {