From 0e5c4a8e17dcefcc10b2507da61b099be12451d8 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 12 一月 2024 12:52:52 +0800 Subject: [PATCH] 代理合作功能 --- zhengcaioa/zhengcaioa/Views/Liaotian/Edit.cshtml | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Liaotian/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/Liaotian/Edit.cshtml index 136207f..c2dae5a 100644 --- a/zhengcaioa/zhengcaioa/Views/Liaotian/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Liaotian/Edit.cshtml @@ -20,6 +20,9 @@ } List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; + + + } <!DOCTYPE html> <html> @@ -261,6 +264,7 @@ $("#div_content").height(hh); var id = '@Model.Id'; + var Questiontypeseeee = '@Model.Questiontype'; var shenhe = '@shenhe'; var tijiaobingshenhe = '@tijiaobingshenhe'; var Clientid = '@Model.Clientid'; @@ -483,7 +487,13 @@ if (data.Result) { // parent._afterSave(true); parent.layer.msg('淇濆瓨鎴愬姛', { icon: 6 }); - _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶 + + + window.location = "/Liaotian/Edit?Questiontype=" + $("#Questiontype").val() + "&Problemtype=" + $("#Problemtype").val(); + parent.layer.closeAll('loading'); + + + } else { if ($.isNumber(imgLoad)) { @@ -578,7 +588,7 @@ }); - if (id == null || id == '') { + if ((id == null || id == '') && (Questiontypeseeee == null || Questiontypeseeee == '' ) ) { $('#Questiontype option:eq(1)').attr('selected', 'selected'); $('#Questiontype').trigger('change'); } -- Gitblit v1.9.1