Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yujian
lmp_web
Commits
43074339
Commit
43074339
authored
Dec 21, 2023
by
mhw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面优化
parent
ed58da1a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
10 deletions
+6
-10
index.js
src/core/http/index.js
+0
-2
editOrAdd.vue
src/views/gptTraining/knowledgeBase/dialog/editOrAdd.vue
+3
-3
index.vue
...aining/knowledgeBase/dialog/importConfiguration/index.vue
+2
-1
index.vue
src/views/gptTraining/knowledgeBase/index.vue
+1
-1
index.vue
.../modelService/testOnline/components/contentView/index.vue
+0
-1
index.vue
...ning/modelService/testOnline/components/leftBox/index.vue
+0
-1
index.vue
...ing/modelService/testOnline/components/rightBox/index.vue
+0
-1
No files found.
src/core/http/index.js
View file @
43074339
...
...
@@ -279,8 +279,6 @@ const doUrl = function (url, type, params, axiosOption, options) {
};
const
streamRequest
=
(
url
,
params
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
// requestUrl(url)
console
.
log
(
url
);
axios
({
method
:
'post'
,
url
:
url
,
...
...
src/views/gptTraining/knowledgeBase/dialog/editOrAdd.vue
View file @
43074339
...
...
@@ -3,9 +3,9 @@
<
template
>
<div>
<el-steps
:active=
"active"
>
<el-step
title=
"基本信息"
></el-step>
<el-step
title=
"导入配置"
></el-step>
<el-steps
:active=
"active"
style=
"width:100%;margin:0 auto 20px auto"
>
<el-step
title=
"基本信息"
icon=
"el-icon-s-order"
></el-step>
<el-step
title=
"导入配置"
icon=
"el-icon-upload"
></el-step>
<!--
<el-step
title=
"索引配置"
></el-step>
-->
</el-steps>
...
...
src/views/gptTraining/knowledgeBase/dialog/importConfiguration/index.vue
View file @
43074339
<!--导入配置 -->
<
template
>
<el-form
label-position=
"left"
ref=
"form"
label-width=
"1
2
0px"
:model=
"form"
:size=
"defaultFormItemSize"
:rules=
"rules"
v-loading
.
fullscreen
.
lock=
"fullscreenLoading"
>
<el-form
label-position=
"left"
ref=
"form"
label-width=
"1
3
0px"
:model=
"form"
:size=
"defaultFormItemSize"
:rules=
"rules"
v-loading
.
fullscreen
.
lock=
"fullscreenLoading"
>
<el-form-item
label=
"上传知识库文件:"
prop=
"filesArr"
>
<el-button
@
click=
"clickUp"
:size=
"defaultFormItemSize"
type=
"primary"
>
上传
</el-button>
<input
style=
"display:none"
ref=
"upFile"
type=
"file"
@
change=
"fileinfo($event.target.files)"
>
...
...
@@ -44,6 +44,7 @@
<el-row
type=
"flex"
justify=
"end"
class=
"dialog-btn-layer mt20"
>
<
template
>
<el-button
:size=
"defaultFormItemSize"
:plain=
"true"
@
click=
"back"
>
上一步
</el-button>
<el-button
:size=
"defaultFormItemSize"
:plain=
"true"
@
click=
"$parent.onCancel(false)"
>
取消
</el-button>
<el-button
:size=
"defaultFormItemSize"
:plain=
"true"
@
click=
"onSubmit"
>
确认上传
</el-button>
</
template
>
</el-row>
...
...
src/views/gptTraining/knowledgeBase/index.vue
View file @
43074339
...
...
@@ -4,7 +4,7 @@
<div
style=
"position: relative"
>
<div
class=
"topBox"
>
<div
class=
"title"
>
知识库
</div>
<div
class=
"instructions"
>
面向客户构建私域文档或知识管理的能力,实现本地
或BOS等多种
数据源文档的上传、分段和清洗并储存至向量数据库中。
</div>
<div
class=
"instructions"
>
面向客户构建私域文档或知识管理的能力,实现本地数据源文档的上传、分段和清洗并储存至向量数据库中。
</div>
</div>
<div
class=
"tableBox"
:style=
"
{ height: tableHeight }">
<el-form
ref=
"myDataSetPage"
:model=
"myDataSetPage"
label-width=
"75px"
:size=
"defaultFormItemSize"
label-position=
"right"
@
submit
.
native
.
prevent
>
...
...
src/views/gptTraining/modelService/testOnline/components/contentView/index.vue
View file @
43074339
...
...
@@ -59,7 +59,6 @@ export default {
}
else
{
url
=
tagUrl
.
replace
(
/^http:
\/\/[^/]
+
\/
/
,
`http://
${
window
.
location
.
hostname
}
:
${
window
.
location
.
port
}
/`
);
}
console
.
log
(
url
);
that
.
$dialog
.
show
(
'文件预览'
,
filePreview
,
{
area
:
[
'100%'
,
'100%'
]
},
{
url
}).
then
(
res
=>
{
...
...
src/views/gptTraining/modelService/testOnline/components/leftBox/index.vue
View file @
43074339
...
...
@@ -155,7 +155,6 @@ export default {
let
params
=
{}
KnowledgeManage
.
listForTree
(
this
,
params
).
then
(
res
=>
{
this
.
knowledgeList
=
res
.
data
console
.
log
(
res
.
data
);
}).
catch
(
e
=>
{
console
.
log
(
e
);
});
...
...
src/views/gptTraining/modelService/testOnline/components/rightBox/index.vue
View file @
43074339
...
...
@@ -124,7 +124,6 @@ export default {
getData
.
initeventSource
()
},
success
()
{
console
.
log
(
1111
);
this
.
isSuccess
=
true
},
onmessage
(
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment