@@ -1,21 +0,0 @@ | |||
{ | |||
"configurations": [ | |||
{ | |||
"inheritEnvironments": [ | |||
"msvc_x64" | |||
], | |||
"name": "x64-Debug", | |||
"includePath": [ | |||
"${env.INCLUDE}", | |||
"${workspaceRoot}\\**" | |||
], | |||
"defines": [ | |||
"WIN32", | |||
"_DEBUG", | |||
"UNICODE", | |||
"_UNICODE" | |||
], | |||
"intelliSenseMode": "windows-msvc-x64" | |||
} | |||
] | |||
} |
@@ -1,4 +1,4 @@ | |||
<div class="lr-form-container"> | |||
<div class="lr-form-container"> | |||
<!--<div class="lr-form-row " data-table="StuInfoBasic"> | |||
<label>出生日期</label> | |||
@@ -29,22 +29,6 @@ | |||
<label>联系电话</label> | |||
<input id="mobile" type="text" /> | |||
</div> | |||
<div class="lr-form-row " data-table="StuInfoBasic"> | |||
<label>开户银行</label> | |||
<div id="DepositBank"></div> | |||
</div> | |||
<div class="lr-form-row " data-table="StuInfoBasic"> | |||
<label>银行卡账号</label> | |||
<input id="BankCard" type="text" /> | |||
</div> | |||
<div class="lr-form-row " data-table="StuInfoBasic"> | |||
<label>开户行位置</label> | |||
<input id="BankLocation" type="text" /> | |||
</div> | |||
<div class="lr-form-row " data-table="StuInfoBasic"> | |||
<label>邮箱地址</label> | |||
@@ -1,208 +1,193 @@ | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) | |||
* Copyright (c) 2013-2018 北京泉江科技有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2020-01-19 10:46 | |||
* 描 述:学生信息 | |||
*/ | |||
(function() { | |||
var keyValue = ''; | |||
var $header = null; | |||
var titleText = ''; | |||
var page = { | |||
isScroll: true, | |||
init: function($page, param) { | |||
(function () { | |||
var keyValue = ''; | |||
var $header = null; | |||
var titleText = ''; | |||
var page = { | |||
isScroll: true, | |||
init: function ($page, param) { | |||
var account = learun.storage.get('logininfo').account; | |||
$.ajax({ | |||
type: 'POST', | |||
url: config.webapi + '/Statistics/getStuInfo', | |||
data: { | |||
'account': account | |||
}, | |||
async: false, | |||
success: function(msg) { | |||
if (msg.data) { | |||
keyValue = msg.data.StuId; | |||
} else { | |||
return false; | |||
} | |||
} | |||
}); | |||
//keyValue = param.keyValue; | |||
// 添加头部按钮列表 | |||
var _html = '\ | |||
var account = learun.storage.get('logininfo').account; | |||
$.ajax({ | |||
type: 'POST', | |||
url: config.webapi + '/Statistics/getStuInfo', | |||
data: { 'account': account }, | |||
async: false, | |||
success: function (msg) { | |||
if (msg.data) { | |||
keyValue = msg.data.StuId; | |||
} else { | |||
return false; | |||
} | |||
} | |||
}); | |||
//keyValue = param.keyValue; | |||
// 添加头部按钮列表 | |||
var _html = '\ | |||
<div class="lr-form-header-cancel" >取消</div>\ | |||
<div class="lr-form-header-btnlist" >\ | |||
<div class="lr-form-header-edit" ><i class="iconfont icon-edit" ></i></div>\ | |||
</div>\ | |||
<div class="lr-form-header-submit" >提交</div>'; | |||
$header = $page.parents('.f-page').find('.f-page-header'); | |||
$header.append(_html); | |||
// 取消 | |||
$header.find('.lr-form-header-cancel').on('tap', function() { | |||
learun.layer.confirm('确定要退出当前编辑?', function(_index) { | |||
if (_index === '1') { | |||
if (keyValue) { // 如果是编辑状态 | |||
learun.formblur(); | |||
$header.find('.lr-form-header-cancel').hide(); | |||
$header.find('.lr-form-header-submit').hide(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
$header.find('.f-page-title').text(titleText); | |||
$page.find('.lr-form-container').setFormRead(); | |||
} else { // 如果是新增状态 关闭当前页面 | |||
learun.nav.closeCurrent(); | |||
} | |||
} | |||
}, '智慧校园提示', ['取消', '确定']); | |||
}); | |||
// 编辑 | |||
$header.find('.lr-form-header-edit').on('tap', function() { | |||
$header.find('.lr-form-header-btnlist').hide(); | |||
$header.find('.lr-form-header-cancel').show(); | |||
$header.find('.lr-form-header-submit').show(); | |||
titleText = $header.find('.f-page-title').text(); | |||
$header.find('.f-page-title').text('编辑'); | |||
$page.find('.lr-form-container').setFormWrite(); | |||
}); | |||
// 更多 | |||
$header.find('.lr-form-header-more').on('tap', function() { | |||
learun.actionsheet({ | |||
id: 'more', | |||
data: [{ | |||
text: '删除', | |||
mark: true, | |||
event: function() { // 删除当前条信息 | |||
learun.layer.confirm('确定要删除该笔数据吗?', function( | |||
_index) { | |||
if (_index === '1') { | |||
learun.layer.loading(true, | |||
'正在删除该笔数据'); | |||
learun.httppost(config.webapi + | |||
'learun/adms/EducationalAdministration/StuInfoBasic/delete', | |||
keyValue, (data) => { | |||
learun.layer.loading( | |||
false); | |||
if (data) { // 删除数据成功 | |||
learun.nav | |||
.closeCurrent(); | |||
var prepage = learun | |||
.nav.getpage( | |||
'EducationalAdministration/StuInfoBasic' | |||
); | |||
prepage.grid | |||
.reload(); | |||
} | |||
}); | |||
} | |||
}, '智慧校园提示', ['取消', '确定']); | |||
} | |||
}], | |||
cancel: function() {} | |||
}); | |||
}); | |||
// 提交 | |||
$header.find('.lr-form-header-submit').on('tap', function() { | |||
// 获取表单数据 | |||
if (!$page.find('.lr-form-container').lrformValid()) { | |||
return false; | |||
} | |||
var _postData = {} | |||
_postData.keyValue = keyValue; | |||
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet()); | |||
learun.layer.loading(true, '正在提交数据'); | |||
learun.httppost(config.webapi + | |||
'learun/adms/EducationalAdministration/StuInfoBasic/save', _postData, ( | |||
data) => { | |||
learun.layer.loading(false); | |||
if (data) { // 表单数据保存成功 | |||
if (keyValue) { | |||
learun.layer.toast('保存数据成功!'); | |||
learun.formblur(); | |||
$header.find('.lr-form-header-cancel').hide(); | |||
$header.find('.lr-form-header-submit').hide(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
$header.find('.f-page-title').text(titleText); | |||
$page.find('.lr-form-container').setFormRead(); | |||
} else { // 如果是 | |||
learun.nav.closeCurrent(); | |||
} | |||
learun.nav.closeCurrent(); | |||
} | |||
}); | |||
}); | |||
$header = $page.parents('.f-page').find('.f-page-header'); | |||
$header.append(_html); | |||
// 取消 | |||
$header.find('.lr-form-header-cancel').on('tap', function () { | |||
learun.layer.confirm('确定要退出当前编辑?', function (_index) { | |||
if (_index === '1') { | |||
if (keyValue) {// 如果是编辑状态 | |||
learun.formblur(); | |||
$header.find('.lr-form-header-cancel').hide(); | |||
$header.find('.lr-form-header-submit').hide(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
$header.find('.f-page-title').text(titleText); | |||
$page.find('.lr-form-container').setFormRead(); | |||
} | |||
else {// 如果是新增状态 关闭当前页面 | |||
learun.nav.closeCurrent(); | |||
} | |||
} | |||
}, '智慧校园提示', ['取消', '确定']); | |||
}); | |||
// 编辑 | |||
$header.find('.lr-form-header-edit').on('tap', function () { | |||
$header.find('.lr-form-header-btnlist').hide(); | |||
$header.find('.lr-form-header-cancel').show(); | |||
$header.find('.lr-form-header-submit').show(); | |||
titleText = $header.find('.f-page-title').text(); | |||
$header.find('.f-page-title').text('编辑'); | |||
$page.find('.lr-form-container').setFormWrite(); | |||
}); | |||
// 更多 | |||
$header.find('.lr-form-header-more').on('tap', function () { | |||
learun.actionsheet({ | |||
id: 'more', | |||
data: [ | |||
{ | |||
text: '删除', | |||
mark: true, | |||
event: function () {// 删除当前条信息 | |||
learun.layer.confirm('确定要删除该笔数据吗?', function (_index) { | |||
if (_index === '1') { | |||
learun.layer.loading(true, '正在删除该笔数据'); | |||
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/delete', keyValue, (data) => { | |||
learun.layer.loading(false); | |||
if (data) {// 删除数据成功 | |||
learun.nav.closeCurrent(); | |||
var prepage = learun.nav.getpage('EducationalAdministration/StuInfoBasic'); | |||
prepage.grid.reload(); | |||
} | |||
}); | |||
} | |||
}, '智慧校园提示', ['取消', '确定']); | |||
} | |||
} | |||
], | |||
cancel: function () { | |||
} | |||
}); | |||
}); | |||
// 提交 | |||
$header.find('.lr-form-header-submit').on('tap', function () { | |||
// 获取表单数据 | |||
if (!$page.find('.lr-form-container').lrformValid()) { | |||
return false; | |||
} | |||
var _postData = {} | |||
_postData.keyValue = keyValue; | |||
_postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet()); | |||
learun.layer.loading(true, '正在提交数据'); | |||
learun.httppost(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/save', _postData, (data) => { | |||
learun.layer.loading(false); | |||
if (data) {// 表单数据保存成功 | |||
if (keyValue) { | |||
learun.layer.toast('保存数据成功!'); | |||
learun.formblur(); | |||
$header.find('.lr-form-header-cancel').hide(); | |||
$header.find('.lr-form-header-submit').hide(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
$header.find('.f-page-title').text(titleText); | |||
$page.find('.lr-form-container').setFormRead(); | |||
} | |||
else {// 如果是 | |||
learun.nav.closeCurrent(); | |||
} | |||
learun.nav.closeCurrent(); | |||
} | |||
}); | |||
}); | |||
page.bind($page, param); | |||
if (keyValue) { | |||
page.bind($page, param); | |||
if (keyValue) { | |||
// 添加编辑按钮 | |||
$page.find('.lr-form-container').setFormRead(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
// 获取表单数据 | |||
learun.layer.loading(true, '获取表单数据'); | |||
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/form', | |||
keyValue, (data) => { | |||
if (data) { | |||
for (var id in data) { | |||
if (data[id].length) { | |||
$page.find('#' + id).lrgridSet(data[id]); | |||
} else { | |||
$page.find('[data-table="' + id + '"]').lrformSet(data[id]); | |||
} | |||
} | |||
} | |||
learun.layer.loading(false); | |||
}); | |||
} else { | |||
$header.find('.lr-form-header-cancel').show(); | |||
$header.find('.lr-form-header-submit').show(); | |||
} | |||
}, | |||
bind: function($page, param) { | |||
//$page.find('#Birthday').lrdate({ | |||
// type: 'date' | |||
//}); | |||
//$page.find('#PartyFaceNo').lrpickerex({ | |||
// code: 'BCdPartyFace', | |||
// type: 'sourceData', | |||
// ivalue: 'partyfaceno', | |||
// itext: 'partyface' | |||
//}); | |||
$page.find('#NationalityNo').lrpickerex({ | |||
code: 'National', | |||
type: 'dataItem' | |||
}); | |||
// $page.find('#ResidenceNo').lrpickerex({ | |||
// code: 'ResidenceNo', | |||
// type: 'dataItem', | |||
// }); | |||
$page.find('#DepositBank').lrpickerex({ | |||
code: 'DepositBank', | |||
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 = ''; | |||
} | |||
}; | |||
return page; | |||
})(); | |||
// 添加编辑按钮 | |||
$page.find('.lr-form-container').setFormRead(); | |||
$header.find('.lr-form-header-btnlist').show(); | |||
// 获取表单数据 | |||
learun.layer.loading(true, '获取表单数据'); | |||
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/form', keyValue, (data) => { | |||
if (data) { | |||
for (var id in data) { | |||
if (data[id].length) { | |||
$page.find('#' + id).lrgridSet(data[id]); | |||
} | |||
else { | |||
$page.find('[data-table="' + id + '"]').lrformSet(data[id]); | |||
} | |||
} | |||
} | |||
learun.layer.loading(false); | |||
}); | |||
} | |||
else { | |||
$header.find('.lr-form-header-cancel').show(); | |||
$header.find('.lr-form-header-submit').show(); | |||
} | |||
}, | |||
bind: function ($page, param) { | |||
//$page.find('#Birthday').lrdate({ | |||
// type: 'date' | |||
//}); | |||
//$page.find('#PartyFaceNo').lrpickerex({ | |||
// code: 'BCdPartyFace', | |||
// type: 'sourceData', | |||
// ivalue: 'partyfaceno', | |||
// itext: 'partyface' | |||
//}); | |||
//$page.find('#NationalityNo').lrpickerex({ | |||
// code: 'National', | |||
// type: 'dataItem' | |||
//}); | |||
$page.find('#ResidenceNo').lrpickerex({ | |||
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' | |||
//}); | |||
}, destroy: function (pageinfo) { | |||
$header = null; | |||
keyValue = ''; | |||
} | |||
}; | |||
return page; | |||
})(); |
@@ -1,157 +1,142 @@ | |||
<div class="welT">基本信息</div> | |||
<div class="welBox"> | |||
<input type="hidden" name="ID" value="" id="ID" /> | |||
<div class="welText"> | |||
学号 | |||
<span id="StuNo"></span> | |||
</div> | |||
<div class="welText"> | |||
准考证号 | |||
<span id="zkzh"></span> | |||
</div> | |||
<div class="welText"> | |||
考生号 | |||
<span id="ksh"></span> | |||
</div> | |||
<div class="welText"> | |||
姓名 <span id="StuName"></span> | |||
</div> | |||
<div class="welText"> | |||
性别 | |||
<span id="GenderNo"></span> | |||
</div> | |||
<div class="welText"> | |||
系别 | |||
<span id="DeptNo"></span> | |||
</div> | |||
<div class="welText"> | |||
专业 | |||
<span id="MajorNo"></span> | |||
</div> | |||
<div class="welText"> | |||
班级 | |||
<span id="ClassNo"></span> | |||
</div> | |||
<div class="welText"> | |||
身份证号 | |||
<span id="IdentityCardNo"></span> | |||
</div> | |||
<div class="welText"> | |||
出生日期 | |||
<span id="Birthday"></span> | |||
</div> | |||
<div class="welText"> | |||
户口类别 | |||
<span id="ResidenceNo"></span> | |||
</div> | |||
<div class="welText"> | |||
政治面貌 | |||
<span id="PartyFaceNo"></span> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">采集照片信息</div> | |||
<div class="welBox"> | |||
<input type="hidden" id="Photo" value="" /> | |||
<input id="files" type="file" accept="image/*"> | |||
<div class="welImgAdd"> | |||
<!--<div id="welImgBtn">上传照片</div>--> | |||
<img id="PhotoImg" src="" alt=""> | |||
</div> | |||
<!--<div class="welText">说明:近期两寸免冠正面彩色照小于100K</div>--> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">自然信息</div> | |||
<div class="welBox"> | |||
<div class="welInput"> | |||
<span>籍贯</span> | |||
<input id="RegionNo" type="text" placeholder="请填写籍贯" /> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">通讯信息</div> | |||
<div class="welBox"> | |||
<div class="welInput"> | |||
<span>家庭住址</span> | |||
<input id="FamilyAddress" type="text" placeholder="按XX省XX市XX县XX街道填写" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>联系电话</span> | |||
<input id="telephone" type="text" placeholder="请填写联系电话(重要)" /> | |||
</div> | |||
<div class="welcome"> | |||
<div class="welT">基本信息</div> | |||
<div class="welBox"> | |||
<input type="hidden" name="ID" value="" id="ID" /> | |||
<div class="welText"> | |||
学号 | |||
<span id="StuNo"></span> | |||
</div> | |||
<div class="welText"> | |||
准考证号 | |||
<span id="zkzh"></span> | |||
</div> | |||
<div class="welText"> | |||
考生号 | |||
<span id="ksh"></span> | |||
</div> | |||
<div class="welText"> | |||
姓名 <span id="StuName"></span> | |||
</div> | |||
<div class="welText"> | |||
性别 | |||
<span id="GenderNo"></span> | |||
</div> | |||
<div class="welText"> | |||
系别 | |||
<span id="DeptNo"></span> | |||
</div> | |||
<div class="welText"> | |||
专业 | |||
<span id="MajorNo"></span> | |||
</div> | |||
<div class="welText"> | |||
班级 | |||
<span id="ClassNo"></span> | |||
</div> | |||
<div class="welText"> | |||
身份证号 | |||
<span id="IdentityCardNo"></span> | |||
</div> | |||
<div class="welText"> | |||
出生日期 | |||
<span id="Birthday"></span> | |||
</div> | |||
<div class="welText"> | |||
户口类别 | |||
<span id="ResidenceNo"></span> | |||
</div> | |||
<div class="welText"> | |||
政治面貌 | |||
<span id="PartyFaceNo"></span> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">采集照片信息</div> | |||
<div class="welBox"> | |||
<input type="hidden" id="Photo" value="" /> | |||
<input id="files" type="file" accept="image/*"> | |||
<div class="welImgAdd"> | |||
<!--<div id="welImgBtn">上传照片</div>--> | |||
<img id="PhotoImg" src="" alt=""> | |||
</div> | |||
<!--<div class="welText">说明:近期两寸免冠正面彩色照小于100K</div>--> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">自然信息</div> | |||
<div class="welBox"> | |||
<div class="welInput"> | |||
<span>籍贯</span> | |||
<input id="RegionNo" type="text" placeholder="请填写籍贯" /> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">通讯信息</div> | |||
<div class="welBox"> | |||
<div class="welInput"> | |||
<span>家庭住址</span> | |||
<input id="FamilyAddress" type="text" placeholder="按XX省XX市XX县XX街道填写" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>联系电话</span> | |||
<input id="telephone" type="text" placeholder="请填写联系电话(重要)" /> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">家庭成员(直系家属) <i title="家庭成员(直系家属)" class="iconfont icon-add"></i></div> | |||
<div class="welBox" id="StuInfoFreshFamily"> | |||
<div class="welCon"> | |||
<div class="welInput"> | |||
<span>姓名</span> | |||
<input type="text" name="Name" placeholder="请填写姓名" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>与本人关系</span> | |||
<input type="text" name="Relation" placeholder="请填写与本人关系" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>性别</span> | |||
<input type="text" name="Sex" placeholder="请填写性别" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>年龄</span> | |||
<input type="text" name="Age" placeholder="请填写年龄" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>政治面貌</span> | |||
<input type="text" name="Politicy" placeholder="请填写政治面貌" /> | |||
</div> | |||
<div class="welDel"> <i class="iconfont icon-move"></i> </div> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">紧急联系人 <i title="紧急联系人" class="iconfont icon-add"></i></div> | |||
<div class="welBox" id="StuInfoFreshEmergePeople"> | |||
<div class="welCon"> | |||
<div class="welInput"> | |||
<span>姓名</span> | |||
<input type="text" name="Name" placeholder="请填写姓名" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>与本人关系</span> | |||
<input type="text" name="Relation" placeholder="请填写与本人关系" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>手机号码</span> | |||
<input type="text" name="Telephone" placeholder="请填写手机号码" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>座机号码</span> | |||
<input type="text" name="Mobile" placeholder="请填写座机号码" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>联系地址</span> | |||
<input type="text" name="Address" placeholder="请填写联系地址" /> | |||
</div> | |||
<div class="welDel"> <i class="iconfont icon-move"></i> </div> | |||
</div> | |||
</div> | |||
<div data-table="StuInfoBasic"> | |||
<span>基础信息</span> | |||
<div class="welInput"> | |||
<span>开户银行</span> | |||
<!-- <input id="DepositBank" type="text" placeholder="请选择开户银行" /> --> | |||
<div id="DepositBank" placeholder="请选择开户银行"></div> | |||
</div> | |||
<div class="welInput "> | |||
<span>银行卡账号</span> | |||
<input id="BankCard" type="text" placeholder="请填写银行卡号"/> | |||
</div> | |||
<div class="welInput "> | |||
<span>开户行位置</span> | |||
<input id="BankLocation" type="text" placeholder="请填写开户行位置" /> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">家庭成员(直系家属) <i title="家庭成员(直系家属)" class="iconfont icon-add"></i></div> | |||
<div class="welBox" id="StuInfoFreshFamily"> | |||
<div class="welCon"> | |||
<div class="welInput"> | |||
<span>姓名</span> | |||
<input type="text" name="Name" placeholder="请填写姓名" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>与本人关系</span> | |||
<input type="text" name="Relation" placeholder="请填写与本人关系" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>性别</span> | |||
<input type="text" name="Sex" placeholder="请填写性别" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>年龄</span> | |||
<input type="text" name="Age" placeholder="请填写年龄" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>政治面貌</span> | |||
<input type="text" name="Politicy" placeholder="请填写政治面貌" /> | |||
</div> | |||
<div class="welDel"> <i class="iconfont icon-move"></i> </div> | |||
</div> | |||
</div> | |||
<div class="welLine"></div> | |||
<div class="welT">紧急联系人 <i title="紧急联系人" class="iconfont icon-add"></i></div> | |||
<div class="welBox" id="StuInfoFreshEmergePeople"> | |||
<div class="welCon"> | |||
<div class="welInput"> | |||
<span>姓名</span> | |||
<input type="text" name="Name" placeholder="请填写姓名" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>与本人关系</span> | |||
<input type="text" name="Relation" placeholder="请填写与本人关系" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>手机号码</span> | |||
<input type="text" name="Telephone" placeholder="请填写手机号码" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>座机号码</span> | |||
<input type="text" name="Mobile" placeholder="请填写座机号码" /> | |||
</div> | |||
<div class="welInput"> | |||
<span>联系地址</span> | |||
<input type="text" name="Address" placeholder="请填写联系地址" /> | |||
</div> | |||
<div class="welDel"> <i class="iconfont icon-move"></i> </div> | |||
</div> | |||
</div> | |||
<div class="btnBox"> | |||
<button id="saveBtn" type="button" class="lr-btn-primary lr-btn-block">保存</button> | |||
</div> | |||
</div> | |||
<div class="btnBox"> | |||
<button id="saveBtn" type="button" class="lr-btn-primary lr-btn-block">保存</button> | |||
</div> | |||
</div> |
@@ -1,375 +1,338 @@ | |||
(function() { | |||
var colDataItemArr = ['GenderNo']; | |||
var colDataItemCode = ['usersex']; | |||
var colDataItemBank = ['DepositBank']; | |||
(function () { | |||
var colDataItemArr = ['GenderNo']; | |||
var colDataItemCode = ['usersex']; | |||
var page = { | |||
isScroll: false, | |||
init: function ($page) { | |||
// 获取登录者信息 | |||
var userinfo = learun.storage.get('userinfo'); | |||
var page = { | |||
isScroll: false, | |||
init: function($page) { | |||
// 获取登录者信息 | |||
var userinfo = learun.storage.get('userinfo'); | |||
//增加联系人 | |||
$page.find('.welT i').on('tap', function () { | |||
var FamilyHtml = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<div name="Relation" value=""></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>性别</span>' + | |||
'<div name="Sex" value=""></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>年龄</span>' + | |||
'<input type="text" name="Age" placeholder="请填写年龄" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>政治面貌</span>' + | |||
'<div name="Politicy" value=""></div>' + | |||
'</div>' + | |||
//'<div class="welInput">' + | |||
//'<span>身份证号</span>' + | |||
//'<input type="text" name="IdCard" placeholder="请填写身份证号" />' + | |||
//'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div>'; | |||
var EmergePeopleHtml = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<input type="text" name="Relation" placeholder="请填写与本人关系" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>手机号码</span>' + | |||
'<input type="text" name="Telephone" placeholder="请填写手机号码" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>座机号码</span>' + | |||
'<input type="text" name="Mobile" placeholder="请填写座机号码" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>联系地址</span>' + | |||
'<input type="text" name="Address" placeholder="请填写联系地址" />' + | |||
'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div>'; | |||
//增加联系人 | |||
$page.find('.welT i').on('tap', function() { | |||
var FamilyHtml = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<div name="Relation" value=""></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>性别</span>' + | |||
'<div name="Sex" value=""></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>年龄</span>' + | |||
'<input type="text" name="Age" placeholder="请填写年龄" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>政治面貌</span>' + | |||
'<div name="Politicy" value=""></div>' + | |||
'</div>' + | |||
//'<div class="welInput">' + | |||
//'<span>身份证号</span>' + | |||
//'<input type="text" name="IdCard" placeholder="请填写身份证号" />' + | |||
//'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div>'; | |||
var EmergePeopleHtml = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<input type="text" name="Relation" placeholder="请填写与本人关系" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>手机号码</span>' + | |||
'<input type="text" name="Telephone" placeholder="请填写手机号码" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>座机号码</span>' + | |||
'<input type="text" name="Mobile" placeholder="请填写座机号码" />' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>联系地址</span>' + | |||
'<input type="text" name="Address" placeholder="请填写联系地址" />' + | |||
'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div>'; | |||
var obj = $(this).parent().next(); | |||
if ($(this).attr('title') == '紧急联系人') { | |||
obj.append(EmergePeopleHtml); | |||
} else { | |||
obj.append(FamilyHtml); | |||
} | |||
var obj = $(this).parent().next(); | |||
if ($(this).attr('title') == '紧急联系人') { | |||
obj.append(EmergePeopleHtml); | |||
} else { | |||
obj.append(FamilyHtml); | |||
} | |||
page.bind($page); | |||
}) | |||
//删除联系人 | |||
$page.find('.welBox').on('tap', '.welDel i', function () { | |||
var parents = $(this).parents('.welCon') | |||
learun.layer.confirm('是否删除此联系人?', function (_index) { | |||
_index == 1 ? parents.remove() : '' | |||
}, '提示', ['否', '是']); | |||
}) | |||
//上传照片 | |||
var inputNode = $page.find('#files'); | |||
$page.find('#welImgBtn').on('tap', function () { | |||
var evt = new MouseEvent("click", { | |||
bubbles: false, | |||
cancelable: true, | |||
view: window | |||
}); | |||
inputNode[0].dispatchEvent(evt); | |||
}) | |||
inputNode.on('change', function () { | |||
previewFile(); | |||
}); | |||
page.bind($page); | |||
}) | |||
//删除联系人 | |||
$page.find('.welBox').on('tap', '.welDel i', function() { | |||
var parents = $(this).parents('.welCon') | |||
learun.layer.confirm('是否删除此联系人?', function(_index) { | |||
_index == 1 ? parents.remove() : '' | |||
}, '提示', ['否', '是']); | |||
}) | |||
//上传照片 | |||
var inputNode = $page.find('#files'); | |||
$page.find('#welImgBtn').on('tap', function() { | |||
var evt = new MouseEvent("click", { | |||
bubbles: false, | |||
cancelable: true, | |||
view: window | |||
}); | |||
inputNode[0].dispatchEvent(evt); | |||
}) | |||
inputNode.on('change', function() { | |||
previewFile(); | |||
}); | |||
//数据绑定 | |||
learun.layer.loading(true, '获取数据中'); | |||
learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, (data) => { | |||
if (data) { | |||
//基本信息 | |||
for (var id in data['StuInfoFreshEntity']) { | |||
var dom = $('#' + id)[0]; | |||
if (dom) { | |||
if (dom.tagName.toLowerCase() == "span") { | |||
$('#' + id).html(data['StuInfoFreshEntity']['' + id + '']); | |||
//数据字典 | |||
if ($.inArray(id, colDataItemArr) >= 0) { | |||
learun.clientdata.get('dataItem', { | |||
code: colDataItemCode[$.inArray(id, colDataItemArr)], | |||
key: data['StuInfoFreshEntity']['' + id + ''], | |||
callback: function (data, op) { | |||
$('#' + id).html(data.text); | |||
} | |||
}); | |||
} | |||
if (id == "PartyFaceNo") { | |||
learun.clientdata.get('sourceData', { | |||
code: 'BCdPartyFace', | |||
key: data['StuInfoFreshEntity']['' + id + ''], | |||
keyId: 'partyfaceno', | |||
callback: function (data, op) { | |||
$("#PartyFaceNo").html(data.partyface); | |||
} | |||
}); | |||
} | |||
} else if (dom.tagName.toLowerCase() == "input") { | |||
$('#' + id).val(data['StuInfoFreshEntity']['' + id + '']); | |||
} | |||
} | |||
} | |||
$("#Birthday").html($("#Birthday").text().substr(0, $("#Birthday").text().indexOf(' '))); | |||
//头像 | |||
$('#PhotoImg').attr('src', config.web + data['Url']); | |||
//家庭成员 | |||
$('#StuInfoFreshFamily').html(""); | |||
$.each(data['StuInfoFreshFamilyList'], function (i, item) { | |||
var html = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" value="' + item.Name + '"/>' + | |||
'</div >' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
//'<input type="text" name="Relation" placeholder="请填写与本人关系" value="' + item.Relation + '"/>' + | |||
'<div name="Relation" value="' + item.Relation + '"></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>性别</span>' + | |||
//'<input type="text" name="Sex" placeholder="请填写性别" value="' + item.Sex + '"/>' + | |||
'<div name="Sex" value="' + item.Sex + '"></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>年龄</span>' + | |||
'<input type="text" name="Age" placeholder="请填写年龄" value="' + item.Age + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>政治面貌</span>' + | |||
//'<input type="text" name="Politicy" placeholder="请填写政治面貌" value="' + item.Politicy + '"/>' + | |||
'<div name="Politicy" value="' + item.Politicy + '"/>' + | |||
'</div>' + | |||
//'<div class="welInput">' + | |||
//'<span>身份证号</span>' + | |||
//'<input type="text" name="IdCard" placeholder="请填写身份证号" value="' + item.IdCard + '"/>' + | |||
//'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div> '; | |||
$('#StuInfoFreshFamily').append(html); | |||
//数据绑定 | |||
learun.layer.loading(true, '获取数据中'); | |||
learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, ( | |||
data) => { | |||
if (data) { | |||
//基本信息 | |||
for (var id in data['StuInfoFreshEntity']) { | |||
var dom = $('#' + id)[0]; | |||
if (dom) { | |||
if (dom.tagName.toLowerCase() == "span") { | |||
$('#' + id).html(data['StuInfoFreshEntity']['' + id + '']); | |||
//数据字典 | |||
if ($.inArray(id, colDataItemArr) >= 0) { | |||
learun.clientdata.get('dataItem', { | |||
code: colDataItemCode[$.inArray(id, | |||
colDataItemArr)], | |||
key: data['StuInfoFreshEntity']['' + id + ''], | |||
callback: function(data, op) { | |||
$('#' + id).html(data.text); | |||
} | |||
}); | |||
} | |||
if (id == "PartyFaceNo") { | |||
learun.clientdata.get('sourceData', { | |||
code: 'BCdPartyFace', | |||
key: data['StuInfoFreshEntity']['' + id + ''], | |||
keyId: 'partyfaceno', | |||
callback: function(data, op) { | |||
$("#PartyFaceNo").html(data.partyface); | |||
} | |||
}); | |||
} | |||
// if (id == "#DepositBank") { | |||
// learun.clientdata.get('sourceData', { | |||
// code: 'DepositBank', | |||
// key: data['StuInfoFreshEntity']['' + id + ''], | |||
// keyId: 'DepositBank', | |||
// callback: function(data, op) { | |||
// $("#DepositBank").html(data.text); | |||
// } | |||
// }); | |||
// } | |||
} else if (dom.tagName.toLowerCase() == "input") { | |||
$('#' + id).val(data['StuInfoFreshEntity']['' + id + '']); | |||
} | |||
} | |||
} | |||
$("#Birthday").html($("#Birthday").text().substr(0, $("#Birthday").text() | |||
.indexOf(' '))); | |||
$("#DepositBank").lrpickerSet(data.StuInfoFreshEntity.DepositBank); | |||
//头像 | |||
$('#PhotoImg').attr('src', config.web + data['Url']); | |||
//家庭成员 | |||
$('#StuInfoFreshFamily').html(""); | |||
$.each(data['StuInfoFreshFamilyList'], function(i, item) { | |||
var html = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" value="' + | |||
item.Name + '"/>' + | |||
'</div >' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
//'<input type="text" name="Relation" placeholder="请填写与本人关系" value="' + item.Relation + '"/>' + | |||
'<div name="Relation" value="' + item.Relation + '"></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>性别</span>' + | |||
//'<input type="text" name="Sex" placeholder="请填写性别" value="' + item.Sex + '"/>' + | |||
'<div name="Sex" value="' + item.Sex + '"></div>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>年龄</span>' + | |||
'<input type="text" name="Age" placeholder="请填写年龄" value="' + | |||
item.Age + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>政治面貌</span>' + | |||
//'<input type="text" name="Politicy" placeholder="请填写政治面貌" value="' + item.Politicy + '"/>' + | |||
'<div name="Politicy" value="' + item.Politicy + '"/>' + | |||
'</div>' + | |||
//'<div class="welInput">' + | |||
//'<span>身份证号</span>' + | |||
//'<input type="text" name="IdCard" placeholder="请填写身份证号" value="' + item.IdCard + '"/>' + | |||
//'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div> '; | |||
$('#StuInfoFreshFamily').append(html); | |||
}); | |||
}); | |||
//紧急联系人 | |||
$('#StuInfoFreshEmergePeople').html(""); | |||
$.each(data['StuInfoFreshEmergePeopleList'], function (i, item) { | |||
var html = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" value="' + item.Name + '"/>' + | |||
'</div >' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<input type="text" name="Relation" placeholder="请填写与本人关系" value="' + item.Relation + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>手机号码</span>' + | |||
'<input type="text" name="Telephone" placeholder="请填写手机号码" value="' + item.Telephone + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>座机号码</span>' + | |||
'<input type="text" name="Mobile" placeholder="请填写座机号码" value="' + item.Mobile + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>联系地址</span>' + | |||
'<input type="text" name="Address" placeholder="请填写联系地址" value="' + item.Address + '"/>' + | |||
'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div > '; | |||
$('#StuInfoFreshEmergePeople').append(html); | |||
//紧急联系人 | |||
$('#StuInfoFreshEmergePeople').html(""); | |||
$.each(data['StuInfoFreshEmergePeopleList'], function(i, item) { | |||
var html = '<div class="welCon"><form class="welConForm">' + | |||
'<div class="welInput">' + | |||
'<span>姓名</span>' + | |||
'<input type="text" name="Name" placeholder="请填写姓名" value="' + | |||
item.Name + '"/>' + | |||
'</div >' + | |||
'<div class="welInput">' + | |||
'<span>与本人关系</span>' + | |||
'<input type="text" name="Relation" placeholder="请填写与本人关系" value="' + | |||
item.Relation + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>手机号码</span>' + | |||
'<input type="text" name="Telephone" placeholder="请填写手机号码" value="' + | |||
item.Telephone + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>座机号码</span>' + | |||
'<input type="text" name="Mobile" placeholder="请填写座机号码" value="' + | |||
item.Mobile + '"/>' + | |||
'</div>' + | |||
'<div class="welInput">' + | |||
'<span>联系地址</span>' + | |||
'<input type="text" name="Address" placeholder="请填写联系地址" value="' + | |||
item.Address + '"/>' + | |||
'</div>' + | |||
'<div class="welDel"> <i class="iconfont icon-move"></i> </div>' + | |||
'</form></div > '; | |||
$('#StuInfoFreshEmergePeople').append(html); | |||
}); | |||
}); | |||
page.bind($page); | |||
learun.layer.loading(false); | |||
page.bind($page); | |||
learun.layer.loading(false); | |||
} | |||
} | |||
}); | |||
}); | |||
//保存 | |||
$page.find('#saveBtn').on('tap', function () { | |||
var postdata = { | |||
ID: $('#ID').val(), | |||
RegionNo: $('#RegionNo').val(), | |||
FamilyAddress: $('#FamilyAddress').val(), | |||
telephone: $('#telephone').val(), | |||
Photo: $('#Photo').val(), | |||
StuInfoFreshFamilyEntities: family(), | |||
StuInfoFreshEmergePeopleEntities: emergePeople() | |||
}; | |||
learun.layer.loading(true, '正在提交数据'); | |||
learun.httpget(config.webapi + "StuInfoFresh/saveStuInfoFresh", postdata, (data) => { | |||
learun.layer.loading(false); | |||
if (data) { | |||
learun.layer.toast('保存成功'); | |||
location.reload(); | |||
} | |||
}); | |||
//保存 | |||
$page.find('#saveBtn').on('tap', function() { | |||
var postdata = { | |||
ID: $('#ID').val(), | |||
RegionNo: $('#RegionNo').val(), | |||
FamilyAddress: $('#FamilyAddress').val(), | |||
telephone: $('#telephone').val(), | |||
Photo: $('#Photo').val(), | |||
DepositBank: $('#DepositBank').lrpickerGet(), | |||
BankCard: $('#BankCard').val(), | |||
BankLocation: $('#BankLocation').val(), | |||
StuInfoFreshFamilyEntities: family(), | |||
StuInfoFreshEmergePeopleEntities: emergePeople() | |||
}; | |||
console.log(postdata) | |||
// return | |||
learun.layer.loading(true, '正在提交数据'); | |||
learun.httpget(config.webapi + "StuInfoFresh/saveStuInfoFresh", postdata, ( | |||
data) => { | |||
learun.layer.loading(false); | |||
if (data) { | |||
learun.layer.toast('保存成功'); | |||
location.reload(); | |||
} | |||
}); | |||
}); | |||
}); | |||
}, | |||
bind: function ($page) { | |||
//性别 | |||
$.each($page.find('[name="Sex"]'), function (i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'usersex', | |||
type: 'dataItem' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
//政治面貌 | |||
$.each($page.find('[name="Politicy"]'), function (i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'BCdPartyFace', | |||
type: 'sourceData', | |||
ivalue: 'partyfaceno', | |||
itext: 'partyface' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
//与本人关系 | |||
$.each($page.find('#StuInfoFreshFamily').find('[name="Relation"]'), function (i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'FamilyRelation', | |||
type: 'dataItem' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
} | |||
}; | |||
//数据处理 | |||
function family() { | |||
var list = new Array(); | |||
$.each($('#StuInfoFreshFamily').children('.welCon'), function (i, item) { | |||
var o = $(item).children(".welConForm").serializeObject(); | |||
o.Sex = $(item).find('[name="Sex"]').lrpickerGet(); | |||
o.Politicy = $(item).find('[name="Politicy"]').lrpickerGet(); | |||
o.Relation = $(item).find('[name="Relation"]').lrpickerGet(); | |||
list.push(o); | |||
}); | |||
return list; | |||
} | |||
function emergePeople() { | |||
var list = new Array(); | |||
$.each($('#StuInfoFreshEmergePeople').children('.welCon'), function (i, item) { | |||
var o = $(item).children(".welConForm").serializeObject(); | |||
list.push(o); | |||
}); | |||
return list; | |||
} | |||
}, | |||
bind: function($page) { | |||
//性别 | |||
$.each($page.find('[name="Sex"]'), function(i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'usersex', | |||
type: 'dataItem' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
$page.find('#DepositBank').lrpickerex({ | |||
code: 'DepositBank', | |||
type: 'dataItem' | |||
}); | |||
//政治面貌 | |||
$.each($page.find('[name="Politicy"]'), function(i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'BCdPartyFace', | |||
type: 'sourceData', | |||
ivalue: 'partyfaceno', | |||
itext: 'partyface' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
//与本人关系 | |||
$.each($page.find('#StuInfoFreshFamily').find('[name="Relation"]'), function(i, item) { | |||
$page.find(item).lrpickerex({ | |||
code: 'FamilyRelation', | |||
type: 'dataItem' | |||
}); | |||
//赋值 | |||
$(item).lrpickerSet($(item).attr('value')); | |||
}); | |||
} | |||
}; | |||
//数据处理 | |||
function family() { | |||
var list = new Array(); | |||
$.each($('#StuInfoFreshFamily').children('.welCon'), function(i, item) { | |||
var o = $(item).children(".welConForm").serializeObject(); | |||
o.Sex = $(item).find('[name="Sex"]').lrpickerGet(); | |||
o.DepositBank = $(item).find('[name="DepositBank"]').lrpickerGet(); | |||
o.Politicy = $(item).find('[name="Politicy"]').lrpickerGet(); | |||
o.Relation = $(item).find('[name="Relation"]').lrpickerGet(); | |||
list.push(o); | |||
}); | |||
return list; | |||
} | |||
$.fn.serializeObject = function () { | |||
var o = {}; | |||
var a = this.serializeArray(); | |||
$.each(a, function () { | |||
if (o[this.name]) { | |||
if (!o[this.name].push) { | |||
o[this.name] = [o[this.name]]; | |||
} | |||
o[this.name].push(this.value || ''); | |||
} else { | |||
o[this.name] = this.value || ''; | |||
} | |||
}); | |||
return o; | |||
} | |||
function emergePeople() { | |||
var list = new Array(); | |||
$.each($('#StuInfoFreshEmergePeople').children('.welCon'), function(i, item) { | |||
var o = $(item).children(".welConForm").serializeObject(); | |||
list.push(o); | |||
}); | |||
return list; | |||
} | |||
//上传照片 | |||
function previewFile() { | |||
var html = ''; | |||
var file = document.querySelector('input[type=file]').files[0]; | |||
var reader = new FileReader(); | |||
reader.onloadend = function () { | |||
//$('#PhotoImg').attr('src', reader.result); | |||
var postData = { | |||
Base64Url: reader.result | |||
} | |||
learun.httppost(config.webapi + "StuInfoFresh/savePhoto", postData, (data) => { | |||
if (data) { | |||
$('#Photo').val(data.AnnexesFileId); | |||
$('#PhotoImg').attr('src', config.web + data.Url); | |||
} else { | |||
learun.layer.toast('采集照片信息失败!'); | |||
} | |||
}); | |||
} | |||
if (file) { | |||
reader.readAsDataURL(file); | |||
} | |||
} | |||
$.fn.serializeObject = function() { | |||
var o = {}; | |||
var a = this.serializeArray(); | |||
$.each(a, function() { | |||
if (o[this.name]) { | |||
if (!o[this.name].push) { | |||
o[this.name] = [o[this.name]]; | |||
} | |||
o[this.name].push(this.value || ''); | |||
} else { | |||
o[this.name] = this.value || ''; | |||
} | |||
}); | |||
return o; | |||
} | |||
//产生随机数 | |||
function GenerateRandom() { | |||
var retstr = ""; | |||
var date = new Date(); | |||
retstr = date.getFullYear().toString() + "-" + date.getMonth().toString() + "-" + date.getDate().toString() + "-" + date.getUTCHours().toString() + "-" + date.getUTCMinutes() + "-" + date.getUTCSeconds().toString(); | |||
var Num = ""; | |||
for (var i = 0; i < 6; i++) { | |||
Num += Math.floor(Math.random() * 10); | |||
} | |||
return retstr + Num; | |||
} | |||
//上传照片 | |||
function previewFile() { | |||
var html = ''; | |||
var file = document.querySelector('input[type=file]').files[0]; | |||
var reader = new FileReader(); | |||
reader.onloadend = function() { | |||
//$('#PhotoImg').attr('src', reader.result); | |||
var postData = { | |||
Base64Url: reader.result | |||
} | |||
learun.httppost(config.webapi + "StuInfoFresh/savePhoto", postData, (data) => { | |||
if (data) { | |||
$('#Photo').val(data.AnnexesFileId); | |||
$('#PhotoImg').attr('src', config.web + data.Url); | |||
} else { | |||
learun.layer.toast('采集照片信息失败!'); | |||
} | |||
}); | |||
} | |||
if (file) { | |||
reader.readAsDataURL(file); | |||
} | |||
} | |||
//产生随机数 | |||
function GenerateRandom() { | |||
var retstr = ""; | |||
var date = new Date(); | |||
retstr = date.getFullYear().toString() + "-" + date.getMonth().toString() + "-" + date.getDate() | |||
.toString() + "-" + date.getUTCHours().toString() + "-" + date.getUTCMinutes() + "-" + date | |||
.getUTCSeconds() | |||
.toString(); | |||
var Num = ""; | |||
for (var i = 0; i < 6; i++) { | |||
Num += Math.floor(Math.random() * 10); | |||
} | |||
return retstr + Num; | |||
} | |||
return page; | |||
return page; | |||
})(); |
@@ -284,7 +284,6 @@ | |||
<Compile Include="Areas\AppManager\AppManagerAreaRegistration.cs" /> | |||
<Compile Include="Areas\AppManager\Controllers\DTImgController.cs" /> | |||
<Compile Include="Areas\AppManager\Controllers\FunctionManagerController.cs" /> | |||
<Compile Include="Areas\Ask\Controllers\Ask_MainOfTeacherController.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\AssetManagementSystemAreaRegistration.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\Controllers\AllocationController.cs" /> | |||
<Compile Include="Areas\AssetManagementSystem\Controllers\AssReportController.cs" /> | |||
@@ -390,9 +389,6 @@ | |||
<Compile Include="Areas\LR_Desktop\Controllers\DTListController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\DTSettingController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\DTTargetController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\MessageRindController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\SSO_Drag_CardSortManageController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\SSO_Drag_DesktopManageController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\Controllers\WeChatDevelopController.cs" /> | |||
<Compile Include="Areas\LR_Desktop\LR_DesktopAreaRegistration.cs" /> | |||
<Compile Include="Areas\LR_DisplayBoard\Controllers\LR_KBConfigInfoController.cs" /> | |||
@@ -476,12 +472,10 @@ | |||
<Compile Include="Areas\Permission\PermissionAreaRegistration.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\EpidemicReportController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\EpidemicSituationCopyController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingNoticeController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_PerformanceTrackingController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_QualityObjectivesController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MP_ManagementPlanController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\OvertimeApplicationController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchMentController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\StuSaverecordController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TimeTableController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\PersonnelManagementAreaRegistration.cs" /> | |||
@@ -798,13 +792,12 @@ | |||
<Compile Include="Areas\EducationalAdministration\Controllers\Sys_InformationPushController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuLeaveManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\EATalentTrainController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\Sys_DefaultPwdConfigController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingSignInRecordController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\MeetingMinutesController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResearchGERController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ReleaseMettingController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\StudyGuideController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\ResourceImportController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TeacherLeaveManagementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TeacherCancelLeaveManagementController.cs" /> | |||
<Compile Include="Areas\PersonnelManagement\Controllers\TeacherOvertimeManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuCancelLeaveManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuDisciplineManagementController.cs" /> | |||
<Compile Include="Areas\EducationalAdministration\Controllers\StuCancelDisciplineManagementController.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" /> | |||
@@ -821,14 +814,6 @@ | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Form.css" /> | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Form.js" /> | |||
<Content Include="Areas\AppManager\Views\FunctionManager\Index.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.js" /> | |||
<Content Include="Areas\Ask\Views\Ask_Question\AnalysisIndex.js" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Form.js" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Allocation\Index.js" /> | |||
@@ -969,9 +954,13 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\StuAttendanceLeave\IndexInStudent.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuAttendance\IndexOfUnrecord.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuAttendance\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\FormView.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelExam\Detail.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\CheckIndex.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\CheckForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuConsumption\IndexForStudent.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuConsumption\IndexForTeacher.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\FormView.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuEnroll\AmountForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuGrant\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuGrant\Index.js" /> | |||
@@ -1016,8 +1005,8 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\SelectUserForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\IssueForm.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\ReadList.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormParty.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormReadDocument.js" /> | |||
@@ -1256,12 +1245,6 @@ | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\App\AppIndex.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\PC\PcIndex.css" /> | |||
<Content Include="Areas\LR_Desktop\Views\DTSetting\PC\PcIndex.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\MessageRind\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\MessageRind\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_CardSortManage\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_CardSortManage\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Index.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\WeChatDevelop\Form.js" /> | |||
<Content Include="Areas\LR_Desktop\Views\WeChatDevelop\Index.js" /> | |||
<Content Include="Areas\LR_DisplayBoard\Views\LR_KBConfigInfo\ChartForm.css" /> | |||
@@ -1298,9 +1281,6 @@ | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\PersonalFiling.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\SelectUserForm.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\SignForm.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticCountIndex.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeForm.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeIndex.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\StampInfo\EqualForm.js" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\StampInfo\Form.css" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\StampInfo\Form.js" /> | |||
@@ -1311,7 +1291,6 @@ | |||
<Content Include="Areas\LR_OAModule\Views\Notice\IndexFlow.js" /> | |||
<Content Include="Areas\LR_OAModule\Views\ResourceFile\BcIndex.js" /> | |||
<Content Include="Areas\LR_OAModule\Views\Signet\Index.js" /> | |||
<Content Include="Areas\LR_OrganizationModule\Views\User\FamilyIndex.js" /> | |||
<Content Include="Areas\LR_PortalSite\Views\Article\Form.css" /> | |||
<Content Include="Areas\LR_PortalSite\Views\Article\Form.js" /> | |||
<Content Include="Areas\LR_PortalSite\Views\Article\Index.js" /> | |||
@@ -1345,7 +1324,6 @@ | |||
<Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.css" /> | |||
<Content Include="Areas\LR_PortalSite\Views\Page\SetContentForm.js" /> | |||
<Content Include="Areas\LR_PortalSite\Views\Page\SetNameForm.js" /> | |||
<Content Include="Areas\LR_ReportModule\Views\ReportTemplate\NWFSchemeReport.js" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthAddFrom.js" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthFrom.js" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Files\FileAuthIndex.js" /> | |||
@@ -1356,7 +1334,6 @@ | |||
<Content Include="Areas\LR_SystemModule\Views\Files\Form.js" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Files\Index.css" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Files\Index.js" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.js" /> | |||
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.css" /> | |||
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\AddDetailedForm.js" /> | |||
<Content Include="Areas\LR_TaskScheduling\Views\TaskDesign\Form.css" /> | |||
@@ -1373,22 +1350,16 @@ | |||
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\Index.js" /> | |||
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.css" /> | |||
<Content Include="Areas\LR_TaskScheduling\Views\TSScheme\SelectExpressForm.js" /> | |||
<Content Include="Areas\Permission\Views\Perm_FunctionVisit\IndexForCount.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRemove.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormTerminate.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ContractManagement\FormRenew.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\FundExaminer\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\FundExaminer\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.css" /> | |||
<Content Include="Areas\PersonnelManagement\Views\Sal_UserSalary\ImportForm.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StuSaverecord\IndexForStudent.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StuSaverecord\IndexForTeacher.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\FormView.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\FormView.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerIndex.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerQuery.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\Form.js" /> | |||
@@ -1414,16 +1385,7 @@ | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Question\SelectIndex.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_Ask_Type\FormView.js" /> | |||
<Content Include="Areas\StudentWork\Views\SW_HolidayGo\StatisticIndex.js" /> | |||
<Content Include="Content\css\DragSSO\blue.css" /> | |||
<Content Include="Content\css\DragSSO\common.css" /> | |||
<Content Include="Content\css\DragSSO\green.css" /> | |||
<Content Include="Content\css\DragSSO\index.css" /> | |||
<Content Include="Content\css\DragSSO\index2.css" /> | |||
<Content Include="Content\css\DragSSO\index3.css" /> | |||
<Content Include="Content\css\DragSSO\login5.css" /> | |||
<Content Include="Content\css\DragSSO\red.css" /> | |||
<Content Include="Content\css\LoginModel\login8.css" /> | |||
<Content Include="Content\css\LoginModel\login9.css" /> | |||
<Content Include="Content\css\OnlineRegistrate\Footer.html" /> | |||
<Content Include="Content\css\OnlineRegistrate\Header.html" /> | |||
<Content Include="Content\css\OnlineRegistrate\login.css" /> | |||
@@ -1745,154 +1707,6 @@ | |||
<Content Include="Content\idcardreader\npCertReader.dll" /> | |||
<Content Include="Content\images\calendar.png" /> | |||
<Content Include="Content\images\chick1.png" /> | |||
<Content Include="Content\images\DragSSO\close.png" /> | |||
<Content Include="Content\images\DragSSO\close2.png" /> | |||
<Content Include="Content\images\DragSSO\download.png" /> | |||
<Content Include="Content\images\DragSSO\duigou.png" /> | |||
<Content Include="Content\images\DragSSO\head1.png" /> | |||
<Content Include="Content\images\DragSSO\head2.png" /> | |||
<Content Include="Content\images\DragSSO\head3.png" /> | |||
<Content Include="Content\images\DragSSO\head4-1.png" /> | |||
<Content Include="Content\images\DragSSO\head4-2.png" /> | |||
<Content Include="Content\images\DragSSO\head4-3.png" /> | |||
<Content Include="Content\images\DragSSO\head4.png" /> | |||
<Content Include="Content\images\DragSSO\headBg-green.jpg" /> | |||
<Content Include="Content\images\DragSSO\headBg-red.jpg" /> | |||
<Content Include="Content\images\DragSSO\headBg.jpg" /> | |||
<Content Include="Content\images\DragSSO\headBg2.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec2-1.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec2-2.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-1.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-10.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-11.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-12.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-13.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-14.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-15.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-16.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-17.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-18.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-19.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-2.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-20.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-21.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-22.jpg" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-23.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-24.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-25.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-26.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-27.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-28.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-3.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-4.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-5.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-6.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-7.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-8.png" /> | |||
<Content Include="Content\images\DragSSO\indexSec3-9.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-1.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-10.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-11.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-12.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-13.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-14.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-15.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-16.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-17.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-18.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-19.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-2.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-20.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-3.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-4.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-5.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-6.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-7.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-8.png" /> | |||
<Content Include="Content\images\DragSSO\indSec1-9.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-1.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-2.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-3.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-4.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-5.png" /> | |||
<Content Include="Content\images\DragSSO\indSec3-6.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-10.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-11.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-12.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-13.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-14.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-15.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-16.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-17.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-18.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-19.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-2.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-20.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-21.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-22.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-3.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-4.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-5.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-6.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-7.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-8.png" /> | |||
<Content Include="Content\images\DragSSO\inSec1-9.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-1.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-10.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-11.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-12.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-13.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-14.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-15.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-16.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-17.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-18.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-2.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-3.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-4.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-5.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-6.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-7.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-8.png" /> | |||
<Content Include="Content\images\DragSSO\inSec2-9.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-10.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-11.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-12.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-13.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-14.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-15.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-2.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-3.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-4.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-5.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-6.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-7.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-8.png" /> | |||
<Content Include="Content\images\DragSSO\inSec3-9.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-12.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-13.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-14.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-3.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-4.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-5.png" /> | |||
<Content Include="Content\images\DragSSO\inSec6-6.png" /> | |||
<Content Include="Content\images\DragSSO\login5-1.png" /> | |||
<Content Include="Content\images\DragSSO\login5-1s.png" /> | |||
<Content Include="Content\images\DragSSO\login5-2.png" /> | |||
<Content Include="Content\images\DragSSO\login5-2s.png" /> | |||
<Content Include="Content\images\DragSSO\login5-3.png" /> | |||
<Content Include="Content\images\DragSSO\login5-3s.png" /> | |||
<Content Include="Content\images\DragSSO\message.png" /> | |||
<Content Include="Content\images\DragSSO\noLogin.png" /> | |||
<Content Include="Content\images\DragSSO\right2.png" /> | |||
<Content Include="Content\images\DragSSO\search.png" /> | |||
<Content Include="Content\images\DragSSO\skin1.jpg" /> | |||
<Content Include="Content\images\DragSSO\skin2.jpg" /> | |||
<Content Include="Content\images\DragSSO\skin3.jpg" /> | |||
<Content Include="Content\images\DragSSO\tips1.png" /> | |||
<Content Include="Content\images\DragSSO\user.jpg" /> | |||
<Content Include="Content\images\DragSSO\verCode.png" /> | |||
<Content Include="Content\images\DragSSO\weixin.png" /> | |||
<Content Include="Content\images\floor\inSec1-10_2.png" /> | |||
<Content Include="Content\css\font-awesome.css" /> | |||
<Content Include="Content\css\index.css" /> | |||
@@ -1987,7 +1801,6 @@ | |||
<Content Include="Content\images\LoginPage\wxLogin.png" /> | |||
<Content Include="Content\images\LoginPage\xxlogo.png" /> | |||
<Content Include="Content\images\LoginPage\zuo.png" /> | |||
<Content Include="Content\images\Login\key.png" /> | |||
<Content Include="Content\images\Login\login8-1.png" /> | |||
<Content Include="Content\images\Login\login8-2.png" /> | |||
<Content Include="Content\images\Login\login8-3.png" /> | |||
@@ -1997,16 +1810,12 @@ | |||
<Content Include="Content\images\Login\login8-7.png" /> | |||
<Content Include="Content\images\Login\login8-8.png" /> | |||
<Content Include="Content\images\Login\loginBg8.jpg" /> | |||
<Content Include="Content\images\Login\loginBg9.jpg" /> | |||
<Content Include="Content\images\Login\logo8.png" /> | |||
<Content Include="Content\images\Login\logo9.png" /> | |||
<Content Include="Content\images\Login\person.png" /> | |||
<Content Include="Content\images\Login\user1.jpg" /> | |||
<Content Include="Content\images\Login\user2.jpg" /> | |||
<Content Include="Content\images\Login\user3.jpg" /> | |||
<Content Include="Content\images\Login\user4.png" /> | |||
<Content Include="Content\images\Login\user5.png" /> | |||
<Content Include="Content\images\Login\variCode.png" /> | |||
<Content Include="Content\images\Login\verCode.png" /> | |||
<Content Include="Content\images\OnlineRegistrate\bj1.png" /> | |||
<Content Include="Content\images\OnlineRegistrate\error.png" /> | |||
@@ -3024,14 +2833,6 @@ | |||
<Content Include="Content\jquery\qrcode.min.js" /> | |||
<Content Include="Content\js\bootstrap.min.js" /> | |||
<Content Include="Content\js\china.js" /> | |||
<Content Include="Content\js\DragSSO\aLeft.js" /> | |||
<Content Include="Content\js\DragSSO\index.js" /> | |||
<Content Include="Content\js\DragSSO\index2.js" /> | |||
<Content Include="Content\js\DragSSO\index3.js" /> | |||
<Content Include="Content\js\DragSSO\indexData.js" /> | |||
<Content Include="Content\js\DragSSO\inSecHead.js" /> | |||
<Content Include="Content\js\DragSSO\main.js" /> | |||
<Content Include="Content\js\DragSSO\sortable.js" /> | |||
<Content Include="Content\js\easing.js" /> | |||
<Content Include="Content\js\echarts.js" /> | |||
<Content Include="Content\js\echarts.min.js" /> | |||
@@ -3948,7 +3749,6 @@ | |||
<Content Include="Content\webuploader\webuploader.withoutimage.min.js" /> | |||
<Content Include="Areas\LR_WorkFlowModule\Views\WfScheme\Form.cshtml" /> | |||
<Content Include="Areas\LR_WorkFlowModule\Views\WfScheme\HistoryForm.cshtml" /> | |||
<Content Include="Resource\wav\收到新消息.wav" /> | |||
<Content Include="Views\Home\AdminAccordion\Index.css" /> | |||
<Content Include="Views\Home\AdminAccordion\Index.js" /> | |||
<Content Include="Views\Home\AdminDefault\indexNavigation.js" /> | |||
@@ -3989,8 +3789,6 @@ | |||
<Content Include="Views\Login\PageFive\IndexWxLogin.js" /> | |||
<Content Include="Views\Login\PageFour\IndexWxLogin.js" /> | |||
<Content Include="Views\Login\PageOne\IndexWxLogin.js" /> | |||
<Content Include="Views\Login\PageSeven\Index.js" /> | |||
<Content Include="Views\Login\PageSeven\IndexWxLogin.js" /> | |||
<Content Include="Views\Login\PageSix\IndexWxLogin.js" /> | |||
<Content Include="Views\Login\PageSix\Index.js" /> | |||
<Content Include="Views\Login\PageFive\Index.js" /> | |||
@@ -6340,34 +6138,30 @@ | |||
<Content Include="Areas\EducationalAdministration\Views\EATalentTrain\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EATalentTrain\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\EATalentTrain\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_DefaultPwdConfig\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_DefaultPwdConfig\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_DefaultPwdConfig\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_DefaultPwdConfig\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingMinutes\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchGER\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ReleaseMetting\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\StudyGuide\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResourceImport\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\Form.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\Index.js" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\Form.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\Index.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\Index.js" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\Form.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\Form.js" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Folder Include="Areas\LR_Desktop\Models\" /> | |||
@@ -6387,7 +6181,9 @@ | |||
<Content Include="XmlConfig\database.config"> | |||
<SubType>Designer</SubType> | |||
</Content> | |||
<Content Include="XmlConfig\ioc.config" /> | |||
<Content Include="XmlConfig\ioc.config"> | |||
<SubType>Designer</SubType> | |||
</Content> | |||
<Content Include="XmlConfig\log4net.config" /> | |||
<Content Include="XmlConfig\system.config"> | |||
<SubType>Designer</SubType> | |||
@@ -7130,44 +6926,22 @@ | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_AllocationItem\Index.cshtml" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_Acceptance\ViewForm.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\LoginUserBind\BindAccountIndex.cshtml" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_AssetsOutApply\Inventory.cshtml" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_Receive\Inventory.cshtml" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_AssetsInfoApply\Inventory.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuAttendanceLeave\IndexInStudent.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuLeaveManagement\CheckForm.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuLeaveManagement\CheckIndex.cshtml" /> | |||
<Content Include="Areas\AssetManagementSystem\Views\Ass_AssetsInfo\Inventory.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Thermography\IndexResult.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\FormView.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyApply.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\FundExaminer\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\FundExaminer\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\MeetingNotice\Index.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Form.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\ResearchMent\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\MessageRind\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\MessageRind\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\MessageRind\UnreadIndex.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_CardSortManage\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_CardSortManage\Index.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Form.cshtml" /> | |||
<Content Include="Areas\LR_Desktop\Views\SSO_Drag_DesktopManage\Index.cshtml" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticCountIndex.cshtml" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeForm.cshtml" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\StatisticTimeIndex.cshtml" /> | |||
<Content Include="Areas\LR_ReportModule\Views\ReportTemplate\NWFSchemeReport.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.cshtml" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.cshtml" /> | |||
<Content Include="Areas\LR_SystemModule\Views\Log\ApiIndex.cshtml" /> | |||
<Content Include="Areas\LR_NewWorkFlow\Views\NWFProcess\ContractFilingMonitor.cshtml" /> | |||
<Content Include="Areas\Permission\Views\Perm_FunctionVisit\IndexForCount.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerIndex.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\AnswerQuery.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Form.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Index.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\Paper.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperAdminView.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\PaperView.cshtml" /> | |||
<Content Include="Areas\Ask\Views\Ask_MainOfTeacher\TeacherIndex.cshtml" /> | |||
<Content Include="Areas\LR_OrganizationModule\Views\User\FamilyIndex.cshtml" /> | |||
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\SelectUserForm.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherLeaveManagement\FormView.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherCancelLeaveManagement\FormView.cshtml" /> | |||
<Content Include="Areas\PersonnelManagement\Views\TeacherOvertimeManagement\FormView.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\CheckIndex.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelLeaveManagement\CheckForm.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuDisciplineManagement\FormView.cshtml" /> | |||
<Content Include="Areas\EducationalAdministration\Views\StuCancelDisciplineManagement\FormView.cshtml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" /> | |||
<Content Include="Views\Login\Default-beifen.cshtml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile1.pubxml" /> | |||
@@ -7238,18 +7012,6 @@ | |||
<Content Include="Views\Login\PageTwoWxLogin.cshtml" /> | |||
<Content Include="Views\Home\SSOApplication.cshtml" /> | |||
<Content Include="Views\Home\GoToApplication.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragModelOne.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragModelThree.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragModelTwo.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragNoLogin.cshtml" /> | |||
<Content Include="Views\SSOSystem\DragNoWxLogin.cshtml" /> | |||
<Content Include="Views\SSOSystem\_LayoutSSODrag.cshtml" /> | |||
<Content Include="Views\Login\PageSeven.cshtml" /> | |||
<Content Include="Views\Login\PageSevenWxLogin.cshtml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile2.pubxml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile3.pubxml" /> | |||
<None Include="Properties\PublishProfiles\FolderProfile4.pubxml" /> | |||
<None Include="Properties\PublishProfiles\learunadms6.1.pubxml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<WCFMetadata Include="Connected Services\" /> | |||
@@ -1,18 +0,0 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<!-- | |||
此文件由 Web 项目的发布/打包过程使用。可以通过编辑此 MSBuild 文件 | |||
自定义此过程的行为。为了解与此相关的更多内容,请访问 https://go.microsoft.com/fwlink/?LinkID=208121。 | |||
--> | |||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<PropertyGroup> | |||
<WebPublishMethod>FileSystem</WebPublishMethod> | |||
<PublishProvider>FileSystem</PublishProvider> | |||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> | |||
<LastUsedPlatform>Any CPU</LastUsedPlatform> | |||
<SiteUrlToLaunchAfterPublish /> | |||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> | |||
<ExcludeApp_Data>False</ExcludeApp_Data> | |||
<publishUrl>bin\Release\Publish</publishUrl> | |||
<DeleteExistingFiles>False</DeleteExistingFiles> | |||
</PropertyGroup> | |||
</Project> |
@@ -171,10 +171,6 @@ namespace Learun.Application.WebApi.Modules | |||
entity.RegionNo = model.RegionNo; | |||
entity.FamilyAddress = model.FamilyAddress; | |||
entity.telephone = model.telephone; | |||
entity.BankCard = model.BankCard; | |||
entity.BankLocation = model.BankLocation; | |||
entity.DepositBank = model.DepositBank; | |||
if (!string.IsNullOrEmpty(model.Photo)) | |||
{ | |||
entity.IsPhoto = true; | |||
@@ -334,6 +330,7 @@ namespace Learun.Application.WebApi.Modules | |||
{ | |||
ReqFormEntity parameter = this.GetReqData<ReqFormEntity>(); | |||
StuInfoFreshEntity entity = parameter.strEntity.ToObject<StuInfoFreshEntity>(); | |||
stuInfoFreshIBLL.SaveEntity(parameter.keyValue, entity); | |||
return Success("保存成功!"); | |||
} | |||
@@ -391,18 +388,6 @@ namespace Learun.Application.WebApi.Modules | |||
/// 紧急联系人 | |||
/// </summary> | |||
public List<StuInfoFreshEmergePeopleEntity> StuInfoFreshEmergePeopleEntities { get; set; } | |||
/// <summary> | |||
/// 开户行 | |||
/// </summary> | |||
public string DepositBank { get; set; } | |||
/// <summary> | |||
/// 银行卡号 | |||
/// </summary> | |||
public string BankCard { get; set; } | |||
/// <summary> | |||
/// 开户行位置 | |||
/// </summary> | |||
public string BankLocation { get; set; } | |||
} | |||
@@ -92,10 +92,6 @@ | |||
<!-- ================== 默认头像 ================== --> | |||
<add key="defaultheadimg" value="/Content/images/head/on-boy.jpg" /> | |||
<!--统一身份认证加密公钥--> | |||
<!--批量生成家长帐号时默认的角色Id--> | |||
<add key="GenerateParentsRoleId" value="" /> | |||
<!--默认密码--> | |||
<add key="defaultpwd" value="123456" /> | |||
<add key="SSOPublicSecret" value="bjquanjiang" /> | |||
<!-- 深信服ACIp --> | |||
<add key="ACIp" value=""/> | |||
@@ -160,7 +160,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
} | |||
var data = this.BaseRepository("CollegeMIS").FindList<StuInfoFreshEntity>(strSql.ToString(), dp); | |||
return data; | |||
} | |||
catch (Exception ex) | |||
@@ -861,7 +861,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
entity.Modify(keyValue); | |||
db.Update(entity); | |||
db.Delete<StuInfoFreshEmergePeopleEntity>(t => t.StuInfoFreshId == stuInfoFreshEntityTmp.ID); | |||
if (null != stuInfoFreshEmergePeopleList && null != stuInfoFreshFamilyList) | |||
{ | |||
foreach (StuInfoFreshEmergePeopleEntity item in stuInfoFreshEmergePeopleList) | |||
@@ -900,11 +899,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
} | |||
} | |||
} | |||
//家长生成账号 | |||
GenerateAccoutForStuFamily(entity, stuInfoFreshFamilyList); | |||
db.Commit(); | |||
} | |||
catch (Exception ex) | |||
{ | |||
@@ -920,76 +915,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
} | |||
} | |||
/// <summary> | |||
/// 家长生成账号 | |||
/// </summary> | |||
/// <param name="entity"></param> | |||
/// <param name="stuInfoFreshFamilyList"></param> | |||
private void GenerateAccoutForStuFamily(StuInfoFreshEntity entity, List<StuInfoFreshFamilyEntity> stuInfoFreshFamilyList) | |||
{ | |||
UserRelationIBLL userRelationIBLL = new UserRelationBLL(); | |||
UserIBLL userIBLL = new UserBLL(); | |||
CdDeptIBLL cdDeptIBLL = new CdDeptBLL(); | |||
try | |||
{ | |||
var stuInfoBasicEntities = BaseRepository("CollegeMIS").FindList<StuInfoBasicEntity>(m => m.CheckMark != "0"); | |||
var alluserlist = userIBLL.GetAllList().Where(m => m.F_Description == "家长"); | |||
var roleId = Config.GetValue("GenerateParentsRoleId"); | |||
var defaultpwd = Config.GetValue("defaultpwd"); | |||
//读取默认密码配置中已启用的密码 | |||
var Sys_DefaultPwdConfigEntity = this.BaseRepository().FindEntity<Sys_DefaultPwdConfigEntity>(x => x.IsEnabled == true); | |||
if (Sys_DefaultPwdConfigEntity != null) | |||
{ | |||
defaultpwd = Sys_DefaultPwdConfigEntity.Pwd; | |||
} | |||
var studentList = new List<UserEntity>(); | |||
foreach (var fEntity in stuInfoFreshFamilyList) | |||
{ | |||
if (string.IsNullOrEmpty(fEntity.Mobile) || alluserlist.Count(m => m.F_Account == fEntity.Mobile)>0) | |||
{ | |||
continue; | |||
} | |||
//获取schoolid DeptNo | |||
var schoolid = cdDeptIBLL.GetSchoolIdByDeptNo(entity.DeptNo); | |||
if (string.IsNullOrEmpty((schoolid))) | |||
continue; | |||
UserEntity userbase = new UserEntity(); | |||
userbase.F_Account = fEntity.Mobile; | |||
userbase.F_RealName = fEntity.Name; | |||
userbase.F_EnCode = fEntity.Mobile; | |||
userbase.F_Password = Md5Helper.Encrypt(defaultpwd, 32).ToLower(); | |||
userbase.F_HeadIcon = Config.GetValue("defaultheadimg"); | |||
userbase.F_Gender = !string.IsNullOrEmpty(fEntity.Sex) ? Convert.ToInt32(fEntity.Sex) : 1; | |||
userbase.F_DeleteMark = 0; | |||
userbase.F_EnabledMark = 1; | |||
userbase.F_Mobile = fEntity.Mobile; | |||
userbase.F_Description = "家长"; | |||
userbase.F_CompanyId = schoolid; | |||
userbase.F_DepartmentId = entity.DeptNo; | |||
userbase.F_IdentityCardNo = fEntity.IdCard; | |||
userIBLL.SaveEntity(null, userbase); | |||
studentList.Add(userbase); | |||
} | |||
if (studentList.Any()) | |||
{ | |||
string s = studentList.Select(m => m.F_UserId).Aggregate((current, userEntity) => current + "," + userEntity); | |||
userRelationIBLL.SaveEntityList2(roleId, 1, s); | |||
} | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 保存实体数据(新增、修改) | |||
/// <param name="keyValue">主键</param> | |||
@@ -1253,13 +1178,6 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
{ | |||
UserRelationIBLL userRelationIBLL = new UserRelationBLL(); | |||
UserIBLL userIBLL = new UserBLL(); | |||
var defaultpwd = Config.GetValue("defaultpwd"); | |||
//读取默认密码配置中已启用的密码 | |||
var Sys_DefaultPwdConfigEntity = this.BaseRepository().FindEntity<Sys_DefaultPwdConfigEntity>(x => x.IsEnabled == true); | |||
if (Sys_DefaultPwdConfigEntity != null) | |||
{ | |||
defaultpwd = Sys_DefaultPwdConfigEntity.Pwd; | |||
} | |||
var db = this.BaseRepository("CollegeMIS").BeginTrans(); | |||
try | |||
@@ -1289,7 +1207,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||
F_Account = entity.StuNo, | |||
F_RealName = entity.StuName, | |||
F_EnCode = entity.StuNo, | |||
F_Password = Md5Helper.Encrypt(defaultpwd, 32).ToLower(), | |||
F_Password = Md5Helper.Encrypt(Config.GetValue("defaultpwd"), 32).ToLower(), | |||
F_HeadIcon = string.IsNullOrEmpty(url) ? Config.GetValue("defaultheadimg") : url, | |||
F_Gender = entity.GenderNo == "1" ? 1 : 0, | |||
F_DeleteMark = 0, | |||