From b673fec532c5f5f8046e0d5410a6918c64d147a9 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 31 Dec 2015 19:12:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=B1=E8=B4=A5=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/jperm/perm_role_detail.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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) + }); + })