修改analyze、校领导页面默认信息

This commit is contained in:
Qi 2025-04-25 19:09:47 +08:00
parent 225bd76543
commit 267a47535d
2 changed files with 537 additions and 536 deletions

View File

@ -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);
},

View File

@ -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);
},