diff --git a/src/components/chat-history-drawer/chat-history-drawer.vue b/src/components/chat-history-drawer/chat-history-drawer.vue
index 006cfbd..d8117f7 100644
--- a/src/components/chat-history-drawer/chat-history-drawer.vue
+++ b/src/components/chat-history-drawer/chat-history-drawer.vue
@@ -10,13 +10,18 @@
{{formatTime(i.EventTime) }}
-
+
@@ -42,6 +47,7 @@ import MyLayout, { LayoutMain, LayoutItem } from "@/components/layout";
import systemMessage from './system-message.vue'
import messageMe from "./message-me.vue";
import messageOther from "./message-other.vue";
+import { getArchivedImImageUrl } from "@/utils/im-image";
const emits = defineEmits(["close"]);
const props = defineProps({
orderId: {
diff --git a/src/components/chat-history-drawer/message-me.vue b/src/components/chat-history-drawer/message-me.vue
index 23ed2d1..897cf5a 100644
--- a/src/components/chat-history-drawer/message-me.vue
+++ b/src/components/chat-history-drawer/message-me.vue
@@ -7,7 +7,7 @@
class="inline-block max-w-full p-12px bg-[#dceafd] rounded-10px rounded-tr-none text-14px text-dark-500 leading-21px">
{{ text }}
-
+
diff --git a/src/components/chat-history-drawer/message-other.vue b/src/components/chat-history-drawer/message-other.vue
index 78b6c43..c2fc728 100644
--- a/src/components/chat-history-drawer/message-other.vue
+++ b/src/components/chat-history-drawer/message-other.vue
@@ -9,7 +9,7 @@
class="inline-block max-w-full p-12px bg-gray-100 rounded-10px rounded-tl-none text-14px text-dark-500 leading-21px">
{{ text }}
-
+
diff --git a/src/utils/im-image.js b/src/utils/im-image.js
new file mode 100644
index 0000000..0b4a2da
--- /dev/null
+++ b/src/utils/im-image.js
@@ -0,0 +1,5 @@
+export function getArchivedImImageUrl(msgId) {
+ if (!msgId) return "";
+ const apiBase = String(import.meta.env.VITE_API_URL || "").replace(/\/$/, "");
+ return `${apiBase}/im-chat/image/${encodeURIComponent(msgId)}`;
+}
diff --git a/src/views/hlw-hospital/history-chat-room/history-chat-room.vue b/src/views/hlw-hospital/history-chat-room/history-chat-room.vue
index 73da05c..faa6a6d 100644
--- a/src/views/hlw-hospital/history-chat-room/history-chat-room.vue
+++ b/src/views/hlw-hospital/history-chat-room/history-chat-room.vue
@@ -27,14 +27,19 @@
{{
formatTime(i.EventTime) }}
-
+
@@ -57,6 +62,7 @@ import dayjs from "dayjs";
import messageMe from "./message-me.vue";
import messageOther from "./message-other.vue";
import { getChatRecord, orderHasDiagnosis } from "@/api/hlw";
+import { getArchivedImImageUrl } from "@/utils/im-image";
const doctorCode = sessionStorage.getItem("doctorNo");
const summaryVisible = ref(false);
const visible = ref(false);
diff --git a/src/views/hlw-hospital/history-chat-room/message-me.vue b/src/views/hlw-hospital/history-chat-room/message-me.vue
index 23ed2d1..897cf5a 100644
--- a/src/views/hlw-hospital/history-chat-room/message-me.vue
+++ b/src/views/hlw-hospital/history-chat-room/message-me.vue
@@ -7,7 +7,7 @@
class="inline-block max-w-full p-12px bg-[#dceafd] rounded-10px rounded-tr-none text-14px text-dark-500 leading-21px">
{{ text }}
-
+
diff --git a/src/views/hlw-hospital/history-chat-room/message-other.vue b/src/views/hlw-hospital/history-chat-room/message-other.vue
index 78b6c43..c2fc728 100644
--- a/src/views/hlw-hospital/history-chat-room/message-other.vue
+++ b/src/views/hlw-hospital/history-chat-room/message-other.vue
@@ -9,7 +9,7 @@
class="inline-block max-w-full p-12px bg-gray-100 rounded-10px rounded-tl-none text-14px text-dark-500 leading-21px">
{{ text }}
-
+