| | |
| | | |
| | | |
| | | |
| | | List<SysCodeDtl> request_info = ViewData["request_info"] as List<SysCodeDtl>; //质疑请求 |
| | | List<SysCodeDtl> question = ViewData["question"] as List<SysCodeDtl>; //质疑事项 |
| | | List<SysCodeDtl> request_info = ViewData["request_info"] as List<SysCodeDtl>; //投诉请求 |
| | | List<SysCodeDtl> question = ViewData["question"] as List<SysCodeDtl>; //投诉事项 |
| | | List<SysCodeDtl> law = ViewData["law"] as List<SysCodeDtl>; //法律依据 |
| | | |
| | | List<SysCodeDtl> shifou = ViewData["shifou"] as List<SysCodeDtl>; //法律依据 |
| | |
| | | |
| | | List<TComplaintGongyingshangDTO> complaintGongyingshangDTOs = Model.complaintGongyingshangDTOs; |
| | | |
| | | List<TChallengeletterDTO> ChallengeletterChosen = ViewData["ChallengeletterChosen"] as List<TChallengeletterDTO>; |
| | | List<TChallengeletterDTO> ChallengeletterChosen = ViewData["ChallengeletterChosen"] as List<TChallengeletterDTO>; |
| | | |
| | | List<TChallengeRequestInfoDTO> challengeRequestInfoDTOs = Model.challengeRequestInfoDTOs; |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">副本数量:<i class="red">*</i></label> |
| | | |
| | | <div class="col-sm-2 col-md-2"> |
| | | @*<input class="form-control" label="副本数量" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">*@ |
| | | <select id="PrintNumzi" class="form-control" name="PrintNumzi" data-placeholder="选择 序列 ..." onchange="PrintNumzichangge();"> |
| | | |
| | | @for (int i = 1; i < 6; i++) |
| | | { |
| | | @if (i != Model.PrintNum) |
| | | { |
| | | <option value="@i" hassubinfo="true"> |
| | | @i |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@i" hassubinfo="true" selected="selected"> |
| | | @i |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </select> |
| | | </div> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="副本数量" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> |
| | | @*<input class="form-control" list="PrintNumzi" label="副本数量" name="PrintNum" id="PrintNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> |
| | | <datalist id="PrintNumzi"> |
| | | @for (int i = 1; i < 6; i++) |
| | | { |
| | | |
| | | <option value="@i" hassubinfo="true"> |
| | | @i |
| | | </option> |
| | | |
| | | |
| | | } |
| | | </datalist>*@ |
| | | <div class="input-group"> |
| | | <input type="text" name="PrintNum" id="PrintNum" class="form-control" value="@Model.PrintNum" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"> |
| | | <div class="input-group-btn"> |
| | | <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"> |
| | | |
| | | <span class="caret"></span> |
| | | </button> |
| | | <ul class="dropdown-menu pull-right"> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =1; ">1</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =2; ">2</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =3; ">3</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =4; ">4</a></li> |
| | | <li><a href="javascript:document.getElementById('PrintNum').value =5; ">5</a></li> |
| | | </ul> |
| | | </div><!-- /btn-group --> |
| | | </div><!-- /input-group --> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <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"> |
| | | <select id="TsrId" class="form-control" name="TsrId" data-placeholder="选择 序列 ..." onchange="TsrIdchangge();"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ChallengeletterChosen) |
| | | { |
| | | @if (!item.Id.Equals(Model.TsrId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | @*<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"> |
| | | <select id="TsrId" class="form-control" name="TsrId" data-placeholder="选择 序列 ..." onchange="TsrIdchangge();"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ChallengeletterChosen) |
| | | { |
| | | @if (!item.Id.Equals(Model.TsrId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.OrderId |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | </select> |
| | | </div> |
| | | </select> |
| | | </div>*@ |
| | | |
| | | |
| | | |
| | |
| | | |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">被投诉人</button> |
| | | </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-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="被投诉人@(i+1)" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Respondent"> |
| | | <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-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="被投诉人@(i+1)" name="tousuRespondent" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@complaintRespondentDTOs[i].Respondent"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | @if (i==0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">被投诉人</button> |
| | | </div> |
| | | } |
| | | @if (i == 0) |
| | | { |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(this)" data-type="1">被投诉人</button> |
| | | </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">地址@(i+1)</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-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addxiangguangongyingshang(this)" data-type="1">相关供应商</button> |
| | | |
| | | <button type="button" class="addBtn" onclick="addbeitousuren(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 id="xiangguangongyingshang"> |
| | |
| | | </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="addxiangguangongyingshang(this)" data-type="2" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</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">项目名称<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <input class="form-control" label="项目名称" name="tousuXmName" id="tousuXmName" labtype="txt" addvisible="true" maxlength="100" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmName"> |
| | | |
| | | </div> |
| | |
| | | |
| | | <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"> |
| | | <input class="form-control" label="包号" name="tousuXmPackage" id="tousuXmPackage" labtype="txt" addvisible="true" maxlength="30" editvisible="true" reg="" ismust="true" type="text" value="@Model.XmPackage"> |
| | | <div class="input-group"> |
| | | <input type="text" name="tousuXmPackage" id="tousuXmPackage" class="form-control" value="@Model.XmPackage"> |
| | | <div class="input-group-btn"> |
| | | <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"> |
| | | |
| | | <span class="caret"></span> |
| | | </button> |
| | | <ul class="dropdown-menu pull-right"> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第1包')">第1包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第2包')">第2包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第3包')">第3包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第4包')">第4包</a></li> |
| | | <li><a href="javascript:$('#tousuXmPackage').val('第5包')">第5包</a></li> |
| | | </ul> |
| | | </div><!-- /btn-group --> |
| | | </div><!-- /input-group --> |
| | | </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">采购人名称<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <div class="col-sm-4 col-md-4" grouptype="Vdata"> |
| | | <input class="form-control" label="采购人名称" name="tousuPurchaserName" id="tousuPurchaserName" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@Model.PurchaserName"> |
| | | |
| | | </div> |
| | |
| | | <input class="form-control" label="被质疑主体" name="tousuQuestioned" id="tousuQuestioned" labtype="txt" addvisible="true" maxlength="300" editvisible="true" reg="" ismust="true" type="text" value="@Model.Questioned"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | |
| | | <div id="zhiyishixiang"> |
| | | @for (int i = 0; i < complaintItemDTOs.Count; i++) |
| | | { |
| | | @if (complaintItemDTOs.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(complaintItemDTOs[i].Question)) |
| | | <div class="zhiyishixiangitem"> |
| | | @if (complaintItemDTOs.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) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | @if (!item.CodeSn.Equals(complaintItemDTOs[i].Question)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <button type="button" class="addBtn" onclick="addzhiyishixiang(this)" data-type="1">投诉事项</button> |
| | | </select> |
| | | <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" /> |
| | | </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'">@complaintItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (complaintItemDTOs[i].sysCodeDtls.Count == 1) |
| | | @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">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </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> |
| | | |
| | | } |
| | | 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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </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(complaintItemDTOs[i].Question)) |
| | | { |
| | | <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="addzhiyishixiang(this)" data-type="1">投诉事项</button> |
| | | <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="@complaintItemDTOs[i].Questionname"> |
| | | |
| | | </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">事实依据@(i+1)</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'">@complaintItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (complaintItemDTOs[i].sysCodeDtls.Count == 1) |
| | | <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'">@complaintItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < complaintItemDTOs[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">法律依据</label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | @if (complaintItemDTOs[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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].Classify3)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].Classify3)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[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> |
| | | } |
| | | } |
| | | else |
| | | <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('@(complaintItemDTOs[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(complaintItemDTOs[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="complaintItemId" value="@complaintItemDTOs[i].Id" /> |
| | | </div> |
| | | @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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </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> |
| | | } |
| | | |
| | | </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="@complaintItemDTOs[i].Questionname"> |
| | | |
| | | </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'">@complaintItemDTOs[i].Evidential</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | <div id="falvyiju@(i)"> |
| | | @for (int j = 0; j < complaintItemDTOs[i].sysCodeDtls.Count; j++) |
| | | { |
| | | @if (complaintItemDTOs[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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].Classify3)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[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"> |
| | | 《@(complaintItemDTOs[i].sysCodeDtls[j].Classify3)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents |
| | | </div> |
| | | |
| | | <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].CodeSn" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[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('@(complaintItemDTOs[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="3" style="width:32px">+</button> |
| | | <button type="button" class="delBtn" onclick="delBtn(this)" data-type="3" 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) |
| | | <div id="xiangguanqingqiu"> |
| | | @for (int i = 0; i < challengeRequestInfoDTOs.Count; i++) |
| | | { |
| | | <div class="xiangguanqingqiuitem"> |
| | | @if (challengeRequestInfoDTOs.Count == 1) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.RequestInfo)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | <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> |
| | | |
| | | </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-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 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="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-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-remove"></i> <span class="bold">删除</span> |
| | | </a>*@ |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">打印</span> |
| | | <i class="glyphicon glyphicon-remove"></i> <span class="bold">删除</span> |
| | | </a>*@ |
| | | @*<a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">打印</span> |
| | | </a>*@ |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(1);" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></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" href="javascript:void(0)" onclick="savePosition(2);" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">提交</span> |
| | | </a> |
| | | <input type="hidden" id="Status" name="Status" value="0" /> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | |
| | | // 保存岗位信息 |
| | | var savePosition = function () { |
| | | var savePosition = function (Status) { |
| | | |
| | | if ($.trim($("#TsrName").val()) == '') { |
| | | toastr.warning("投诉人不能为空"); |
| | |
| | | toastr.warning("副本数量不能为空"); |
| | | return; |
| | | } |
| | | |
| | | $("#Status").val(Status); |
| | | |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('成功保存', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | if (Status == 1) { |
| | | _reloadPageData(); |
| | | } else { |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/CooperOrder/EditTousushu"); |
| | | } |
| | | } |
| | | |
| | | |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/CooperOrder/EditTousushu"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | |
| | | } |
| | | |
| | | function TsrIdchangge() { |
| | | var sss = $('#TsrId').val(); |
| | | var sss = $('#TsrId').val(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperOrder/getZhiyihan?id=" + sss , |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | function PrintNumzichangge() { |
| | | var sss = $('#PrintNumzi').val(); |
| | | $('#PrintNum').val(sss); |
| | | } |
| | | //function PrintNumzichangge() { |
| | | // var sss = $('#PrintNumzi').val(); |
| | | // $('#PrintNum').val(sss); |
| | | //} |
| | | |
| | | function Questionchangge(i) { |
| | | |
| | | var challengeItemId = document.getElementsByName("complaintItemId")[i].value; |
| | | 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; |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i, |
| | | url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i + "&challengeItemId=" + challengeItemId, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | |
| | | <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" > |
| | | 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | 《` + data.DataList[i].Classify3 + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | |
| | | </div> |
| | | |
| | | <input type="hidden" name="Law" value="` + data.DataList[i].CodeSn + `" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="` + data.Remark + `" /> |
| | | <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">法律依据 ` + (i + 1) + `</label> |
| | | <div class="col-sm-8 col-md-8" > |
| | | 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | 《` + data.DataList[i].Classify3 + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + ` |
| | | |
| | | </div> |
| | | |
| | | <input type="hidden" name="Law" value="` + data.DataList[i].CodeSn + `" /> |
| | | <input type="hidden" name="complaintItemIdlaw" value="` + data.Remark + `" /> |
| | | <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> |
| | | `; |
| | | } |
| | |
| | | } |
| | | |
| | | 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); |
| | | |
| | |
| | | |
| | | |
| | | function addtousushouquan(obj) { |
| | | $("#tousushouquan").show(); |
| | | $("#tousushouquan").toggle(); |
| | | |
| | | //var sss = document.getElementsByName("tousuShouquandaibiao").length; |
| | | |
| | |
| | | ssss = ssss.replaceAll("联系电话", "联系电话1"); |
| | | $('#xiangguangongyingshang').html(ssss); |
| | | } |
| | | |
| | | |
| | | |
| | | $('#xiangguangongyingshang').append(` <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">相关供应商`+ sss + `</label> |
| | |
| | | var sss = document.getElementsByName("Question").length; |
| | | if (document.getElementsByName("Question").length == 1) { |
| | | |
| | | $('#Questionlabel').text("质疑事项1"); |
| | | $('#Evidentiallabel').text("事实依据1"); |
| | | $('#Questionlabel').text("投诉事项1"); |
| | | $('#Evidentiallabel').text("事实依据"); |
| | | } |
| | | |
| | | $('#zhiyishixiang').append(` |
| | | $('#zhiyishixiang').append(` <div class="zhiyishixiangitem"> |
| | | <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> |
| | | |
| | | <input type="hidden" name="complaintItemId" 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="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">事实依据`+ (sss + 1) + `</label> |
| | | <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'"></textarea> |
| | | </div> |
| | |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | `); |
| | | $("select").chosen(); |
| | | } |
| | |
| | | var _reloadPageData = function () { |
| | | window.location = "/CooperOrder/EditTousushu?id=" + $("#OrderId").val(); |
| | | } |
| | | |
| | | var _reloadPageData1 = function (ReturnID) { |
| | | window.location = "/CooperOrder/EditTousushu?id=" + $("#OrderId").val() + "&ReturnID=" + ReturnID; |
| | | } |
| | | |
| | | var addquestion = function () { |
| | | OpenWindow("新增质疑事项", "98%", "90%", "/SysCode/Editquestion/"); |
| | | OpenWindow("新增投诉事项", "98%", "90%", "/SysCode/Editquestion/"); |
| | | } |
| | | |
| | | var addrequestinfo = function () { |
| | | OpenWindow("新增质疑请求", "98%", "90%", "/SysCode/Editrequestinfo/"); |
| | | OpenWindow("新增投诉请求", "98%", "90%", "/SysCode/Editrequestinfozidingyi/"); |
| | | } |
| | | |
| | | var addlawinfo = function (question) { |
| | | OpenWindow("新增法律依据", "98%", "90%", "/SysCode/Editlawzidingyi?Classify1=" + question); |
| | | } |
| | | $(document).ready(function () { |
| | | |
| | | |
| | | |
| | | |
| | | if ($("#tousuShouquandaibiao").val() != "") { |
| | | $("#tousushouquan").show(); |
| | |
| | | } |
| | | |
| | | |
| | | PrintNumzichangge(); |
| | | /* PrintNumzichangge();*/ |
| | | |
| | | }); |
| | | }); |
| | | |
| | | function delBtn(obj) { |
| | | var num = $(obj).data().type; |
| | | console.log(num) |
| | | |
| | | if (num == 1) { |
| | | if ($('#beitousuren').find('.clearfix').length > 3) { |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | $('#beitousuren').find('.clearfix:last').remove(); |
| | | } |
| | | |
| | | } else if (num == 2) { |
| | | if ($('#xiangguangongyingshang').find('.clearfix').length > 1) { |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | $('#xiangguangongyingshang').find('.clearfix:last').remove(); |
| | | } |
| | | }else if (num == 3) { |
| | | if ($('#zhiyishixiang').find('.zhiyishixiangitem').length > 1) { |
| | | $('#zhiyishixiang').find('.zhiyishixiangitem:last').remove(); |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | 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(); |
| | | |
| | | |
| | | } |
| | | |
| | | function guid() { |
| | | function S4() { |
| | | return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); |
| | | } |
| | | return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4()); |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |