From 558dae4a18d393ac38daa43a354e8bc9a22e4e26 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 02 十一月 2023 16:52:59 +0800
Subject: [PATCH] 班次安排座位
---
zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml
index 9905069..e7698f2 100644
--- a/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml
@@ -11,7 +11,7 @@
List<SysCodeDtlEntity> sysCodeDtlEntities = ViewData["sysCodeDtlEntities"] as List<SysCodeDtlEntity>; //娉曞緥
-
+ List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@{
@@ -259,11 +259,11 @@
<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 Delete" 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>
- <a class="btn btn-success" href="javascript:void(0)" onclick="closepage();" style="margin-left:4px; border-radius:4px;">
+ <a class="btn btn-success Update" href="javascript:void(0)" onclick="closepage();" style="margin-left: 4px; border-radius: 4px; display: none;">
<i class="glyphicon glyphicon-remove"></i> <span class="bold">鍏抽棴</span>
</a>
</div>
@@ -277,7 +277,7 @@
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++) {
@@ -448,7 +448,7 @@
</div>
-
+
</div>
@@ -456,19 +456,19 @@
<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>
@@ -482,8 +482,8 @@
<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>
+
+ <textarea class="form-control bt" name="Contentss" title="鍐呭" isempty="" maxlength="500" 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>
@@ -512,7 +512,17 @@
}
}
+ 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