Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
85522e53
authored
2018-03-25 00:36:10 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
c85001f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
application/views/perm/staff.php
application/views/perm/staff.php
View file @
85522e5
...
...
@@ -89,11 +89,17 @@
columns: [
{
data: "id", render: function (data, type, full) {
var str = '';
if(full.status == 1){
str = '<li><a href="javascript:freeze(\'+data+\');">冻结</a></li>';
} else {
str = '<li><a href="javascript:unfreeze(\'+data+\');">正常</a></li>';
}
return '<span class="dropDown dropDown_hover">\
<button class="btn radius size-M">请选择 <i class="Hui-iconfont"></i></button>\
<ul class="dropDown-menu menu radius box-shadow">\
<li><a href="javascript:del('+data+');">注销</a></li>\
<li><a href="javascript:on_off('+data+');">
冻结/解冻
</a></li>\
<li><a href="javascript:on_off('+data+');">
'+str+'
</a></li>\
<li><a href="javascript:reset('+data+');">重置密码</a></li>\
</ul></span>';
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment