File tree Expand file tree Collapse file tree 11 files changed +26
-27
lines changed
application-overview/component Expand file tree Collapse file tree 11 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 1313 "format" : " prettier --write src/"
1414 },
1515 "dependencies" : {
16+ "@antv/layout" : " ^0.3.1" ,
1617 "@codemirror/theme-one-dark" : " ^6.1.2" ,
1718 "@ctrl/tinycolor" : " ^4.1.0" ,
1819 "@logicflow/core" : " ^1.2.27" ,
1920 "@logicflow/extension" : " ^1.2.27" ,
20- "@antv/layout" : " ^0.3.1" ,
2121 "@vueuse/core" : " ^10.9.0" ,
2222 "@wecom/jssdk" : " ^2.1.0" ,
2323 "axios" : " ^0.28.0" ,
2424 "codemirror" : " ^6.0.1" ,
2525 "cropperjs" : " ^1.6.2" ,
2626 "echarts" : " ^5.5.0" ,
27- "element-plus" : " ^2.5.6 " ,
27+ "element-plus" : " ^2.9.1 " ,
2828 "file-saver" : " ^2.0.5" ,
2929 "highlight.js" : " ^11.9.0" ,
3030 "install" : " ^0.13.0" ,
Original file line number Diff line number Diff line change 88 <img src =" @/assets/icon_document.svg" style =" width : 58% " alt =" " />
99 </AppAvatar >
1010 </slot >
11- <div style =" width : 90% " >
11+ <div style =" width : 90% ; margin-top : -5 px ; " >
1212 <auto-tooltip :content =" title" style =" width : 65% ; height : 22px " >
1313 {{ title }}
1414 </auto-tooltip >
@@ -85,6 +85,7 @@ function subHoveredEnter() {
8585 border-radius : 8px ;
8686 .title {
8787 height : 20px ;
88+
8889 }
8990 .description {
9091 color : var (--app-text-color-secondary );
Original file line number Diff line number Diff line change 2020 </el-button >
2121 </div >
2222 <!-- Codemirror 弹出层 -->
23- <el-dialog v-model =" dialogVisible" title =" Python 代码" append-to-body >
23+ <el-dialog v-model =" dialogVisible" title =" Python 代码" append-to-body fullscreen >
2424 <Codemirror
2525 v-model =" cloneContent"
2626 :extensions =" extensions"
Original file line number Diff line number Diff line change 1414 </template >
1515 </MdEditor >
1616 <!-- 回复内容弹出层 -->
17- <el-dialog v-model =" dialogVisible" :title =" title" append-to-body >
17+ <el-dialog v-model =" dialogVisible" :title =" title" append-to-body align-center >
1818 <MdEditor v-model =" cloneContent" :preview =" false" :toolbars =" []" :footers =" []" ></MdEditor >
1919 <template #footer >
2020 <div class =" dialog-footer mt-24" >
Original file line number Diff line number Diff line change 598598.card__radio {
599599 width : 100% ;
600600 display : block ;
601-
601+ line-height : 22 px ;
602602 .el-radio {
603603 white-space : break- spaces;
604604 width : 100% ;
Original file line number Diff line number Diff line change 55 width =" 800"
66 :close-on-click-modal =" false"
77 :close-on-press-escape =" false"
8+ align-center
89 >
910 <el-button type =" primary" class =" mb-16" @click =" createApiKey" >
1011 {{ $t('views.applicationOverview.appInfo.APIKeyDialog.creatApiKey') }}
1112 </el-button >
12- <el-table :data =" apiKey" class =" mb-16" :loading =" loading" >
13+ <el-table :data =" apiKey" class =" mb-16" :loading =" loading" height = " 420 " >
1314 <el-table-column prop =" secret_key" label =" API Key" >
1415 <template #default =" { row } " >
1516 <span class =" vertical-middle lighter break-all" >
Original file line number Diff line number Diff line change 1010 :close-on-press-escape =" false"
1111 >
1212 <div class =" dialog-max-height" >
13- <el-scrollbar always >
13+ <el-scrollbar >
1414 <div class =" p-16" >
1515 <el-form label-position =" top" ref =" paramFormRef" :model =" form" >
1616 <el-form-item
@@ -337,7 +337,7 @@ defineExpose({ open })
337337 padding : 0 !important ;
338338 }
339339 .dialog-max-height {
340- height : 550 px ;
340+ height : 560 px ;
341341 }
342342 .custom-slider {
343343 .el-input-number.is-without-controls .el-input__wrapper {
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ async function submit() {
150150 if (cloneModelId .value !== BaseFormRef .value .form .embedding_mode_id ) {
151151 MsgConfirm (` 提示 ` , ` 修改知识库向量模型后,需要对知识库向量化,是否继续保存? ` , {
152152 confirmButtonText: ' 向量化' ,
153- confirmButtonClass: ' primary'
154153 })
155154 .then (() => {
156155 datasetApi .putDataset (id , obj , loading ).then ((res ) => {
Original file line number Diff line number Diff line change 2424 shadow =" never"
2525 class =" mb-16"
2626 :class =" datasetForm.type === '0' ? 'active' : ''"
27+ @click =" datasetForm.type = '0'"
2728 >
28- <el-radio value = " 0 " size = " large " >
29+ <div class = " flex-between " >
2930 <div class =" flex align-center" >
3031 <AppAvatar class =" mr-8 avatar-blue" shape =" square" :size =" 32" >
3132 <img src =" @/assets/icon_document.svg" style =" width : 58% " alt =" " />
3233 </AppAvatar >
3334 <div >
34- <p class = " mb-4 " >通用型</p >
35+ <p >< el-text >通用型</ el-text > </p >
3536 <el-text type =" info" >上传本地文件或手动录入</el-text >
3637 </div >
3738 </div >
38- </el-radio >
39+ <el-radio value =" 0" size =" large" style =" width : 16px " ></el-radio >
40+ </div >
3941 </el-card >
4042 </el-col >
4143 <el-col :span =" 12" >
4244 <el-card
4345 shadow =" never"
4446 class =" mb-16"
4547 :class =" datasetForm.type === '1' ? 'active' : ''"
48+ @click =" datasetForm.type = '1'"
4649 >
47- <el-radio value = " 1 " size = " large " >
50+ <div class = " flex-between " >
4851 <div class =" flex align-center" >
4952 <AppAvatar class =" mr-8 avatar-purple" shape =" square" :size =" 32" >
5053 <img src =" @/assets/icon_web.svg" style =" width : 58% " alt =" " />
5154 </AppAvatar >
5255 <div >
53- <p class = " mb-4 " >Web 站点</p >
54- <el-text type =" info" >同步Web网站文本数据 </el-text >
56+ <p >< el-text >Web 站点</ el-text > </p >
57+ <el-text type =" info" >同步Web网站文本数据</el-text >
5558 </div >
5659 </div >
57- </el-radio >
60+ <el-radio value =" 1" size =" large" style =" width : 16px " ></el-radio >
61+ </div >
5862 </el-card >
5963 </el-col >
6064 </el-row >
Original file line number Diff line number Diff line change 22 <el-dialog
33 title =" 生成问题"
44 v-model =" dialogVisible"
5- width =" 600"
6- class =" select-dataset-dialog"
5+ width =" 650"
76 :close-on-click-modal =" false"
87 :close-on-press-escape =" false"
98 >
10- <template #header =" { titleId , titleClass } " >
11- <div class =" my-header flex" >
12- <h4 :id =" titleId" :class =" titleClass" >生成问题</h4 >
13- </div >
14- </template >
159 <div class =" content-height" >
1610 <el-form
1711 ref =" FormRef"
2014 label-position =" top"
2115 require-asterisk-position =" right"
2216 >
23- <div class =" update-info flex border-r-4 mb-16 w-full " >
17+ <div class =" update-info flex border-r-4 mb-16 p-8-12 " >
2418 <div class =" mt-4" >
2519 <AppIcon iconName =" app-warning-colorful" style =" font-size : 16px " ></AppIcon >
2620 </div >
27- <div class =" ml-16 lighter" >
21+ <div class =" ml-12 lighter" >
2822 <p >提示词中的 {data} 为分段内容的占位符,执行时替换为分段内容发送给 AI 模型;</p >
2923 <p >AI 模型根据分段内容生成相关问题,请将生成的问题放至< ; question> ;< ; /question> ; 标签中,系统会自动关联标签中的问题;</p >
3024 <p >生成效果依赖于所选模型和提示词,用户可自行调整至最佳效果。</p >
You can’t perform that action at this time.
0 commit comments