diff --git a/src/views/Jyh/AI/Home/components/OssList.vue b/src/views/Jyh/AI/Home/components/OssList.vue
index aa5606b..62a8bfa 100644
--- a/src/views/Jyh/AI/Home/components/OssList.vue
+++ b/src/views/Jyh/AI/Home/components/OssList.vue
@@ -428,7 +428,7 @@ function handleMore() {
.secret-container {
position: relative;
- min-height: 600px;
+ //min-height: 600px;
background: #ffffff;
padding: 20px;
margin-top: 16px;
diff --git a/src/views/Jyh/AI/Home/components/WarningList.vue b/src/views/Jyh/AI/Home/components/WarningList.vue
new file mode 100644
index 0000000..98ace5d
--- /dev/null
+++ b/src/views/Jyh/AI/Home/components/WarningList.vue
@@ -0,0 +1,291 @@
+
+
+
以下是关于近期预警的公告:
+
+
+
+
+
+
+
+
+
+
+
+
+ 致命
+ 高
+ 中
+ 低
+
+
+ {{ scope.row[column.key] }}
+
+
+
+
+
+
+
+
+
+
+
+
导出列表
+
+

+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Jyh/AI/Home/index.vue b/src/views/Jyh/AI/Home/index.vue
index 3dc46ba..aaa8849 100644
--- a/src/views/Jyh/AI/Home/index.vue
+++ b/src/views/Jyh/AI/Home/index.vue
@@ -17,7 +17,9 @@
完成回答:
-
+
+
+
猜你想问
@@ -133,6 +135,7 @@ import { introPrompt, simplePrompt, mockAnswer, guessQuestions } from './mock.co
import SwiperComponent from './SwiperComponent.vue';
import GuessYouWantToAsk from './GuessYouWantToAsk.vue';
import OssList from './components/OssList.vue';
+import WarningList from './components/WarningList.vue';
const inputValue = ref('');
const startChat = ref(false);
@@ -192,12 +195,13 @@ const onSubmit = (e, answer = undefined) => {
});
});
// getAIAnswer(answer ?? e);
- getAIAnswer(mockAnswer);
+ getAIAnswer(mockAnswer,2);
};
-const getAIAnswer = (content) => {
+const getAIAnswer = (content,type) => {
messages.value.push({
from: 'ai-model',
+ type: type || 1,
content: content,
avatarPosition: 'side-left',
avatarConfig: { ...aiModelAvatar },