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
eb8b2bfd
Commit
eb8b2bfd
authored
May 30, 2020
by
Wang Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改确认框样式
parent
4fd4a2af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
23 deletions
+29
-23
CompletedTaskDetail.vue
DAPlatform-front/src/components/CompletedTaskDetail.vue
+7
-2
PiecesTable.vue
DAPlatform-front/src/components/PiecesTable.vue
+6
-2
ReleaseTask.vue
DAPlatform-front/src/components/ReleaseTask.vue
+16
-19
No files found.
DAPlatform-front/src/components/CompletedTaskDetail.vue
View file @
eb8b2bfd
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
<p>
发布者:
{{
task
.
creater
}}
</p>
<p>
发布者:
{{
task
.
creater
}}
</p>
<p>
发布时间:
{{
task
.
date
}}
</p>
<p>
发布时间:
{{
task
.
date
}}
</p>
<el-divider></el-divider>
<el-divider></el-divider>
<pieces-table
:task-id=
"task.id"
:mode=
"2"
></pieces-table>
<pieces-table
:task-id=
"task.id"
>
<template
v-slot:option=
'slotProps'
>
<el-button
type=
"primary"
size=
"mini"
plain
@
click=
'doOption(slotProps.file)'
>
详情
</el-button>
</
template
>
</pieces-table>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -27,7 +31,8 @@ export default {
...
@@ -27,7 +31,8 @@ export default {
this
.
task
=
JSON
.
parse
(
decodeURIComponent
(
this
.
$route
.
params
.
task
))
this
.
task
=
JSON
.
parse
(
decodeURIComponent
(
this
.
$route
.
params
.
task
))
},
},
methods
:
{
methods
:
{
start
()
{
doOption
(
file
)
{
console
.
log
(
file
)
this
.
$router
.
push
(
'/selected'
)
this
.
$router
.
push
(
'/selected'
)
}
}
}
}
...
...
DAPlatform-front/src/components/PiecesTable.vue
View file @
eb8b2bfd
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</div>
</div>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-button
v-if=
"
mode == 0
"
type=
"primary"
style=
"margin-top:20px"
@
click=
"complete"
>
完成选择
</el-button>
<el-button
v-if=
"
showSelection
"
type=
"primary"
style=
"margin-top:20px"
@
click=
"complete"
>
完成选择
</el-button>
</div>
</div>
</template>
</template>
...
@@ -65,7 +65,11 @@ export default {
...
@@ -65,7 +65,11 @@ export default {
},
},
complete
()
{
complete
()
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
alert
(
'请选择分片'
)
// 提示未选择分片
this
.
$alert
(
'请选择分片'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
})
}
else
{
}
else
{
this
.
$router
.
push
(
'/ongoing'
)
this
.
$router
.
push
(
'/ongoing'
)
}
}
...
...
DAPlatform-front/src/components/ReleaseTask.vue
View file @
eb8b2bfd
...
@@ -62,7 +62,6 @@
...
@@ -62,7 +62,6 @@
</el-row>
</el-row>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"图像分片"
name=
"second"
>
<el-tab-pane
label=
"图像分片"
name=
"second"
>
<el-row
:gutter=
"20"
style=
"margin-bottom: 15px"
>
<el-row
:gutter=
"20"
style=
"margin-bottom: 15px"
>
<el-col
span=
"2"
><el-button
@
click=
"addDomain(2)"
type=
"primary"
plain
>
添加图像分片
</el-button></el-col>
<el-col
span=
"2"
><el-button
@
click=
"addDomain(2)"
type=
"primary"
plain
>
添加图像分片
</el-button></el-col>
...
@@ -210,20 +209,19 @@
...
@@ -210,20 +209,19 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
//export default {
// export default {
// }
// }
export
default
{
export
default
{
methods
:
{
methods
:
{
handleRemove
(
file
,
fileList
)
{
handleRemove
(
file
,
fileList
)
{
console
.
log
(
file
,
fileList
);
console
.
log
(
file
,
fileList
)
},
},
handlePreview
(
file
)
{
handlePreview
(
file
)
{
console
.
log
(
file
);
console
.
log
(
file
)
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scope
lang=
"scss"
>
<
style
scope
lang=
"scss"
>
...
@@ -390,7 +388,11 @@
...
@@ -390,7 +388,11 @@
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
alert
(
'submit!'
);
// 提示
this
.
$alert
(
'submit'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'succes'
})
}
else
{
}
else
{
console
.
log
(
'error submit!!'
);
console
.
log
(
'error submit!!'
);
return
false
;
return
false
;
...
@@ -491,8 +493,3 @@
...
@@ -491,8 +493,3 @@
}
}
</
script
>
</
script
>
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