Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
Details
Activity
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
55afe13f
Commit
55afe13f
authored
Oct 02, 2020
by
李严凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成数据单列表
parent
5126e19b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
5 deletions
+44
-5
ReleaseTask.vue
DAPlatform-front/src/components/ReleaseTask.vue
+44
-5
通用功能组_接口文档.docx
文档/通用功能组_接口文档.docx
+0
-0
No files found.
DAPlatform-front/src/components/ReleaseTask.vue
View file @
55afe13f
...
...
@@ -258,10 +258,10 @@
:name=
"index"
style=
"border-bottom: 1px solid;border-bottom-color:white;font-size: 14px;"
>
<!-- 上传图片-->
<el-row
:gutter=
"20"
style=
"font-size: 18px"
>
<el-col
span=
"6"
>
数据单ID:
{{
d
ynamicValidateForm
.
dataFormList
[
index
]
.
id
}}
</el-col>
<el-col
span=
"6"
>
数据单创建时间:
{{
d
ynamicValidateForm
.
dataFormList
[
index
]
.
time
}}
</el-col>
<el-col
span=
"6"
>
数据单包含信息数:
{{
d
ynamicValidateForm
.
dataFormList
[
index
].
obj
.
length
}}
</el-col>
<el-col
span=
"2"
><el-button
@
click=
"createDataToTask"
type=
"primary"
plain
>
将数据单转为任务
</el-button></el-col>
<el-col
span=
"6"
>
数据单ID:
{{
d
omain
.
id
}}
</el-col>
<el-col
span=
"6"
>
数据单创建时间:
{{
d
omain
.
time
}}
</el-col>
<el-col
span=
"6"
>
数据单包含信息数:
{{
d
omain
.
num
}}
</el-col>
<el-col
span=
"2"
><el-button
@
click=
"createDataToTask
(domain.id)
"
type=
"primary"
plain
>
将数据单转为任务
</el-button></el-col>
</el-row>
</el-collapse-item>
</el-form-item>
...
...
@@ -493,8 +493,9 @@
{
id
:
1
,
time
:
"2020.8.10"
,
obj
:[
1
,
2
,
3
]
num
:
"123"
},
],
// {
// fileList: new Array(),
...
...
@@ -566,6 +567,20 @@
// this.dynamicValidateForm.dataFormList = null
// }
// })
this
.
axios
({
method
:
'get'
,
url
:
'/dataset/getDataFormList'
,
data
:{
userId
:
this
.
userInfo
.
userId
}
}).
then
(
res
=>
{
if
(
res
.
code
==
1
){
this
.
dataFormList
=
res
.
data
.
dataFormList
}
else
{
alert
(
"获取数据单列表失败"
)
}
})
if
(
this
.
ins
==
2
){
console
.
log
(
"修改"
);
this
.
taskId
=
this
.
$route
.
params
.
taskId
,
...
...
@@ -1111,6 +1126,30 @@
// }
// })
// this.templateDetailList = this.pOptions;
},
createDataToTask
(
id
){
this
.
axios
({
method
:
'post'
,
url
:
'/dataset/postDataFormList'
,
data
:{
userId
:
this
.
userInfo
.
userId
,
id
:
id
}
}).
then
(
res
=>
{
if
(
res
.
code
==
1
){
this
.
$message
({
type
:
'info'
,
message
:
'创建成功'
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
'创建失败'
})
}
})
alert
(
id
)
}
}
}
...
...
文档/通用功能组_接口文档.docx
View file @
55afe13f
No preview for this file type
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