From eb197f8a095f216003ce3df159482a8b42812d1e Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 22 七月 2022 08:56:11 +0800
Subject: [PATCH] 文书管理修改

---
 zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml       |    8 
 zhengcaioa/zhengcaioa/Views/SysCode/Editquestionzidingyi.cshtml    |  346 ++++++++++++
 zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml       |    8 
 zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml        |  160 +++--
 zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml         |   15 
 zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs             |   67 ++
 zhengcaioa/zhengcaioa/Views/SysCode/Editlawzidingyi.cshtml         |  518 ++++++++++++++++++
 zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml        |  162 +++--
 zhengcaioa/zhengcaioa/Views/SysCode/Editrequestinfozidingyi.cshtml |  338 ++++++++++++
 9 files changed, 1,477 insertions(+), 145 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
index 485fb56..c123f4c 100644
--- a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs
@@ -582,6 +582,26 @@
             return View();
         }
 
+        public IActionResult Editrequestinfozidingyi(string id)
+        {
+            var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+            ViewData["curentuser"] = curentuser;
+
+
+            SysCodeDtlEntity sysCodeDtlEntity = new SysCodeDtlEntity();
+
+
+            sysCodeDtlEntity = _sysCodeService.GetSysCodeDtlInfo(id, "t_challengeletter", "request_info");
+
+
+            ViewData.Model = sysCodeDtlEntity;
+
+
+
+
+            return View();
+        }
+
 
 
         //璐ㄧ枒浜嬮」
@@ -730,6 +750,30 @@
         }
 
 
+
+
+        public IActionResult Editlawzidingyi(string Classify1 = "")
+        {
+            var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+            ViewData["curentuser"] = curentuser;
+
+
+            SysCodeDtlEntity sysCodeDtlEntity = new SysCodeDtlEntity();
+
+            var sysCodeDtlEntities = _sysCodeService.GetSysCodeDtlInfoss(Classify1, "t_complaint_items", "law");
+            sysCodeDtlEntity.Classify1 = Classify1;
+            sysCodeDtlEntity.CodeId = sysCodeDtlEntities[0].CodeId;
+
+            ViewData.Model = sysCodeDtlEntity;
+
+            ViewBag.falv = _liaotianService.GetSYScode("expert_test_topicjiexi", "falv");
+            ViewBag.question = _liaotianService.GetSYScode("t_challenge_items", "question");
+            ViewBag.sysCodeDtlEntities = sysCodeDtlEntities;
+
+            return View();
+        }
+
+
         /// <summary>
         /// 淇濆瓨
         /// </summary>
@@ -788,5 +832,28 @@
             return JsonConvert.SerializeObject(resultEntity);
         }
 
+
+
+
+        public IActionResult Editquestionzidingyi(string id)
+        {
+            var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
+            ViewData["curentuser"] = curentuser;
+
+
+            SysCodeDtlEntity sysCodeDtlEntity = new SysCodeDtlEntity();
+
+
+            sysCodeDtlEntity = _sysCodeService.GetSysCodeDtlInfo(id, "t_challenge_items", "question");
+
+
+            ViewData.Model = sysCodeDtlEntity;
+
+
+
+
+            return View();
+        }
+
     }
 }
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
index dadd4a8..fb36eb3 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
@@ -517,7 +517,7 @@
 
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">椤圭洰鍚嶇О<i class="red">*</i></label>
-                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                    <div class="col-sm-4 col-md-4" grouptype="Vdata">
                                         <input class="form-control" label="椤圭洰鍚嶇О" name="tousuXmName" id="tousuXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmName">
 
                                     </div>
@@ -552,7 +552,7 @@
 
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閲囪喘浜哄悕绉�<i class="red">*</i></label>
-                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                    <div class="col-sm-4 col-md-4" grouptype="Vdata">
                                         <input class="form-control" label="閲囪喘浜哄悕绉�" name="tousuPurchaserName" id="tousuPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@Model.PurchaserName">
 
                                     </div>
@@ -689,37 +689,48 @@
                                         <div class="zhiyishixiangitem">
     @if (complaintItemDTOs.Count == 1)
     {
-        <div class="clearfix layer-area" style="padding-bottom:15px;">
-            <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」</label>
-            <div class="col-sm-4 col-md-4" grouptype="Vdata">
-                <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
-                    <option value="" hassubinfo="true">璇烽�夋嫨</option>
-                    @foreach (var item in question)
-                    {
-                        @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
-                        {
-                            <option value="@item.CodeSn" hassubinfo="true">
-                                @item.Comments
-                            </option>
-                        }
-                        else
-                        {
-                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
-                                @item.Comments
-                            </option>
-                        }
+                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」</label>
+                                                <div class="col-sm-4 col-md-4" grouptype="Vdata">
+                                                    <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+                                                        <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                        @foreach (var item in question)
+                                                        {
+                                                            @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
+                                                            {
+                                                                <option value="@item.CodeSn" hassubinfo="true">
+                                                                    @item.Comments
+                                                                </option>
+                                                            }
+                                                            else
+                                                            {
+                                                                <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                                    @item.Comments
+                                                                </option>
+                                                            }
 
-                    }
-                    }
+                                                        }
+                                                        }
 
-                </select>
-                <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
-            </div>
+                                                    </select>
+                                                    <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
+                                                </div>
+
+                                                @if (i == 0)
+                                                {
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <button type="button" class="addBtn" onclick="OpenWindow('鑷畾涔夋姇璇変簨椤�','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">鑷畾涔夋姇璇変簨椤�</button>
+                                                    </div>
+                                                    @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">鏂板璐ㄧ枒浜嬮」</button>
+            </div>*@
+                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                        <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">鑷畾涔夋硶寰嬩緷鎹�</button>
+                                                    </div>
+                                                }
 
 
-
-
-        </div>
+                                            </div>
 
         <div class="clearfix layer-area" style="padding-bottom:15px;">
             <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁</label>
