From 7ed6bb82f1e4f7bad2252f6b968ec45adf860efc Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 六月 2021 15:18:22 +0800
Subject: [PATCH] 修改
---
zhengcaioa/zhengcaioa/Views/ExpertsApply/ExpertsApply.cshtml | 228 ++++++++++++++++++++++++++++++++------------------------
1 files changed, 131 insertions(+), 97 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/ExpertsApply/ExpertsApply.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertsApply/ExpertsApply.cshtml
index 1fef082..1c05072 100644
--- a/zhengcaioa/zhengcaioa/Views/ExpertsApply/ExpertsApply.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/ExpertsApply/ExpertsApply.cshtml
@@ -29,7 +29,7 @@
@*<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">
@@ -101,7 +101,7 @@
@*<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>*@
@@ -129,57 +129,57 @@
<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">
@@ -212,48 +212,9 @@
</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)
@@ -281,6 +242,47 @@
</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;">
@@ -373,8 +375,8 @@
@*<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;
@@ -432,10 +434,10 @@
<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" />
@@ -473,9 +475,9 @@
<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>
@@ -535,7 +537,9 @@
}
+ var Remark = document.getElementById("Remark");
+ Remark.style.height = Remark.scrollHeight + 'px';
var imgPath = "@Url.Content("~/UploadFile/")";
@@ -561,6 +565,7 @@
imgs.TitileImg = imgUploadCallback(files);
if (imgs.TitileImg !== "") {
$("#TitileCerti").val(imgPath + imgs.TitileImg);
+ $("#TitileCerti1").parent().show();
}
}
@@ -570,6 +575,7 @@
imgs.TitileImg1 = imgUploadCallback(files);
if (imgs.TitileImg1!== "") {
$("#TitileCerti1").val(imgPath + imgs.TitileImg1);
+ $("#TitileCerti2").parent().show();
}
}
@@ -579,6 +585,7 @@
imgs.TitileImg2 = imgUploadCallback(files);
if (imgs.TitileImg2 !== "") {
$("#TitileCerti2").val(imgPath + imgs.TitileImg2);
+ $("#TitileCerti3").parent().show();
}
}
@@ -588,6 +595,7 @@
imgs.TitileImg3 = imgUploadCallback(files);
if (imgs.TitileImg3 !== "") {
$("#TitileCerti3").val(imgPath + imgs.TitileImg3);
+ $("#TitileCerti4").parent().show();
}
}
@@ -597,6 +605,7 @@
imgs.TitileImg4 = imgUploadCallback(files);
if (imgs.TitileImg4 !== "") {
$("#TitileCerti4").val(imgPath + imgs.TitileImg4);
+ $("#TitileCerti5").parent().show();
}
}
@@ -606,6 +615,7 @@
imgs.TitileImg5 = imgUploadCallback(files);
if (imgs.TitileImg5 !== "") {
$("#TitileCerti5").val(imgPath + imgs.TitileImg5);
+ $("#TitileCerti6").parent().show();
}
}
@@ -615,6 +625,7 @@
imgs.TitileImg6 = imgUploadCallback(files);
if (imgs.TitileImg6 !== "") {
$("#TitileCerti6").val(imgPath + imgs.TitileImg6);
+ $("#TitileCerti7").parent().show();
}
}
@@ -624,6 +635,7 @@
imgs.TitileImg7 = imgUploadCallback(files);
if (imgs.TitileImg7 !== "") {
$("#TitileCerti7").val(imgPath + imgs.TitileImg7);
+ $("#TitileCerti8").parent().show();
}
}
@@ -633,6 +645,7 @@
imgs.TitileImg8 = imgUploadCallback(files);
if (imgs.TitileImg8 !== "") {
$("#TitileCerti8").val(imgPath + imgs.TitileImg8);
+ $("#TitileCerti9").parent().show();
}
}
@@ -642,6 +655,7 @@
imgs.TitileImg9 = imgUploadCallback(files);
if (imgs.TitileImg9 !== "") {
$("#TitileCerti9").val(imgPath + imgs.TitileImg9);
+ $("#TitileCerti10").parent().show();
}
}
@@ -658,6 +672,16 @@
$(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());
@@ -676,7 +700,7 @@
if (imgs.frontImg !== "") {
$("#frontImg img").each(function (i) {
$(this).attr("src", imgs.frontImg);
- });
+ });
}
if (imgs.BackImg !== "") {
@@ -690,60 +714,70 @@
$("#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 !== "") {
@@ -754,9 +788,9 @@
- $("#ReviewItem").chosen({
- search_contains: true,
- disable_search_threshold: 5
+
+ $("#ReviewItem").chosen({
+ hide_results_on_select: false
});
--
Gitblit v1.9.1