Browse Source

学籍卡修改

新疆警官学校中职
dao 1 month ago
parent
commit
cc1a0bbdda
1 changed files with 87 additions and 18 deletions
  1. +87
    -18
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml

+ 87
- 18
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/printxjk.cshtml View File

@@ -88,27 +88,28 @@
<td>姓名</td>
<td>@Model.StuName</td>
<td>性别</td>
<td id="GenderNo">@Model.GenderNo</td>
<td>@(Model.GenderNo == true ? "男" : "女")</td>
<td>出生日期</td>
<td>@(Model.Birthday.HasValue ? Model.Birthday.Value.ToShortDateString().Replace("/", "-") : "")</td>
<td rowspan="3"><img src="@Model.Photo" style="width: 80%;" alt="" /></td>
</tr>
<tr>
<td>民族</td>
<td id="NationalityNo">@Model.NationalityNo</td>
<td>政治面貌</td>
<td id="PartyFaceNo">@Model.PartyFaceNo</td>
<td>班级</td>
<td id="ClassNo">@Model.ClassNo</td>
</tr>
<tr>
<td>学号</td>
<td>@Model.StuNo</td>
<td>学制</td>
<td>@Model.EduSystem</td>
<td>学籍号</td>
<td>@Model.StuCode</td>
<td>班级名称</td>
<td id="ClassNo">@Model.ClassNo</td>
</tr>
<tr>
<td>民族</td>
<td id="NationalityNo">@Model.NationalityNo</td>
<td>政治面貌</td>
<td id="PartyFaceNo">@Model.PartyFaceNo</td>
<td>籍贯</td>
<td>@Model.RegionNo</td>
</tr>

<tr>
<td>年级</td>
<td>@Model.Grade</td>
@@ -117,6 +118,14 @@
<td>身份证号</td>
<td colspan="2">@Model.IdentityCardNo</td>
</tr>
<tr>
<td>入学年级</td>
<td>@Model.EnrolGrade</td>
<td>入学专业</td>
<td id="MajorNo1">@Model.EnrolMajorNo</td>
<td>入学班级</td>
<td colspan="2" id="ClassNo1">@Model.EnrolClassNo</td>
</tr>
<tr>
<td>入学年月</td>
<td>@(Model.EntranceDate.HasValue ? Model.EntranceDate.Value.ToShortDateString().Replace("/", "-") : "")</td>
@@ -126,15 +135,28 @@
<td colspan="2" id="StudyModality">@Model.StudyModality</td>
</tr>
<tr>
<td>家庭住址</td>
<td colspan="3">@Model.MailAddress</td>
<td>毕业时间</td>
<td colspan="2"><input type="text" style="width: 90% ;" /></td>
<td>省</td>
<td id="province">@Model.F_ProvinceId</td>
<td>市</td>
<td id="city">@Model.F_CityId</td>
<td>区</td>
<td colspan="2" id="area">@Model.F_CountyId</td>
</tr>
<tr>
<td>院系</td>
<td id="deptyx">@Model.DeptNo</td>
<td>班主任</td>
<td >@Model.ClassAdviser</td>
<td>毕业证书</td>
<td colspan="2" id="StudyModality">@Model.DiplomaNo</td>
</tr>
<tr>
<td>异动情况</td>
<td colspan="7"><input type="text" style="width: 90% ;" /></td>
<td>联系电话</td>
<td colspan="3">@Model.mobile</td>
<td>电子邮箱</td>
<td colspan="2">@Model.EMail</td>
</tr>

<tr>
<td colspan="8">学业成绩</td>
</tr>
@@ -201,12 +223,59 @@
});
return;
};
GetDataItemStr("usersexbit", "@Model.GenderNo.ToString().ToLower()", "#GenderNo");
function GetDataArea(code,valueStr, box,type) {
$(box).html("");
$.ajax({
url: "/LR_SystemModule/DataSource/GetDataTable?code=" + code,
async: false,
success: function (msg) {
if (valueStr != '') {
var msgObject = $.parseJSON(msg);
if (msgObject.code == 200) {
$.each(msgObject.data, function (i, item) {
if (type == 1) {
if (item["pcode"] == valueStr) {
$(box).html(item["pname"]);
return;
}
} else if (type == 2) {
if (item["ccode"] == valueStr) {
$(box).html(item["cname"]);
return;
}
} else if (type == 3) {
if (item["acode"] == valueStr) {
$(box).html(item["aname"]);
return;
}
} else if (type == 4) {
if (item["deptno"] == valueStr) {
$(box).html(item["deptname"]);
return;
}
}
});
} else {
$(box).html("");
}
}

},
});
return;
};
GetDataItemStr("EntranceWay", "@Model.EntranceWay", "#EntranceWay");
GetDataItemStr("National", "@Model.NationalityNo", "#NationalityNo");
GetDataItemStr("PolityStatus", "@Model.PartyFaceNo", "#PartyFaceNo");
GetDataItemStr("StudyModality", "@Model.StudyModality", "#StudyModality");
GetDataSourceStr("CdMajorInfo", "majorno", "majorname", "@Model.MajorNo", "#MajorNo");
GetDataSourceStr("CdMajorInfo", "majorno", "majorname", "@Model.EnrolMajorNo", "#MajorNo1");
GetDataSourceStr("bjsj", "classno", "classname", "@Model.ClassNo", "#ClassNo");
GetDataSourceStr("bjsj", "classno", "classname", "@Model.EnrolClassNo", "#ClassNo1");
GetDataArea("DIC_PROVINCE","@Model.F_ProvinceId", "#province",1);
GetDataArea("DIC_CITY", "@Model.F_CityId", "#city",2);
GetDataArea("DIC_AREA", "@Model.F_CountyId", "#area",3);
GetDataArea("CdDeptInfo", "@Model.DeptNo", "#deptyx",4);
$(window).load(function () {
var listData1 = "@Model.StuScoreClassOneList.ToJson()";
var listData = JSON.parse(listData1.replace(/&quot;/g, "\""));


Loading…
Cancel
Save