|
@@ -8,6 +8,7 @@ var acceptClick; |
|
|
var keyValue = request('keyValue'); |
|
|
var keyValue = request('keyValue'); |
|
|
var isStudent = request('isStudent'); |
|
|
var isStudent = request('isStudent'); |
|
|
var Crowning = request('Crowning'); |
|
|
var Crowning = request('Crowning'); |
|
|
|
|
|
var editType = request('editType');//编辑类型:myclass我的班级页面的编辑按钮 |
|
|
var bootstrap = function ($, learun) { |
|
|
var bootstrap = function ($, learun) { |
|
|
"use strict"; |
|
|
"use strict"; |
|
|
var page = { |
|
|
var page = { |
|
@@ -16,6 +17,67 @@ var bootstrap = function ($, learun) { |
|
|
page.bind(); |
|
|
page.bind(); |
|
|
page.initData(); |
|
|
page.initData(); |
|
|
page.hide(); |
|
|
page.hide(); |
|
|
|
|
|
page.showPart(); |
|
|
|
|
|
}, |
|
|
|
|
|
showPart: function () { |
|
|
|
|
|
if (editType == "myclass") { |
|
|
|
|
|
$("#F_SchoolId").attr("readonly", "readonly"); |
|
|
|
|
|
$("#StuNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#StuCode").attr("readonly", "readonly"); |
|
|
|
|
|
$("#ksh").attr("readonly", "readonly"); |
|
|
|
|
|
$("#NoticeNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#IdentityCardNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#StuName").attr("readonly", "readonly"); |
|
|
|
|
|
$("#NationalityNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GenderNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#HealthStatus").attr("readonly", "readonly"); |
|
|
|
|
|
$("#PartyFaceNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#Birthday").attr("readonly", "readonly"); |
|
|
|
|
|
$("#HealthStatusNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#ResidenceNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#F_ProvinceId").attr("readonly", "readonly"); |
|
|
|
|
|
$("#F_CityId").attr("readonly", "readonly"); |
|
|
|
|
|
$("#F_CountyId").attr("readonly", "readonly"); |
|
|
|
|
|
$("#Photo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#EMail").attr("readonly", "readonly"); |
|
|
|
|
|
$("#BankLocation").attr("readonly", "readonly"); |
|
|
|
|
|
$("#PostalCode").attr("readonly", "readonly"); |
|
|
|
|
|
$("#FatherUnit").attr("readonly", "readonly"); |
|
|
|
|
|
$("#MatherUnit").attr("readonly", "readonly"); |
|
|
|
|
|
$("#Domicile").attr("readonly", "readonly"); |
|
|
|
|
|
$("#IsSingle").attr("readonly", "readonly"); |
|
|
|
|
|
$("#FatherName").attr("readonly", "readonly"); |
|
|
|
|
|
$("#MatherName").attr("readonly", "readonly"); |
|
|
|
|
|
$("#OneIdCardNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#TwoIdCardNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#OneDomicile").attr("readonly", "readonly"); |
|
|
|
|
|
$("#TwoDomicile").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GuardianName").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GuardianIdCardNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GuardianDomicile").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GuardianAddress").attr("readonly", "readonly"); |
|
|
|
|
|
$("#FamilyOriginNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#OverseasChineseNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#Grade").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GraduateNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#EduSystem").attr("readonly", "readonly"); |
|
|
|
|
|
$("#RegisterDate").attr("readonly", "readonly"); |
|
|
|
|
|
$("#StudyModality").attr("readonly", "readonly"); |
|
|
|
|
|
$("#DiplomaNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GraduateYear").attr("readonly", "readonly"); |
|
|
|
|
|
$("#DiplomaRemark").attr("readonly", "readonly"); |
|
|
|
|
|
$("#DeptNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#MajorNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#ClassNo").attr("readonly", "readonly"); |
|
|
|
|
|
$("#EntranceDate").attr("readonly", "readonly"); |
|
|
|
|
|
$("#JoinPartyDate").attr("readonly", "readonly"); |
|
|
|
|
|
$("#JoinLeagueDate").attr("readonly", "readonly"); |
|
|
|
|
|
$("#InSchoolAddress").attr("readonly", "readonly"); |
|
|
|
|
|
$("#InSchoolTelephone").attr("readonly", "readonly"); |
|
|
|
|
|
$("#QQ").attr("readonly", "readonly"); |
|
|
|
|
|
$("#GoodAt").attr("readonly", "readonly"); |
|
|
|
|
|
$("#Remark").attr("readonly", "readonly"); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
hide: function () { |
|
|
hide: function () { |
|
|
if (isStudent == "1") { |
|
|
if (isStudent == "1") { |
|
|