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
9c4de9b2
Commit
9c4de9b2
authored
Mar 25, 2024
by
pengxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增版本改成导入操作。
parent
9817cdbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
index.vue
src/views/gptTraining/dataServices/myDataSet/index.vue
+19
-2
No files found.
src/views/gptTraining/dataServices/myDataSet/index.vue
View file @
9c4de9b2
...
...
@@ -80,8 +80,8 @@
<vxe-column
field=
"operation"
title=
"操作"
width=
"230"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
icon=
"el-icon-menu"
@
click=
"all(scope.row)"
:size=
"defaultFormItemSize"
>
详情
</el-button>
<el-button
v-if=
"scope.row.releaseStatus==0"
type=
"text"
icon=
"el-icon-plus"
@
click=
"
addVersions(scope.row)"
:size=
"defaultFormItemSize"
>
新增版本
</el-button>
<el-button
type=
"text"
icon=
"el-icon-reading"
v-else
:size=
"defaultFormItemSize"
@
click=
'drill(scope.row)'
>
去
训练
</el-button>
<el-button
v-if=
"scope.row.releaseStatus==0"
type=
"text"
icon=
"el-icon-plus"
@
click=
"
dataImport(scope.row)"
:size=
"defaultFormItemSize"
>
导入
</el-button>
<el-button
type=
"text"
icon=
"el-icon-reading"
v-else
:size=
"defaultFormItemSize"
@
click=
'drill(scope.row)'
>
训练
</el-button>
<template
v-if=
"scope.row.inputStatus !== 0"
>
<el-dropdown
style=
"margin-left:15px;color: #0092FF;"
:size=
"defaultFormItemSize"
>
<span
class=
"el-dropdown-link"
>
...
...
@@ -120,6 +120,7 @@ import editOrAdd from './dialog/editOrAdd'
import
addVersions
from
'./versionsTableBox/dialog/add.vue'
import
versionsTableBox
from
'./versionsTableBox/index.vue'
import
derived
from
'./versionsTableBox/dialog/derived.vue'
import
dataImport
from
"./versionsTableBox/dialog/dataImport"
;
export
default
{
data
()
{
return
{
...
...
@@ -191,6 +192,22 @@ export default {
})
})
},
dataImport
(
data
)
{
this
.
$dialog
.
show
(
'导入'
,
dataImport
,
{
area
:
[
'600px'
,
'200px'
]
},
{
row
:
data
}
)
.
then
((
res
)
=>
{
this
.
refresh
()
this
.
getList
()
})
.
catch
((
e
)
=>
{})
},
addVersions
(
row
)
{
this
.
$dialog
.
show
(
...
...
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