File tree Expand file tree Collapse file tree 4 files changed +21
-6
lines changed
Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ export function isAppIcon(url: string | undefined) {
88export function isWorkFlow ( type : string | undefined ) {
99 return type === 'WORK_FLOW'
1010}
11+
12+ export function isDepartment ( type : string | undefined ) {
13+ return type === 'DEPARTMENT'
14+ }
Original file line number Diff line number Diff line change 6161 </el-radio >
6262 </el-card >
6363 </el-col >
64+ <el-col :span =" 12" >
65+ <el-card
66+ shadow =" never"
67+ class =" mb-16"
68+ :class =" isWorkFlow(applicationForm.type) ? 'active' : ''"
69+ >
70+ <el-radio value =" DEPARTMENT" size =" large" >
71+ <p class =" mb-4" >部门机构</p >
72+ <el-text type =" info" >适合特定的知识领域场景</el-text >
73+ </el-radio >
74+ </el-card >
75+ </el-col >
6476 </el-row >
6577 </el-radio-group >
6678 </el-form-item >
Original file line number Diff line number Diff line change 8080 </el-text >
8181 </template >
8282 <div class =" status-tag" >
83- <el-tag type =" warning" v-if =" isWorkFlow(item.type)" style =" height : 22px "
84- >高级编排</el-tag
85- >
83+ <el-tag type =" warning" v-if =" isWorkFlow(item.type)" style =" height : 22px " >高级编排</el-tag >
84+ <el-tag type =" warning" v-if =" isDepartment(item.type)" style =" height : 22px " >高级编排</el-tag >
8685 <el-tag class =" blue-tag" v-else style =" height : 22px " >简单配置</el-tag >
8786 </div >
8887
@@ -147,7 +146,7 @@ import applicationApi from '@/api/application'
147146import CreateApplicationDialog from ' ./component/CreateApplicationDialog.vue'
148147import CopyApplicationDialog from ' ./component/CopyApplicationDialog.vue'
149148import { MsgSuccess , MsgConfirm , MsgAlert } from ' @/utils/message'
150- import { isAppIcon } from ' @/utils/application'
149+ import {isAppIcon , isDepartment } from ' @/utils/application'
151150import { useRouter } from ' vue-router'
152151import { isWorkFlow } from ' @/utils/application'
153152import { ValidType , ValidCount } from ' @/enums/common'
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ const paragraphDetail = ref<any[]>([])
208208const title = ref (' ' )
209209const inputValue = ref (' ' )
210210const formInline = ref ({
211- similarity: 0.6 ,
212- top_number: 5 ,
211+ similarity: 0.0 ,
212+ top_number: 10 ,
213213 search_mode: ' embedding'
214214})
215215
You can’t perform that action at this time.
0 commit comments