From c54d598cc71ca26f262d498e034b64627d7b6616 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 07 七月 2022 15:25:19 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Index.cshtml | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Index.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Index.cshtml index 0bf08a7..7148016 100644 --- a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Index.cshtml +++ b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Index.cshtml @@ -12,6 +12,7 @@ var shenpi_status = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shenpi_status))'; var Area = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Area))'; var Falv = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Falv))'; + var shanchuzhishitype = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shanchuzhishitype))'; loseherght = 60; dataCol = [ { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, @@ -56,7 +57,7 @@ { label: '璇曢', name: 'Topic', labtype: 'txt', hidden: false }, - + { label: '鍒犻櫎鐭ヨ瘑鐐�', name: 'shanchuzhishitype', labtype: 'combox', hidden: false, data: JSON.parse(shanchuzhishitype), cwidth: '5%', cccwidth: '15%' }, @@ -127,6 +128,39 @@ }); + + var _pageZhuanyi = function () { + $.ajax({ + type: "GET", + url: "/ExpertTestTopic/Zhuanyi", + dataType: "json", + global: false, + data: '', + success: function (data) { + + + if (data.Result) { + // parent._afterSave(true); + parent.layer.msg('杞Щ鎴愬姛', { icon: 6 }); + + } + else { + + parent.layer.msg('杞Щ澶辫触', { icon: 5 }); + } + + }, + error: function () { + if ($.isNumber(imgLoad)) { + layer.close(imgLoad); + } + + + parent.layer.msg('杞Щ澶辫触', { icon: 5 }); + } + }); + } + var _afterSave = function (result) { if (result) { toastr.success("淇濆瓨鎴愬姛"); -- Gitblit v1.9.1