zhengcaioa/zhengcaioa/Views/Project/ADDZhengfuProject.cshtml
@@ -682,7 +682,34 @@ }); }); $("#Title").change(function () { var title = $("#Title").val(); var NoticeTime = $("#NoticeTime").val(); $.ajax({ type: "GET", url: "/Project/getTitle?Title=" + title + "&Id=" + $("#Id").val() + "&NoticeTime=" + NoticeTime, dataType: "json", global: false, data: "", success: function (data) { if (!data.Result) { toastr.warning("该页面已经存在"); } }, error: function () { parent.layer.msg('失败', { icon: 5 }); } }); }); </script> </body> </html>