@@ -766,35 +777,46 @@
     }
     else
     {
-        <div class="clearfix layer-area" style="padding-bottom:15px;">
-            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」@(i+1)</label>
-            <div class="col-sm-4 col-md-4" grouptype="Vdata">
-                <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
-                    <option value="" hassubinfo="true">璇烽�夋嫨</option>
-                    @foreach (var item in question)
-                    {
-                        @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
-                        {
-                            <option value="@item.CodeSn" hassubinfo="true">
-                                @item.Comments
-                            </option>
-                        }
-                        else
-                        {
-                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
-                                @item.Comments
-                            </option>
-                        }
+                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鎶曡瘔浜嬮」@(i+1)</label>
+                                            <div class="col-sm-4 col-md-4" grouptype="Vdata">
+                                                <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+                                                    <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                    @foreach (var item in question)
+                                                    {
+                                                        @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question))
+                                                        {
+                                                            <option value="@item.CodeSn" hassubinfo="true">
+                                                                @item.Comments
+                                                            </option>
+                                                        }
+                                                        else
+                                                        {
+                                                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                                @item.Comments
+                                                            </option>
+                                                        }
 
-                    }
-                    }
+                                                    }
+                                                    }
 
-                </select>
-                <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
-            </div>
-            
+                                                </select>
+                                                <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
+                                            </div>
+                                            @if (i == 0)
+                                            {
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <button type="button" class="addBtn" onclick="OpenWindow('鑷畾涔夋姇璇変簨椤�','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">鑷畾涔夋姇璇変簨椤�</button>
+                                                </div>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">鑷畾涔夋硶寰嬩緷鎹�</button>
+                                                </div>
+                                                @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">鏂板璐ㄧ枒浜嬮」</button>
+            </div>*@
+                                            }
 
-        </div>
+                                        </div>
 
         <div class="clearfix layer-area" style="padding-bottom:15px;">
             <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁@(i+1)</label>
@@ -888,9 +910,9 @@
                                                 </select>
 
                                             </div>
-                                            @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
                     <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">鏂板鎶曡瘔璇锋眰</button>
-                </div>*@
+                </div>
 
 
                                         </div>
@@ -1079,14 +1101,18 @@
                             //  parent._afterSave(true);
                             parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
                             //window.location = "/Project/add?id=" + data.ReturnID;
-
-
-                            try {
-                                _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                            if (Status == 1) {
+                                _reloadPageData();
+                            } else {
+                                try {
+                                    _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                                }
+                                catch (err) {
+                                    parent._CloseTab1("/CooperOrder/EditTousushu");
+                                }
                             }
-                            catch (err) {
-                                parent._CloseTab1("/CooperOrder/EditTousushu");
-                            }
+
+                           
 
                         }
                         else {
@@ -1508,7 +1534,11 @@
         }
 
         var addrequestinfo = function () {
-            OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfo/");
+            OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfozidingyi/");
+        }
+
+        var addlawinfo = function () {
+            OpenWindow("鏂板娉曞緥渚濇嵁", "98%", "90%", "/SysCode/Editlawzidingyi/");
         }
         $(document).ready(function () {
 
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
index c0c1d95..b0015ce 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
@@ -247,7 +247,7 @@
 
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒椤圭洰鍚嶇О<i class="red">*</i></label>
-                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                    <div class="col-sm-4 col-md-4" grouptype="Vdata">
                                         <input class="form-control" label="璐ㄧ枒椤圭洰鍚嶇О" name="zhiyiXmName" id="zhiyiXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmName">
 
                                     </div>
@@ -282,7 +282,7 @@
 
                                 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                     <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">閲囪喘浜哄悕绉�<i class="red">*</i></label>
-                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                    <div class="col-sm-4 col-md-4" grouptype="Vdata">
                                         <input class="form-control" label="閲囪喘浜哄悕绉�" name="zhiyiPurchaserName" id="zhiyiPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@Model.PurchaserName">
 
                                     </div>
@@ -307,37 +307,48 @@
                                     <div class="zhiyishixiangitem">
                                         @if (challengeItemDTOs.Count == 1)
                                         {
-                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
-                                                <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」</label>
-                                                <div class="col-sm-4 col-md-4" grouptype="Vdata">
-                                                    <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
-                                                        <option value="" hassubinfo="true">璇烽�夋嫨</option>
-                                                        @foreach (var item in question)
+                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                            <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」</label>
+                                            <div class="col-sm-4 col-md-4" grouptype="Vdata">
+                                                <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+                                                    <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                    @foreach (var item in question)
+                                                    {
+                                                        @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
                                                         {
-                                                            @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
-                                                            {
-                                                                <option value="@item.CodeSn" hassubinfo="true">
-                                                                    @item.Comments
-                                                                </option>
-                                                            }
-                                                            else
-                                                            {
-                                                                <option value="@item.CodeSn" hassubinfo="true" selected="selected">
-                                                                    @item.Comments
-                                                                </option>
-                                                            }
-
+                                                            <option value="@item.CodeSn" hassubinfo="true">
+                                                                @item.Comments
+                                                            </option>
                                                         }
+                                                        else
+                                                        {
+                                                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                                @item.Comments
+                                                            </option>
                                                         }
 
-                                                    </select>
-                                                   <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
-                                                </div>
+                                                    }
+                                                    }
 
-
-
-
+                                                </select>
+                                                <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
                                             </div>
+                                            @if (i == 0)
+                                            {
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <button type="button" class="addBtn" onclick="OpenWindow('鑷畾涔夎川鐤戜簨椤�','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">鑷畾涔夎川鐤戜簨椤�</button>
+                                                </div>
+                                                <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                    <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">鑷畾涔夋硶寰嬩緷鎹�</button>
+                                                </div>
+                                                @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">鏂板璐ㄧ枒浜嬮」</button>
+            </div>*@
+                                            }
+
+
+
+                                        </div>
 
                                             <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                 <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁</label>
@@ -384,43 +395,46 @@
                                         }
                                         else
                                         {
-                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
-                                                <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」@(i+1)</label>
-                                                <div class="col-sm-4 col-md-4" grouptype="Vdata">
-                                                    <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
-                                                        <option value="" hassubinfo="true">璇烽�夋嫨</option>
-                                                        @foreach (var item in question)
-                                                        {
-                                                            @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
-                                                            {
-                                                                <option value="@item.CodeSn" hassubinfo="true">
-                                                                    @item.Comments
-                                                                </option>
-                                                            }
-                                                            else
-                                                            {
-                                                                <option value="@item.CodeSn" hassubinfo="true" selected="selected">
-                                                                    @item.Comments
-                                                                </option>
-                                                            }
-
-                                                        }
-                                                        }
-
-                                                    </select>
-                                                    <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
-                                                </div>
-                                                @if (i == 0)
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」@(i+1)</label>
+                                        <div class="col-sm-4 col-md-4" grouptype="Vdata">
+                                            <select class="form-control" name="Question" data-placeholder="閫夋嫨 搴忓垪 ..." onchange="Questionchangge(@i);">
+                                                <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                @foreach (var item in question)
                                                 {
-                                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
-                                                        <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">璐ㄧ枒浜嬮」</button>
-                                                    </div>
-                                                    @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
-                        <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">鏂板璐ㄧ枒浜嬮」</button>
-                    </div>*@
+                                                    @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question))
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+                                                    else
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+
+                                                }
                                                 }
 
