|
@@ -81,15 +81,6 @@ function reSetPW(userId) {
|
|
|
})
|
|
|
}
|
|
|
function setStartOrStop(status,userId,type){
|
|
|
- if(status== 1){
|
|
|
- if(type == 1){
|
|
|
- alert('已经是启动的!');return;
|
|
|
- }
|
|
|
- }else{
|
|
|
- if(type == 0){
|
|
|
- alert('已经是暂停的!');return;
|
|
|
- }
|
|
|
- }
|
|
|
$.post('${ctx}/admin/sys/school/adminList/update',{userId:userId,status:type},function(obj){
|
|
|
if(obj.success){
|
|
|
alert("修改成功!");
|