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
d9ecc911
Commit
d9ecc911
authored
Jul 10, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云资源李彪调试
parent
d382a007
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
13 deletions
+23
-13
src/pages/workbench/fwgl/approveWorkspace.vue
src/pages/workbench/fwgl/approveWorkspace.vue
+16
-10
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+4
-2
src/pages/workbench/fwgl/organizationCloudResource.vue
src/pages/workbench/fwgl/organizationCloudResource.vue
+3
-1
No files found.
src/pages/workbench/fwgl/approveWorkspace.vue
View file @
d9ecc911
...
...
@@ -59,25 +59,27 @@ export default {
sunbmitText
:
""
,
submit
:
null
,
},
tempFilter
:
null
,
}),
computed
:
{},
methods
:
{
init
(
filter
)
{
// console.log(filter);
this
.
tempFilter
=
filter
;
this
.
$http
.
get
(
"
/apaas/service/v3/resource/
user/apply/l
ist
"
,
{
.
get
(
"
/apaas/service/v3/resource/
apply/approveL
ist
"
,
{
params
:
{
search
:
filter
.
keyword
,
page
:
filter
.
page
,
limit
:
filter
.
size
,
depart
:
""
,
state1
:
filter
.
state1
,
state
:
filter
.
state
,
},
})
.
then
(({
data
})
=>
{
this
.
listTotal
=
data
.
total
;
this
.
listData
=
data
.
data
.
cloud_apply_list
;
this
.
listData
=
data
.
data
;
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
...
...
@@ -87,7 +89,9 @@ export default {
this
.
$refs
.
dialog
.
show
();
},
detailAction
(
item
)
{
console
.
log
(
"
detailAction
"
);
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
});
},
approveAction
(
item
)
{
this
.
dialogInfo
.
msg
=
"
该工作区域的申请通过还是拒绝?
"
;
...
...
@@ -118,12 +122,12 @@ export default {
this
.
level
=
parseInt
(
this
.
$route
.
params
.
level
);
this
.
type
=
parseInt
(
this
.
$route
.
params
.
type
);
let
warnFlag
=
this
.
$route
.
query
.
warn
||
false
;
let
warnFlag
=
this
.
$route
.
query
.
warn
==
1
?
true
:
false
;
this
.
otherFilter
=
[
{
name
:
"
审批状态
"
,
prop
:
"
state
1
"
,
prop
:
"
state
"
,
default
:
""
,
options
:
[
{
...
...
@@ -148,7 +152,7 @@ export default {
this
.
listHeader
=
[
{
label
:
"
工作区域名称
"
,
prop
:
"
name
_
space
"
,
prop
:
"
namespace
"
,
type
:
"
button
"
,
callback
:
this
.
detailAction
,
},
...
...
@@ -202,12 +206,14 @@ export default {
},
{
label
:
"
申请类型
"
,
prop
:
"
type
"
,
align
:
"
center
"
,
getText
(
item
)
{
return
item
.
apply_type
===
0
?
"
初次申请
"
:
"
资源调整
"
;
},
},
{
label
:
"
所属组织
"
,
prop
:
"
org
_name
"
,
prop
:
"
department
_name
"
,
},
{
label
:
"
用户申请时间
"
,
...
...
src/pages/workbench/fwgl/fwglList.vue
View file @
d9ecc911
...
...
@@ -1486,7 +1486,9 @@ export default {
);
},
// 审批服务
cloudDetail
(
item
)
{
console
.
log
(
"
cloudDetail -
"
+
item
.
name
);
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
});
},
cloudAllot
(
item
)
{
this
.
$refs
.
allotConfirm
.
getDetail
(
item
.
apply_id
);
...
...
@@ -1996,7 +1998,7 @@ export default {
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/approveWorkspace`
,
query
:
{
warn
:
this
.
cloud_admin_warn
,
warn
:
this
.
cloud_admin_warn
?
1
:
0
,
},
});
},
...
...
src/pages/workbench/fwgl/organizationCloudResource.vue
View file @
d9ecc911
...
...
@@ -318,7 +318,9 @@ export default {
this
.
$refs
.
dialog
.
show
();
},
detailAction
(
item
)
{
console
.
log
(
"
detailAction
"
);
this
.
$router
.
push
({
path
:
`/fwgl/
${
this
.
level
}
/
${
this
.
type
}
/cloud_detail/
${
item
.
id
}
`
,
});
},
stateAction
(
item
)
{
this
.
dialogInfo
.
msg
=
"
您确认要禁用该工作区域吗?
"
;
...
...
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