From 3234dc719e52495af72542d257f431ddd23814ec Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 1 Aug 2022 12:05:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=B1=8D=E5=BC=82=E5=8A=A8=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=96=B0=E4=B8=93=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuInfoBasicChange/Form.js | 8 ++++++++ .../Views/StuInfoBasicChange/FormView.js | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js index c8a74c3e3..c3d87fa46 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/Form.js @@ -47,6 +47,10 @@ var bootstrap = function ($, learun) { $(".NewSchool").find('.OutSchool').attr("isvalid", 'yes'); $(".NewSchool").find('.OutSchool').attr("checkexpession"); $(".NewSchool").find('.OutSchool').attr('readonly'); + $("#NewDeptNo").siblings('div').html($("#NewDeptNo").siblings('div').attr('data-title')); + $("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); + $("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); + $(".NewContainer").hide(); } else if (item.id === "03") { //复学 $(".NewSchool").hide(); $(".NewContainer").find('.contentDiv').removeAttr('readonly'); @@ -180,6 +184,10 @@ var bootstrap = function ($, learun) { $(".NewSchool").find('.OutSchool').attr("isvalid"); $(".NewSchool").find('.OutSchool').attr("checkexpession"); $(".NewSchool").find('.OutSchool').attr('readonly'); + $("#NewDeptNo").siblings('div').html($("#NewDeptNo").siblings('div').attr('data-title')); + $("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); + $("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); + $(".NewContainer").hide(); $('#OutSchool').val(''); } else if (data[id].StuChangeType == "03") { //转专业 $(".NewContainer").find('.contentDiv').removeAttr('readonly'); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js index ad41a4f25..505f2b6b0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicChange/FormView.js @@ -45,6 +45,10 @@ var bootstrap = function ($, learun) { $(".NewSchool").find('.OutSchool').attr("isvalid", 'yes'); $(".NewSchool").find('.OutSchool').attr("checkexpession"); $(".NewSchool").find('.OutSchool').attr('readonly'); + $("#NewDeptNo").siblings('div').html($("#NewDeptNo").siblings('div').attr('data-title')); + $("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); + $("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); + $(".NewContainer").hide(); } else if (item.id === "03") { //复学 $(".NewSchool").hide(); $(".NewContainer").find('.contentDiv').removeAttr('readonly'); @@ -179,6 +183,10 @@ var bootstrap = function ($, learun) { $(".NewSchool").find('.OutSchool').attr("isvalid", 'yes'); $(".NewSchool").find('.OutSchool').attr("checkexpession"); $(".NewSchool").find('.OutSchool').attr('readonly'); + $("#NewDeptNo").siblings('div').html($("#NewDeptNo").siblings('div').attr('data-title')); + $("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); + $("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); + $(".NewSchool").hide(); } else if (item.id === "03") { //复学 $(".NewSchool").hide(); $(".NewContainer").find('.contentDiv').removeAttr('readonly');