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
61618199
Commit
61618199
authored
May 27, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组织管理列表页交互
parent
990988dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
25 deletions
+11
-25
src/pages/authority/organization.vue
src/pages/authority/organization.vue
+10
-24
src/router/index.js
src/router/index.js
+1
-1
No files found.
src/pages/authority/organization.vue
View file @
61618199
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
<organization-list
<organization-list
:data=
"organizationList"
:data=
"organizationList"
details-url=
"/authority/organization/"
details-url=
"/authority/organization
detail
/"
@
delete-action=
"deleteAction"
@
delete-action=
"deleteAction"
></organization-list>
></organization-list>
<div
class=
"flex_grow"
></div>
<div
class=
"flex_grow"
></div>
...
@@ -165,34 +165,20 @@ export default {
...
@@ -165,34 +165,20 @@ export default {
}),
}),
methods
:
{
methods
:
{
addOrganization
()
{
addOrganization
()
{
console
.
log
(
"
add organization
"
);
this
.
$router
.
push
(
"
/authority/organizationedit
"
);
},
},
searchAction
()
{
searchAction
()
{
console
.
log
(
this
.
searchFilter
);
console
.
log
(
this
.
searchFilter
);
},
},
deleteAction
(
item
)
{
deleteAction
(
item
)
{
if
(
this
.
cardType
===
0
)
{
this
.
confirmOptions
.
title
=
"
删除提示
"
;
this
.
confirmOptions
.
title
=
"
删除提示
"
;
this
.
confirmOptions
.
message
=
`确认删除
${
item
.
name
}
吗?`
;
this
.
confirmOptions
.
message
=
this
.
confirmOptions
.
btnCancelText
=
""
;
"
您需要先进行应用商店下架申请,应用处于下架状态时才能进行删除操作。
"
;
this
.
confirmOptions
.
btnSubmitText
=
""
;
this
.
confirmOptions
.
btnCancelText
=
""
;
this
.
confirmOptions
.
confirmSubmit
=
()
=>
{
this
.
confirmOptions
.
btnSubmitText
=
""
;
console
.
log
(
"
deleteItem -
"
+
item
.
name
);
this
.
confirmOptions
.
confirmSubmit
=
()
=>
{
this
.
$refs
.
myConfirm
.
hideModel
();
console
.
log
(
"
deleteItem -
"
+
item
.
name
);
};
this
.
$refs
.
myConfirm
.
hideModel
();
};
}
else
if
(
this
.
cardType
===
1
)
{
this
.
confirmOptions
.
title
=
"
是否删除部署的应用
"
;
this
.
confirmOptions
.
message
=
"
该操作会导致正在调用该应用的用户被迫终止对应用的调用,删除前需向正在调用该应用的用户发送通知,自通知发送之日起,2日后应用将被删除。
"
;
this
.
confirmOptions
.
btnCancelText
=
""
;
this
.
confirmOptions
.
btnSubmitText
=
"
发送通知
"
;
this
.
confirmOptions
.
confirmSubmit
=
()
=>
{
console
.
log
(
"
deleteItem -
"
+
item
.
name
);
this
.
$refs
.
myConfirm
.
hideModel
();
};
}
this
.
$refs
.
myConfirm
.
showModel
();
this
.
$refs
.
myConfirm
.
showModel
();
},
},
changePageSize
(
value
)
{
changePageSize
(
value
)
{
...
...
src/router/index.js
View file @
61618199
...
@@ -229,7 +229,7 @@ export default new Router({
...
@@ -229,7 +229,7 @@ export default new Router({
component
:
()
=>
import
(
"
@/pages/authority/organization
"
),
component
:
()
=>
import
(
"
@/pages/authority/organization
"
),
},
},
{
{
path
:
"
/authority/organizationdetail
"
,
// 组织管理详情
path
:
"
/authority/organizationdetail
/:id
"
,
// 组织管理详情
name
:
"
organizationdetail
"
,
name
:
"
organizationdetail
"
,
component
:
()
=>
import
(
"
@/pages/authority/organizationdetail
"
),
component
:
()
=>
import
(
"
@/pages/authority/organizationdetail
"
),
},
},
...
...
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