| | |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css?v=7" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | <script language="javascript" src="~/js/chosen_v1.8.7/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | |
| | | <div class="row"> |
| | | <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"> |
| | | <select id="InfoSource" class="form-control" name="InfoSource" data-placeholder="选择 序列 ..." style="font-weight:normal;"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in InfoSource) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.InfoSource)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="InfoSource" class="form-control" name="InfoSource" data-placeholder="选择 序列 ..." style="font-weight:normal;"> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in InfoSource) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.InfoSource)) |
| | | { |
| | | <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" id="Id" name="Id" value="@Model.Id" /> |
| | | </div>*@ |
| | | </select> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div>*@ |
| | | |
| | | |
| | | @*<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"> |
| | | <select id="ExpertType" class="form-control" name="expertType" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in expertType) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.ExpertType)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="ExpertType" class="form-control" name="expertType" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in expertType) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.ExpertType)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | </select> |
| | | |
| | | </div>*@ |
| | | </div>*@ |
| | | <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="Name" id="Name" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Name" autocomplete="off"> |
| | |
| | | |
| | | |
| | | </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"> |
| | | <select id="Level" class="form-control" name="Level" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in level) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Level)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </select> |
| | | |
| | | </div>*@ |
| | | |
| | | <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" grouptype="Vdata"> |
| | | <input class="form-control" label="身份证号" name="IdCard" id="IdCard" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.IdCard" autocomplete="off"> |
| | | </div> |
| | | |
| | | <label 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="CertiNumber" id="CertiNumber" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.CertiNumber"> |
| | | </div> |
| | | |
| | | |
| | | <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-11 col-md-11" grouptype="Vdata"> |
| | | <select id="ReviewItem" class="form-control" name="ReviewItem" multiple data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in ReviewItem) |
| | |
| | | |
| | | </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"> |
| | | <select id="Level" class="form-control" name="Level" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in level) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Level)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | </select> |
| | | |
| | | </div>*@ |
| | | |
| | | <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" grouptype="Vdata"> |
| | | <input class="form-control" label="身份证号" name="IdCard" id="IdCard" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.IdCard" autocomplete="off"> |
| | | </div> |
| | | |
| | | <label 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="CertiNumber" id="CertiNumber" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.CertiNumber"> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | |
| | | |
| | | |
| | | @*<div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> 客户资料</h5> |
| | | </div>*@ |
| | | <h5> <i class="fa fa-list"></i> 客户资料</h5> |
| | | </div>*@ |
| | | <style> |
| | | .divImg { |
| | | height: 80px; |
| | |
| | | <p>上传职称证书</p> |
| | | </div> |
| | | @*</div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-1 col-md-1 img-row"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-1 col-md-1 img-row"> |
| | | |
| | | </div>*@ |
| | | </div>*@ |
| | | <div class="col-sm-2 col-md-2 img-box"> |
| | | <div id="TitileImg5" class="TitileImg5"></div> |
| | | <input type="hidden" id="TitileCerti5" name="TitileCerti5" value="@Model.TitileCerti5" /> |
| | |
| | | |
| | | <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-6 col-md-6"> |
| | | <textarea id="Remark" name="Remark" style="overflow-y:hidden" cols="100" rows="10">@Model.Remark </textarea> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">专家简介</label> |
| | | <div class="col-sm-11 col-md-11"> |
| | | <textarea id="Remark" name="Remark" class="form-control bt" style="resize:none;overflow-y:hidden; min-height:80px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@Model.Remark </textarea> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | |
| | | } |
| | | |
| | | var Remark = document.getElementById("Remark"); |
| | | |
| | | Remark.style.height = Remark.scrollHeight + 'px'; |
| | | |
| | | var imgPath = "@Url.Content("~/UploadFile/")"; |
| | | |
| | |
| | | imgs.TitileImg = imgUploadCallback(files); |
| | | if (imgs.TitileImg !== "") { |
| | | $("#TitileCerti").val(imgPath + imgs.TitileImg); |
| | | $("#TitileCerti1").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg1 = imgUploadCallback(files); |
| | | if (imgs.TitileImg1!== "") { |
| | | $("#TitileCerti1").val(imgPath + imgs.TitileImg1); |
| | | $("#TitileCerti2").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg2 = imgUploadCallback(files); |
| | | if (imgs.TitileImg2 !== "") { |
| | | $("#TitileCerti2").val(imgPath + imgs.TitileImg2); |
| | | $("#TitileCerti3").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg3 = imgUploadCallback(files); |
| | | if (imgs.TitileImg3 !== "") { |
| | | $("#TitileCerti3").val(imgPath + imgs.TitileImg3); |
| | | $("#TitileCerti4").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg4 = imgUploadCallback(files); |
| | | if (imgs.TitileImg4 !== "") { |
| | | $("#TitileCerti4").val(imgPath + imgs.TitileImg4); |
| | | $("#TitileCerti5").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg5 = imgUploadCallback(files); |
| | | if (imgs.TitileImg5 !== "") { |
| | | $("#TitileCerti5").val(imgPath + imgs.TitileImg5); |
| | | $("#TitileCerti6").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg6 = imgUploadCallback(files); |
| | | if (imgs.TitileImg6 !== "") { |
| | | $("#TitileCerti6").val(imgPath + imgs.TitileImg6); |
| | | $("#TitileCerti7").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg7 = imgUploadCallback(files); |
| | | if (imgs.TitileImg7 !== "") { |
| | | $("#TitileCerti7").val(imgPath + imgs.TitileImg7); |
| | | $("#TitileCerti8").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg8 = imgUploadCallback(files); |
| | | if (imgs.TitileImg8 !== "") { |
| | | $("#TitileCerti8").val(imgPath + imgs.TitileImg8); |
| | | $("#TitileCerti9").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | imgs.TitileImg9 = imgUploadCallback(files); |
| | | if (imgs.TitileImg9 !== "") { |
| | | $("#TitileCerti9").val(imgPath + imgs.TitileImg9); |
| | | $("#TitileCerti10").parent().show(); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | $(function () { |
| | | |
| | | $("#TitileCerti1").parent().hide(); |
| | | $("#TitileCerti2").parent().hide(); |
| | | $("#TitileCerti3").parent().hide(); |
| | | $("#TitileCerti4").parent().hide(); |
| | | $("#TitileCerti5").parent().hide(); |
| | | $("#TitileCerti6").parent().hide(); |
| | | $("#TitileCerti7").parent().hide(); |
| | | $("#TitileCerti8").parent().hide(); |
| | | $("#TitileCerti9").parent().hide(); |
| | | $("#TitileCerti10").parent().hide(); |
| | | |
| | | imgs.frontImg = $.trim( $("#CertiFont").val() ); |
| | | imgs.BackImg = $.trim( $("#CertiBack").val()); |
| | |
| | | if (imgs.frontImg !== "") { |
| | | $("#frontImg img").each(function (i) { |
| | | $(this).attr("src", imgs.frontImg); |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | if (imgs.BackImg !== "") { |
| | |
| | | $("#TitileImg img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg); |
| | | }); |
| | | $("#TitileCerti1").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg1 !== "") { |
| | | $("#TitileImg1 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg1); |
| | | }); |
| | | $("#TitileCerti2").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg2 !== "") { |
| | | $("#TitileImg2 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg2); |
| | | }); |
| | | $("#TitileCerti3").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg3 !== "") { |
| | | $("#TitileImg3 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg3); |
| | | }); |
| | | $("#TitileCerti4").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg4 !== "") { |
| | | $("#TitileImg4 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg4); |
| | | }); |
| | | $("#TitileCerti5").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg5 !== "") { |
| | | $("#TitileImg5 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg5); |
| | | }); |
| | | $("#TitileCerti6").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg6 !== "") { |
| | | $("#TitileImg6 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg6); |
| | | }); |
| | | $("#TitileCerti7").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg7 !== "") { |
| | | $("#TitileImg7 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg7); |
| | | }); |
| | | $("#TitileCerti8").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg8 !== "") { |
| | | $("#TitileImg8 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg8); |
| | | }); |
| | | $("#TitileCerti9").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg9 !== "") { |
| | | $("#TitileImg9 img").each(function (i) { |
| | | $(this).attr("src", imgs.TitileImg9); |
| | | }); |
| | | $("#TitileCerti10").parent().show(); |
| | | } |
| | | |
| | | if (imgs.TitileImg10 !== "") { |
| | |
| | | |
| | | |
| | | |
| | | $("#ReviewItem").chosen({ |
| | | search_contains: true, |
| | | disable_search_threshold: 5 |
| | | |
| | | $("#ReviewItem").chosen({ |
| | | hide_results_on_select: false |
| | | }); |
| | | |
| | | |