85522e53 by yangjianbin

init

1 parent c85001f8
...@@ -89,11 +89,17 @@ ...@@ -89,11 +89,17 @@
89 columns: [ 89 columns: [
90 { 90 {
91 data: "id", render: function (data, type, full) { 91 data: "id", render: function (data, type, full) {
92 var str = '';
93 if(full.status == 1){
94 str = '<li><a href="javascript:freeze(\'+data+\');">冻结</a></li>';
95 } else {
96 str = '<li><a href="javascript:unfreeze(\'+data+\');">正常</a></li>';
97 }
92 return '<span class="dropDown dropDown_hover">\ 98 return '<span class="dropDown dropDown_hover">\
93 <button class="btn radius size-M">请选择 <i class="Hui-iconfont">&#xe6d5;</i></button>\ 99 <button class="btn radius size-M">请选择 <i class="Hui-iconfont">&#xe6d5;</i></button>\
94 <ul class="dropDown-menu menu radius box-shadow">\ 100 <ul class="dropDown-menu menu radius box-shadow">\
95 <li><a href="javascript:del('+data+');">注销</a></li>\ 101 <li><a href="javascript:del('+data+');">注销</a></li>\
96 <li><a href="javascript:on_off('+data+');">冻结/解冻</a></li>\ 102 <li><a href="javascript:on_off('+data+');">'+str+'</a></li>\
97 <li><a href="javascript:reset('+data+');">重置密码</a></li>\ 103 <li><a href="javascript:reset('+data+');">重置密码</a></li>\
98 </ul></span>'; 104 </ul></span>';
99 } 105 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!