diff --git a/templates/jperm/perm_role_detail.html b/templates/jperm/perm_role_detail.html index 6aa91d0ff..aefbde307 100644 --- a/templates/jperm/perm_role_detail.html +++ b/templates/jperm/perm_role_detail.html @@ -204,7 +204,7 @@ {% if info.success %} {{ info.success | yesno:"成功,失败,未知" }} {% else %} - {{ info.success | yesno:"成功,失败,未知" }} + {{ info.success | yesno:"成功,失败,未知" }} {% endif %} @@ -321,7 +321,13 @@ }); var url = '/jperm/role/push/?id={{ role.id }}&asset_id=' + check_array.join(','); $(this).attr('href', url) - }) + }); + + $('.push_failed').click(function() { + var fail_reason = $(this).attr('title'); + layer.alert(fail_reason) + }); + })