From ca459e60fda6ed5652fa7ab4bada543b664c4b1f Mon Sep 17 00:00:00 2001
From: no99 <17663930442@163.com>
Date: Wed, 24 Sep 2025 16:10:41 +0800
Subject: [PATCH 1/4] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/HistoryRecord.vue | 35 ++++++++++++++++++++++++----------
1 file changed, 25 insertions(+), 10 deletions(-)
diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue
index 680cdc7..89fd5c1 100644
--- a/src/views/components/HistoryRecord.vue
+++ b/src/views/components/HistoryRecord.vue
@@ -199,7 +199,7 @@
src="https://d31zlh4on95l9h.cloudfront.net/images/3f7a1cb3dd6c5f9d4163fab4d26b4f4f.png"
alt="icon"
/>
-
公告
+ 公告

-
用户反馈
+
用户反馈
@@ -537,6 +537,9 @@ const getHistoryList = async (params) => {
} else if (props.currentType == "AiEmotion") {
isCollapsed.value = !chatStore.aiEmotionCall;
console.log("情绪大模型页面", isCollapsed.value);
+ }else if (props.currentType == "deepNine") {
+ isCollapsed.value = !chatStore.deepNineCall;
+ console.log("深度九大模型页面", isCollapsed.value);
}
}
// 非首次调用时保持当前折叠状态不变
@@ -639,12 +642,12 @@ const changeTopStatus = async (isTop, id) => {
}
await changeTop({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
recordId: id,
isTop: isTop == 1 ? 0 : 1,
});
await getHistoryList({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
token: localStorage.getItem("localToken"),
});
} catch (error) {
@@ -673,6 +676,8 @@ const openHistory = () => {
chatStore.aiChatCall = true;
} else if (props.currentType == "AiEmotion") {
chatStore.aiEmotionCall = true;
+ }else if (props.currentType == "deepNine") {
+ chatStore.deepNineCall = true;
}
};
@@ -682,6 +687,8 @@ const closeHistory = () => {
chatStore.aiChatCall = false;
} else if (props.currentType == "AiEmotion") {
chatStore.aiEmotionCall = false;
+ }else if (props.currentType == "deepNine") {
+ chatStore.deepNineCall = false;
}
};
@@ -695,7 +702,7 @@ const selectRecord = async (record) => {
try {
selectedRecordId.value = record.id;
const result = await clickRecordAPI({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
parentId: record.parentId,
recordId: record.id,
});
@@ -708,6 +715,8 @@ const selectRecord = async (record) => {
chatStore.aiChatCall = false;
} else if (props.currentType == "AiEmotion") {
chatStore.aiEmotionCall = false;
+ }else if (props.currentType == "deepNine") {
+ chatStore.deepNineCall = false;
}
}
dataStore.isFeedback = false;
@@ -755,13 +764,13 @@ const deleteRecord = (id) => {
const deleteRecordConfirm = async () => {
try {
const result = await deleteRecordAPI({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
recordId: delObj.value.id,
});
console.log(result.msg);
closeDeleteDialog();
await getHistoryList({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
token: localStorage.getItem("localToken"),
});
} catch (e) {
@@ -792,7 +801,7 @@ watch(
(newVal) => {
if (chatStore.searchRecord) {
getHistoryList({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3,
token: localStorage.getItem("localToken"),
});
chatStore.searchRecord = false;
@@ -816,8 +825,14 @@ onMounted(() => {
userAgent
);
+ let model =
+ props.currentType == "AIchat"
+ ? 1
+ : props.currentType == "AiEmotion"
+ ? 2
+ : 3;
getHistoryList({
- model: props.currentType == "AIchat" ? 1 : 2,
+ model: model,
token: localStorage.getItem("localToken"),
});
});
@@ -1233,7 +1248,7 @@ onMounted(() => {
cursor: pointer;
}
.bottom-btn:hover {
- transform: scale(1.2);
+ transform: scale(1.2);
}
.mobile-bottom-btn {
From e5414c5dbf6f65da86eae1895a934506072266ec Mon Sep 17 00:00:00 2001
From: no99 <17663930442@163.com>
Date: Wed, 24 Sep 2025 16:16:12 +0800
Subject: [PATCH 2/4] =?UTF-8?q?=E5=BA=95=E9=83=A8=E5=9B=BE=E7=89=87?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=A2=9E=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/homePage.vue | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/views/homePage.vue b/src/views/homePage.vue
index d7921fe..81b16a7 100644
--- a/src/views/homePage.vue
+++ b/src/views/homePage.vue
@@ -1494,6 +1494,15 @@ onUnmounted(() => {
class="action-btn model-btn"
alt="AI情绪大模型"
/>
+
+