Browse Source

h5修改个人信息页调整、登录页报错,api地址修改

中职版本
liangkun 4 years ago
parent
commit
ae22ae60e2
3 changed files with 24 additions and 25 deletions
  1. +6
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.html
  2. +17
    -18
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/login/login.js

+ 6
- 6
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.html View File

@@ -14,7 +14,7 @@
<label>民族</label>
<div id="NationalityNo"></div>
</div>
<div class="lr-form-row " data-table="StuInfoBasic">
<!--<div class="lr-form-row " data-table="StuInfoBasic">

<label>户口分类</label>
<div id="ResidenceNo"></div>
@@ -23,7 +23,7 @@

<label>照片</label>
<div id="Photo"></div>
</div>
</div>-->
<div class="lr-form-row " data-table="StuInfoBasic">

<label>联系电话</label>
@@ -74,7 +74,7 @@
<label>母亲电话</label>
<input id="MatherPhone" type="text" />
</div>
<div class="lr-form-row " data-table="StuInfoBasic">
<!--<div class="lr-form-row " data-table="StuInfoBasic">

<label>家庭出生</label>
<div id="FamilyOriginNo"></div>
@@ -98,15 +98,15 @@

<label>校内电话</label>
<input id="InSchoolTelephone" type="text" />
</div>
</div>-->
<div class="lr-form-row " data-table="StuInfoBasic">

<label>QQ</label>
<input id="QQ" type="text" />
</div>
<div class="lr-form-row " data-table="StuInfoBasic">
<!--<div class="lr-form-row " data-table="StuInfoBasic">

<label>特长</label>
<input id="GoodAt" type="text" />
</div>
</div>-->
</div>

+ 17
- 18
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoBasic/StuInfoBasic.js View File

@@ -19,7 +19,6 @@
data: { 'account': account },
async: false,
success: function (msg) {
console.log(msg);
if (msg.data) {
keyValue = msg.data.StuId;
} else {
@@ -168,23 +167,23 @@
code: 'ResidenceNo',
type: 'dataItem'
});
$page.find('#Photo').imagepicker();
$page.find('#FamilyOriginNo').lrpickerex({
type: 'sourceData',
code: 'BCdFamilyOrigin',
ivalue: 'familyoriginno',
itext: 'familyorigin'
});
$page.find('#OverseasChineseNo').lrpickerex({
type: 'sourceData',
code: 'BCdOverseasChinese',
ivalue: 'overseaschineseno',
itext: 'overseaschinesename'
});
$page.find('#GraduateNo').lrpickerex({
code: 'CollegeType',
type: 'dataItem'
});
//$page.find('#Photo').imagepicker();
//$page.find('#FamilyOriginNo').lrpickerex({
// type: 'sourceData',
// code: 'BCdFamilyOrigin',
// ivalue: 'familyoriginno',
// itext: 'familyorigin'
//});
//$page.find('#OverseasChineseNo').lrpickerex({
// type: 'sourceData',
// code: 'BCdOverseasChinese',
// ivalue: 'overseaschineseno',
// itext: 'overseaschinesename'
//});
//$page.find('#GraduateNo').lrpickerex({
// code: 'CollegeType',
// type: 'dataItem'
//});
}, destroy: function (pageinfo) {
$header = null;
keyValue = '';


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/login/login.js View File

@@ -3,7 +3,7 @@
headColor: '#ffffff',
init: function ($page) {
var path = config.webapi;
learun.http.get(path + "Learun/EducationalAdministration/EmpRegister/registerbutton",
learun.http.get(path + "Learun/adms/EducationalAdministration/EmpRegister/registerbutton",
{}, (res) => {
if (res.info == "True") {
var button = $page.find('#RegisterBtn');


Loading…
Cancel
Save