前端
This commit is contained in:
parent
13f6295879
commit
1f0d486f30
@ -1013,22 +1013,21 @@ if ($act == 'newevent') {
|
||||
}
|
||||
;
|
||||
|
||||
if ("<?=$canEdit?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#cptext').attr('disabled', false)
|
||||
$('#yytext').attr('disabled', false)
|
||||
$('#yftext').attr('disabled', false)
|
||||
$(".upfujian").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#cptext').attr('disabled', true)
|
||||
$('#yytext').attr('disabled', true)
|
||||
$('#yftext').attr('disabled', true)
|
||||
$(".upfujian").hide();
|
||||
i = 0;
|
||||
}
|
||||
}
|
||||
;
|
||||
// if ("<?=$canEdit?>" == "1") {
|
||||
// if (i == 0) {
|
||||
// $('#cptext').attr('disabled', false)
|
||||
// $('#yytext').attr('disabled', false)
|
||||
// $('#yftext').attr('disabled', false)
|
||||
// $(".upfujian").show();
|
||||
// i = 1;
|
||||
// } else {
|
||||
// $('#cptext').attr('disabled', true)
|
||||
// $('#yytext').attr('disabled', true)
|
||||
// $('#yftext').attr('disabled', true)
|
||||
// $(".upfujian").hide();
|
||||
// i = 0;
|
||||
// }
|
||||
// };
|
||||
|
||||
// $canEdit = in_array($user['name'], $ROLES);
|
||||
// $isgxvrole = in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限
|
||||
|
Loading…
Reference in New Issue
Block a user