Browse Source

Merge branch '塔里木分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 塔里木分支

新疆影视学院高职
zhangli 2 years ago
parent
commit
ce15c10063
13 changed files with 50 additions and 24 deletions
  1. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlan/Index.js
  2. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/TeachForm.js
  4. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/TeachFormQZ.js
  5. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  6. +0
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml
  7. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  8. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Form.cshtml
  9. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Form.js
  10. +13
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Index.js
  11. +5
    -4
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs
  12. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassEntity.cs
  13. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs

+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlan/Index.js View File

@@ -258,7 +258,6 @@ var bootstrap = function ($, learun) {
key: value, key: value,
code: 'ExamType', code: 'ExamType',
callback: function (_data) { callback: function (_data) {
console.log(_data.text,"_data")
callback(_data.text); callback(_data.text);
} }
}); });


+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/Index.js View File

@@ -237,6 +237,18 @@ var bootstrap = function ($, learun) {
}); });
} }
}, },
{
label: "考试类型", name: "ExamType", width: 80, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'ExamType',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{ label: "合上班", name: "RelatedClassNo", width: 80, align: "left" }, { label: "合上班", name: "RelatedClassNo", width: 80, align: "left" },
{ label: "拟开教学班数", name: "LessonSortNo", width: 100, align: "left" }, { label: "拟开教学班数", name: "LessonSortNo", width: 100, align: "left" },
{ label: "备注", name: "Remark", width: 100, align: "left" }, { label: "备注", name: "Remark", width: 100, align: "left" },


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/TeachForm.js View File

@@ -25,6 +25,7 @@ var bootstrap = function ($, learun) {
var postData = $('#form').lrGetFormData(); var postData = $('#form').lrGetFormData();
var EmpNo = postData.EmpNo; var EmpNo = postData.EmpNo;
learun.postForm(top.$.rootUrl + '/EducationalAdministration/ClassPlanTeach/SetTeach', { keyValue: keyValue, EmpNo: EmpNo }, function () { learun.postForm(top.$.rootUrl + '/EducationalAdministration/ClassPlanTeach/SetTeach', { keyValue: keyValue, EmpNo: EmpNo }, function () {
learun.frameTab.currentIframe().refreshGirdData()
}); });
}; };
page.init(); page.init();


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassPlanTeach/TeachFormQZ.js View File

@@ -25,8 +25,9 @@ var bootstrap = function ($, learun) {
var postData = $('#form').lrGetFormData(); var postData = $('#form').lrGetFormData();
var EmpNo = postData.EmpNo; var EmpNo = postData.EmpNo;
learun.postForm(top.$.rootUrl + '/EducationalAdministration/ClassPlanTeach/QZSetTeach', { keyValue: keyValue, EmpNo: EmpNo }, function () { learun.postForm(top.$.rootUrl + '/EducationalAdministration/ClassPlanTeach/QZSetTeach', { keyValue: keyValue, EmpNo: EmpNo }, function () {
learun.frameTab.currentIframe().refreshGirdData()
}); });
}; };
page.init(); page.init();
} }

+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js View File

@@ -125,8 +125,8 @@ var bootstrap = function ($, learun) {
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true }); $('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true });
//初始学历 //初始学历
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true });
$('#CultureDegreeNo').lrDataItemSelect({ code: 'RecordInSchool', allowSearch: true });
$('#DegreeNo').lrDataItemSelect({ code: 'DegreeInSchool', allowSearch: true });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true });
$('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies', allowSearch: true }); $('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies', allowSearch: true });
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true }); $('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true });
@@ -137,11 +137,11 @@ var bootstrap = function ($, learun) {
$('#PostRank').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true }); $('#PostRank').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
//$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); //$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' });
$('#HighestRecord').lrDataItemSelect({ code: 'HighestEducation'});
$('#HighestRecord').lrDataItemSelect({ code: 'RecordInSchool'});


