提交 37f443d6 authored 作者: 张伊明's avatar 张伊明

修改只能写报样式

上级 552e6293
......@@ -31,6 +31,7 @@
</div>
<div class="writting-main">
<div class="left-box">
<div class="left-box-input">
<div class="process-box" v-if="isShowProcess">
<div class="back" @click="handleBack">{{ "< 返回" }}</div>
<div class="process-main-box">
......@@ -125,6 +126,7 @@
</el-upload>
</div>
</div>
</div>
<div class="submit-area">
<div class="tips">
<div class="tips-icon">
......@@ -266,7 +268,7 @@ const handleGenerate = () => {
const curAgentTool = ref("报告整体优化工具");
const getStreamChat = async (search, inputValue) => {
if (uploadFileList.value.length > 0) {
if (curTempTitle.value === "政令") {
const rawFile = uploadFileList.value[0].raw;
if (!rawFile) {
ElMessage.error("文件解析失败,请重新选择");
......@@ -364,7 +366,7 @@ const callSseWithPdf = async selectedFile => {
await callSseWithAi({
query: writtingTitle.value,
desc: descText.value,
topic: "政令",
topic: curTempTitle.value,
result: jsonData // 传递解析后的对象而非原始字符串
});
}
......@@ -491,6 +493,10 @@ const tabList = ref([
}
]);
const tempList = ref([
{
title: "法案",
desc: "基于政令内容生成各维度的综合分析报告"
},
{
title: "智库",
desc: "基于智库内容生成各维度的综合分析报告"
......@@ -633,13 +639,17 @@ onUnmounted(() => {
display: flex;
flex-direction: column;
width: 525px;
padding: 21px 21px 29px 22px;
padding-top: 22px;
padding-bottom: 29px;
box-sizing: border-box;
border-right: 1px solid rgba(234, 236, 238, 1);
border-top: 1px solid rgba(234, 236, 238, 1);
background: rgba(255, 255, 255, 1);
overflow: scroll;
.left-box-input {
overflow-y: scroll;
overflow-x: hidden;
padding-inline: 22px;
.process-box {
display: flex;
flex-direction: column;
......@@ -950,11 +960,13 @@ onUnmounted(() => {
}
}
}
}
.submit-area {
margin-top: auto;
width: 100%;
min-height: 74px;
padding-inline: 22px;
.tips {
height: 22px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论