|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
<div v-if="tabsActive == 1">
|
|
<div v-if="tabsActive == 1">
|
|
<div style="width: 420px;">
|
|
<div style="width: 420px;">
|
|
- <div class="message" style="overflow-y: auto;max-height: 480px;height: 480px;background-color: white">
|
|
|
|
|
|
+ <div class="message" style="overflow-y: auto;max-height: 480px;height: 480px;background-color: white;border-radius: 10px;">
|
|
<div v-for="(item,index) in chatMessages" :key="index">
|
|
<div v-for="(item,index) in chatMessages" :key="index">
|
|
<div v-if="item.role == 'user'" class="user-message">
|
|
<div v-if="item.role == 'user'" class="user-message">
|
|
<el-avatar style="margin-left: 10px;" src="static/img/avatar07.7b002992.png" fit="contain"></el-avatar>
|
|
<el-avatar style="margin-left: 10px;" src="static/img/avatar07.7b002992.png" fit="contain"></el-avatar>
|
|
@@ -44,7 +44,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--病案首页-->
|
|
<!--病案首页-->
|
|
- <div v-else-if="tabsActive == 2">
|
|
|
|
|
|
+ <div v-else-if="tabsActive == 3">
|
|
<div ref="box" class="box22" :style="{width: width ? width + 'px' : '100%'}" :class="{'nocopy': $route.meta.nocopy}">
|
|
<div ref="box" class="box22" :style="{width: width ? width + 'px' : '100%'}" :class="{'nocopy': $route.meta.nocopy}">
|
|
|
|
|
|
<div class="score-box" :class="scoreLevel == '甲'? 'scoreLevel_1' : ( scoreLevel == '乙'?'scoreLevel_2': (scoreLevel == '丙'?'scoreLevel_3':'' ) ) ">
|
|
<div class="score-box" :class="scoreLevel == '甲'? 'scoreLevel_1' : ( scoreLevel == '乙'?'scoreLevel_2': (scoreLevel == '丙'?'scoreLevel_3':'' ) ) ">
|
|
@@ -162,7 +162,7 @@
|
|
return {
|
|
return {
|
|
inputMessage:'',//消息输入框
|
|
inputMessage:'',//消息输入框
|
|
chatMessages:[],//内容显示
|
|
chatMessages:[],//内容显示
|
|
- tabsActive:'2',//tabs选择
|
|
|
|
|
|
+ tabsActive:'3',//tabs选择
|
|
tabsArray:[
|
|
tabsArray:[
|
|
{'name':'1','label':'病历生成'},
|
|
{'name':'1','label':'病历生成'},
|
|
{'name':'2','label':'病案首页'},
|
|
{'name':'2','label':'病案首页'},
|
|
@@ -240,7 +240,7 @@
|
|
// body: '{"model":"Qwen/QwQ-32B","messages":[{"role":"user","content":"当前时间"}],"stream":false,"max_tokens":512,"stop":null,"temperature":0.7,"top_p":0.7,"top_k":50,"frequency_penalty":0.5,"n":1,"response_format":{"type":"text"},"tools":[{"type":"function","function":{"description":"<string>","name":"<string>","parameters":{},"strict":false}}]}'
|
|
// body: '{"model":"Qwen/QwQ-32B","messages":[{"role":"user","content":"当前时间"}],"stream":false,"max_tokens":512,"stop":null,"temperature":0.7,"top_p":0.7,"top_k":50,"frequency_penalty":0.5,"n":1,"response_format":{"type":"text"},"tools":[{"type":"function","function":{"description":"<string>","name":"<string>","parameters":{},"strict":false}}]}'
|
|
};
|
|
};
|
|
const body = {};
|
|
const body = {};
|
|
- body.model = "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B";
|
|
|
|
|
|
+ body.model = "deepseek-ai/DeepSeek-R1";
|
|
body.messages = [{"role":"user","content":userMessage}];
|
|
body.messages = [{"role":"user","content":userMessage}];
|
|
options.body = JSON.stringify(body);
|
|
options.body = JSON.stringify(body);
|
|
|
|
|