//$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWay' }); //$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWay' });
$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'HighestEducationAcquisitionMode' });
$('#InitialDegree').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' });
$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWayOfDegree' });
$('#InitialDegree').lrDataItemSelect({ code: 'DegreeInSchool'});
$('#ObtainWayOfInitialDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); $('#ObtainWayOfInitialDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' });
$('#ObtainWayOfHighestDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); $('#ObtainWayOfHighestDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' });
//$('#PositionLevel').lrDataItemSelect({ code: 'PositionLevel' }); //$('#PositionLevel').lrDataItemSelect({ code: 'PositionLevel' });


+ 0
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml View File

@@ -54,10 +54,6 @@
<div class="lr-form-item-title">政治面貌</div> <div class="lr-form-item-title">政治面貌</div>
<div id="PartyFaceNo"></div> <div id="PartyFaceNo"></div>
</div> </div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">文化程度</div>
<div id="HighestRecord"></div>
</div>
<div class="col-xs-6 lr-form-item"> <div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">人员身份</div> <div class="lr-form-item-title">人员身份</div>
<div id="CompilationCategory"></div> <div id="CompilationCategory"></div>


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js View File

@@ -50,7 +50,7 @@ var bootstrap = function ($, learun) {
//政治面貌 //政治面貌
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus', allowSearch: true }); $('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus', allowSearch: true });
//最高学历 //最高学历
$('#HighestRecord').lrDataItemSelect({ code: 'HighestEducation'});
//$('#HighestRecord').lrDataItemSelect({ code: 'HighestEducation'});




//民族 //民族
@@ -60,7 +60,7 @@ var bootstrap = function ($, learun) {
//是否审核 //是否审核
$('#CheckMark').lrDataItemSelect({ code: 'YesOrNoInt' }); $('#CheckMark').lrDataItemSelect({ code: 'YesOrNoInt' });
//学位 //学位
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' });
$('#DegreeNo').lrDataItemSelect({ code: 'DegreeInSchool' });
//职称 //职称
$('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' }); $('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' });


@@ -496,7 +496,7 @@ var bootstrap = function ($, learun) {
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', { learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'HighestEducation',
code: 'RecordInSchool',
callback: function (_data) { callback: function (_data) {
callback(_data.text); callback(_data.text);
} }
@@ -508,7 +508,7 @@ var bootstrap = function ($, learun) {
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', { learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'BCdDegree',
code: 'DegreeInSchool',
callback: function (_data) { callback: function (_data) {
callback(_data.text); callback(_data.text);
} }


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Form.cshtml View File

@@ -21,7 +21,7 @@
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="PM_EducationExperience" > <div class="col-xs-12 lr-form-item" data-table="PM_EducationExperience" >
<div class="lr-form-item-title">学位</div> <div class="lr-form-item-title">学位</div>
<input id="AcademicDegree" type="text" class="form-control" />
<div id="AcademicDegree"></div>
</div> </div>
<div class="col-xs-12 lr-form-item" data-table="PM_EducationExperience" > <div class="col-xs-12 lr-form-item" data-table="PM_EducationExperience" >
<div class="lr-form-item-title">学制</div> <div class="lr-form-item-title">学制</div>


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Form.js View File

@@ -16,7 +16,8 @@ var bootstrap = function ($, learun) {
page.initData(); page.initData();
}, },
bind: function () { bind: function () {
$('#Education').lrDataItemSelect({ code: 'CollegeType' });
$('#Education').lrDataItemSelect({ code: 'RecordInSchool' });
$('#AcademicDegree').lrDataItemSelect({ code: 'DegreeInSchool' });
$('#EducationalSystem').lrDataItemSelect({ code: 'EductionalSystme' }); $('#EducationalSystem').lrDataItemSelect({ code: 'EductionalSystme' });
}, },
initData: function () { initData: function () {


+ 13
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PM_EducationExperience/Index.js View File

@@ -122,14 +122,25 @@ var bootstrap = function ($, learun) {
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', { learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'CollegeType',
code: 'RecordInSchool',
callback: function (_data) {
callback(_data.text);
}
});
}
},
{
label: "学位", name: "AcademicDegree", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'DegreeInSchool',
callback: function (_data) { callback: function (_data) {
callback(_data.text); callback(_data.text);
} }
}); });
} }
}, },
{ label: "学位", name: "AcademicDegree", width: 100, align: "left" },
{ {
label: "学制", name: "EducationalSystem", width: 100, align: "left", label: "学制", name: "EducationalSystem", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {


+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ArrangeLessonTerm/ArrangeLessonTermService.cs View File

@@ -110,7 +110,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
} }
if (!queryParam["TeachClassNo"].IsEmpty()) if (!queryParam["TeachClassNo"].IsEmpty())
{ {
dp.Add("TeachClassNo", "%"+queryParam["TeachClassNo"].ToString(), DbType.String);
dp.Add("TeachClassNo", "%" + queryParam["TeachClassNo"].ToString(), DbType.String);
strSql.Append(" AND t.TeachClassNo like @TeachClassNo "); strSql.Append(" AND t.TeachClassNo like @TeachClassNo ");
} }
if (!queryParam["EmpNo"].IsEmpty()) if (!queryParam["EmpNo"].IsEmpty())
@@ -124,7 +124,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
strSql.Append(" AND t.ClassroomNo = @ClassroomNo "); strSql.Append(" AND t.ClassroomNo = @ClassroomNo ");
} }


