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/ServiceCharge/Index.cshtml | 31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml b/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
index 4f709c1..1a13117 100644
--- a/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/ServiceCharge/Index.cshtml
@@ -7,6 +7,7 @@
int nookcount = Book == null ? 0 : Book.Count;
+ List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@{
Layout = null;
@@ -165,7 +166,7 @@
</div>
<div>
- <a class="btn btn-default" href="javascript:void(0)" onclick="OpenWindow('鏂板鍥句功','98%','100%', '/ServiceCharge/Edit');" style="margin-right:40px;margin-bottom:5px; border-radius:4px;float:right;width:5%;">
+ <a class="btn btn-default Update" href="javascript:void(0)" onclick="OpenWindow('鏂板鍥句功','98%','100%', '/ServiceCharge/Edit');" style="margin-right:40px;margin-bottom:5px; border-radius:4px;float:right;width:5%;display:none;">
<i class="glyphicon glyphicon-plus"></i> <span class="bold">鏂板</span>
</a>
</div>
@@ -219,10 +220,10 @@
<td>@Book[i].Danjia.Value.ToString("F2")</td>
<td>
- <a href="javascript:void(0)" onclick="OpenWindow('@Book[i].BookName','98%','100%', '/ServiceCharge/Edit?id=@Book[i].Id');" style="margin-left:4px; border-radius:4px;">
+ <a href="javascript:void(0)" class="Update" onclick="OpenWindow('@Book[i].BookName','98%','100%', '/ServiceCharge/Edit?id=@Book[i].Id');" style="margin-left: 4px; border-radius: 4px; display: none;">
<span class="bold">淇敼</span>
</a>
- <a href="javascript:void(0)" onclick="delPosition('@Book[i].Id');" style="margin-left:4px; border-radius:4px;">
+ <a href="javascript:void(0)" class="Update" onclick="delPosition('@Book[i].Id');" style="margin-left:4px; border-radius:4px;display:none;">
<span class="bold">鍒犻櫎</span>
</a>
</td>
@@ -728,11 +729,11 @@
<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-default" href="javascript:void(0)" onclick="Print();" style="margin-left:4px; border-radius:4px;">
+ <a class="btn btn-default Dayin" href="javascript:void(0)" onclick="Print();" style="margin-left:4px; border-radius:4px;display:none;">
<i class="glyphicon glyphicon-print"></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>
@@ -764,7 +765,7 @@
var delPosition = function (id) {
-
+
$.ajax({
type: "GET",
url: "/ServiceCharge/Nullify?id=" + id,
@@ -810,7 +811,7 @@
-
+
//var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" }
$.ajax({
type: "POST",
@@ -819,7 +820,7 @@
global: false,
data: $('form').serializeArray(),
success: function (data) {
-
+
if (data.Result) {
@@ -851,7 +852,7 @@
}
-
+
function _pageAutoClose() {
window.location = "/ServiceCharge/Index";
@@ -861,6 +862,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