Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
work-order-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xueyuanyuan
work-order-system
Commits
b3ef6aae
Commit
b3ef6aae
authored
Jul 30, 2018
by
huangjinkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logout
parent
527f11e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
commonfilter.js
js/commonfilter.js
+21
-0
No files found.
js/commonfilter.js
View file @
b3ef6aae
...
...
@@ -70,3 +70,23 @@ function getQueryString(name) {
return
null
;
}
function
logout
(){
$
.
ajax
({
url
:
"/work/cas/logout"
,
contentType
:
"application/json"
,
xhrFields
:
{
withCredentials
:
true
},
async
:
false
,
method
:
"POST"
,
crossDomain
:
true
,
success
:
function
(
data
,
status
)
{
if
(
data
.
code
!=
200
)
{
alert
(
data
.
msg
);
}
else
{
console
.
log
(
"success"
);
window
.
location
.
reload
();
}
}
});
}
\ No newline at end of file
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