File tree Expand file tree Collapse file tree 8 files changed +24
-571
lines changed Expand file tree Collapse file tree 8 files changed +24
-571
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" ai-chat__operate p-16-24" >
3
3
<slot name =" operateBefore" />
4
- <div class =" operate-textarea flex chat-width " >
4
+ <div class =" operate-textarea flex" >
5
5
<el-input
6
6
ref =" quickInputRef"
7
7
v-model =" inputValue"
62
62
</div >
63
63
</div >
64
64
<div
65
- class =" chat-width text-center"
65
+ class =" text-center"
66
66
v-if =" applicationDetails.disclaimer"
67
67
style =" margin-top : 8px "
68
68
>
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ const prologue = computed(() => {
29
29
const temp = props .available
30
30
? props .application ?.prologue
31
31
: ' 抱歉,当前正在维护,无法提供服务,请稍后再试!'
32
- return temp .replace (/ -\s. + / g , toQuickQuestion )
32
+ return temp ? .replace (/ -\s. + / g , toQuickQuestion )
33
33
})
34
34
</script >
35
- <style lang="scss" scoped>
36
- </style >
35
+ <style lang="scss" scoped></style >
Original file line number Diff line number Diff line change 8
8
ref =" userFormRef"
9
9
></UserForm >
10
10
<el-scrollbar ref =" scrollDiv" @scroll =" handleScrollTop" >
11
- <div ref =" dialogScrollbar" class =" ai-chat__content p-24 chat-width " >
11
+ <div ref =" dialogScrollbar" class =" ai-chat__content p-24" >
12
12
<PrologueContent
13
13
:type =" type"
14
14
:application =" applicationDetails"
Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ const applicationRouter = {
12
12
name : 'application' ,
13
13
component : ( ) => import ( '@/views/application/index.vue' )
14
14
} ,
15
- {
16
- path : '/application/create' ,
17
- name : 'CreateApplication' ,
18
- meta : { activeMenu : '/application' } ,
19
- component : ( ) => import ( '@/views/application/CreateAndSetting.vue' ) ,
20
- hidden : true
21
- } ,
22
15
{
23
16
path : '/application/:id/:type' ,
24
17
name : 'ApplicationDetail' ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const datasetRouter = {
12
12
component : ( ) => import ( '@/views/dataset/index.vue' )
13
13
} ,
14
14
{
15
- path : '/dataset/:type' , // create 或者 upload
15
+ path : '/dataset/:type' , // upload
16
16
name : 'UploadDocumentDataset' ,
17
17
meta : { activeMenu : '/dataset' } ,
18
18
component : ( ) => import ( '@/views/dataset/UploadDocumentDataset.vue' ) ,
Original file line number Diff line number Diff line change 252
252
<AppAvatar v-else class =" mr-8 avatar-blue" shape =" square" :size =" 32" >
253
253
<img src =" @/assets/icon_document.svg" style =" width : 58% " alt =" " />
254
254
</AppAvatar >
255
- <auto-tooltip
256
- :content =" relatedObject(datasetList, item, 'id')?.name"
257
- style =" width : 80% "
255
+
256
+ <span
257
+ class =" ellipsis cursor"
258
+ :title =" relatedObject(datasetList, item, 'id')?.name"
259
+ >
260
+ {{ relatedObject(datasetList, item, 'id')?.name }}</span
258
261
>
259
- {{ relatedObject(datasetList, item, 'id')?.name }}
260
- </auto-tooltip >
261
262
</div >
262
263
<el-button text @click =" removeDataset(item)" >
263
264
<el-icon >
326
327
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
327
328
</el-tooltip> -->
328
329
</div >
329
- <el-switch size =" small" v-model =" applicationForm.stt_model_enable" @change =" sttModelEnableChange" />
330
+ <el-switch
331
+ size =" small"
332
+ v-model =" applicationForm.stt_model_enable"
333
+ @change =" sttModelEnableChange"
334
+ />
330
335
</div >
331
336
</template >
332
337
<el-select
406
411
<el-icon class =" mr-4" ><Setting /></el-icon >
407
412
设置
408
413
</el-button >
409
- <el-switch size =" small" v-model =" applicationForm.tts_model_enable" @change =" ttsModelEnableChange" />
414
+ <el-switch
415
+ size =" small"
416
+ v-model =" applicationForm.tts_model_enable"
417
+ @change =" ttsModelEnableChange"
418
+ />
410
419
</div >
411
420
</div >
412
421
</template >
527
536
</h4 >
528
537
</div >
529
538
<div class =" scrollbar-height" >
530
- <AiChat :data =" applicationForm" ></AiChat >
539
+ <AiChat :applicationDetails =" applicationForm" ></AiChat >
531
540
</div >
532
541
</div >
533
542
</el-col >
You can’t perform that action at this time.
0 commit comments