+                                            </select>
+                                            <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
+                                        </div>
+                                        @if (i == 0)
+                                        {
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                <button type="button" class="addBtn" onclick="OpenWindow('鑷畾涔夎川鐤戜簨椤�','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">鑷畾涔夎川鐤戜簨椤�</button>
                                             </div>
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                                <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">鑷畾涔夋硶寰嬩緷鎹�</button>
+                                            </div>
+                                            @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">鏂板璐ㄧ枒浜嬮」</button>
+            </div>*@
+                                        }
+
+                                    </div>
 
                                             <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                 <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">浜嬪疄渚濇嵁@(i+1)</label>
@@ -519,9 +533,9 @@
 
                                             </div>
 
-                                            @*<div class="col-sm-2 col-md-2" grouptype="Vdata">
+                                            <div class="col-sm-2 col-md-2" grouptype="Vdata">
                     <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">鏂板璐ㄧ枒璇锋眰</button>
-                </div>*@
+                </div>
 
 
 
@@ -680,13 +694,17 @@
                             parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
                             //window.location = "/Project/add?id=" + data.ReturnID;
 
-
-                            try {
-                                _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                            if (Status == 1) {
+                                _reloadPageData();
+                            } else {
+                                try {
+                                    _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                                }
+                                catch (err) {
+                                    parent._CloseTab1("/CooperOrder/EditZhiyihan");
+                                }
                             }
-                            catch (err) {
-                                parent._CloseTab1("/CooperOrder/EditZhiyihan");
-                            }
+                           
 
                         }
                         else {
@@ -924,15 +942,19 @@
         }
 
         var _reloadPageData = function () {
-            window.location = "/CooperOrder/EditTousushu?id=" + $("#OrderId").val();
+            window.location = "/CooperOrder/EditZhiyihan?id=" + $("#OrderId").val();
         }
         var addquestion = function () {
             OpenWindow("鏂板璐ㄧ枒浜嬮」", "98%", "90%", "/SysCode/Editquestion/");
         }
 
         var addrequestinfo = function () {
-            OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfo/");
+            OpenWindow("鏂板璐ㄧ枒璇锋眰", "98%", "90%", "/SysCode/Editrequestinfozidingyi/");
         }
