| | |
| | | |
| | | List<TChallengeItemDTO> challengeItemDTOs = Model.challengeItemDTOs; |
| | | |
| | | List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs; |
| | | |
| | | |
| | | } |
| | | @{ |
| | |
| | | <div id="zhiyishixiang"> |
| | | @for (int i = 0; i < challengeItemDTOs.Count; i++) |
| | | { |
| | | <div class="zhiyishixiangitem"> |
| | | @if (challengeItemDTOs.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">质疑事项</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | @if (i == 0) |
| | | <div class="zhiyishixiangitem"> |
| | | @if (challengeItemDTOs.Count == 1) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('自定义质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">自定义质疑事项</button> |
| | | </div> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">新增法律依据</button> |
| | | </div> |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">新增质疑事项</button> |
| | | </div>*@ |
| | | } |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" 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'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <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-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | <label grouptype="Vdata" id="Questionlabel" class="text-right col-sm-1 col-md-1 control-label">质疑事项</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | } |
| | | else |
| | | @if (i == 0) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('新增质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">新增质疑事项</button> |
| | | </div> |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('自定义质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">自定义质疑事项</button> |
| | | </div> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo(this)" data-type="1">新增法律依据</button> |
| | | </div> |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">新增质疑事项</button> |
| | | </div>*@ |
| | | } |
| | | |
| | | </div> |
| | | |
| | | <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-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" 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'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">编辑质疑事项</label> |
| | | <div class="col-sm-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname@(i)" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeItemDTOs[i].Questionname"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="Evidentiallabel" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" 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'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | else |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | } |
| | | </div> |
| | | } |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | </div> |
| | | |
| | | <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"> |
| | | |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-left col-sm-2 col-md-2 control-label">四、与质疑事项相关的质疑请求</label> |
| | | </div> |
| | | |
| | | <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-4 col-md-4" grouptype="Vdata"> |
| | | <select id="RequestInfo" class="form-control" name="RequestInfo" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.RequestInfo)) |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | <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-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('@(challengeItemDTOs[i].Question)')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="Question" data-placeholder="选择 序列 ..." onchange="Questionchangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in question) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" /> |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="OpenWindow('新增质疑事项','98%','100%', '/SysCode/Editquestionzidingyi')" data-type="1">新增质疑事项</button> |
| | | </div> |
| | | |
| | | @*<div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addquestion(this)" data-type="1">新增质疑事项</button> |
| | | </div>*@ |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | <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-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname@(i)" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeItemDTOs[i].Questionname"> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </div> |
| | | <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-8 col-md-8"> |
| | | <textarea class="form-control bt" name="Evidential" title="事实依据" isempty="" maxlength="3500" 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'">@challengeItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < challengeItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (challengeItemDTOs[i].sysCodeDtls.Count == 1) |
| | | { |
| | | <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-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(challengeItemDTOs[i].sysCodeDtls[j].Classify3)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" /> |
| | | <div class="col-sm-1 col-md-1" grouptype="Vdata"> |
| | | <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | |
| | | </div> |
| | | } |
| | | } |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('@(challengeItemDTOs[i].Question)')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | } |
| | | </div> |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | </div> |
| | | |
| | | <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"> |
| | | |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-left col-sm-2 col-md-2 control-label">四、与质疑事项相关的质疑请求</label> |
| | | </div> |
| | | |
| | | <div id="xiangguanqingqiu"> |
| | | @for (int i = 0; i < challengeRequestInfoDTOs.Count; i++) |
| | | { |
| | | <div class="xiangguanqingqiuitem"> |
| | | @if (challengeRequestInfoDTOs.Count == 1) |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" id="RequestInfolabel" class="text-right col-sm-1 col-md-1 control-label">请求</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeRequestInfoDTOs[i].RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </div> |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | <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-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname@(i)" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeRequestInfoDTOs[i].RequestInfoname"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | else |
| | | { |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">请求@(i+1)</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(@i);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | @if (!item.CodeSn.Equals(challengeRequestInfoDTOs[i].RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addrequestinfo(this)" data-type="1">新增质疑请求</button> |
| | | </div> |
| | | |
| | | |
| | | } |
| | | |
| | | </div> |
| | | <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-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname@(i)" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@challengeRequestInfoDTOs[i].RequestInfoname"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | </div> |
| | | |
| | | } |
| | | </div> |
| | | |
| | | |
| | | <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"> |
| | | |
| | | <button type="button" class="addBtn" onclick="addxiangguanqingqiu(this)" data-type="1" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtnxiangguanqingqiu(this)" data-type="1" style="width:32px">-</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | parent._CloseTab1("/CooperOrder/EditZhiyihan"); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | else { |
| | |
| | | } |
| | | |
| | | function Questionchangge(i) { |
| | | var Question = document.getElementsByName("Question")[i]; |
| | | var sss = Question.value; |
| | | var index = Question.selectedIndex; // 选中索引 |
| | | var text = Question.options[index].text; // 选中文本 |
| | | $("#Questionname" + i).val(text); |
| | | |
| | | var sss = document.getElementsByName("Question")[i].value; |
| | | |
| | | var challengeItemId = document.getElementsByName("challengeItemId")[i].value; |
| | | $.ajax({ |
| | | type: "GET", |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | else { |
| | | falvyijuhtml += ` |
| | |
| | | |
| | | falvyijuhtml += ` </div> `; |
| | | |
| | | falvyijuhtml += ` |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addlawinfo('` + data.Remark2 + `')" data-type="1">新增法律依据</button> |
| | | </div> |
| | | </div> |
| | | `; |
| | | falvyiju.html(falvyijuhtml); |
| | | |
| | | |
| | |
| | | </div> |
| | | |
| | | </div> |
| | | <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-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑质疑事项" id="Questionname`+ sss + `" name="Questionname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">事实依据</label> |
| | |
| | | var addrequestinfo = function () { |
| | | OpenWindow("新增质疑请求", "98%", "90%", "/SysCode/Editrequestinfozidingyi/"); |
| | | } |
| | | var addlawinfo = function () { |
| | | OpenWindow("新增法律依据", "98%", "90%", "/SysCode/Editlawzidingyi/"); |
| | | var addlawinfo = function (question) { |
| | | OpenWindow("新增法律依据", "98%", "90%", "/SysCode/Editlawzidingyi?Classify1=" + question); |
| | | } |
| | | |
| | | |
| | | |
| | | //function PrintNumzichangge() { |
| | | // var sss = $('#PrintNumzi').val(); |
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | function delBtnxiangguanqingqiu(obj) { |
| | | var num = $(obj).data().type; |
| | | console.log(num) |
| | | |
| | | if (num == 1) { |
| | | if ($('#xiangguanqingqiu').find('.xiangguanqingqiuitem').length > 1) { |
| | | $('#xiangguanqingqiu').find('.xiangguanqingqiuitem:last').remove(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | function addxiangguanqingqiu(obj) { |
| | | var sss = document.getElementsByName("RequestInfos").length; |
| | | if (document.getElementsByName("RequestInfos").length == 1) { |
| | | |
| | | $('#RequestInfolabel').text("请求1"); |
| | | } |
| | | |
| | | $('#xiangguanqingqiu').append(` <div class="xiangguanqingqiuitem"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">请求`+ (sss+1) + `</label> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <select class="form-control" name="RequestInfos" data-placeholder="选择 序列 ..." onchange="RequestInfochangge(`+ sss + `);"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in request_info) |
| | | { |
| | | |
| | | <option value="@item.CodeSn" hassubinfo="true" > |
| | | @item.Comments |
| | | </option> |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" name="challengeItemId" value="`+ (guid()) + `" /> |
| | | </div> |
| | | |
| | | </div> |
| | | <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-8 col-md-8" grouptype="Vdata"> |
| | | <input class="form-control" label="编辑请求" id="RequestInfoname`+ sss + `" name="RequestInfoname" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value=""> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | `); |
| | | $("select" + sss).chosen(); |
| | | } |
| | | |
| | | |
| | | function RequestInfochangge(i) { |
| | | var RequestInfo = document.getElementsByName("RequestInfos")[i]; |
| | | /* var sss = RequestInfo.value;*/ |
| | | var index = RequestInfo.selectedIndex; // 选中索引 |
| | | var text = RequestInfo.options[index].text; // 选中文本 |
| | | $("#RequestInfoname" + i).val(text); |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | function dellawBtn(obj) { |
| | | |
| | | $(obj).parent().parent().remove(); |