Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
fa1b0044
Commit
fa1b0044
authored
Jul 03, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
镜像构建fixed
parent
0a57ce21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
5 deletions
+28
-5
src/pages/workbench/app_build.vue
src/pages/workbench/app_build.vue
+28
-5
No files found.
src/pages/workbench/app_build.vue
View file @
fa1b0044
...
...
@@ -90,7 +90,7 @@
</el-form-item>
</el-form>
<div
class=
"apass_button step_action"
>
<el-button
type=
"primary"
@
click=
"
nextStep
"
>
<el-button
type=
"primary"
@
click=
"
goToStep1
"
>
下一步
</el-button>
</div>
...
...
@@ -468,6 +468,16 @@ export default {
};
this
.
$refs
.
dialog
.
show
();
},
goToStep1
()
{
if
(
this
.
image_total
>
0
)
{
this
.
nextStep
();
}
else
{
this
.
$message
({
message
:
`您尚未上传任何镜像`
,
type
:
"
warning
"
,
});
}
},
goToStep2
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
@@ -482,7 +492,7 @@ export default {
},
getYwlys
()
{
this
.
$http
.
get
(
"
/apaas/hubApi/market/
appType
s
"
)
.
get
(
"
/apaas/hubApi/market/
businessArea
s
"
)
.
then
((
response
)
=>
{
this
.
ywlys
=
response
.
data
.
data
;
})
...
...
@@ -492,7 +502,7 @@ export default {
},
getTypes
()
{
this
.
$http
.
get
(
"
/apaas/hubApi/market/
department
s
"
)
.
get
(
"
/apaas/hubApi/market/
appType
s
"
)
.
then
((
response
)
=>
{
this
.
types
=
response
.
data
.
data
;
})
...
...
@@ -560,11 +570,24 @@ export default {
return
""
;
}
},
showDetail
(
item
)
{
console
.
log
(
item
);
},
},
mounted
()
{
this
.
image_headers
=
[
{
label
:
"
镜像名称
"
,
prop
:
"
name
"
,
align
:
"
left
"
},
{
label
:
"
版本号
"
,
prop
:
"
tag
"
,
align
:
"
center
"
},
{
label
:
"
镜像名称
"
,
prop
:
"
name
"
,
align
:
"
left
"
,
type
:
"
button
"
,
callback
:
this
.
showDetail
,
},
{
label
:
"
版本号
"
,
prop
:
"
tag
"
,
align
:
"
center
"
,
},
{
label
:
"
操作
"
,
type
:
"
buttons
"
,
...
...
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