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
b4fbb34a
Commit
b4fbb34a
authored
Jul 22, 2020
by
Wang Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转参数bug修改
parent
89f5380c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
CheckDetail.vue
DAPlatform-front/src/components/CheckDetail.vue
+2
-2
CompletedTaskDetail.vue
DAPlatform-front/src/components/CompletedTaskDetail.vue
+4
-4
OngoingTaskDetail.vue
DAPlatform-front/src/components/OngoingTaskDetail.vue
+2
-2
PiecesTable.vue
DAPlatform-front/src/components/PiecesTable.vue
+5
-1
No files found.
DAPlatform-front/src/components/CheckDetail.vue
View file @
b4fbb34a
...
...
@@ -36,7 +36,7 @@ export default {
data
()
{
return
{
task
:
null
,
isCheck
:
'1'
,
// isCheck: '1', 暂时没有用
dialogVisible
:
false
,
executors
:
[],
file
:
undefined
,
...
...
@@ -73,7 +73,7 @@ export default {
relationId
:
executor
.
relation_id
,
executor
,
piece
,
operationSign
:
1
,
//
作为审核任务标识
operationSign
:
1
//
作为审核任务标识
}
function
goto
(
path
)
{
self
.
$router
.
push
({
name
:
path
,
params
})
...
...
DAPlatform-front/src/components/CompletedTaskDetail.vue
View file @
b4fbb34a
...
...
@@ -5,7 +5,7 @@
<p>
发布者:
{{
task
.
creator
}}
</p>
<p>
发布时间:
{{
task
.
date
|
formatDate
}}
</p>
<el-divider></el-divider>
<pieces-table
:task-id=
"task.id"
:userId=
"$store.state.userInfo.userId"
>
<pieces-table
:task-id=
"task.id"
withExecutor
>
<template
v-slot:option=
"slotProps"
>
<el-button
type=
"primary"
...
...
@@ -29,8 +29,8 @@ export default {
},
data
()
{
return
{
task
:
null
,
isCheck
:
'0'
task
:
null
// isCheck: '0' 暂时没有用
}
},
beforeMount
()
{
...
...
@@ -43,7 +43,7 @@ export default {
task
:
this
.
task
,
relationId
:
file
.
relation_id
,
piece
,
operationSign
:
0
,
//
作为审核任务标识
operationSign
:
0
//
作为审核任务标识
}
function
goto
(
path
)
{
self
.
$router
.
push
({
name
:
path
,
params
})
...
...
DAPlatform-front/src/components/OngoingTaskDetail.vue
View file @
b4fbb34a
...
...
@@ -5,7 +5,7 @@
<p>
发布者:
{{
task
.
creator
}}
</p>
<p>
发布时间:
{{
task
.
date
|
formatDate
}}
</p>
<el-divider></el-divider>
<pieces-table
:task-id=
"task.id"
showProgress
>
<pieces-table
:task-id=
"task.id"
showProgress
withExecutor
>
<template
v-slot:option=
"slotProps"
>
<el-button
v-if=
"!slotProps.file.state"
type=
"primary"
size=
"mini"
plain
@
click=
"doOption(slotProps.file,slotProps.piece)"
...
...
@@ -42,7 +42,7 @@ export default {
task
:
this
.
task
,
relationId
:
file
.
relation_id
,
piece
,
operationSign
:
0
,
//
作为标注任务标识
operationSign
:
0
//
作为标注任务标识
}
function
goto
(
path
)
{
self
.
$router
.
push
({
name
:
path
,
params
})
...
...
DAPlatform-front/src/components/PiecesTable.vue
View file @
b4fbb34a
...
...
@@ -51,6 +51,10 @@ export default {
showProgress
:
{
type
:
Boolean
,
default
:
false
},
withExecutor
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
...
...
@@ -113,7 +117,7 @@ export default {
},
getFiles
(
pieceId
)
{
var
params
=
{
pieceId
}
if
(
this
.
showProgress
&&
!
this
.
isCheck
)
params
.
executor
=
this
.
userId
if
(
this
.
withExecutor
)
params
.
executor
=
this
.
userId
var
self
=
this
this
.
axios
.
get
(
'/file/getFiles'
,
{
params
...
...
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