+        var addlawinfo = function () {
+            OpenWindow("鏂板娉曞緥渚濇嵁", "98%", "90%", "/SysCode/Editlawzidingyi/");
+        }
+        
 
         //function PrintNumzichangge() {
         //    var sss = $('#PrintNumzi').val();
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml
index aeb0aa0..774d464 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/IndexWenshu.cshtml
@@ -29,10 +29,21 @@
                 formatter: function (cellvalue, options, rowObject) {
 
                     if (rowObject.OrderType1 == "浠f嫙鎶曡瘔涔�") {
-                        return "<a onclick=\"OpenWindow('鐢熸垚鎶曡瘔涔�','98%','100%', '/CooperOrder/EditTousushu?id=" + rowObject.Id + "')\"  >鐢熸垚鎶曡瘔涔�</a>";
+                        if (rowObject.StatusName == "鏈敓鎴�") {
+                            return "<a onclick=\"OpenWindow('鐢熸垚鎶曡瘔涔�','98%','100%', '/CooperOrder/EditTousushu?id=" + rowObject.Id + "')\"  >鐢熸垚鎶曡瘔涔�</a>";
+                        } else {
+                            return "<a onclick=\"OpenWindow('淇敼鎶曡瘔涔�','98%','100%', '/CooperOrder/EditTousushu?id=" + rowObject.Id + "')\"  >淇敼鎶曡瘔涔�</a>";
+                        }
+
+                       
                     }
                     else if (rowObject.OrderType1 == "浠f嫙璐ㄧ枒鍑�") {
-                        return "<a onclick=\"OpenWindow('鐢熸垚璐ㄧ枒鍑�','98%','100%', '/CooperOrder/EditZhiyihan?id=" + rowObject.Id + "')\"  >鐢熸垚璐ㄧ枒鍑�</a>";
+                        if (rowObject.StatusName == "鏈敓鎴�") {
+                            return "<a onclick=\"OpenWindow('鐢熸垚璐ㄧ枒鍑�','98%','100%', '/CooperOrder/EditZhiyihan?id=" + rowObject.Id + "')\"  >鐢熸垚璐ㄧ枒鍑�</a>";
+                        } else {
+                            return "<a onclick=\"OpenWindow('淇敼璐ㄧ枒鍑�','98%','100%', '/CooperOrder/EditZhiyihan?id=" + rowObject.Id + "')\"  >淇敼璐ㄧ枒鍑�</a>";
+                        }
+                        
                     }
 
 
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
index f2e5b36..ea2f944 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/PrintZhiyihan.cshtml
@@ -178,7 +178,7 @@
                                         </tr>
                                         <tr>
                                             <td colspan="2">
-                                                浜嬪疄渚濇嵁锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>");
+                                                浜嬪疄渚濇嵁锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                             </td>
                                         </tr>
                                         <tr>
@@ -224,7 +224,7 @@
                                         </tr>
                                         <tr>
                                             <td colspan="2">
-                                                浜嬪疄渚濇嵁@((i + 1) + "")锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>");
+                                                浜嬪疄渚濇嵁@((i + 1) + "")锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(challengeItemDTOs[i].Evidential) ? "" : challengeItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                             </td>
                                         </tr>
 
@@ -268,9 +268,9 @@
                             <tr>
                                 <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
                             </tr>
-                            <tr>
+                            @*<tr>
                                 <td colspan="2" style="height:15px"></td>
-                            </tr>
+                            </tr>*@
                             <tr>
                                 <td align="left">绛惧瓧(绛剧珷)锛�</td>
                                 <td align="left">鍏珷锛�</td>
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
index abd1e99..cc15906 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Printtousushu.cshtml
@@ -281,7 +281,7 @@
                                 </tr>
                                 <tr>
                                     <td colspan="2">
-                                        浜嬪疄渚濇嵁锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>");
+                                        浜嬪疄渚濇嵁锛� @Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                     </td>
                                 </tr>
 
@@ -325,7 +325,7 @@
                                 </tr>
                                 <tr>
                                     <td colspan="2">
-                                        浜嬪疄渚濇嵁@((i+1)+"")锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>");
+                                        浜嬪疄渚濇嵁@((i+1)+"")锛欯Html.Raw("<span>" + (string.IsNullOrEmpty(complaintItemDTOs[i].Evidential) ? "" : complaintItemDTOs[i].Evidential.Replace(" ", "&nbsp;").Replace("\r", "<br/>")) + "</span>")
                                     </td>
                                 </tr>
                                 <tr>
@@ -366,9 +366,9 @@
                             <tr>
                                 <td colspan="2" align="left">璇锋眰锛�<span>@Model.RequestInfoName</span></td>
                             </tr>
-                            <tr>
+                            @*<tr>
                                 <td colspan="2" style="height:15px"></td>
-                            </tr>
+                            </tr>*@
                             <tr>
                                 <td align="left">绛惧瓧(绛剧珷)锛�</td>
                                 <td align="left">鍏珷锛�</td>
diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editlawzidingyi.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editlawzidingyi.cshtml
new file mode 100644
index 0000000..b3a90f8
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editlawzidingyi.cshtml
@@ -0,0 +1,518 @@
+锘緻model DTO.SysCodeDtlEntity
+@using DTO;
+@using zhengcaioa.Models;
+@{
+
+    List<SysCodeDtl> falv = ViewData["falv"] as List<SysCodeDtl>; //娉曞緥
+
+
+    List<SysCodeDtl> question = ViewData["question"] as List<SysCodeDtl>; //娉曞緥
+
+    List<SysCodeDtlEntity> sysCodeDtlEntities = ViewData["sysCodeDtlEntities"] as List<SysCodeDtlEntity>; //娉曞緥
+
+
+
+
+}
+@{
+    Layout = null;
+}
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="ThemeBucket">
+    <title>@(SiteConfig.SiteName)</title>
+    <link href="~/css/bootstrap.min.css" rel="stylesheet">
+    <link href="~/css/font-awesome.min.css" rel="stylesheet">
+    <link href="~/css/animate.min.css" rel="stylesheet">
+
+    @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet">
+    @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@
+    @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" />
+    <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" />
+
+    <style type="text/css">
+        .webuploader-pick {
+            position: relative;
+            display: inline-block;
+            cursor: pointer;
+            background: #00b7ee;
+            padding: 8px 14px 7px 14px;
+            color: #fff;
+            text-align: center;
+            border-radius: 3px;
+            overflow: hidden;
+        }
+
+        div.clearfix > label {
+            padding-top: 8px;
+        }
+
+        .chosen-container {
+            border-radius: 1px;
+            border: 1px solid #e5e6e7;
+        }
+
+        .col-md-1.control-label {
+            padding-right: 0px;
+            font-weight: 400;
+        }
+    </style>
+
+    <!-- jqgrid-->
+    @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@
+    <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script>
+    <script src="~/js/bootstrap.min.js"></script>
+    @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@
+
+    <!--瀹瑰櫒-->
+    @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script>
+    @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@
+    <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script>
+    <script src="~/js/plugins/webuploader/webuploader.min.js"></script>
+
+    <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script>
+    <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@
+    <script src="~/js/TUJS.js"></script>
+</head>
+<body class="gray-bg" style="overflow:auto">
+    <form id="formtest">
+        <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;">
+            <div class="row">
+                <div class="col-sm-12">
+                    <div class="ibox float-e-margins">
+                        <div class="ibox-title">
+                            <h5>                            <i class="fa fa-list"></i>&nbsp;鍩烘湰淇℃伅</h5>
+                        </div>
+                        <div id="div_content" class="ibox-content" style="background-color:white;">
+                            <div class="row">
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">璐ㄧ枒浜嬮」</label>
+                                        <div class="col-sm-10 col-md-10">
+                                            @*<input class="form-control" label="娉曞緥鍚嶇О" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">*@
+
+                                            <select id="Classify1" class="form-control" name="Classify1" data-placeholder="閫夋嫨 搴忓垪 ...">
+                                                <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                @foreach (var item in question)
+                                                {
+                                                    @if (!item.CodeSn.Equals(Model.Classify1))
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+                                                    else
+                                                    {
+                                                        <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                            @item.Comments
+                                                        </option>
+                                                    }
+
+                                                }
+                                                }
+                                            </select>
+
+
+                                            <input type="hidden" name="CodeId" value="@Model.CodeId" />
+                                        </div>
+                                    </div>
+
+
+                                    <div id="addlist_2">
+                                        @for (int i = 0; i < sysCodeDtlEntities.Count; i++)
+                                        {
+                                            <div class="fatiaomeirong">
+                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                    <label class="text-right col-sm-1 col-md-1 control-label">缂栫爜</label>
+                                                    <div class="col-sm-2 col-md-2" style="width:5%;">
+                                                        <input class="form-control" label="缂栫爜" name="CodeSns" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@sysCodeDtlEntities[i].CodeSn">
+
+                                                        <input type="hidden" name="Id" value="@Model.Id" />
+
+
+                                                    </div>
+
+
+
+
+                                                </div>
+
+                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                    <label class="text-right col-sm-1 col-md-1 control-label">娉曞緥鍚嶇О</label>
+                                                    <div class="col-sm-10 col-md-10">
+                                                        @*<input class="form-control" label="娉曞緥鍚嶇О" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">*@
+
+                                                        <select class="form-control" name="Commentss" data-placeholder="閫夋嫨 搴忓垪 ...">
+                                                            <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                            @foreach (var item in falv)
+                                                            {
+                                                                @if (!item.CodeSn.Equals(sysCodeDtlEntities[i].Comments))
+                                                                {
+                                                                    <option value="@item.CodeSn" hassubinfo="true">
+                                                                        @item.Comments
+                                                                    </option>
+                                                                }
+                                                                else
+                                                                {
+                                                                    <option value="@item.CodeSn" hassubinfo="true" selected="selected">
+                                                                        @item.Comments
+                                                                    </option>
+                                                                }
+
+                                                            }
+                                                            }
+                                                        </select>
+                                                    </div>
+                                                </div>
+                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                    <label class="text-right col-sm-1 col-md-1 control-label">娉曟潯</label>
+                                                    <div class="col-sm-2 col-md-2">
+                                                        <input class="form-control" label="娉曟潯" name="Classify2s" labtype="txt" addvisible="true" editvisible="true" maxlength="50" reg="" ismust="flase" type="text" value="@sysCodeDtlEntities[i].Classify2">
+
+                                                    </div>
+                                                </div>
+                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                    <label class="text-right col-sm-1 col-md-1 control-label">鍐呭</label>
+                                                    <div class="col-sm-10 col-md-10">
+                                                        @*<input class="form-control" label="鍐呭" id="Contents" name="Contents" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="300" ismust="true" type="text" value="@Model.Contents">*@
+
+                                                        <textarea class="form-control bt" name="Contentss" title="鍐呭" isempty="" maxlength="300" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@sysCodeDtlEntities[i].Contents</textarea>
+                                                    </div>
+
+                                                </div>
+                                                <div class="clearfix layer-area" style="padding-bottom:15px;display:none;">
+                                                    <label class="text-right col-sm-1 col-md-1 control-label">鎺掑簭</label>
+                                                    <div class="col-sm-2 col-md-2" style="width:5%;">
+                                                        <input class="form-control" label="鎺掑簭" name="Sorts" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="@sysCodeDtlEntities[i].Sort" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+
+                                                    </div>
+
+                                                </div>
+                                            </div>
+                                        }
+
+
+                                    </div>
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <div class="col-sm-1 col-md-1">
+                                            <button type="button" class="addBtn" onclick="addBtn(this)" data-type="2" style="width:32px">+</button>
+                                            <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button>
+                                        </div>
+                                    </div>
+
+
+
+
+
+                                </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+                            </div>
+
+
+
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        </div>
+        <div class="wrapper wrapper-content" style="margin-top:0px"></div>
+        <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
+            <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��">
+                @*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;">
+                        <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍒犻櫎</span>
+                    </a>*@
+
+                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
+                </a>
+
+                <a class="btn btn-success" href="javascript:void(0)" onclick="closepage();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍏抽棴</span>
+                </a>
+            </div>
+        </div>
+
+    </form>
+
+    <script type="text/javascript">
+
+
+        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2;
+        $("#div_content").height(hh);
+
+
+
+        var Contentss = document.getElementsByName("Contentss");
+        for (var a = 0; a < Contentss.length; a++) {
+
+            Contentss[a].style.height = Contentss[a].scrollHeight + 'px';
+        }
+
+
+        toastr.options = {
+            "closeButton": true,
+            "debug": false,
+            "progressBar": true,
+            "positionClass": "toast-bottom-right",
+            "onclick": null,
+            "showDuration": "300",
+            "hideDuration": "600",
+            "timeOut": "4500",
+            "extendedTimeOut": "600",
+            "showEasing": "swing",
+            "hideEasing": "linear",
+            "showMethod": "fadeIn",
+            "hideMethod": "fadeOut"
+        };
+
+
+
+
+
+
+        var id = '@Model.Id';
+
+        var delPosition = function () {
+            if (id == null || id == '') {
+                toastr.warning("璇峰厛淇濆瓨");
+                return;
+            }
+            $.ajax({
+                type: "GET",
+                url: "/SysCode/NullifySysCodeDtl?id=" + id,
+                dataType: "json",
+                global: false,
+                data: '',
+                success: function (data) {
+
+
+                    if (data.Result) {
+                        //  parent._afterSave(true);
+                        parent.layer.msg('鍒犻櫎鎴愬姛', { icon: 6 });
+                        _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                    }
+                    else {
+                        // toastr.error("");
+                        parent.layer.msg('鍒犻櫎澶辫触', { icon: 5 });
+                    }
+
+                },
+                error: function () {
+                    if ($.isNumber(imgLoad)) {
+                        parent.layer.close(imgLoad);
+                    }
+                    //toastr.error("淇濆瓨澶辫触");
+
+                    parent.layer.msg('淇濆瓨澶辫触', { icon: 5 });
+                }
+            });
+
+        }
+
+
+
+        var closepage = function () {
+            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+        }
+
+
+
+        // 淇濆瓨宀椾綅淇℃伅
+        var savePosition = function () {
+
+
+
+
+            //if ($.trim($("#CodeSn").val()) == '') {
+            //    toastr.warning("缂栫爜涓嶈兘涓虹┖");
+            //    return;
+            //}
+
+
+            //if ($.trim($("#Comments").val()) == '') {
+            //    toastr.warning("娉曞緥鍚嶇О涓嶈兘涓虹┖");
+            //    return;
+            //}
+
+            if ($.trim($("#Classify1").val()) == '') {
+                toastr.warning("璐ㄧ枒浜嬮」涓嶈兘涓虹┖");
+                return;
+            }
+
+
+
+           // var data = { id: $("#Id").val(), DocType: $("#DocType").val(), DocDept: $("#DocDept").val(), PublishTime: $("#PublishTime").val(), DocNo: $("#DocNo").val(), DocTitle: $("#DocTitle").val(), DocContent: ueue, DocZtc: $("#DocZtc").val(), Printtimes: $("#Printtimes").val(), DocCsdw: $("#DocCsdw").val(), PrintStatus: $("#PrintStatus").val()}
+            $.ajax({
+                type: "POST",
+                url: "/SysCode/Savequestiontypes",
+                dataType: "json",
+                global: false,
+                data: $('form').serializeArray(),
+                success: function (data) {
+
+
+
+                        if (data.Result) {
+                            //  parent._afterSave(true);
+                            parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
+
+
+                            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+
+                            //try {
+                            //    _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                            //}
+                            //catch (err) {
+                            //    parent._CloseTab1("/HrJibengongzi/Edit/");
+                            //}
+
+                        }
+                        else {
+                            // toastr.error("澶辫触");
+                            parent.layer.msg(data.Message, { icon: 5 });
+                        }
+
+                },
+                error: function () {
+
+
+                    parent.layer.msg('澶辫触', { icon: 5 });
+                }
+            });
+        }
+
+
+
+
+        function _pageAutoClose() {
+            parent.window._reloadPageData();
+            var index = parent.layer.getFrameIndex(window.name);
+            parent.layer.isRefresh = true;
+            parent.layer.closeAll('loading');
+            parent.layer.close(index);
+            return false;
+        }
+
+
+         function addBtn(obj) {
+            var oTr = document.createElement('div');
+            var num = $(obj).data().type;
+            console.log(num)
+            if (num == 2) {
+                $('#addlist_2').append(oTr);
+                $(oTr).html(` <div class="fatiaomeirong" >
+  <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                <label class="text-right col-sm-1 col-md-1 control-label">缂栫爜</label>
+                                                <div class="col-sm-2 col-md-2" style="width:5%;">
+                                                    <input class="form-control" label="缂栫爜"  name="CodeSns" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="">
+
+                                                    <input type="hidden" name="Id" value="" />
+
+
+                                                </div>
+
+
+
+
+                                            </div>
+
+                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                <label class="text-right col-sm-1 col-md-1 control-label">娉曞緥鍚嶇О</label>
+                                                <div class="col-sm-10 col-md-10">
+
+                                                    <select  class="form-control" name="Commentss" data-placeholder="閫夋嫨 搴忓垪 ...">
+                                                        <option value="" hassubinfo="true">璇烽�夋嫨</option>
+                                                        @foreach (var item in falv)
+                                                        {
+
+                                                                <option value="@item.CodeSn" hassubinfo="true">
+                                                                    @item.Comments
+                                                                </option>
+
+
+                                                        }
+
+                                                    </select>
+                                                </div>
+                                            </div>
+                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                <label class="text-right col-sm-1 col-md-1 control-label">娉曟潯</label>
+                                                <div class="col-sm-2 col-md-2">
+                                                    <input class="form-control" label="娉曟潯" name="Classify2s" labtype="txt" addvisible="true" editvisible="true" maxlength="50" reg="" ismust="flase" type="text" value="">
+
+                                                </div>
+                                            </div>
+                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                                <label class="text-right col-sm-1 col-md-1 control-label">鍐呭</label>
+                                                <div class="col-sm-10 col-md-10">
+
+                                                    <textarea class="form-control bt"  name="Contentss" title="鍐呭" isempty="" maxlength="300" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'"></textarea>
+                                                </div>
+
+                                            </div>
+                                            <div class="clearfix layer-area" style="padding-bottom:15px;display:none;">
+                                                <label class="text-right col-sm-1 col-md-1 control-label">鎺掑簭</label>
+                                                <div class="col-sm-2 col-md-2" style="width:5%;">
+                                                    <input class="form-control" label="鎺掑簭"  name="Sorts" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="1" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+
+                                                </div>
+
+                                            </div>
+   </div>
+
+`);
+            }
+        }
+
+        function delBtn(obj) {
+            var num = $(obj).data().type;
+            console.log(num)
+
+             if (num == 2) {
+                if ($('#addlist_2').find('.fatiaomeirong').length > 1) {
+                    $('#addlist_2').find('.fatiaomeirong:last').remove();
+                }
+
+            }
+        }
+
+    </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editquestionzidingyi.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editquestionzidingyi.cshtml
new file mode 100644
index 0000000..f140026
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editquestionzidingyi.cshtml
@@ -0,0 +1,346 @@
+锘緻model DTO.SysCodeDtlEntity
+@using DTO;
+@using zhengcaioa.Models;
+@{
+
+
+
+
+
+
+
+
+
+
+
+}
+@{
+    Layout = null;
+}
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="ThemeBucket">
+    <title>@(SiteConfig.SiteName)</title>
+    <link href="~/css/bootstrap.min.css" rel="stylesheet">
+    <link href="~/css/font-awesome.min.css" rel="stylesheet">
+    <link href="~/css/animate.min.css" rel="stylesheet">
+
+    @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet">
+    @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@
+    @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" />
+    <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" />
+
+    <style type="text/css">
+        .webuploader-pick {
+            position: relative;
+            display: inline-block;
+            cursor: pointer;
+            background: #00b7ee;
+            padding: 8px 14px 7px 14px;
+            color: #fff;
+            text-align: center;
+            border-radius: 3px;
+            overflow: hidden;
+        }
+
+        div.clearfix > label {
+            padding-top: 8px;
+        }
+
+        .chosen-container {
+            border-radius: 1px;
+            border: 1px solid #e5e6e7;
+        }
+
+        .col-md-1.control-label {
+            padding-right: 0px;
+            font-weight: 400;
+        }
+    </style>
+
+    <!-- jqgrid-->
+    @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@
+    <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script>
+    <script src="~/js/bootstrap.min.js"></script>
+    @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@
+
+    <!--瀹瑰櫒-->
+    @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script>
+    @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@
+    <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script>
+    <script src="~/js/plugins/webuploader/webuploader.min.js"></script>
+
+    <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script>
+    <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@
+    <script src="~/js/TUJS.js"></script>
+</head>
+<body class="gray-bg" style="overflow:auto">
+    <form id="formtest">
+        <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;">
+            <div class="row">
+                <div class="col-sm-12">
+                    <div class="ibox float-e-margins">
+                        <div class="ibox-title">
+                            <h5>                            <i class="fa fa-list"></i>&nbsp;鍩烘湰淇℃伅</h5>
+                        </div>
+                        <div id="div_content" class="ibox-content" style="background-color:white;">
+                            <div class="row">
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+
+
+
+
+
+
+
+
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">缂栫爜</label>
+                                        <div class="col-sm-2 col-md-2" style="width:5%;">
+                                            <input class="form-control" label="缂栫爜" id="CodeSn" name="CodeSn" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@Model.CodeSn">
+
+                                            <input type="hidden" name="Id" value="@Model.Id" />
+
+                                            <input type="hidden" name="CodeId" value="@Model.CodeId" />
+                                        </div>
+                                    </div>
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">鍚嶇О</label>
+                                        <div class="col-sm-10 col-md-10">
+                                            <input class="form-control" label="鍚嶇О" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">
+
+
+                                        </div>
+                                    </div>
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;display:none;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">鎺掑簭</label>
+                                        <div class="col-sm-2 col-md-2" style="width:5%;">
+                                            <input class="form-control" label="鎺掑簭" id="Sort" name="Sort" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="@Model.Sort" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+
+                                        </div>
+
+                                    </div>
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">澶囨敞</label>
+                                        <div class="col-sm-10 col-md-10">
+                                            <input class="form-control" label="澶囨敞" id="Contents" name="Contents" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="300" ismust="true" type="text" value="@Model.Contents">
+
+
+                                        </div>
+                                    </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+                                </div>
+
+
+
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="wrapper wrapper-content" style="margin-top:0px"></div>
+        <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
+            <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��">
+                @*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍒犻櫎</span>
+                </a>*@
+
+                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
+                </a>
+
+                <a class="btn btn-success" href="javascript:void(0)" onclick="closepage();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍏抽棴</span>
+                </a>
+            </div>
+        </div>
+
+    </form>
+
+    <script type="text/javascript">
+
+
+        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2;
+        $("#div_content").height(hh);
+
+        toastr.options = {
+            "closeButton": true,
+            "debug": false,
+            "progressBar": true,
+            "positionClass": "toast-bottom-right",
+            "onclick": null,
+            "showDuration": "300",
+            "hideDuration": "600",
+            "timeOut": "4500",
+            "extendedTimeOut": "600",
+            "showEasing": "swing",
+            "hideEasing": "linear",
+            "showMethod": "fadeIn",
+            "hideMethod": "fadeOut"
+        };
+
+
+
+
+
+
+        var id = '@Model.Id';
+
+        var delPosition = function () {
+            if (id == null || id == '') {
+                toastr.warning("璇峰厛淇濆瓨");
+                return;
+            }
+            $.ajax({
+                type: "GET",
+                url: "/SysCode/NullifySysCodeDtl?id=" + id,
+                dataType: "json",
+                global: false,
+                data: '',
+                success: function (data) {
+
+
+                    if (data.Result) {
+                        //  parent._afterSave(true);
+                        parent.layer.msg('鍒犻櫎鎴愬姛', { icon: 6 });
+                        _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                    }
+                    else {
+                        // toastr.error("");
+                        parent.layer.msg('鍒犻櫎澶辫触', { icon: 5 });
+                    }
+
+                },
+                error: function () {
+                    if ($.isNumber(imgLoad)) {
+                        parent.layer.close(imgLoad);
+                    }
+                    //toastr.error("淇濆瓨澶辫触");
+
+                    parent.layer.msg('淇濆瓨澶辫触', { icon: 5 });
+                }
+            });
+
+        }
+
+
+
+        var closepage = function () {
+            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+        }
+
+
+
+        // 淇濆瓨宀椾綅淇℃伅
+        var savePosition = function () {
+
+
+
+
+            if ($.trim($("#CodeSn").val()) == '') {
+                toastr.warning("缂栫爜涓嶈兘涓虹┖");
+                return;
+            }
+
+
+            if ($.trim($("#Comments").val()) == '') {
+                toastr.warning("鍚嶇О涓嶈兘涓虹┖");
+                return;
+            }
+
+
+
+
+
+           // var data = { id: $("#Id").val(), DocType: $("#DocType").val(), DocDept: $("#DocDept").val(), PublishTime: $("#PublishTime").val(), DocNo: $("#DocNo").val(), DocTitle: $("#DocTitle").val(), DocContent: ueue, DocZtc: $("#DocZtc").val(), Printtimes: $("#Printtimes").val(), DocCsdw: $("#DocCsdw").val(), PrintStatus: $("#PrintStatus").val()}
+            $.ajax({
+                type: "POST",
+                url: "/SysCode/Savequestiontype",
+                dataType: "json",
+                global: false,
+                data: $('form').serializeArray(),
+                success: function (data) {
+
+
+
+                        if (data.Result) {
+                            //  parent._afterSave(true);
+                            parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
+                            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+
+                       /*     window.location = "/SysCode/Editquestion";*/
+
+                            //try {
+                            //   
+                            //}
+                            //catch (err) {
+                            //    parent._CloseTab1("/HrJibengongzi/Edit/");
+                            //}
+
+                        }
+                        else {
+                            // toastr.error("澶辫触");
+                            parent.layer.msg(data.Message, { icon: 5 });
+                        }
+
+                },
+                error: function () {
+
+
+                    parent.layer.msg('澶辫触', { icon: 5 });
+                }
+            });
+        }
+
+
+
+
+        function _pageAutoClose() {
+            parent.window._reloadPageData();
+            var index = parent.layer.getFrameIndex(window.name);
+            parent.layer.isRefresh = true;
+            parent.layer.closeAll('loading');
+            parent.layer.close(index);
+            return false;
+        }
+
+
+    </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editrequestinfozidingyi.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editrequestinfozidingyi.cshtml
new file mode 100644
index 0000000..cb31761
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editrequestinfozidingyi.cshtml
@@ -0,0 +1,338 @@
+锘緻model DTO.SysCodeDtlEntity
+@using DTO;
+@using zhengcaioa.Models;
+@{
+
+
+
+
+
+
+
+
+
+
+
+}
+@{
+    Layout = null;
+}
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="ThemeBucket">
+    <title>@(SiteConfig.SiteName)</title>
+    <link href="~/css/bootstrap.min.css" rel="stylesheet">
+    <link href="~/css/font-awesome.min.css" rel="stylesheet">
+    <link href="~/css/animate.min.css" rel="stylesheet">
+
+    @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet">
+    @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@
+    @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" />
+    <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" />
+
+    <style type="text/css">
+        .webuploader-pick {
+            position: relative;
+            display: inline-block;
+            cursor: pointer;
+            background: #00b7ee;
+            padding: 8px 14px 7px 14px;
+            color: #fff;
+            text-align: center;
+            border-radius: 3px;
+            overflow: hidden;
+        }
+
+        div.clearfix > label {
+            padding-top: 8px;
+        }
+
+        .chosen-container {
+            border-radius: 1px;
+            border: 1px solid #e5e6e7;
+        }
+
+        .col-md-1.control-label {
+            padding-right: 0px;
+            font-weight: 400;
+        }
+    </style>
+
+    <!-- jqgrid-->
+    @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@
+    <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script>
+    <script src="~/js/bootstrap.min.js"></script>
+    @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@
+
+    <!--瀹瑰櫒-->
+    @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@
+    @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script>
+    @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@
+    <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@
+    <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script>
+    <script src="~/js/plugins/webuploader/webuploader.min.js"></script>
+
+    <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script>
+    <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script>
+    @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@
+    @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@
+    <script src="~/js/TUJS.js"></script>
+</head>
+<body class="gray-bg" style="overflow:auto">
+    <form id="formtest">
+        <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;">
+            <div class="row">
+                <div class="col-sm-12">
+                    <div class="ibox float-e-margins">
+                        <div class="ibox-title">
+                            <h5>                            <i class="fa fa-list"></i>&nbsp;鍩烘湰淇℃伅</h5>
+                        </div>
+                        <div id="div_content" class="ibox-content" style="background-color:white;">
+                            <div class="row">
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+
+
+
+
+
+
+
+
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">缂栫爜</label>
+                                        <div class="col-sm-2 col-md-2" style="width:5%;">
+                                            <input class="form-control" label="缂栫爜" id="CodeSn" name="CodeSn" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@Model.CodeSn">
+
+                                            <input type="hidden" name="Id" value="@Model.Id" />
+
+                                            <input type="hidden" name="CodeId" value="@Model.CodeId" />
+                                        </div>
+                                    </div>
+
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">鍚嶇О</label>
+                                        <div class="col-sm-10 col-md-10">
+                                            <input class="form-control" label="鍚嶇О" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">
+
+
+                                        </div>
+                                    </div>
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;display:none;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">鎺掑簭</label>
+                                        <div class="col-sm-2 col-md-2" style="width:5%;">
+                                            <input class="form-control" label="鎺掑簭" id="Sort" name="Sort" labtype="txt" addvisible="true" editvisible="true" maxlength="100" reg="" ismust="flase" type="text" value="@Model.Sort" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+
+                                        </div>
+
+                                    </div>
+                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                        <label class="text-right col-sm-1 col-md-1 control-label">澶囨敞</label>
+                                        <div class="col-sm-10 col-md-10">
+                                            <input class="form-control" label="澶囨敞" id="Contents" name="Contents" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="300" ismust="true" type="text" value="@Model.Contents">
+
+
+                                        </div>
+                                    </div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+                                </div>
+
+
+
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="wrapper wrapper-content" style="margin-top:0px"></div>
+        <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
+            <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��">
+               
+                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
+                </a>
+
+                <a class="btn btn-success" href="javascript:void(0)" onclick="closepage();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍏抽棴</span>
+                </a>
+            </div>
+        </div>
+
+    </form>
+
+    <script type="text/javascript">
+
+
+        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2;
+        $("#div_content").height(hh);
+
+        toastr.options = {
+            "closeButton": true,
+            "debug": false,
+            "progressBar": true,
+            "positionClass": "toast-bottom-right",
+            "onclick": null,
+            "showDuration": "300",
+            "hideDuration": "600",
+            "timeOut": "4500",
+            "extendedTimeOut": "600",
+            "showEasing": "swing",
+            "hideEasing": "linear",
+            "showMethod": "fadeIn",
+            "hideMethod": "fadeOut"
+        };
+
+
+
+
+
+
+        var id = '@Model.Id';
+
+        var delPosition = function () {
+            if (id == null || id == '') {
+                toastr.warning("璇峰厛淇濆瓨");
+                return;
+            }
+            $.ajax({
+                type: "GET",
+                url: "/SysCode/NullifySysCodeDtl?id=" + id,
+                dataType: "json",
+                global: false,
+                data: '',
+                success: function (data) {
+
+
+                    if (data.Result) {
+                        //  parent._afterSave(true);
+                        parent.layer.msg('鍒犻櫎鎴愬姛', { icon: 6 });
+                        _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                    }
+                    else {
+                        // toastr.error("");
+                        parent.layer.msg('鍒犻櫎澶辫触', { icon: 5 });
+                    }
+
+                },
+                error: function () {
+                    if ($.isNumber(imgLoad)) {
+                        parent.layer.close(imgLoad);
+                    }
+                    //toastr.error("淇濆瓨澶辫触");
+
+                    parent.layer.msg('淇濆瓨澶辫触', { icon: 5 });
+                }
+            });
+
+        }
+
+
+
+        var closepage = function () {
+            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+        }
+
+
+
+        // 淇濆瓨宀椾綅淇℃伅
+        var savePosition = function () {
+
+
+
+
+            if ($.trim($("#CodeSn").val()) == '') {
+                toastr.warning("缂栫爜涓嶈兘涓虹┖");
+                return;
+            }
+
+
+            if ($.trim($("#Comments").val()) == '') {
+                toastr.warning("鍚嶇О涓嶈兘涓虹┖");
+                return;
+            }
+
+
+
+
+
+           // var data = { id: $("#Id").val(), DocType: $("#DocType").val(), DocDept: $("#DocDept").val(), PublishTime: $("#PublishTime").val(), DocNo: $("#DocNo").val(), DocTitle: $("#DocTitle").val(), DocContent: ueue, DocZtc: $("#DocZtc").val(), Printtimes: $("#Printtimes").val(), DocCsdw: $("#DocCsdw").val(), PrintStatus: $("#PrintStatus").val()}
+            $.ajax({
+                type: "POST",
+                url: "/SysCode/Savequestiontype",
+                dataType: "json",
+                global: false,
+                data: $('form').serializeArray(),
+                success: function (data) {
+
+
+
+                        if (data.Result) {
+                            //  parent._afterSave(true);
+                            parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
+
+
+                            _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+
+                           
+
+                        }
+                        else {
+                            // toastr.error("澶辫触");
+                            parent.layer.msg(data.Message, { icon: 5 });
+                        }
+
+                },
+                error: function () {
+
+
+                    parent.layer.msg('澶辫触', { icon: 5 });
+                }
+            });
+        }
+
+
+
+
+        function _pageAutoClose() {
+            parent.window._reloadPageData();
+            var index = parent.layer.getFrameIndex(window.name);
+            parent.layer.isRefresh = true;
+            parent.layer.closeAll('loading');
+            parent.layer.close(index);
+            return false;
+        }
+
+
+    </script>
+</body>
+</html>
\ No newline at end of file

--
Gitblit v1.9.1