From f4bdfa164bd3b61be58f0dd13b07ad92f5654632 Mon Sep 17 00:00:00 2001 From: liangkun Date: Wed, 29 Jun 2022 15:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E7=AE=A1=E7=90=86=E7=B3=BB?= =?UTF-8?q?=E4=B8=93=E4=B8=9A=E8=81=94=E5=8A=A8=E6=95=88=E6=9E=9C=E5=8E=BB?= =?UTF-8?q?=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/ClassInfo/Form.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js index dbb4686dd..5b35fe8d4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js @@ -16,19 +16,19 @@ var bootstrap = function ($, learun) { }, bind: function () { $('#DeptNo').lrDataSourceSelect({ - code: 'CdDeptInfo', value: 'deptno', text: 'deptname', - select: function (item) { - if (!!item) { - $('#MajorNo').lrselectRefresh({ - url: "/CdMajor/GetListByDeptNo", - param: { DeptNo: item.deptno }, - value: 'MajorNo', - text: 'MajorName' - }); - } - } + code: 'CdDeptInfo', value: 'deptno', text: 'deptname' + //select: function (item) { + // if (!!item) { + // $('#MajorNo').lrselectRefresh({ + // url: "/CdMajor/GetListByDeptNo", + // param: { DeptNo: item.deptno }, + // value: 'MajorNo', + // text: 'MajorName' + // }); + // } + //} }); - $('#MajorNo').lrselect(); + $('#MajorNo').lrDataSourceSelect({ code: 'CdMajor', value: 'majorno', text: 'majorname'}); $('#Grade').lrselect({ url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear', value: 'value',