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
93f89c39
Commit
93f89c39
authored
Jul 02, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用详情基本信息
parent
3bc708ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
5 deletions
+41
-5
src/pages/workbench/yygl/app_detail.vue
src/pages/workbench/yygl/app_detail.vue
+41
-5
No files found.
src/pages/workbench/yygl/app_detail.vue
View file @
93f89c39
...
@@ -24,7 +24,13 @@
...
@@ -24,7 +24,13 @@
</div>
</div>
</div>
</div>
<div
class=
"type_box_select"
>
<div
class=
"type_box_select"
>
<mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"subfield"
:defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/>
<!--
<mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"subfield"
:defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/>
-->
<info-list
:list_arr=
"list_arr"
v-if=
"now_service == 0"
>
<mavon-editor
slot=
"app_code"
v-model=
"appcode"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"subfield"
:defaultOpen=
"preview"
:editable=
"false"
/>
</info-list>
<div
v-if=
"now_service == 1&&now_user == 0"
>
<div
v-if=
"now_service == 1&&now_user == 0"
>
<p
style=
"color:#8890a7;"
>
镜像列表:
</p>
<p
style=
"color:#8890a7;"
>
镜像列表:
</p>
...
@@ -253,7 +259,25 @@ export default {
...
@@ -253,7 +259,25 @@ export default {
now_service
:
0
,
now_service
:
0
,
header_arr
:
[],
header_arr
:
[],
list_arr
:
''
,
list_arr
:
[
{
title
:
"
应用简介:
"
,
info
:
""
,
},
{
title
:
"
功能简介:
"
,
info
:
""
,
},
{
title
:
"
应用场景:
"
,
info
:
""
,
},
{
title
:
"
应用参数:
"
,
info
:
""
,
type
:
"
solt
"
,
solt_name
:
"
app_code
"
,
}],
appcode
:
""
,
appcode
:
""
,
addImageFlag
:
false
addImageFlag
:
false
};
};
...
@@ -280,6 +304,7 @@ export default {
...
@@ -280,6 +304,7 @@ export default {
this
.
get_image_list
()
this
.
get_image_list
()
this
.
get_options
()
this
.
get_options
()
this
.
get_file_name
()
this
.
get_file_name
()
this
.
get_app_code
()
},
},
mounted
()
{
mounted
()
{
this
.
header_arr
=
[
this
.
header_arr
=
[
...
@@ -588,13 +613,24 @@ export default {
...
@@ -588,13 +613,24 @@ export default {
getServiceBaseInfo
()
{
getServiceBaseInfo
()
{
this
.
$http
this
.
$http
.
get
(
"
/apaas/hubApi/market/
readme
/
"
+
this
.
$route
.
params
.
id
)
.
get
(
"
/apaas/hubApi/market/
app/detail
/
"
+
this
.
$route
.
params
.
id
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
let
data
=
response
.
data
.
data
;
let
data
=
response
.
data
.
data
;
this
.
list_arr
=
data
this
.
$set
(
this
.
list_arr
[
0
],
"
info
"
,
data
.
yyjj
);
this
.
$set
(
this
.
list_arr
[
1
],
"
info
"
,
data
.
gnjj
);
this
.
$set
(
this
.
list_arr
[
2
],
"
info
"
,
data
.
cjsl
);
})
})
.
catch
(
function
(
response
)
{});
.
catch
(
function
(
response
)
{});
},
},
get_app_code
(){
this
.
$http
.
get
(
"
/apaas/hubApi/market/values/
"
+
this
.
$route
.
params
.
id
)
.
then
((
response
)
=>
{
let
data
=
response
.
data
.
data
;
this
.
appcode
=
data
})
.
catch
(
function
(
response
)
{});
}
},
},
};
};
...
...
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