From 9384f42e1d7e3ad502ea801be0c0d8762a0c3123 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 01 十一月 2021 16:08:19 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml | 89 ++++++++++++++++++++++++++++----------------
1 files changed, 57 insertions(+), 32 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml
index 45470d0..19f6841 100644
--- a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml
@@ -261,11 +261,11 @@
</div>
<label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
- 鏄惁绛旀
+ 鏄惁绛旀
</label>
- <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
+ <div class="text-left col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
@if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
{
<input type="checkbox" checked="checked" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
@@ -316,28 +316,28 @@
@for (int i = 0; i < expertTestTopicanwserDTOs.Count; i++)
{
- <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:3%;text-align:left;padding-left:15px;">
- @if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
- {
+ <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:3%;text-align:left;padding-left:15px;">
+ @if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
+ {
<input type="checkbox" checked="checked" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
- }
- else
- {
+ }
+ else
+ {
<input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
- }
- <input type="hidden" name="Shifouzhengqu" value="" />
+ }
+ <input type="hidden" name="Shifouzhengqu" value="" />
+ <input type="hidden" name="anwserno" value="@expertTestTopicanwserDTOs[i].Anwserno" />
+ </div>
+ <label class="text-left col-sm-1 col-md-1 control-label">@expertTestTopicanwserDTOs[i].Anwserno</label>
+ @*<div class="col-sm-2 col-md-2" style="width:5%;">
+ <input class="form-control" style="border:none;" label="绛旀缂栧彿" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
+ </div>*@
- </div>
+ <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
+ <input class="form-control" label="绛旀" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicanwserDTOs[i].Anwser">
- <div class="col-sm-2 col-md-2" style="width:5%;">
- <input class="form-control" style="border:none;" label="绛旀缂栧彿" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
- </div>
-
- <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
- <input class="form-control" label="绛旀" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicanwserDTOs[i].Anwser">
-
- </div>
+ </div>
@@ -349,7 +349,7 @@
- }
+ }
</div>
@@ -415,7 +415,7 @@
</label>
- <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
+ <div class="col-sm-2 col-md-2" grouptype="Vdata" style="width:5%;">
@if ("A" == expertTestTopicjiexiDTOs[i].Flag)
{
@@ -741,7 +741,17 @@
var Zhishitype = $("#Zhishitype").val();
var Area = $("#Area").val();
- window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area + ""
+ var falvs = document.getElementsByName("Falv");
+
+ var Falv = "";
+
+ for (var i = 0; i < falvs.length; i++) {
+
+ Falv += falvs[i].value + ",";
+ }
+
+
+ window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area + "&Falv=" + Falv + ""
if ($.isNumber(imgLoad)) {
parent.layer.close(imgLoad);
}
@@ -877,7 +887,17 @@
var Zhishitype = $("#Zhishitype").val();
var Area = $("#Area").val();
- window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area +""
+ var falvs = document.getElementsByName("Falv");
+
+ var Falv = "";
+
+ for (var i = 0; i < falvs.length; i++) {
+
+ Falv += falvs[i].value + ",";
+ }
+
+
+ window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area + "&Falv=" + Falv + ""
//try {
// _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
@@ -909,9 +929,14 @@
var index = parent.layer.getFrameIndex(window.name);
parent.layer.isRefresh = true;
parent.layer.closeAll('loading');
- parent.layer.close(index);
+ //parent.layer.close(index);
return false;
}
+
+ $(window).unload(function () {
+ _pageAutoClose();
+
+ });
function addBtn(obj) {
@@ -995,7 +1020,7 @@
</label>
- <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
+ <div class="col-sm-2 col-md-2" grouptype="Vdata" style="width:5%;">
@@ -1060,13 +1085,12 @@
<input type="checkbox" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
<input type="hidden" name="Shifouzhengqu" value="" />
-
+ <input type="hidden" name="anwserno" value="鈭�" />
</div>
+ <label class="text-left col-sm-1 col-md-1 control-label">鈭�</label>
- <div class="col-sm-2 col-md-2" style="width:5%;">
- <input class="form-control" style="border:none;" label="绛旀缂栧彿" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="鈭�" readonly="readonly">
- </div>
+
<div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
<input class="form-control" label="绛旀" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
@@ -1080,11 +1104,12 @@
<input type="hidden" name="Shifouzhengqu" value="" />
- </div>
+ <input type="hidden" name="anwserno" value="脳" />
- <div class="col-sm-2 col-md-2" style="width:5%;">
- <input class="form-control" style="border:none;" label="绛旀缂栧彿" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="脳" readonly="readonly">
</div>
+ <label class="text-left col-sm-1 col-md-1 control-label">脳</label>
+
+
<div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
<input class="form-control" label="绛旀" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
--
Gitblit v1.9.1