From 1243f9cdb1ce367af05caabbb71ce81e38d5a1af Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 16 四月 2025 16:16:43 +0800
Subject: [PATCH] 增加一种报名类型
---
zhengcaioa/zhengcaioa/Views/AdmDocDoc/Edit.cshtml | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Edit.cshtml
index 3e97214..4a28412 100644
--- a/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/AdmDocDoc/Edit.cshtml
@@ -9,6 +9,7 @@
List<HrDeptDTO> DocDept = ViewData["DocDept"] as List<HrDeptDTO>; //閮ㄩ棬
List<AdmDocBaseDTO> DocType = ViewData["DocType"] as List<AdmDocBaseDTO>; //鍏枃绫诲瀷
+ List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@{
Layout = null;
@@ -202,7 +203,7 @@
<div class="clearfix layer-area" style="padding-bottom:15px;">
<label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鍗板埛鏁伴噺</label>
<div class="col-sm-2 col-md-2" grouptype="Vdata">
- <input class="form-control" label="鍗板埛鏁伴噺" name="Printtimes" id="Printtimes" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Printtimes" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
+ <input class="form-control" label="鍗板埛鏁伴噺" name="Printtimes" id="Printtimes" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Printtimes" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
</div>
<label class="text-right col-sm-1 col-md-1 control-label">鎵撳嵃鐘舵�� </label>
@@ -263,11 +264,11 @@
<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;">
+ <a class="btn btn-success Delete" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;display:none;">
<i class="glyphicon glyphicon-remove"></i> <span class="bold">鍒犻櫎</span>
</a>
- <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
+ <a class="btn btn-success Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left: 4px; border-radius: 4px; display: none;">
<i class="glyphicon glyphicon-ok"></i> <span class="bold">鎻愪氦</span>
</a>
</div>
@@ -387,7 +388,7 @@
-
+
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({
@@ -397,7 +398,7 @@
global: false,
data: data,//$('form').serializeArray(),
success: function (data) {
-
+
if (data.Result) {
@@ -440,6 +441,18 @@
parent.layer.close(index);
return false;
}
+
+ var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))';
+
+
+
+ $(function () {
+ var data = JSON.parse(ActionInfo22);
+ for (var o in data) {
+ $("." + data[o].PageShortcut).show();
+
+ }
+ });
</script>
</body>
</html>
\ No newline at end of file
--
Gitblit v1.9.1