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
77536f56
Commit
77536f56
authored
Jul 11, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用基本信息修改
parent
993127cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
41 deletions
+81
-41
src/pages/workbench/yygl/apply_app_detail.vue
src/pages/workbench/yygl/apply_app_detail.vue
+36
-35
src/pages/workbench/yygl/approval_app_detail.vue
src/pages/workbench/yygl/approval_app_detail.vue
+39
-5
src/pages/workbench/yygl/deploy_app_detail.vue
src/pages/workbench/yygl/deploy_app_detail.vue
+6
-1
No files found.
src/pages/workbench/yygl/apply_app_detail.vue
View file @
77536f56
...
...
@@ -22,13 +22,11 @@
</div>
</div>
<div
class=
"type_box_select"
>
<mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"false"
defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/>
<info-list
v-if=
" now_service !== 0"
:list_arr=
"servicead_arr
:list_arr=
"now_service == 0?list_arr:servicead_arr
"
>
<div
class=
"appcode"
v-html=
"appcode"
slot=
"app_code"
></div
>
<mavon-editor
v-model=
"appcode"
slot=
"app_code"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"false"
defaultOpen=
"preview"
:editable=
"false"
/
>
<process-card
:data=
"approval_arr3"
slot=
"approval"
></process-card>
</info-list>
</div>
...
...
@@ -208,35 +206,26 @@ export default {
aqdetail
:
true
,
},
now_service
:
0
,
list_arr
:
''
,
// [
// {
// title: "应用简介:",
// info: "",
// },
// {
// title: "功能简介:",
// info: "",
// },
// {
// title: "应用场景:",
// info: "",
// },
// {
// title: "应用参数:",
// info: "",
// type: "solt",
// solt_name: "app_code",
// },
// {
// title: "联系人:",
// info: "",
// },
// {
// title: "联系电话:",
// info: "",
// },
// ],
list_arr
:[
{
title
:
"
应用简介:
"
,
info
:
""
,
},
{
title
:
"
功能简介:
"
,
info
:
""
,
},
{
title
:
"
应用场景:
"
,
info
:
""
,
},
{
title
:
"
应用参数:
"
,
info
:
""
,
type
:
"
solt
"
,
solt_name
:
"
app_code
"
,
}
],
servicead_arr
:
[
{
title
:
"
申请信息
"
,
...
...
@@ -274,17 +263,29 @@ export default {
created
()
{
this
.
getServiceInfo
();
this
.
getreadme
();
this
.
get_app_code
();
this
.
getServiceBaseInfo
();
this
.
getServiceapplyInfo
();
},
mounted
()
{},
methods
:
{
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
)
{});
},
getreadme
(){
this
.
$http
.
get
(
"
/apaas/hubApi/market/
readme/
"
+
this
.
$route
.
params
.
app_
id
)
.
get
(
"
/apaas/hubApi/market/
app/detail/
"
+
this
.
$route
.
params
.
id
)
.
then
((
response
)
=>
{
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
)
{});
},
...
...
src/pages/workbench/yygl/approval_app_detail.vue
View file @
77536f56
...
...
@@ -17,8 +17,8 @@
>
{{
item
}}
</div>
</div>
<div
class=
"type_box_select"
>
<
mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"false"
defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/
>
<info-list
v-if=
"now_service!==0"
:list_arr=
"
servicead_arr[now_user]"
>
<
!--
<mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"false"
defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/>
--
>
<info-list
:list_arr=
"now_service==0?list_arr:
servicead_arr[now_user]"
>
<process-card
type=
"approval"
:data=
"approval_arr"
slot=
"sp_card"
></process-card>
<div
class=
"info_contain1"
slot=
"sp_result"
>
<el-form
ref=
"form"
:rules=
"rules"
:model=
"form"
label-width=
"0px"
>
...
...
@@ -218,7 +218,34 @@ export default {
},
],
],
list_arr
:
""
,
list_arr
:
[
{
title
:
"
申请单位:
"
,
info
:
""
},
{
title
:
"
申请人:
"
,
info
:
""
},
{
title
:
"
申请人联系电话:
"
,
info
:
""
},
{
title
:
"
场景描述:
"
,
info
:
""
},
{
title
:
"
申请文件:
"
,
info
:
""
,
url
:
""
,
type
:
"
down
"
},
{
title
:
"
申请时间:
"
,
info
:
""
}
]
};
},
watch
:
{},
...
...
@@ -306,10 +333,17 @@ export default {
},
getapplyinfo
(){
this
.
$http
.
get
(
"
/apaas/hubApi/market/
readme/
"
+
this
.
$route
.
params
.
app_
id
)
.
get
(
"
/apaas/hubApi/market/
applyDetailInfo/
"
+
this
.
$route
.
params
.
id
)
.
then
((
response
)
=>
{
let
data
=
response
.
data
.
data
;
this
.
list_arr
=
data
this
.
$set
(
this
.
list_arr
[
0
],
"
info
"
,
data
.
department_name
);
this
.
$set
(
this
.
list_arr
[
1
],
"
info
"
,
data
.
contact_person
);
this
.
$set
(
this
.
list_arr
[
2
],
"
info
"
,
data
.
contact_number
);
this
.
$set
(
this
.
list_arr
[
3
],
"
info
"
,
data
.
scene
);
this
.
$set
(
this
.
list_arr
[
4
],
"
info
"
,
data
.
apply_file
.
split
(
'
/
'
)[
0
]);
this
.
$set
(
this
.
list_arr
[
4
],
"
url
"
,
data
.
apply_file
);
this
.
$set
(
this
.
list_arr
[
5
],
"
info
"
,
data
.
apply_time
.
replace
(
'
Z
'
,
'
'
).
replace
(
'
T
'
,
'
'
));
})
.
catch
(
function
(
response
)
{});
},
...
...
src/pages/workbench/yygl/deploy_app_detail.vue
View file @
77536f56
...
...
@@ -474,7 +474,11 @@ export default {
info
:
""
,
type
:
"
solt
"
,
solt_name
:
"
markdown
"
}
},
{
title
:
"
使用说明:
"
,
info
:
""
},
],
markdown
:
""
,
fwfw_arr
:
[
...
...
@@ -829,6 +833,7 @@ export default {
this
.
introductionArr
[
0
].
info
=
data
.
yyjj
;
this
.
introductionArr
[
1
].
info
=
data
.
gnjj
;
this
.
introductionArr
[
2
].
info
=
data
.
cjsl
;
this
.
introductionArr
[
4
].
info
=
data
.
sysm
;
});
this
.
$api
.
workbench
.
getAppParams
({
...
...
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