qyn 2 years ago
parent
commit
63707b8127
1 changed files with 2 additions and 3 deletions
  1. 2 3
      web/src/main/resources/views/modules/sys/schedule/schedule.html

+ 2 - 3
web/src/main/resources/views/modules/sys/schedule/schedule.html

@@ -102,15 +102,14 @@
 
 	function btn_del(id) {
 		$.ajax({
-			url: "/LR_OAModule/Schedule/RemoveForm",
-			data: { keyValue: id},
+			url: "${ctx}/sys/schedule/schedule/delete",
+			data: { id: id},
 			dataType: "json",
 			async: false,
 			success: function (data) {
 				if (data.code == 200) {
 					alert("删除成功");
 				}
-				window.location.reload();
 			}
 		});
 	}