return this.BaseRepository("CollegeMIS").FindList<ArrangeLessonTermEntity>(strSql.ToString(),dp);
return this.BaseRepository("CollegeMIS").FindList<ArrangeLessonTermEntity>(strSql.ToString(), dp);
} }
catch (Exception ex) catch (Exception ex)
{ {
@@ -871,7 +871,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
@"select m.name AS 'MajorName', m.number AS 'MajorNo', tt.EmpNo AS 'EmpNo', @"select m.name AS 'MajorName', m.number AS 'MajorNo', tt.EmpNo AS 'EmpNo',
tt.EmpName AS 'EmpName', sc.name AS 'F_SchoolName', sc.sid AS 'F_SchoolId', tt.EmpName AS 'EmpName', sc.name AS 'F_SchoolName', sc.sid AS 'F_SchoolId',
p.grade AS 'Grade', p.classhour AS 'classhour', curr.name AS 'LessonName', curr.number AS 'LessonNo', p.grade AS 'Grade', p.classhour AS 'classhour', curr.name AS 'LessonName', curr.number AS 'LessonNo',
s.year AS 'AcademicYearNo', s.number AS 'Semester' FROM tb_major_plan p
s.year AS 'AcademicYearNo', s.number AS 'Semester' ,cour.`assessmentmethod` AS 'ExamType' FROM tb_major_plan p
LEFT JOIN ( LEFT JOIN (
SELECT SELECT
t.teacher, t.teacher,
@@ -933,7 +933,8 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest
CheckMark = "1", CheckMark = "1",
TestMark = 0, TestMark = 0,
F_SchoolId = item.F_SchoolId, F_SchoolId = item.F_SchoolId,
State = 1
State = 1,
ExamType = item.ExamType
}; };
if (openLessonPlanData.Count(m => m.AcademicYearNo == insertData.AcademicYearNo && if (openLessonPlanData.Count(m => m.AcademicYearNo == insertData.AcademicYearNo &&
m.Semester == insertData.Semester && m.Semester == insertData.Semester &&


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassEntity.cs View File

@@ -121,6 +121,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
public int? StartWeek { get; set; } public int? StartWeek { get; set; }
[NotMapped] [NotMapped]
public int? EndWeek { get; set; } public int? EndWeek { get; set; }
[NotMapped]
public string ExamType { get; set; }
#endregion #endregion


#region 扩展操作 #region 扩展操作


+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachClass/TeachClassService.cs View File

@@ -31,8 +31,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{ {
var strSql = new StringBuilder(); var strSql = new StringBuilder();
strSql.Append("SELECT "); strSql.Append("SELECT ");
strSql.Append(@" * ");
strSql.Append(@" t.*,op.ExamType ");
strSql.Append(" FROM TeachClass t "); strSql.Append(" FROM TeachClass t ");
strSql.Append(" left join openlessonplan op on op.academicyearno=t.academicyearno and op.semester=t.semester and op.DeptNo=t.DeptNo and op.majorno =t.majorno ");
strSql.Append(" and op.grade =t.grade and op.lessonno =t.lessonno and op.F_SchoolId =t.F_SchoolId ");
strSql.Append(" WHERE 1=1 "); strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject(); var queryParam = queryJson.ToJObject();
// 虚拟参数 // 虚拟参数


Loading…
Cancel
Save