@@ -162,7 +162,6 @@ var bootstrap = function ($, learun) { | |||||
return false; | return false; | ||||
} | } | ||||
var formData = $('#form').lrGetFormData(keyValue); | var formData = $('#form').lrGetFormData(keyValue); | ||||
console.log(JSON.stringify(formData)); | |||||
formData.F_IsSystem = $('[name="F_IsSystem"]:checked').val(); | formData.F_IsSystem = $('[name="F_IsSystem"]:checked').val(); | ||||
var entity = { | var entity = { | ||||
F_Name: formData.F_Name, | F_Name: formData.F_Name, | ||||
@@ -39,7 +39,6 @@ | |||||
//var myChart2 = echarts.init(document.getElementById('main1')); | //var myChart2 = echarts.init(document.getElementById('main1')); | ||||
var queryJson = { year: year }; | var queryJson = { year: year }; | ||||
learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssAddReportData", { queryJson: JSON.stringify(queryJson) }, function (res) { | learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssAddReportData", { queryJson: JSON.stringify(queryJson) }, function (res) { | ||||
console.log(res); | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
var option = { | var option = { | ||||
xAxis: { | xAxis: { | ||||
@@ -40,7 +40,6 @@ | |||||
//var myChart2 = echarts.init(document.getElementById('main1')); | //var myChart2 = echarts.init(document.getElementById('main1')); | ||||
var queryJson = { year: year }; | var queryJson = { year: year }; | ||||
learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssStatusData", { queryJson: JSON.stringify(queryJson) }, function (res) { | learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssStatusData", { queryJson: JSON.stringify(queryJson) }, function (res) { | ||||
console.log(res); | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
var option = { | var option = { | ||||
title: { | title: { | ||||
@@ -40,7 +40,6 @@ | |||||
//var myChart2 = echarts.init(document.getElementById('main1')); | //var myChart2 = echarts.init(document.getElementById('main1')); | ||||
var queryJson = { year: year }; | var queryJson = { year: year }; | ||||
learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssTypeData", { queryJson: JSON.stringify(queryJson) }, function (res) { | learun.httpAsyncPost(top.$.rootUrl + "/AssetManagementSystem/AssReport/AssTypeData", { queryJson: JSON.stringify(queryJson) }, function (res) { | ||||
console.log(res); | |||||
if (res.code == 200) { | if (res.code == 200) { | ||||
var option = { | var option = { | ||||
title: { | title: { | ||||
@@ -86,10 +86,8 @@ var bootstrap = function ($, learun) { | |||||
], | ], | ||||
select: function (values, texts) { | select: function (values, texts) { | ||||
if (values && values.length > 0) { | if (values && values.length > 0) { | ||||
console.log(values); | |||||
//绑定 | //绑定 | ||||
$.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetDatas?keyValue=' + values, function (data) { | $.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetDatas?keyValue=' + values, function (data) { | ||||
console.log(data); | |||||
if (data) { | if (data) { | ||||
$.each(data, function (i, item) { | $.each(data, function (i, item) { | ||||
@@ -18,7 +18,6 @@ var bootstrap = function ($, learun) { | |||||
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); | $('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); | ||||
$('#AIIsInStorage').lrDataItemSelect({ | $('#AIIsInStorage').lrDataItemSelect({ | ||||
code: 'YesOrNoBit', select: function (val) { | code: 'YesOrNoBit', select: function (val) { | ||||
console.log(val); | |||||
if (val) { | if (val) { | ||||
if (val.text == "是") { | if (val.text == "是") { | ||||
$('#AIIStoragePosition').parent('div').show(); | $('#AIIStoragePosition').parent('div').show(); | ||||
@@ -59,7 +58,6 @@ var bootstrap = function ($, learun) { | |||||
$.lrSetForm( | $.lrSetForm( | ||||
top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetFormData?keyValue=' + keyValue, | top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetFormData?keyValue=' + keyValue, | ||||
function (data) { | function (data) { | ||||
console.log(data); | |||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
$('#' + id).jfGridSet('refreshdata', data[id]); | $('#' + id).jfGridSet('refreshdata', data[id]); | ||||
@@ -33,7 +33,6 @@ var bootstrap = function ($, learun) { | |||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
$.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetFormData?keyValue=' + keyValue, function (data) { | $.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetFormData?keyValue=' + keyValue, function (data) { | ||||
console.log(data); | |||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
$('#' + id).jfGridSet('refreshdata', data[id]); | $('#' + id).jfGridSet('refreshdata', data[id]); | ||||
@@ -200,7 +200,6 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "使用人员", name: "AIUsePeople", width: 100, align: "left", | label: "使用人员", name: "AIUsePeople", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
console.log(value); | |||||
learun.clientdata.getAsync('custmerData', { | learun.clientdata.getAsync('custmerData', { | ||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', | url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', | ||||
key: value, | key: value, | ||||
@@ -82,7 +82,6 @@ var bootstrap = function ($, learun) { | |||||
$("#AAICode").removeAttr("readonly"); | $("#AAICode").removeAttr("readonly"); | ||||
$("#AAIUnit").removeAttr("readonly"); | $("#AAIUnit").removeAttr("readonly"); | ||||
$('#AAITId').lrselectSet(selectedRow.AAITId); | $('#AAITId').lrselectSet(selectedRow.AAITId); | ||||
console.log('clear'); | |||||
$('#AAICode').val(""); | $('#AAICode').val(""); | ||||
$('#AAIName').val(selectedRow.AAIName); | $('#AAIName').val(selectedRow.AAIName); | ||||
$('#AAIEName').val(selectedRow.AAIEName); | $('#AAIEName').val(selectedRow.AAIEName); | ||||
@@ -44,7 +44,6 @@ var bootstrap = function ($, learun) { | |||||
Ass_AssetsOutItemApply | Ass_AssetsOutItemApply | ||||
var keyValue = $('#Ass_AssetsOutItemApply').jfGridValue('AOIId'); | var keyValue = $('#Ass_AssetsOutItemApply').jfGridValue('AOIId'); | ||||
selectedRow = $('#Ass_AssetsOutItemApply').jfGridGet('rowdata'); | selectedRow = $('#Ass_AssetsOutItemApply').jfGridGet('rowdata'); | ||||
console.log(selectedRow); | |||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'formitem', | id: 'formitem', | ||||
@@ -123,7 +123,6 @@ var bootstrap = function ($, learun) { | |||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
if (!!selectedRow) { | if (!!selectedRow) { | ||||
console.log(selectedRow); | |||||
//库存查询 | //库存查询 | ||||
learun.httpAsync("post", top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetFormDataByCode', { code: selectedRow.AOICode }, | learun.httpAsync("post", top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfo/GetFormDataByCode', { code: selectedRow.AOICode }, | ||||
function (res) { | function (res) { | ||||
@@ -165,7 +165,6 @@ var bootstrap = function ($, learun) { | |||||
refreshGirdData = function (temprow) { | refreshGirdData = function (temprow) { | ||||
var ifnewrow = true; | var ifnewrow = true; | ||||
console.log(temprow); | |||||
var list = []; | var list = []; | ||||
$.each(temprow, | $.each(temprow, | ||||
function(i, item) { | function(i, item) { | ||||
@@ -253,7 +252,6 @@ var bootstrap = function ($, learun) { | |||||
postData.strEntity = JSON.stringify(formData); | postData.strEntity = JSON.stringify(formData); | ||||
postData.strAss_InventoryItemList = JSON.stringify($('#Ass_InventoryItem').jfGridGet('rowdatas')); | postData.strAss_InventoryItemList = JSON.stringify($('#Ass_InventoryItem').jfGridGet('rowdatas')); | ||||
console.log(postData.strAss_InventoryItemList); | |||||
$.lrSaveForm(top.$.rootUrl + '/AssetManagementSystem/Ass_Inventory/SaveForm?keyValue=' + keyValue, postData, function (res) { | $.lrSaveForm(top.$.rootUrl + '/AssetManagementSystem/Ass_Inventory/SaveForm?keyValue=' + keyValue, postData, function (res) { | ||||
// 保存成功后才回调 | // 保存成功后才回调 | ||||
if (!!callBack) { | if (!!callBack) { | ||||
@@ -134,7 +134,6 @@ var bootstrap = function ($, learun) { | |||||
if (!!keyValue) { | if (!!keyValue) { | ||||
$.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_Inventory/GetFormData?keyValue=' + keyValue, | $.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_Inventory/GetFormData?keyValue=' + keyValue, | ||||
function (data) { | function (data) { | ||||
console.log(data); | |||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
$('#' + id).jfGridSet('refreshdata', data[id]); | $('#' + id).jfGridSet('refreshdata', data[id]); | ||||
@@ -153,7 +152,6 @@ var bootstrap = function ($, learun) { | |||||
refreshGirdData = function (temprow) { | refreshGirdData = function (temprow) { | ||||
var ifnewrow = true; | var ifnewrow = true; | ||||
console.log(temprow); | |||||
$.each(tempdatra, function (key, val) { | $.each(tempdatra, function (key, val) { | ||||
if (tempdatra[key].AAIId === temprow.AAIId) { | if (tempdatra[key].AAIId === temprow.AAIId) { | ||||
tempdatra[key] = temprow; | tempdatra[key] = temprow; | ||||
@@ -10,7 +10,6 @@ var selectedRow; | |||||
var bootstrap = function ($, learun) { | var bootstrap = function ($, learun) { | ||||
"use strict"; | "use strict"; | ||||
selectedRow = top["layer_formAss_InventoryItemApply"].selectedRow; | selectedRow = top["layer_formAss_InventoryItemApply"].selectedRow; | ||||
console.log(selectedRow); | |||||
var page = { | var page = { | ||||
init: function () { | init: function () { | ||||
$('.lr-form-wrap').lrscroll(); | $('.lr-form-wrap').lrscroll(); | ||||
@@ -83,7 +82,6 @@ var bootstrap = function ($, learun) { | |||||
//绑定 | //绑定 | ||||
$.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetData?keyValue=' + values[0], function (data) { | $.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetData?keyValue=' + values[0], function (data) { | ||||
data = data[0]; | data = data[0]; | ||||
console.log(data); | |||||
$('#AAITId').lrselectSet(data.atid); | $('#AAITId').lrselectSet(data.atid); | ||||
$('#AAICode').val(data.aicode); | $('#AAICode').val(data.aicode); | ||||
$('#AAIAId').val(data.aid); | $('#AAIAId').val(data.aid); | ||||
@@ -115,7 +113,6 @@ var bootstrap = function ($, learun) { | |||||
$("#AAIStock").attr("checkexpession", "PositiveInteger"); | $("#AAIStock").attr("checkexpession", "PositiveInteger"); | ||||
}); | }); | ||||
$('#form').lrSetFormData(selectedRow); | $('#form').lrSetFormData(selectedRow); | ||||
console.log(selectedRow); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -76,7 +76,6 @@ var bootstrap = function ($, learun) { | |||||
var keyValue = $('#gridtable').jfGridValue('RID'); | var keyValue = $('#gridtable').jfGridValue('RID'); | ||||
if (learun.checkrow(keyValue)) { | if (learun.checkrow(keyValue)) { | ||||
var PStatus = $('#gridtable').jfGridValue('PStatus'); | var PStatus = $('#gridtable').jfGridValue('PStatus'); | ||||
console.log(PStatus); | |||||
if (PStatus != 0) { | if (PStatus != 0) { | ||||
learun.alert.warning("当前项目已提交不能编辑!"); | learun.alert.warning("当前项目已提交不能编辑!"); | ||||
return; | return; | ||||
@@ -10,7 +10,6 @@ var selectedRow; | |||||
var bootstrap = function ($, learun) { | var bootstrap = function ($, learun) { | ||||
"use strict"; | "use strict"; | ||||
selectedRow = top["layer_formAss_ScrapItemApply"].selectedRow; | selectedRow = top["layer_formAss_ScrapItemApply"].selectedRow; | ||||
console.log(selectedRow); | |||||
var page = { | var page = { | ||||
init: function () { | init: function () { | ||||
$('.lr-form-wrap').lrscroll(); | $('.lr-form-wrap').lrscroll(); | ||||
@@ -83,7 +82,6 @@ var bootstrap = function ($, learun) { | |||||
//绑定 | //绑定 | ||||
$.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetData?keyValue=' + values[0], function (data) { | $.lrSetForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/GetData?keyValue=' + values[0], function (data) { | ||||
data = data[0]; | data = data[0]; | ||||
console.log(data); | |||||
$('#AAITId').lrselectSet(data.atid); | $('#AAITId').lrselectSet(data.atid); | ||||
$('#AAICode').val(data.aicode); | $('#AAICode').val(data.aicode); | ||||
$('#AAIAId').val(data.aid); | $('#AAIAId').val(data.aid); | ||||
@@ -115,7 +113,6 @@ var bootstrap = function ($, learun) { | |||||
$("#AAIStock").attr("checkexpession", "PositiveInteger"); | $("#AAIStock").attr("checkexpession", "PositiveInteger"); | ||||
}); | }); | ||||
$('#form').lrSetFormData(selectedRow); | $('#form').lrSetFormData(selectedRow); | ||||
console.log(selectedRow); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -17,7 +17,6 @@ var bootstrap = function ($, learun) { | |||||
$.lrSetFormWithParam(top.$.rootUrl + '/EducationalAdministration/ArrangeExamTerm/GetData', param, | $.lrSetFormWithParam(top.$.rootUrl + '/EducationalAdministration/ArrangeExamTerm/GetData', param, | ||||
function (data) { | function (data) { | ||||
// 数据处理 | // 数据处理 | ||||
console.log(data.weekList); | |||||
var html = ''; | var html = ''; | ||||
var weekLists = data.weekList; | var weekLists = data.weekList; | ||||
for (var i = 1; i <= data.sectionNum; i++) { | for (var i = 1; i <= data.sectionNum; i++) { | ||||
@@ -9,8 +9,7 @@ var keyValue = request('keyValue'); | |||||
if (!!keyValue) { | if (!!keyValue) { | ||||
NewEmpId = keyValue; | NewEmpId = keyValue; | ||||
} | } | ||||
//console.log("keyValue:" + keyValue + " NewEmpId:" + NewEmpId); | |||||
var isTeacher = request('isTeacher'); | |||||
var isTeacher = request('isTeacher'); | |||||
var bootstrap = function ($, learun) { | var bootstrap = function ($, learun) { | ||||
"use strict"; | "use strict"; | ||||
var ue; | var ue; | ||||
@@ -184,7 +184,6 @@ | |||||
var form = layui.form; | var form = layui.form; | ||||
//登录按钮点击 | //登录按钮点击 | ||||
form.on('submit(*)', function (data) { | form.on('submit(*)', function (data) { | ||||
console.log(data); | |||||
$.ajax({ | $.ajax({ | ||||
@@ -195,7 +194,6 @@ | |||||
async: true, | async: true, | ||||
cache: false, | cache: false, | ||||
success: function (data) { | success: function (data) { | ||||
console.log(data); | |||||
}, | }, | ||||
error: function (XMLHttpRequest, textStatus, errorThrown) { | error: function (XMLHttpRequest, textStatus, errorThrown) { | ||||
}, | }, | ||||
@@ -228,7 +226,6 @@ | |||||
}); | }); | ||||
}, | }, | ||||
done: function (res) { | done: function (res) { | ||||
console.log(res); | |||||
//如果上传失败 | //如果上传失败 | ||||
if (res.code != 200) { | if (res.code != 200) { | ||||
return layer.msg('上传失败'); | return layer.msg('上传失败'); | ||||
@@ -107,7 +107,6 @@ | |||||
$.get('/UserCenter/GetTeacherInfoById?id='+keyValue, function (ref) { | $.get('/UserCenter/GetTeacherInfoById?id='+keyValue, function (ref) { | ||||
this.teacherInfo = ref.data.userInfo; | this.teacherInfo = ref.data.userInfo; | ||||
this.baseInfo = ref.data.basecInfo; | this.baseInfo = ref.data.basecInfo; | ||||
console.log(ref); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
}, | }, | ||||
@@ -272,7 +272,6 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
$("#lr_switch").on("click", function () { | $("#lr_switch").on("click", function () { | ||||
$.get("/EducationalAdministration/TeachSwitch/GetFirstEntity", function (data) { | $.get("/EducationalAdministration/TeachSwitch/GetFirstEntity", function (data) { | ||||
console.log(data); | |||||
if (data.code == "200") { | if (data.code == "200") { | ||||
if (data.data.ID) { | if (data.data.ID) { | ||||
learun.layerForm({ | learun.layerForm({ | ||||
@@ -272,7 +272,6 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
$("#lr_switch").on("click", function () { | $("#lr_switch").on("click", function () { | ||||
$.get("/EducationalAdministration/TeachSwitch/GetFirstEntity", function (data) { | $.get("/EducationalAdministration/TeachSwitch/GetFirstEntity", function (data) { | ||||
console.log(data); | |||||
if (data.code == "200") { | if (data.code == "200") { | ||||
if (data.data.ID) { | if (data.data.ID) { | ||||
learun.layerForm({ | learun.layerForm({ | ||||
@@ -228,7 +228,6 @@ | |||||
}); | }); | ||||
}, | }, | ||||
done: function (res) { | done: function (res) { | ||||
console.log(res); | |||||
//如果上传失败 | //如果上传失败 | ||||
if (res.code != 200) { | if (res.code != 200) { | ||||
return layer.msg('上传失败'); | return layer.msg('上传失败'); | ||||
@@ -32,7 +32,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -40,7 +39,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -66,7 +64,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNoAll').lrselectRefresh({ | $('#MajorNoAll').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -74,7 +71,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNoAll').lrselectRefresh({ | $('#MajorNoAll').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -30,7 +30,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -38,7 +37,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -64,8 +64,7 @@ | |||||
data.info = '系统异常,请联系管理员!'; | data.info = '系统异常,请联系管理员!'; | ||||
} | } | ||||
//console.log(data); | |||||
//绑定数据 | |||||
// //绑定数据 | |||||
$("#StuName").html(data.data.stuName); | $("#StuName").html(data.data.stuName); | ||||
$("#ClassName").html(data.data.className); | $("#ClassName").html(data.data.className); | ||||
@@ -31,7 +31,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -39,7 +38,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -214,7 +212,6 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
{ | { | ||||
label: "是否上传资料", name: "CheckInUrl", width: 100, align: "left", formatter: function (value) { | label: "是否上传资料", name: "CheckInUrl", width: 100, align: "left", formatter: function (value) { | ||||
console.log(value); | |||||
if (value) { | if (value) { | ||||
return '<span class=\"label label-success\">已上传</span>'; | return '<span class=\"label label-success\">已上传</span>'; | ||||
} else { | } else { | ||||
@@ -332,7 +329,6 @@ var bootstrap = function ($, learun) { | |||||
ClassNo: classNo | ClassNo: classNo | ||||
}, | }, | ||||
function (res) { | function (res) { | ||||
console.log(res); | |||||
$("#allAmount").html(res.data.aa); | $("#allAmount").html(res.data.aa); | ||||
$("#isAmount").html(res.data.bb); | $("#isAmount").html(res.data.bb); | ||||
}, "json"); | }, "json"); | ||||
@@ -30,7 +30,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -38,7 +37,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -103,7 +101,6 @@ var bootstrap = function ($, learun) { | |||||
$("#HomeAddress").val(cardobj.resultContent.certAddress); | $("#HomeAddress").val(cardobj.resultContent.certAddress); | ||||
} else { | } else { | ||||
learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | ||||
console.log(cardobj.errorMsg); | |||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
@@ -118,8 +115,7 @@ var bootstrap = function ($, learun) { | |||||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | $('[data-table="' + id + '"]').lrSetFormData(data[id]); | ||||
} | } | ||||
} | } | ||||
//console.log(data[MajorNo]+data[ClassNo]) | |||||
$('#MajorNo').lrselectSet(data.StuEnroll.MajorNo); | |||||
$('#MajorNo').lrselectSet(data.StuEnroll.MajorNo); | |||||
$('#ClassNo').lrselectSet(data.StuEnroll.ClassNo); | $('#ClassNo').lrselectSet(data.StuEnroll.ClassNo); | ||||
}); | }); | ||||
} | } | ||||
@@ -49,14 +49,12 @@ var bootstrap = function ($, learun) { | |||||
$("#HomeAddress").val(cardobj.resultContent.certAddress); | $("#HomeAddress").val(cardobj.resultContent.certAddress); | ||||
} else { | } else { | ||||
learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | ||||
console.log(cardobj.errorMsg); | |||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetFormData?keyValue=' + keyValue, function (data) { | $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetFormData?keyValue=' + keyValue, function (data) { | ||||
console.log(data.StuEnroll.PhotoUrl); | |||||
$(".headImg").attr("src", data.StuEnroll.PhotoUrl); | $(".headImg").attr("src", data.StuEnroll.PhotoUrl); | ||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
@@ -29,7 +29,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -37,7 +36,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -29,7 +29,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -37,7 +36,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -29,7 +29,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -37,7 +36,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -24,7 +24,6 @@ var bootstrap = function ($, learun) { | |||||
$("#IDCard").val(cardobj.resultContent.certNumber); | $("#IDCard").val(cardobj.resultContent.certNumber); | ||||
} else { | } else { | ||||
learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | ||||
console.log(cardobj.errorMsg); | |||||
} | } | ||||
}); | }); | ||||
@@ -34,7 +33,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -42,7 +40,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -99,7 +96,6 @@ var bootstrap = function ($, learun) { | |||||
$.each(data, function (i, item) { | $.each(data, function (i, item) { | ||||
str += item.StuId + ','; | str += item.StuId + ','; | ||||
}); | }); | ||||
console.log(str); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'form', | id: 'form', | ||||
title: '修改招生类别', | title: '修改招生类别', | ||||
@@ -31,7 +31,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -39,7 +38,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -362,7 +360,6 @@ var bootstrap = function ($, learun) { | |||||
ClassNo: classNo | ClassNo: classNo | ||||
}, | }, | ||||
function (res) { | function (res) { | ||||
console.log(res); | |||||
$("#allAmount").html(res.data.aa); | $("#allAmount").html(res.data.aa); | ||||
$("#isAmount").html(res.data.bb); | $("#isAmount").html(res.data.bb); | ||||
}, "json"); | }, "json"); | ||||
@@ -177,7 +177,6 @@ | |||||
top.learun.httpAsyncGet(top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetStuInfo?stuId=' + keyValue, function(res) { | top.learun.httpAsyncGet(top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetStuInfo?stuId=' + keyValue, function(res) { | ||||
console.log(res); | |||||
data.name = $("#gridtable").jfGridValue('StuName'); | data.name = $("#gridtable").jfGridValue('StuName'); | ||||
data.id = $("#gridtable").jfGridValue('IDCard'); | data.id = $("#gridtable").jfGridValue('IDCard'); | ||||
data.major = res.data.majorName; | data.major = res.data.majorName; | ||||
@@ -30,7 +30,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -38,7 +37,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -340,7 +338,6 @@ var bootstrap = function ($, learun) { | |||||
$.post( | $.post( | ||||
top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetPaymentInfo', | top.$.rootUrl + '/EducationalAdministration/StuEnroll/GetPaymentInfo', | ||||
function (res) { | function (res) { | ||||
console.log(res); | |||||
$("#allAmount").html(res.data.a); | $("#allAmount").html(res.data.a); | ||||
$("#isAmount").html(res.data.b); | $("#isAmount").html(res.data.b); | ||||
}, "json"); | }, "json"); | ||||
@@ -30,7 +30,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -38,7 +37,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -31,7 +31,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -39,7 +38,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -340,7 +338,6 @@ var bootstrap = function ($, learun) { | |||||
ClassNo: classNo | ClassNo: classNo | ||||
}, | }, | ||||
function (res) { | function (res) { | ||||
console.log(res); | |||||
$("#allAmount").html(res.data.aa); | $("#allAmount").html(res.data.aa); | ||||
$("#isAmount").html(res.data.bb); | $("#isAmount").html(res.data.bb); | ||||
}, "json"); | }, "json"); | ||||
@@ -104,7 +104,6 @@ var bootstrap = function ($, learun) { | |||||
if (selectedItem.Name) { | if (selectedItem.Name) { | ||||
var data = $('#gridtable').jfGridGet('rowdata'); | var data = $('#gridtable').jfGridGet('rowdata'); | ||||
console.log(data); | |||||
if (data.length > 0) { | if (data.length > 0) { | ||||
learun.layerConfirm('是否确认分配到班级 [' + selectedItem.Name + ']', | learun.layerConfirm('是否确认分配到班级 [' + selectedItem.Name + ']', | ||||
function (res) { | function (res) { | ||||
@@ -31,7 +31,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -39,7 +38,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -416,7 +414,6 @@ var bootstrap = function ($, learun) { | |||||
ClassNo: classNo | ClassNo: classNo | ||||
}, | }, | ||||
function (res) { | function (res) { | ||||
console.log(res); | |||||
$("#allAmount").html(res.data.aa); | $("#allAmount").html(res.data.aa); | ||||
$("#isAmount").html(res.data.bb); | $("#isAmount").html(res.data.bb); | ||||
}, "json"); | }, "json"); | ||||
@@ -288,7 +288,6 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
{ | { | ||||
label: "床位", name: "StuId", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | label: "床位", name: "StuId", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | ||||
console.log(value); | |||||
learun.clientdata.getAsync('custmerData', { | learun.clientdata.getAsync('custmerData', { | ||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'PlanBedInfo', | url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'PlanBedInfo', | ||||
key: value, | key: value, | ||||
@@ -24,7 +24,6 @@ var bootstrap = function ($, learun) { | |||||
$("#IDCard").val(cardobj.resultContent.certNumber); | $("#IDCard").val(cardobj.resultContent.certNumber); | ||||
} else { | } else { | ||||
learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | learun.alert.error('读取错误!未检测到身份证或设备连接错误,请调整身份证位置并重新读取,多次未读取到身份证信息则可能是身份证芯片已损坏!'); | ||||
console.log(cardobj.errorMsg); | |||||
} | } | ||||
}); | }); | ||||
@@ -34,7 +33,6 @@ var bootstrap = function ($, learun) { | |||||
text: "deptname", | text: "deptname", | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo', | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item) { | if (item) { | ||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
@@ -42,7 +40,6 @@ var bootstrap = function ($, learun) { | |||||
param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | param: { strWhere: "DeptNo='" + item.deptno + "' AND CheckMark=1" } | ||||
}); | }); | ||||
} else { | } else { | ||||
console.log('全部'); | |||||
$('#MajorNo').lrselectRefresh({ | $('#MajorNo').lrselectRefresh({ | ||||
allowSearch: true, | allowSearch: true, | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', | ||||
@@ -58,7 +58,6 @@ acceptClick = function (callBack) { | |||||
majorList += $(item).attr('value') + ','; | majorList += $(item).attr('value') + ','; | ||||
}) | }) | ||||
param.MajorList = majorList.substring(0, majorList.length - 1); ; | param.MajorList = majorList.substring(0, majorList.length - 1); ; | ||||
console.log(param); | |||||
$.post(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/CreateGraduateNoByMajor', param, function (res) { | $.post(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/CreateGraduateNoByMajor', param, function (res) { | ||||
//保存成功后才回调 | //保存成功后才回调 | ||||
if (!!callBack) { | if (!!callBack) { | ||||
@@ -114,7 +114,6 @@ | |||||
this.studentInfo = ref.data.userInfo; | this.studentInfo = ref.data.userInfo; | ||||
this.baseInfo = ref.data.basicInfo; | this.baseInfo = ref.data.basicInfo; | ||||
this.headUrl = ref.data.userInfo.Photo; | this.headUrl = ref.data.userInfo.Photo; | ||||
console.log(this.headUrl); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
}, | }, | ||||
@@ -145,7 +145,6 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
var postData = {}; | var postData = {}; | ||||
postData.strEntity = JSON.stringify($('[data-table="StuInfoFresh"]').lrGetFormData()); | postData.strEntity = JSON.stringify($('[data-table="StuInfoFresh"]').lrGetFormData()); | ||||
console.log($('[data-table="StuInfoFresh"]').lrGetFormData()); | |||||
postData.strstuInfoFreshEmergePeopleList = JSON.stringify($('#StuInfoFreshEmergePeople').jfGridGet('rowdatas')); | postData.strstuInfoFreshEmergePeopleList = JSON.stringify($('#StuInfoFreshEmergePeople').jfGridGet('rowdatas')); | ||||
postData.strstuInfoFreshFamilyList = JSON.stringify($('#StuInfoFreshFamily').jfGridGet('rowdatas')); | postData.strstuInfoFreshFamilyList = JSON.stringify($('#StuInfoFreshFamily').jfGridGet('rowdatas')); | ||||
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/SaveForm?keyValue=' + keyValue, postData, function (res) { | $.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/SaveForm?keyValue=' + keyValue, postData, function (res) { | ||||
@@ -54,7 +54,6 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/GetFormData?keyValue=' + StuId, function (data) { | $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/StuInfoFresh/GetFormData?keyValue=' + StuId, function (data) { | ||||
console.log(data); | |||||
$('#userPhoto').attr('src', data.Url); | $('#userPhoto').attr('src', data.Url); | ||||
takeImg(); | takeImg(); | ||||
}); | }); | ||||
@@ -139,7 +139,6 @@ | |||||
if (num == 0 && i == 0) { | if (num == 0 && i == 0) { | ||||
html += tableHtml; | html += tableHtml; | ||||
} | } | ||||
// console.log(n) | |||||
$.each(n, function (j, k) { // 学期数据循环 | $.each(n, function (j, k) { // 学期数据循环 | ||||
if (j == 'title') { | if (j == 'title') { | ||||
html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | ||||
@@ -142,7 +142,6 @@ | |||||
if (num == 0 && i == 0) { | if (num == 0 && i == 0) { | ||||
html += tableHtml; | html += tableHtml; | ||||
} | } | ||||
// console.log(n) | |||||
$.each(n, function (j, k) { // 学期数据循环 | $.each(n, function (j, k) { // 学期数据循环 | ||||
if (j == 'title') { | if (j == 'title') { | ||||
html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | ||||
@@ -141,7 +141,6 @@ | |||||
if (num == 0 && i == 0) { | if (num == 0 && i == 0) { | ||||
html += tableHtml; | html += tableHtml; | ||||
} | } | ||||
// console.log(n) | |||||
$.each(n, function (j, k) { // 学期数据循环 | $.each(n, function (j, k) { // 学期数据循环 | ||||
if (j == 'title') { | if (j == 'title') { | ||||
html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | ||||
@@ -135,7 +135,6 @@ | |||||
if (num == 0 && i == 0) { | if (num == 0 && i == 0) { | ||||
html += tableHtml; | html += tableHtml; | ||||
} | } | ||||
// console.log(n) | |||||
$.each(n, function (j, k) { // 学期数据循环 | $.each(n, function (j, k) { // 学期数据循环 | ||||
if (j == 'title') { | if (j == 'title') { | ||||
html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | ||||
@@ -139,7 +139,6 @@ | |||||
if (num == 0 && i == 0) { | if (num == 0 && i == 0) { | ||||
html += tableHtml; | html += tableHtml; | ||||
} | } | ||||
// console.log(n) | |||||
$.each(n, function (j, k) { // 学期数据循环 | $.each(n, function (j, k) { // 学期数据循环 | ||||
if (j == 'title') { | if (j == 'title') { | ||||
html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | html += '<tr><td colspan="3" style="text-align:center"><b>' + k + '</b></td></tr>' | ||||
@@ -66,7 +66,6 @@ | |||||
p.AcademicYearNo = $('#AcademicYearNo').lrselectGet(); | p.AcademicYearNo = $('#AcademicYearNo').lrselectGet(); | ||||
p.Semester = $('#Semester').lrselectGet(); | p.Semester = $('#Semester').lrselectGet(); | ||||
p.ClassNo = item.value; | p.ClassNo = item.value; | ||||
console.log(item) | |||||
if (p.AcademicYearNo == null || p.AcademicYearNo == "") { | if (p.AcademicYearNo == null || p.AcademicYearNo == "") { | ||||
learun.alert.warning("请选择学年!"); | learun.alert.warning("请选择学年!"); | ||||
return; | return; | ||||
@@ -108,7 +107,6 @@ | |||||
p.LessonNo = $('#LessonNo').lrselectGet(); | p.LessonNo = $('#LessonNo').lrselectGet(); | ||||
learun.httpAsyncPost(top.$.rootUrl + "/EducationalAdministration/StuScore/GetScoreCharts", p, function (res) { | learun.httpAsyncPost(top.$.rootUrl + "/EducationalAdministration/StuScore/GetScoreCharts", p, function (res) { | ||||
if (res.code == 200) { | if (res.code == 200) { | ||||
console.log(res); | |||||
var option1 = { | var option1 = { | ||||
title: { | title: { | ||||
text: p.AcademicYearNo + '学年成绩分析图', | text: p.AcademicYearNo + '学年成绩分析图', | ||||
@@ -39,7 +39,6 @@ var bootstrap = function ($, learun) { | |||||
initData: function () { | initData: function () { | ||||
if (!!keyValue) { | if (!!keyValue) { | ||||
$.lrSetForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/GetFormData?keyValue=' + keyValue, function (data) { | $.lrSetForm(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/GetFormData?keyValue=' + keyValue, function (data) { | ||||
console.log(data); | |||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
$('#' + id).jfGridSet('refreshdata', data[id]); | $('#' + id).jfGridSet('refreshdata', data[id]); | ||||
@@ -149,7 +149,6 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "状态", name: "RSendFlag", width: 100, align: "left", | label: "状态", name: "RSendFlag", width: 100, align: "left", | ||||
formatter: function (cellvalue, row) { | formatter: function (cellvalue, row) { | ||||
console.log(cellvalue); | |||||
if (cellvalue == 1) { | if (cellvalue == 1) { | ||||
return '<span class=\"label label-warning\">审批中</span>'; | return '<span class=\"label label-warning\">审批中</span>'; | ||||
} else if (cellvalue == 2) { | } else if (cellvalue == 2) { | ||||
@@ -33,7 +33,6 @@ var bootstrap = function ($, learun) { | |||||
$('#SendType').lrDataItemSelect({ | $('#SendType').lrDataItemSelect({ | ||||
code: 'FileSendType', select: function (item) { | code: 'FileSendType', select: function (item) { | ||||
if (item != null && item != undefined) { | if (item != null && item != undefined) { | ||||
console.log(item.id); | |||||
if (item.id === 1 || item.id === "1") { | if (item.id === 1 || item.id === "1") { | ||||
$("#CompanyIddiv").show(); | $("#CompanyIddiv").show(); | ||||
$("#CompanyId").attr("isvalid", "yes"); | $("#CompanyId").attr("isvalid", "yes"); | ||||
@@ -253,7 +252,6 @@ var bootstrap = function ($, learun) { | |||||
// 保存数据 | // 保存数据 | ||||
save = function (processId, callBack, i) { | save = function (processId, callBack, i) { | ||||
var formData = $('body').lrGetFormData(); | var formData = $('body').lrGetFormData(); | ||||
console.log(formData); | |||||
var sendtype = $('#SendType').lrselectGet(); | var sendtype = $('#SendType').lrselectGet(); | ||||
if (sendtype == "1") { | if (sendtype == "1") { | ||||
formData.ReceiverId = $("#CompanyId").lrselectGet(); | formData.ReceiverId = $("#CompanyId").lrselectGet(); | ||||
@@ -158,7 +158,6 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
// 保存数据 | // 保存数据 | ||||
acceptClick = function (callBack) { | acceptClick = function (callBack) { | ||||
console.log($('#Url').lrUploaderGet()); | |||||
if (!$('#form').lrValidform()) { | if (!$('#form').lrValidform()) { | ||||
return false; | return false; | ||||
} | } | ||||
@@ -33,7 +33,6 @@ var bootstrap = function ($, learun) { | |||||
$('#SendType').lrDataItemSelect({ | $('#SendType').lrDataItemSelect({ | ||||
code: 'FileSendType', select: function (item) { | code: 'FileSendType', select: function (item) { | ||||
if (item != null && item != undefined) { | if (item != null && item != undefined) { | ||||
console.log(item.id); | |||||
if (item.id === 1 || item.id === "1") { | if (item.id === 1 || item.id === "1") { | ||||
$("#CompanyIddiv").show(); | $("#CompanyIddiv").show(); | ||||
$("#CompanyId").attr("isvalid", "yes"); | $("#CompanyId").attr("isvalid", "yes"); | ||||
@@ -253,7 +252,6 @@ var bootstrap = function ($, learun) { | |||||
// 保存数据 | // 保存数据 | ||||
save = function (processId, callBack, i) { | save = function (processId, callBack, i) { | ||||
var formData = $('body').lrGetFormData(); | var formData = $('body').lrGetFormData(); | ||||
console.log(formData); | |||||
var sendtype = $('#SendType').lrselectGet(); | var sendtype = $('#SendType').lrselectGet(); | ||||
if (sendtype == "1") { | if (sendtype == "1") { | ||||
formData.ReceiverId = $("#CompanyId").lrselectGet(); | formData.ReceiverId = $("#CompanyId").lrselectGet(); | ||||
@@ -72,7 +72,6 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "开关名称", name: "type", width: 100, align: "left", | label: "开关名称", name: "type", width: 100, align: "left", | ||||
formatter: function (val) { | formatter: function (val) { | ||||
console.log(val); | |||||
if (val == 'js') { | if (val == 'js') { | ||||
return '教师注册开关'; | return '教师注册开关'; | ||||
} else if (val == 'fx') { | } else if (val == 'fx') { | ||||
@@ -104,7 +104,6 @@ var bootstrap = function ($, learun) { | |||||
interfaceId = item.id; | interfaceId = item.id; | ||||
formId = item.value; | formId = item.value; | ||||
console.log(interfaceId, formId); | |||||
$('#titleinfo').text(item.text); | $('#titleinfo').text(item.text); | ||||
page.search(); | page.search(); | ||||
@@ -42,7 +42,6 @@ var bootstrap = function ($, learun) { | |||||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | ||||
// 调用后台查询 | // 调用后台查询 | ||||
// queryJson 查询条件 | // queryJson 查询条件 | ||||
console.log(queryJson); | |||||
page.search({ queryJson: JSON.stringify(queryJson)}); | page.search({ queryJson: JSON.stringify(queryJson)}); | ||||
},220); | },220); | ||||
@@ -10,7 +10,6 @@ | |||||
loaddata: function () { | loaddata: function () { | ||||
learun.httpAsyncGet(top.$.rootUrl + '/LR_CodeDemo/WorkOrder/GetList',function (data) { | learun.httpAsyncGet(top.$.rootUrl + '/LR_CodeDemo/WorkOrder/GetList',function (data) { | ||||
if (!!data) { | if (!!data) { | ||||
console.log('data', data.data[0]['01']); | |||||
$("#line1-1").html('未完成:' + data.data[0]['1-1']); | $("#line1-1").html('未完成:' + data.data[0]['1-1']); | ||||
$("#line1-2").html('已完成:' + data.data[0]['1-2']); | $("#line1-2").html('已完成:' + data.data[0]['1-2']); | ||||
$("#line2-1").html('未完成:' + data.data[0]['2-1']); | $("#line2-1").html('未完成:' + data.data[0]['2-1']); | ||||
@@ -21,7 +21,6 @@ var bootstrap = function ($, learun) { | |||||
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailTree', | url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailTree', | ||||
param: { itemCode: 'CodeSchemaType' }, | param: { itemCode: 'CodeSchemaType' }, | ||||
nodeClick: function (item) { | nodeClick: function (item) { | ||||
console.log(item); | |||||
ftype = item.value; | ftype = item.value; | ||||
$('#titleinfo').text(item.text); | $('#titleinfo').text(item.text); | ||||
@@ -318,7 +318,6 @@ function () { | |||||
headData: [{ label: "商品编号", name: "F_ItemValue", width: 100, align: "left" }, | headData: [{ label: "商品编号", name: "F_ItemValue", width: 100, align: "left" }, | ||||
{ label: "商品名称", name: "F_ItemName", width: 450, align: "left" }], | { label: "商品名称", name: "F_ItemName", width: 450, align: "left" }], | ||||
select: function (item) { | select: function (item) { | ||||
//console.log(item); | |||||
} | } | ||||
}); | }); | ||||
@@ -407,12 +406,10 @@ function () { | |||||
{ label: "备注", name: "f_description", width: 200, align: "left" } | { label: "备注", name: "f_description", width: 200, align: "left" } | ||||
], | ], | ||||
select: function (values, texts) { | select: function (values, texts) { | ||||
//console.log(values, texts); | |||||
} | } | ||||
}); | }); | ||||
//$('#select6').lrlayerselectSet('79e2b36d-73e6-42ff-aca2-e6b6bd885662,ed650fb0-5649-43b3-957d-73ceae26c313'); | //$('#select6').lrlayerselectSet('79e2b36d-73e6-42ff-aca2-e6b6bd885662,ed650fb0-5649-43b3-957d-73ceae26c313'); | ||||
//console.log($('#select6').lrlayerselectGet(),'获取数据'); | |||||
$('#select7').lrlayerselect({ | $('#select7').lrlayerselect({ | ||||
treeCode: 'dataitemc', | treeCode: 'dataitemc', | ||||
treeParentId: 'f_parentid', | treeParentId: 'f_parentid', | ||||
@@ -34,7 +34,6 @@ var bootstrap = function ($, learun) { | |||||
return false; | return false; | ||||
} | } | ||||
var formData = $('#step-2').lrGetFormData(); | var formData = $('#step-2').lrGetFormData(); | ||||
console.log(formData); | |||||
postData = { | postData = { | ||||
databaseLinkId: databaseLinkId, | databaseLinkId: databaseLinkId, | ||||
tableName: $('#dbtablegird').jfGridValue('name'), | tableName: $('#dbtablegird').jfGridValue('name'), | ||||
@@ -71,7 +71,6 @@ var bootstrap = function ($, learun) { | |||||
if (v.step == 1) { | if (v.step == 1) { | ||||
dbTable = $("#dbtablegird").jfGridValue("name"); | dbTable = $("#dbtablegird").jfGridValue("name"); | ||||
dbTablePk = $("#dbtablegird").jfGridValue("pk"); | dbTablePk = $("#dbtablegird").jfGridValue("pk"); | ||||
console.log(dbTable, dbTablePk); | |||||
if (dbTable == "") { | if (dbTable == "") { | ||||
learun.alert.error("请选择数据表"); | learun.alert.error("请选择数据表"); | ||||
return false; | return false; | ||||
@@ -100,7 +100,6 @@ var bootstrap = function (a, c) { | |||||
if (t.code == 200) { | if (t.code == 200) { | ||||
a.each(t.data, | a.each(t.data, | ||||
function (u, v) { | function (u, v) { | ||||
console.log("#" + u); | |||||
a("#" + u).html('<textarea name="SyntaxHighlighter" class="brush: c-sharp;">' + v + "</textarea>") | a("#" + u).html('<textarea name="SyntaxHighlighter" class="brush: c-sharp;">' + v + "</textarea>") | ||||
}); | }); | ||||
SyntaxHighlighter.highlight() | SyntaxHighlighter.highlight() | ||||
@@ -129,7 +129,6 @@ var bootstrap = function ($, learun) { | |||||
$("#Background").lrDataSourceSelect({ | $("#Background").lrDataSourceSelect({ | ||||
code: 'DesktopTheme', placeholder: '默认', codeTwo: 'font', codeOne: 'name', value: 'background', text: 'name', select: function (a) { | code: 'DesktopTheme', placeholder: '默认', codeTwo: 'font', codeOne: 'name', value: 'background', text: 'name', select: function (a) { | ||||
if (a) { | if (a) { | ||||
console.log(a); | |||||
$("#Background").css('background', a.background); | $("#Background").css('background', a.background); | ||||
$("#Background .lr-select-placeholder").css('color', a.font); | $("#Background .lr-select-placeholder").css('color', a.font); | ||||
} | } | ||||
@@ -79,7 +79,6 @@ var bootstrap = function (a, b) { | |||||
}, | }, | ||||
initData: function () { | initData: function () { | ||||
if (!!d) { | if (!!d) { | ||||
console.log(d); | |||||
keyValue = d.F_Id; | keyValue = d.F_Id; | ||||
d.F_DataSourceId = d.F_DataSourceId.trim(); | d.F_DataSourceId = d.F_DataSourceId.trim(); | ||||
//a("#F_DataSourceId").lrselectSet(d.F_DataSourceId.trim()); | //a("#F_DataSourceId").lrselectSet(d.F_DataSourceId.trim()); | ||||
@@ -3,8 +3,7 @@ var acceptClick; | |||||
var bootstrap = function ($, learun) { | var bootstrap = function ($, learun) { | ||||
"use strict"; | "use strict"; | ||||
console.log('test') | |||||
var schemeObj; | var schemeObj; | ||||
var history; | var history; | ||||
var currentIds; | var currentIds; | ||||
@@ -45,10 +44,8 @@ var bootstrap = function ($, learun) { | |||||
}); | }); | ||||
learun.httpAsync('GET', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetProcessDetails', { processId: processId }, function (data) { | learun.httpAsync('GET', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetProcessDetails', { processId: processId }, function (data) { | ||||
console.log(data) | |||||
if (data) { | |||||
console.log(data) | |||||
if (data) { | |||||
var info = data.info; | var info = data.info; | ||||
page.taskInfo = data.task; | page.taskInfo = data.task; | ||||
@@ -228,8 +225,7 @@ var bootstrap = function ($, learun) { | |||||
// 保存成功后才回调 | // 保存成功后才回调 | ||||
callBack && callBack(); | callBack && callBack(); | ||||
}); | }); | ||||
console.log(formData) | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } |
@@ -78,8 +78,7 @@ var bootstrap = function ($, learun) { | |||||
placeholder: '请选择数据库', | placeholder: '请选择数据库', | ||||
allowSearch: true, | allowSearch: true, | ||||
select: function (item) { | select: function (item) { | ||||
console.log(item); | |||||
if (item && !item.hasChildren) { | |||||
if (item && !item.hasChildren) { | |||||
dbId = item.id; | dbId = item.id; | ||||
$('#ReFormId').lrselectRefresh({ | $('#ReFormId').lrselectRefresh({ | ||||
url: top.$.rootUrl + '/LR_SystemModule/DatabaseTable/GetList', | url: top.$.rootUrl + '/LR_SystemModule/DatabaseTable/GetList', | ||||
@@ -110,8 +109,7 @@ var bootstrap = function ($, learun) { | |||||
res.auditorName = "【" + formName + "】" + fieldName; | res.auditorName = "【" + formName + "】" + fieldName; | ||||
res.type = '5';//审核者类型1.岗位2.角色3.用户4.上下级5.表单指定字段6.某一个节点执行人 | res.type = '5';//审核者类型1.岗位2.角色3.用户4.上下级5.表单指定字段6.某一个节点执行人 | ||||
callBack(res); | callBack(res); | ||||
console.log(formData, res); | |||||
return true; | |||||
return true; | |||||
}; | }; | ||||
page.init(); | page.init(); | ||||
} | } |
@@ -23,8 +23,7 @@ var bootstrap = function ($, learun) { | |||||
initData: function () { | initData: function () { | ||||
var loginInfo = learun.clientdata.get(['userinfo']); //登陆者信息 | var loginInfo = learun.clientdata.get(['userinfo']); //登陆者信息 | ||||
$.lrSetForm(top.$.rootUrl + '/LR_OAModule/Email/GetConfigEntity?keyValue=' + loginInfo.userId, function (data) {// | $.lrSetForm(top.$.rootUrl + '/LR_OAModule/Email/GetConfigEntity?keyValue=' + loginInfo.userId, function (data) {// | ||||
console.log(data); | |||||
Id = data.F_Id; | |||||
Id = data.F_Id; | |||||
$('#form').lrSetFormData(data); | $('#form').lrSetFormData(data); | ||||
}); | }); | ||||
} | } | ||||
@@ -33,8 +33,7 @@ var bootstrap = function ($, learun) { | |||||
$(".crumb-path span").click(function () { | $(".crumb-path span").click(function () { | ||||
var value = $(this).attr('data-folderId'); | var value = $(this).attr('data-folderId'); | ||||
var folderId = $(".crumb-path span:last").attr('data-folderId'); | var folderId = $(".crumb-path span:last").attr('data-folderId'); | ||||
console.log(value); | |||||
if (value == "back") { | |||||
if (value == "back") { | |||||
if (folderId == 0) { | if (folderId == 0) { | ||||
$(".crumb-path .back").hide(); | $(".crumb-path .back").hide(); | ||||
} | } | ||||
@@ -99,8 +99,7 @@ var bootstrap = function ($, learun) { | |||||
// 触发合并文件碎片 | // 触发合并文件碎片 | ||||
var mergeFileChunks = function (file) { | var mergeFileChunks = function (file) { | ||||
//console.log(file, fileInfo); | |||||
var param = {}; | var param = {}; | ||||
param['__RequestVerificationToken'] = $.lrToken; | param['__RequestVerificationToken'] = $.lrToken; | ||||
param['fileId'] = fileInfo[file.id].fileGuid; | param['fileId'] = fileInfo[file.id].fileGuid; | ||||
@@ -115,8 +115,7 @@ var bootstrap = function ($, learun) { | |||||
$('#' + v).addClass('active'); | $('#' + v).addClass('active'); | ||||
tabType = v; | tabType = v; | ||||
page.search[v] && page.search[v](); | page.search[v] && page.search[v](); | ||||
//console.log(tabType) | |||||
//lr-uploadify | |||||
//lr-uploadify | |||||
}); | }); | ||||
}, | }, | ||||
@@ -464,8 +463,7 @@ var bootstrap = function ($, learun) { | |||||
$div.append($hbtn); | $div.append($hbtn); | ||||
} | } | ||||
//console.log(); | |||||
return $div; | return $div; | ||||
} | } | ||||
} | } | ||||
@@ -108,8 +108,7 @@ var bootstrap = function ($, learun) { | |||||
return false; | return false; | ||||
} | } | ||||
var postData = $('#form').lrGetFormData(); | var postData = $('#form').lrGetFormData(); | ||||
console.log('postData', postData); | |||||
if (!!callBack) { | |||||
if (!!callBack) { | |||||
if (postData.F_SelectMinute == "每日") { | if (postData.F_SelectMinute == "每日") { | ||||
callBack("每" + $('#F_CarryMounth').text() + "" + postData.F_SelectMinute + $('#F_Hour').val() + "时" + $('#F_Minute').val() + "分执行", postData, rowid); | callBack("每" + $('#F_CarryMounth').text() + "" + postData.F_SelectMinute + $('#F_Hour').val() + "时" + $('#F_Minute').val() + "分执行", postData, rowid); | ||||
} else { | } else { | ||||
@@ -14,8 +14,7 @@ var bootstrap = function ($, learun) { | |||||
var taskId = learun.frameTab.currentIframe().taskId; | var taskId = learun.frameTab.currentIframe().taskId; | ||||
var formData = learun.frameTab.currentIframe().allFormDatas; | var formData = learun.frameTab.currentIframe().allFormDatas; | ||||
//console.log(type, shcemeCode, processId, taskId); | |||||
var page = { | var page = { | ||||
init: function () { | init: function () { | ||||
if (type == 2) { | if (type == 2) { | ||||
@@ -124,8 +124,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
console.log(res, processId); | |||||
page.search(); | |||||
page.search(); | |||||
} | } | ||||
@@ -114,7 +114,6 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "部门", name: "Department", width: 100, align: "left", | label: "部门", name: "Department", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
console.log(value); | |||||
learun.clientdata.getAsync('custmerData', { | learun.clientdata.getAsync('custmerData', { | ||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | ||||
key: value, | key: value, | ||||
@@ -68,7 +68,6 @@ var bootstrap = function ($, learun) { | |||||
value: 'id', | value: 'id', | ||||
select: function (item) { | select: function (item) { | ||||
if (item) { | if (item) { | ||||
console.log(item.id); | |||||
$('#RId').lrselectRefresh({ | $('#RId').lrselectRefresh({ | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | ||||
param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | ||||
@@ -42,7 +42,6 @@ var bootstrap = function ($, learun) { | |||||
value: 'id', | value: 'id', | ||||
select: function (item) { | select: function (item) { | ||||
if (item) { | if (item) { | ||||
console.log(item.id); | |||||
$('#RId').lrselectRefresh({ | $('#RId').lrselectRefresh({ | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | ||||
param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | ||||
@@ -57,7 +57,6 @@ var bootstrap = function ($, learun) { | |||||
value: 'id', | value: 'id', | ||||
select: function (item) { | select: function (item) { | ||||
if (item) { | if (item) { | ||||
console.log(item.id); | |||||
$('#RId').lrselectRefresh({ | $('#RId').lrselectRefresh({ | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | ||||
param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | ||||
@@ -56,7 +56,6 @@ var bootstrap = function ($, learun) { | |||||
value: 'id', | value: 'id', | ||||
select: function (item) { | select: function (item) { | ||||
if (item) { | if (item) { | ||||
console.log(item.id); | |||||
$('#RId').lrselectRefresh({ | $('#RId').lrselectRefresh({ | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', | ||||
param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | param: { code: 'Acc_RoomData', strWhere: "ParentID='" + item.id + "' order by name" } | ||||
@@ -273,7 +273,6 @@ | |||||
this.unitName = ref.data.unitName; | this.unitName = ref.data.unitName; | ||||
this.unitID = ref.data.unitID; | this.unitID = ref.data.unitID; | ||||
} | } | ||||
console.log(this.floors); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
@@ -376,7 +375,6 @@ | |||||
if (res) { | if (res) { | ||||
this.floors.splice($.inArray(floor, this.floors), 1); | this.floors.splice($.inArray(floor, this.floors), 1); | ||||
top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | ||||
console.log("删除成功"); | |||||
}); | }); | ||||
} | } | ||||
}.bind(this)); | }.bind(this)); | ||||
@@ -292,7 +292,6 @@ | |||||
this.floorName = ref.data.floorName; | this.floorName = ref.data.floorName; | ||||
this.floorID = ref.data.floorID; | this.floorID = ref.data.floorID; | ||||
} | } | ||||
console.log(this.floors); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
@@ -411,7 +410,6 @@ | |||||
if (res) { | if (res) { | ||||
this.floors.splice($.inArray(floor, this.floors), 1); | this.floors.splice($.inArray(floor, this.floors), 1); | ||||
top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | ||||
console.log("删除成功"); | |||||
}); | }); | ||||
} | } | ||||
}.bind(this)); | }.bind(this)); | ||||
@@ -121,7 +121,6 @@ | |||||
getData: function () { | getData: function () { | ||||
$.get('/LogisticsManagement/Accommodation/GetDormitoryList', function (ref) { | $.get('/LogisticsManagement/Accommodation/GetDormitoryList', function (ref) { | ||||
this.floors = ref.data; | this.floors = ref.data; | ||||
//console.log(this.floors); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
@@ -82,10 +82,8 @@ var bootstrap = function ($, learun) { | |||||
//批量添加宿舍 | //批量添加宿舍 | ||||
$("#lr_dormitoryAdd").on("click", function () { | $("#lr_dormitoryAdd").on("click", function () { | ||||
var keyvalue1 = $("#gridtable").jfGridValue("ID"); | var keyvalue1 = $("#gridtable").jfGridValue("ID"); | ||||
console.log(keyvalue1); | |||||
if (selectedParent.ChildType == "2") { | if (selectedParent.ChildType == "2") { | ||||
var keyValue = selectedParent.ID; | var keyValue = selectedParent.ID; | ||||
console.log(keyValue); | |||||
learun.layerForm({ | learun.layerForm({ | ||||
id: 'form', | id: 'form', | ||||
title: '批量添加宿舍', | title: '批量添加宿舍', | ||||
@@ -135,7 +133,6 @@ var bootstrap = function ($, learun) { | |||||
$('#dataTree').lrtree({ | $('#dataTree').lrtree({ | ||||
url: top.$.rootUrl + '/LogisticsManagement/Accommodation/GetTree', | url: top.$.rootUrl + '/LogisticsManagement/Accommodation/GetTree', | ||||
nodeClick: function (item) { | nodeClick: function (item) { | ||||
console.log(item); | |||||
selectedParent.ID = item.value; | selectedParent.ID = item.value; | ||||
selectedParent.Name = item.text; | selectedParent.Name = item.text; | ||||
@@ -211,7 +211,6 @@ | |||||
this.roomName = ref.data.roomName; | this.roomName = ref.data.roomName; | ||||
this.roomID = ref.data.roomID; | this.roomID = ref.data.roomID; | ||||
} | } | ||||
console.log(ref); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
@@ -439,7 +438,6 @@ | |||||
if (res) { | if (res) { | ||||
this.floors.splice($.inArray(floor, this.floors), 1); | this.floors.splice($.inArray(floor, this.floors), 1); | ||||
top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | ||||
console.log("删除成功"); | |||||
}); | }); | ||||
} | } | ||||
}.bind(this)); | }.bind(this)); | ||||
@@ -265,8 +265,6 @@ | |||||
this.dormitoryName = ref.data.DormitoryName; | this.dormitoryName = ref.data.DormitoryName; | ||||
this.dormitoryID = ref.data.DormitoryID; | this.dormitoryID = ref.data.DormitoryID; | ||||
} | } | ||||
console.log(this.floors); | |||||
console.log(request("bbc")); | |||||
}.bind(this), "json"); | }.bind(this), "json"); | ||||
@@ -371,7 +369,6 @@ | |||||
if (res) { | if (res) { | ||||
this.floors.splice($.inArray(floor, this.floors), 1); | this.floors.splice($.inArray(floor, this.floors), 1); | ||||
top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | top.learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/DeleteForm', { keyValue: floor.dormitory.ID }, function () { | ||||
console.log("删除成功"); | |||||
}); | }); | ||||
} | } | ||||
}.bind(this)); | }.bind(this)); | ||||
@@ -18,11 +18,9 @@ var bootstrap = function ($, learun) { | |||||
$('#dataTree').lrtree({ | $('#dataTree').lrtree({ | ||||
url: top.$.rootUrl + '/LogisticsManagement/Sanitation/GetTree', | url: top.$.rootUrl + '/LogisticsManagement/Sanitation/GetTree', | ||||
nodeClick: function (item) { | nodeClick: function (item) { | ||||
console.log(item); | |||||
selectedParent.ID = item.value; | selectedParent.ID = item.value; | ||||
selectedParent.hasChildren = item.hasChildren; | selectedParent.hasChildren = item.hasChildren; | ||||
selectedParent.textName = item.text; | selectedParent.textName = item.text; | ||||
console.log(selectedParent.textName.indexOf("室")); | |||||
page.search({ RoomID: item.value }); | page.search({ RoomID: item.value }); | ||||
} | } | ||||
}); | }); | ||||
@@ -54,8 +54,7 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: '是否出勤', name: 'AttendOrNo', width: 130, align: 'left', | label: '是否出勤', name: 'AttendOrNo', width: 130, align: 'left', | ||||
formatter: function (cellvalue) { | formatter: function (cellvalue) { | ||||
console.log(cellvalue); | |||||
if (cellvalue == "是") { | |||||
if (cellvalue == "是") { | |||||
return "<span class=\"label label-success\">是</span>"; | return "<span class=\"label label-success\">是</span>"; | ||||
} else { | } else { | ||||
return "<span class=\"label label-danger\">否</span>"; | return "<span class=\"label label-danger\">否</span>"; | ||||
@@ -6408,8 +6408,7 @@ $.widget("ui.draggable", $.ui.mouse, { | |||||
pageY = event.pageY; | pageY = event.pageY; | ||||
//console.log(pageX,pageY); | |||||
// Cache the scroll | // Cache the scroll | ||||
if ( !scrollIsRootNode || !this.offset.scroll ) { | if ( !scrollIsRootNode || !this.offset.scroll ) { | ||||
@@ -6652,8 +6651,7 @@ $.ui.plugin.add( "draggable", "connectToSortable", { | |||||
return innermostIntersecting; | return innermostIntersecting; | ||||
}); | }); | ||||
} | } | ||||
//console.log(innermostIntersecting, sortable.containerCache); | |||||
if ( innermostIntersecting ) { | |||||
if ( innermostIntersecting ) { | |||||
// If it intersects, we use a little isOver variable and set it once, | // If it intersects, we use a little isOver variable and set it once, | ||||
// so that the move-in stuff gets fired only once. | // so that the move-in stuff gets fired only once. | ||||
event.pageY -= _iframeY;//cbbex | event.pageY -= _iframeY;//cbbex | ||||
@@ -62,8 +62,7 @@ $.getJSON('static/map/china.json', function(data){ | |||||
//地图点击事件 | //地图点击事件 | ||||
chart.on('click', function (params) { | chart.on('click', function (params) { | ||||
console.log( params ); | |||||
if( params.name in provinces ){ | |||||
if( params.name in provinces ){ | |||||
//如果点击的是34个省、市、自治区,绘制选中地区的二级地图 | //如果点击的是34个省、市、自治区,绘制选中地区的二级地图 | ||||
$.getJSON('static/map/province/'+ provinces[params.name] +'.json', function(data){ | $.getJSON('static/map/province/'+ provinces[params.name] +'.json', function(data){ | ||||
echarts.registerMap( params.name, data); | echarts.registerMap( params.name, data); | ||||
@@ -7238,8 +7238,7 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g'); | |||||
} | } | ||||
me.fireEvent('beforegetcontent'); | me.fireEvent('beforegetcontent'); | ||||
var root = UE.htmlparser(me.body.innerHTML, ignoreBlank); | var root = UE.htmlparser(me.body.innerHTML, ignoreBlank); | ||||
//console.log(me.body.innerHTML, root, 'learun'); | |||||
me.filterOutputRule(root); | |||||
me.filterOutputRule(root); | |||||
me.fireEvent('aftergetcontent', cmd,root); | me.fireEvent('aftergetcontent', cmd,root); | ||||
return root.toHtml(formatter); | return root.toHtml(formatter); | ||||
}, | }, | ||||
@@ -9470,8 +9469,7 @@ var htmlparser = UE.htmlparser = function (htmlstr,ignoreBlank) { | |||||
while (match = re_attr.exec(htmlattr)) { | while (match = re_attr.exec(htmlattr)) { | ||||
attrs[match[1].toLowerCase()] = notTransAttrs[match[1].toLowerCase()] ? (match[2] || match[3] || match[4]) : utils.unhtml(match[2] || match[3] || match[4]) | attrs[match[1].toLowerCase()] = notTransAttrs[match[1].toLowerCase()] ? (match[2] || match[3] || match[4]) : utils.unhtml(match[2] || match[3] || match[4]) | ||||
} | } | ||||
//console.log('learun', htmlattr, attrs); | |||||
elm.attrs = attrs; | |||||
elm.attrs = attrs; | |||||
} | } | ||||
console.log(elm.attrs, 'learun', 'elm.attrs'); | console.log(elm.attrs, 'learun', 'elm.attrs'); | ||||
@@ -9545,8 +9543,7 @@ var htmlparser = UE.htmlparser = function (htmlstr,ignoreBlank) { | |||||
}catch(e){} | }catch(e){} | ||||
nextIndex = re_tag.lastIndex; | nextIndex = re_tag.lastIndex; | ||||
//console.log(currentParent, 'learun', 'currentParent'); | |||||
} | |||||
} | |||||
//如果结束是文本,就有可能丢掉,所以这里手动判断一下 | //如果结束是文本,就有可能丢掉,所以这里手动判断一下 | ||||
//例如 <li>sdfsdfsdf<li>sdfsdfsdfsdf | //例如 <li>sdfsdfsdf<li>sdfsdfsdfsdf | ||||
if (nextIndex < htmlstr.length) { | if (nextIndex < htmlstr.length) { | ||||
@@ -143,13 +143,11 @@ | |||||
var modulesTree = top.learun.clientdata.get(['modulesTree']); | var modulesTree = top.learun.clientdata.get(['modulesTree']); | ||||
var parentId = '0'; | var parentId = '0'; | ||||
var modules = modulesTree[parentId] || []; | var modules = modulesTree[parentId] || []; | ||||
//console.log(modulesTree) | |||||
$('.nav').on('click', '.navMoreBox .navMore', function () {//查看更多 | $('.nav').on('click', '.navMoreBox .navMore', function () {//查看更多 | ||||
var id = $(this).parents('.navBox').attr('id'); | var id = $(this).parents('.navBox').attr('id'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('.navCon[parentid="' + id + '"]').addClass('active').fadeIn(); | $('.navCon[parentid="' + id + '"]').addClass('active').fadeIn(); | ||||
//console.log($('.navRow[parentid="'+ id +'"]')) | |||||
}).on('click', '.navTitle .fa-angle-left', function () {//返回上一页 | |||||
// }).on('click', '.navTitle .fa-angle-left', function () {//返回上一页 | |||||
var id = $(this).parents('.navCon').attr('parentid'); | var id = $(this).parents('.navCon').attr('parentid'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('#' + id).parents('.navCon').addClass('active').fadeIn(); | $('#' + id).parents('.navCon').addClass('active').fadeIn(); | ||||
@@ -197,7 +195,6 @@ | |||||
var $threeMenux = $('<div class="navCon navCons" num="3" parentid="' + secondItem.F_ModuleId + '"><div class="navTitle" style="background: ' + color + ';color:#fff"><i class="fa fa-angle-left"></i><i class="' + secondItem.F_Icon + '"></i>' + secondItem.F_FullName + '</div></div>'); | var $threeMenux = $('<div class="navCon navCons" num="3" parentid="' + secondItem.F_ModuleId + '"><div class="navTitle" style="background: ' + color + ';color:#fff"><i class="fa fa-angle-left"></i><i class="' + secondItem.F_Icon + '"></i>' + secondItem.F_FullName + '</div></div>'); | ||||
var threeMenuHad = false; | var threeMenuHad = false; | ||||
var secondClassName = '', secondMore = ''; | var secondClassName = '', secondMore = ''; | ||||
//console.log(threeModules.length) | |||||
if (threeModules.length != 0) { | if (threeModules.length != 0) { | ||||
secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | ||||
} | } | ||||
@@ -134,13 +134,11 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var modulesTree = top.learun.clientdata.get(['modulesTree']); | var modulesTree = top.learun.clientdata.get(['modulesTree']); | ||||
var parentId = '0'; | var parentId = '0'; | ||||
var modules = modulesTree[parentId] || []; | var modules = modulesTree[parentId] || []; | ||||
//console.log(modulesTree) | |||||
$('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | $('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | ||||
var id = $(this).parents('.navBox').attr('id'); | var id = $(this).parents('.navBox').attr('id'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | $('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | ||||
//console.log($('.navRow[parentid="'+ id +'"]')) | |||||
}).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | |||||
// }).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | |||||
var id = $(this).parents('.navCon').attr('parentid'); | var id = $(this).parents('.navCon').attr('parentid'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('#' + id).parents('.navCon').addClass('active').fadeIn(); | $('#' + id).parents('.navCon').addClass('active').fadeIn(); | ||||
@@ -188,7 +186,6 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | ||||
var threeMenuHad = false; | var threeMenuHad = false; | ||||
var secondClassName = '', secondMore = ''; | var secondClassName = '', secondMore = ''; | ||||
//console.log(threeModules.length) | |||||
if(threeModules.length != 0){ | if(threeModules.length != 0){ | ||||
secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | ||||
} | } | ||||
@@ -134,12 +134,10 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var modulesTree = top.learun.clientdata.get(['modulesTree']); | var modulesTree = top.learun.clientdata.get(['modulesTree']); | ||||
var parentId = '0'; | var parentId = '0'; | ||||
var modules = modulesTree[parentId] || []; | var modules = modulesTree[parentId] || []; | ||||
//console.log(modulesTree) | |||||
$('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | $('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | ||||
var id = $(this).parents('.navBox').attr('id'); | var id = $(this).parents('.navBox').attr('id'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | $('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | ||||
//console.log($('.navRow[parentid="'+ id +'"]')) | |||||
}).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | }).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | ||||
var id = $(this).parents('.navCon').attr('parentid'); | var id = $(this).parents('.navCon').attr('parentid'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
@@ -188,7 +186,6 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | ||||
var threeMenuHad = false; | var threeMenuHad = false; | ||||
var secondClassName = '', secondMore = ''; | var secondClassName = '', secondMore = ''; | ||||
//console.log(threeModules.length) | |||||
if(threeModules.length != 0){ | if(threeModules.length != 0){ | ||||
secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | ||||
} | } | ||||
@@ -134,12 +134,10 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var modulesTree = top.learun.clientdata.get(['modulesTree']); | var modulesTree = top.learun.clientdata.get(['modulesTree']); | ||||
var parentId = '0'; | var parentId = '0'; | ||||
var modules = modulesTree[parentId] || []; | var modules = modulesTree[parentId] || []; | ||||
//console.log(modulesTree) | |||||
$('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | $('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | ||||
var id = $(this).parents('.navBox').attr('id'); | var id = $(this).parents('.navBox').attr('id'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | $('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | ||||
//console.log($('.navRow[parentid="'+ id +'"]')) | |||||
}).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | }).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | ||||
var id = $(this).parents('.navCon').attr('parentid'); | var id = $(this).parents('.navCon').attr('parentid'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
@@ -188,8 +186,7 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | ||||
var threeMenuHad = false; | var threeMenuHad = false; | ||||
var secondClassName = '', secondMore = ''; | var secondClassName = '', secondMore = ''; | ||||
//console.log(threeModules.length) | |||||
if(threeModules.length != 0){ | |||||
if(threeModules.length != 0){ | |||||
secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | ||||
} | } | ||||
@@ -135,13 +135,11 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var modulesTree = top.learun.clientdata.get(['modulesTree']); | var modulesTree = top.learun.clientdata.get(['modulesTree']); | ||||
var parentId = '0'; | var parentId = '0'; | ||||
var modules = modulesTree[parentId] || []; | var modules = modulesTree[parentId] || []; | ||||
//console.log(modulesTree) | |||||
$('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | |||||
$('.nav').on('click', '.navMoreBox .navMore', function(){//查看更多 | |||||
var id = $(this).parents('.navBox').attr('id'); | var id = $(this).parents('.navBox').attr('id'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | $('.navCon[parentid="'+ id +'"]').addClass('active').fadeIn(); | ||||
//console.log($('.navRow[parentid="'+ id +'"]')) | |||||
}).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | |||||
}).on('click', '.navTitle .fa-angle-left', function(){//返回上一页 | |||||
var id = $(this).parents('.navCon').attr('parentid'); | var id = $(this).parents('.navCon').attr('parentid'); | ||||
$('.navCon').css('display', 'none').removeClass('active'); | $('.navCon').css('display', 'none').removeClass('active'); | ||||
$('#' + id).parents('.navCon').addClass('active').fadeIn(); | $('#' + id).parents('.navCon').addClass('active').fadeIn(); | ||||
@@ -189,8 +187,7 @@ Layout = "~/Views/Shared/_Index.cshtml"; | |||||
var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | var $threeMenux = $('<div class="navCon navCons" num="3" parentid="'+ secondItem.F_ModuleId +'"><div class="navTitle" style="background: '+ color +';color:#fff"><i class="fa fa-angle-left"></i><i class="'+ secondItem.F_Icon +'"></i>'+ secondItem.F_FullName +'</div></div>'); | ||||
var threeMenuHad = false; | var threeMenuHad = false; | ||||
var secondClassName = '', secondMore = ''; | var secondClassName = '', secondMore = ''; | ||||
//console.log(threeModules.length) | |||||
if(threeModules.length != 0){ | |||||
if(threeModules.length != 0){ | |||||
secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | secondClassName = 'navMoreBox', secondMore = '展开更多 <i class="fa fa-caret-right"></i>'; | ||||
} | } | ||||
@@ -110,8 +110,7 @@ | |||||
// 监听鼠标滚动 | // 监听鼠标滚动 | ||||
$this.mousewheel(function (event, delta, deltaX, deltaY) { | $this.mousewheel(function (event, delta, deltaX, deltaY) { | ||||
//console.log(delta); | |||||
var $this = $(this); | var $this = $(this); | ||||
var $select = $this.find('.lr-select-focus'); | var $select = $this.find('.lr-select-focus'); | ||||
if ($select.length > 0) { | if ($select.length > 0) { | ||||
@@ -808,8 +808,7 @@ | |||||
path.setAttribute("stroke", "gray"); | path.setAttribute("stroke", "gray"); | ||||
path.setAttribute("marker-end", "url(#arrow1)"); | path.setAttribute("marker-end", "url(#arrow1)"); | ||||
} | } | ||||
///console.log(wftype); | |||||
/ | |||||
line.appendChild(hi); | line.appendChild(hi); | ||||
line.appendChild(path); | line.appendChild(path); | ||||
line.style.cursor = "crosshair"; | line.style.cursor = "crosshair"; | ||||