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
72f149a0
Commit
72f149a0
authored
Jun 24, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用审批
parent
36e8624f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
218 additions
and
118 deletions
+218
-118
src/pages/workbench/yygl/apply_app_detail.vue
src/pages/workbench/yygl/apply_app_detail.vue
+47
-32
src/pages/workbench/yygl/approval_app_detail.vue
src/pages/workbench/yygl/approval_app_detail.vue
+171
-86
No files found.
src/pages/workbench/yygl/apply_app_detail.vue
View file @
72f149a0
...
@@ -24,8 +24,7 @@
...
@@ -24,8 +24,7 @@
<div
class=
"type_box_select"
>
<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"
/>
<mavon-editor
v-model=
"list_arr"
:boxShadow=
"false"
:toolbarsFlag=
"false"
:subfield=
"false"
defaultOpen=
"preview"
:editable=
"false"
v-if=
"now_service == 0"
/>
<info-list
<info-list
v-if=
" now_service == 1"
v-if=
" now_service !== 0"
@
download=
"download"
:list_arr=
"servicead_arr
:list_arr=
"servicead_arr
"
"
>
>
...
@@ -171,12 +170,7 @@ export default {
...
@@ -171,12 +170,7 @@ export default {
],
],
},
},
],
],
approval_arr3
:[
approval_arr3
:[],
{
title
:
"
一级审批
"
,
result
:
"
审批中
"
,
},
],
service_arr
:
[
"
基本信息
"
,
"
申请审批信息
"
],
service_arr
:
[
"
基本信息
"
,
"
申请审批信息
"
],
service_header_arr
:
{
service_header_arr
:
{
id
:
""
,
id
:
""
,
...
@@ -280,7 +274,7 @@ export default {
...
@@ -280,7 +274,7 @@ export default {
created
()
{
created
()
{
this
.
getServiceInfo
();
this
.
getServiceInfo
();
this
.
getreadme
();
this
.
getreadme
();
//
this.getServiceBaseInfo();
this
.
getServiceBaseInfo
();
this
.
getServiceapplyInfo
();
this
.
getServiceapplyInfo
();
},
},
mounted
()
{},
mounted
()
{},
...
@@ -294,36 +288,57 @@ export default {
...
@@ -294,36 +288,57 @@ export default {
})
})
.
catch
(
function
(
response
)
{});
.
catch
(
function
(
response
)
{});
},
},
download
(
val
){
console
.
log
(
val
);
},
getServiceapplyInfo
()
{
getServiceapplyInfo
()
{
this
.
$http
this
.
$http
.
get
(
"
./static/applyappdetail.json
"
)
.
get
(
`/apaas/hubApi/market/approvalInfo/
${
this
.
$route
.
params
.
id
}
`
)
.
then
((
response
)
=>
{
let
data
=
response
.
data
.
data
;
if
(
!
(
data
&&
data
.
length
)){
this
.
approval_arr3
.
push
({
title
:
"
一级审批
"
,
result
:
"
待审批
"
})
return
}
data
.
forEach
(
e
=>
{
this
.
approval_arr3
.
push
({
title
:
e
.
level
==
1
?
"
一级审批
"
:
'
二级审批
'
,
result
:
e
.
apply_type_name
,
arr
:
[
{
title
:
"
审批时间:
"
,
info
:
e
.
created
,
},
{
title
:
"
审批单位:
"
,
info
:
e
.
department_name
,
},
{
title
:
"
审批人:
"
,
info
:
e
.
user_name
,
},
{
title
:
"
审批意见:
"
,
info
:
e
.
comments
,
}
]
})
});
})
.
catch
(
function
(
response
)
{});
},
getServiceBaseInfo
()
{
this
.
$http
.
get
(
"
/apaas/hubApi/market/applyDetailInfo/
"
+
this
.
$route
.
params
.
id
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
let
data
=
response
.
data
.
data
;
let
data
=
response
.
data
.
data
;
this
.
$set
(
this
.
servicead_arr
[
1
],
"
info
"
,
data
.
appapplyinfo
.
scene
);
this
.
$set
(
this
.
servicead_arr
[
1
],
"
info
"
,
data
.
scene
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
data
.
app
applyinfo
.
filenam
e
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
info
"
,
data
.
app
ly_fil
e
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
url
"
,
data
.
app
applyinfo
.
fileurl
);
this
.
$set
(
this
.
servicead_arr
[
2
],
"
url
"
,
data
.
app
ly_file
);
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
app
applyinfo
.
siz
e
);
this
.
$set
(
this
.
servicead_arr
[
3
],
"
info
"
,
data
.
app
ly_type_nam
e
);
})
})
.
catch
(
function
(
response
)
{});
.
catch
(
function
(
response
)
{});
},
},
// getServiceBaseInfo() {
// this.$http
// .get("/apaas/hubApi/market/applyDetailInfo/"+this.$route.params.id)
// .then((response) => {
// let data = response.data.data;
// this.$set(this.list_arr[0], "info", data.appbaseinfo.intorduce);
// this.$set(this.list_arr[1], "info", data.appbaseinfo.action);
// this.$set(this.list_arr[2], "info", data.scene);
// this.$set(this.list_arr[4], "info", data.contact_person);
// this.$set(this.list_arr[5], "info", data.contact_number);
// this.appcode = data.appbaseinfo.appcode;
// })
// .catch(function(response) {});
// },
deploy
(
val
){
deploy
(
val
){
console
.
log
(
val
);
console
.
log
(
val
);
},
},
...
...
src/pages/workbench/yygl/approval_app_detail.vue
View file @
72f149a0
This diff is collapsed.
Click to expand it.
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