diff --git a/templates/jasset/asset_list.html b/templates/jasset/asset_list.html index 373812825..05fe21fff 100644 --- a/templates/jasset/asset_list.html +++ b/templates/jasset/asset_list.html @@ -374,7 +374,7 @@ $.ajax({ type: "post", data: {asset_id_all: asset_id_all}, - url: "{% url 'asset_add_batch' %}", + url: "{% url 'asset_update_batch' %}", success: function () { parent.location.reload(); } diff --git a/templates/jperm/perm_role_add.html b/templates/jperm/perm_role_add.html index b328eda2c..65a7d8037 100644 --- a/templates/jperm/perm_role_add.html +++ b/templates/jperm/perm_role_add.html @@ -51,7 +51,7 @@
- 如果不添加密钥,会自动生成, 密码密钥必填一项 + 如果不添加密钥,会自动生成
diff --git a/templates/jperm/perm_role_list.html b/templates/jperm/perm_role_list.html index 2f7913ada..77aacaa54 100644 --- a/templates/jperm/perm_role_list.html +++ b/templates/jperm/perm_role_list.html @@ -87,7 +87,7 @@ function remove_role(role_id){ if (confirm("确认删除")) { $.ajax({ type: "POST", - url: "/jperm/role/perm_role_delete/", + url: "{% url 'role_del' %}", data: "id=" + role_id, success: function(msg){ alert( "成功: " + msg );