修改analyze、校领导页面默认信息
This commit is contained in:
parent
225bd76543
commit
267a47535d
|
@ -4,8 +4,7 @@
|
|||
<template #extra>
|
||||
<a-cascader v-model:value="collegeMajor" :options="collegeMajorOptions" change-on-select />
|
||||
<a-button style="margin-left: 10px" type="primary" @click="query">查询</a-button>
|
||||
<a-button style="margin-left: 10px" :loading="aiLoading" v-show="resultData != null" type="primary"
|
||||
@click="getAI">分析</a-button>
|
||||
<a-button style="margin-left: 10px" :loading="aiLoading" v-show="resultData != null" type="primary" @click="getAI">分析</a-button>
|
||||
<!-- <a-button @click=test()>test</a-button> -->
|
||||
</template>
|
||||
<a-row :gutter="12">
|
||||
|
@ -325,7 +324,7 @@ export default {
|
|||
content: assistantResponse.content,
|
||||
reasoning: assistantResponse.reasoning_content || '', // 如果有思考过程
|
||||
};
|
||||
this.aiMessage = assistantMessage.content;
|
||||
this.aiMessage = '(数据分析由deepseek生成,仅供参考)\n\n' + assistantMessage.content;
|
||||
this.aiMessage = marked(this.aiMessage);
|
||||
console.log(assistantMessage);
|
||||
},
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
dropdownVisible: false,
|
||||
subMenuVisible: false,
|
||||
subSubMenuVisible: false,
|
||||
selectedLabel: '全校',
|
||||
selectedLabel: '全校(不含艺体美外语)',
|
||||
currentSubMenu: [],
|
||||
currentSubSubMenu: [],
|
||||
losefocus: false,
|
||||
|
@ -608,7 +608,7 @@
|
|||
for (let i in data) {
|
||||
// 过滤函数
|
||||
filteredData[i] = data[i].filter((college) => {
|
||||
return !['体育科学学院', '美术学院', '音乐学院'].includes(college.college);
|
||||
return !['体育科学学院', '美术学院', '音乐学院', '国际美术学院'].includes(college.college);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
@ -913,11 +913,13 @@
|
|||
}),
|
||||
};
|
||||
});
|
||||
this.collegeMajorOptions.unshift({ value: '全校(不含艺体美外语)', label: '全校(不含艺体美外语)' });
|
||||
//手动添加一个专升本字段
|
||||
this.collegeMajorOptions.unshift({ value: '专升本', label: '专升本' });
|
||||
// 手动添加一个全校字段
|
||||
this.collegeMajorOptions.unshift({ value: '全校', label: '全校' });
|
||||
|
||||
this.collegeMajorOptions.unshift({ value: '全校(不含艺体美外语)', label: '全校(不含艺体美外语)' });
|
||||
|
||||
// this.collegeMajor = ['全校'];
|
||||
console.log(this.collegeMajorOptions);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue