diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml index 8f011d1cd..99e50689b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml @@ -30,11 +30,7 @@ @@ -47,23 +43,16 @@
  • 民 族 : {{studentInfo.NationalityNo |nationalityNo}}
  • 政治面貌 : {{studentInfo.PartyFaceNo | partyFaceNo}}
  • 身份证号 : {{studentInfo.IdentityCardNo}}
  • -
  • E-mail : {{studentInfo.EMail}}
  • -
  • 户 籍 省 : {{studentInfo.F_ProvinceId | province}}
  • -
  • 户籍地市 : {{studentInfo.F_CityId | city}}
  • -
  • 户籍县区 : {{studentInfo.F_CountyId | area}}
  • -
  • 户籍地址 : {{studentInfo.FatherUnit}}
  • +
  • 户口所在地 : {{studentInfo.FatherUnit}}
  • 家庭情况
    @@ -72,25 +61,25 @@
    学籍信息
    联系方式
    @@ -110,12 +99,14 @@ }, methods: { getData: function () { - $.get('/UserCenter/GetStudentInfo?stuId=' + keyValue, function (ref) { - this.studentInfo = ref.data.userInfo; - this.baseInfo = ref.data.basicInfo; - this.headUrl = ref.data.userInfo.Photo; + $.get('/UserCenter/GetStudentInfo?stuId=' + keyValue, + function (ref) { + this.studentInfo = ref.data.userInfo; + this.baseInfo = ref.data.basicInfo; + this.headUrl = ref.data.userInfo.Photo; - }.bind(this), "json"); + }.bind(this), + "json"); }, getUrl: function () { var loginInfo = top.learun.clientdata.get(['userinfo']); @@ -133,26 +124,28 @@ }, company: function (value) { var result; - top.learun.clientdata.getAsync('custmerData', { - sync: true, - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'company', - key: value, - keyId: 'f_companyid', - callback: function (_data) { - result = _data.f_fullname; - } - }); + top.learun.clientdata.getAsync('custmerData', + { + sync: true, + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'company', + key: value, + keyId: 'f_companyid', + callback: function (_data) { + result = _data.f_fullname; + } + }); return result; }, graduateNo: function (value) { var result; - top.learun.clientdata.getAsync('dataItem', { - key: value, - code: 'CollegeType', - callback: function (_data) { - result = _data.text; - } - }); + top.learun.clientdata.getAsync('dataItem', + { + key: value, + code: 'CollegeType', + callback: function (_data) { + result = _data.text; + } + }); return result; }, date: function (value) { @@ -166,24 +159,38 @@ }, nationalityNo: function (value) { var result; - top.learun.clientdata.getAsync('dataItem', { - key: value, - code: 'National', - callback: function (_data) { - result = _data.text; - } - }); + top.learun.clientdata.getAsync('dataItem', + { + key: value, + code: 'National', + callback: function (_data) { + result = _data.text; + } + }); return result; }, partyFaceNo: function (value) { var result; - top.learun.clientdata.getAsync('dataItem', { - key: value, - code: 'BCdPartyFace', - callback: function (_data) { - result = _data.text; - } - }); + top.learun.clientdata.getAsync('dataItem', + { + key: value, + code: 'PolityStatus', + callback: function (_data) { + result = _data.text; + } + }); + return result; + }, + guardiantype: function (value) { + var result; + top.learun.clientdata.getAsync('dataItem', + { + key: value, + code: 'GuardianType', + callback: function (_data) { + result = _data.text; + } + }); return result; }, province: function (value) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js index 658244de8..7e6cf302f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js @@ -159,7 +159,7 @@ var bootstrap = function ($, learun) { } learun.layerForm({ id: 'form', - title: '编辑', + title: '查看', url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/FormView?keyValue=' + keyValue, width: 1162, height: 600, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/Index.cshtml index c7ae00fc7..cd74ce967 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/Index.cshtml @@ -31,6 +31,7 @@
    + 文件大小不能超过200M