From 78c9e0c605a1f79bc27d3f407b590a22e2031736 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 21 十月 2021 17:14:40 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml | 54 +++++++++++++------------- zhengcaioa/zhengcaioa/Views/ExpertTestTopic/EditPeizhi.cshtml | 15 +++---- zhengcaioa/zhengcaioa/Views/SysCode/Edit.cshtml | 2 zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs | 6 +- 4 files changed, 37 insertions(+), 40 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs index fdba036..926924e 100644 --- a/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/SysCodeController.cs @@ -250,11 +250,11 @@ public IActionResult Getquestiontype(string id = null) { SysCodeDtlEntity sysCodeDtlEntity = new SysCodeDtlEntity(); - if (!String.IsNullOrEmpty(id)) - { + //if (!String.IsNullOrEmpty(id)) + //{ sysCodeDtlEntity = _sysCodeService.GetSysCodeDtlInfo(id, "Liaotian", "questiontype"); - } + //} // ViewData.Model = PltUserDTO; return new JsonResult(sysCodeDtlEntity); diff --git a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml index 45470d0..b098fd2 100644 --- a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml @@ -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) { @@ -995,7 +995,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 +1060,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 +1079,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=""> diff --git a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/EditPeizhi.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/EditPeizhi.cshtml index 0807a9e..76f8d28 100644 --- a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/EditPeizhi.cshtml +++ b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/EditPeizhi.cshtml @@ -122,16 +122,13 @@ <h5> <div class="clearfix layer-area" style="padding-top:15px;"> - <label class="text-right col-sm-1 col-md-1 control-label" style="font-weight:bold;">@expertTestTopicpeizhiDTOs[i].Topictype @expertTestTopicpeizhiDTOs[i].TopictypeName 锛堟暟閲忥細</label> - - <div class="col-sm-2 col-md-2" style="width:5%;"> - <input class="form-control" style="border:none;" label="鏁伴噺" name="Fenshuszong" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicpeizhiDTOs[i].zongFenshu" readonly="readonly"> + + <div class="col-sm-12 col-md-12" @*style="width:5%;"*@> + <font>@expertTestTopicpeizhiDTOs[i].Topictype @expertTestTopicpeizhiDTOs[i].TopictypeName 锛堟暟閲忥細</font> <input style="border:none;width:30px;height:30px;" label="鏁伴噺" name="Fenshuszong" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicpeizhiDTOs[i].zongFenshu" readonly="readonly"> + + <font> 棰� 鍒嗗�硷細 </font> <input label="缁撹绫诲瀷" name="Fenzhizong" style="width:30px;height:30px;border:0.5px solid #ccc;" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicpeizhiDTOs[i].zongFenzhi" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> <font>鍒嗭級 </font> </div> - <label class="text-left col-sm-1 col-md-1 control-label" style="font-weight:bold;width:5%;">棰� 鍒嗗�硷細</label> - <div class="col-sm-2 col-md-2" style="width:5%;"> - <input class="form-control" label="缁撹绫诲瀷" name="Fenzhizong" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicpeizhiDTOs[i].zongFenzhi" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> - </div> - <label class="text-left col-sm-1 col-md-1 control-label" style="font-weight:bold;">鍒嗭級</label> + <input type="hidden" name="Topictypeszong" value="@expertTestTopicpeizhiDTOs[i].Topictype" /> </div> </h5> diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Edit.cshtml index 28407fe..66c219a 100644 --- a/zhengcaioa/zhengcaioa/Views/SysCode/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/SysCode/Edit.cshtml @@ -27,7 +27,7 @@ , { - label: '鏄庣粏淇℃伅', name: 'SysCodeDtlList', labtype: 'panel', islist: true, button: true, data: [ + label: '', name: 'SysCodeDtlList', labtype: 'panel', islist: true, button: true, data: [ { label: 'ID', name: 'Id', labtype: 'txt', key: true, addvisible: false, editvisible: false, reg: '', ismust: true, colcount: 0.5 } , { label: '缂栧彿', name: 'CodeSn', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true, colcount: 0.5} , { label: '鍚嶇О', name: 'Comments', labtype: 'txt', addvisible: true, editvisible: true, reg: '', ismust: true, colcount: 0.5} -- Gitblit v1.9.1