@@ -35,7 +35,6 @@ | |||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | <div class=" btn-group btn-group-sm" learun-authorize="yes"> | ||||
<a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | <a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | ||||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -106,18 +106,32 @@ var bootstrap = function ($, learun) { | |||||
{ label: "分组名称", name: "GroupName", width: 100, align: "left"}, | { label: "分组名称", name: "GroupName", width: 100, align: "left"}, | ||||
{ label: "当前积分", name: "Integral", width: 100, align: "left"}, | { label: "当前积分", name: "Integral", width: 100, align: "left"}, | ||||
{ | { | ||||
label: "证书", name: "Path", width: 100, align: "left", | |||||
label: "证书", name: "Path", width:400, align: "left", | |||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
learun.clientdata.getAsync('custmerData', | |||||
{ | |||||
url: '/LR_SystemModule/Annexes/GetAnnexesFileList?folderId=' + value, | |||||
sync: true, | |||||
callback: function (_data) { | |||||
if (_data.F_FileName) { | |||||
callback('<span onclick="downLoad(\'' + _data['F_Id'] + '\',\'' + value + '\',\'' + $.lrToken + '\')" style="color:blue">' + _data['F_FileName'] + '</span>'); | |||||
} | |||||
} | |||||
$.ajax({ | |||||
url: top.$.rootUrl + '/LR_SystemModule/Annexes/GetAnnexesFileList?folderId=' + value, | |||||
type: "GET", | |||||
dataType: "json", | |||||
async: true, | |||||
success: function (result) { | |||||
var html = ""; | |||||
result.data.forEach((_data) => { | |||||
html+=('<span onclick="downLoad(\'' + _data['F_Id'] + '\',\'' + value + '\',\'' + $.lrToken + '\')" style="color:blue">' + _data['F_FileName'] + '</span>、'); | |||||
}); | }); | ||||
callback(html.slice(0, -1)); | |||||
} | |||||
}); | |||||
//learun.clientdata.getAsync('custmerData', | |||||
// { | |||||
// url: '/LR_SystemModule/Annexes/GetAnnexesFileList?folderId=' + value, | |||||
// sync: true, | |||||
// callback: function (_data) { | |||||
// console.log(_data) | |||||
// if (_data.F_FileName) { | |||||
// callback('<span onclick="downLoad(\'' + _data['F_Id'] + '\',\'' + value + '\',\'' + $.lrToken + '\')" style="color:blue">' + _data['F_FileName'] + '</span>'); | |||||
// } | |||||
// } | |||||
// }); | |||||
} | } | ||||
// learun.clientdata.getAsync('custmerData', | // learun.clientdata.getAsync('custmerData', | ||||
// { | // { | ||||
@@ -34,7 +34,6 @@ | |||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | <div class=" btn-group btn-group-sm" learun-authorize="yes"> | ||||
<a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | <a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | ||||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -38,7 +38,6 @@ | |||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | <div class=" btn-group btn-group-sm" learun-authorize="yes"> | ||||
<a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | <a id="lr_export" class="btn btn-default"><i class="fa fa-plus"></i> 导出</a> | ||||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -56,7 +56,7 @@ var bootstrap = function ($, learun) { | |||||
title: '新增', | title: '新增', | ||||
url: top.$.rootUrl + '/EducationalAdministration/CompetitionManager/Form', | url: top.$.rootUrl + '/EducationalAdministration/CompetitionManager/Form', | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height: 500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -71,7 +71,7 @@ var bootstrap = function ($, learun) { | |||||
title: '编辑', | title: '编辑', | ||||
url: top.$.rootUrl + '/EducationalAdministration/CompetitionManager/Form?keyValue=' + keyValue, | url: top.$.rootUrl + '/EducationalAdministration/CompetitionManager/Form?keyValue=' + keyValue, | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height: 500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -56,7 +56,7 @@ var bootstrap = function ($, learun) { | |||||
title: '新增', | title: '新增', | ||||
url: top.$.rootUrl + '/EducationalAdministration/MajorAchievement/Form', | url: top.$.rootUrl + '/EducationalAdministration/MajorAchievement/Form', | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height:500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -71,7 +71,7 @@ var bootstrap = function ($, learun) { | |||||
title: '编辑', | title: '编辑', | ||||
url: top.$.rootUrl + '/EducationalAdministration/MajorAchievement/Form?keyValue=' + keyValue, | url: top.$.rootUrl + '/EducationalAdministration/MajorAchievement/Form?keyValue=' + keyValue, | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height: 500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -27,7 +27,7 @@ var bootstrap = function ($, learun) { | |||||
title: '新增', | title: '新增', | ||||
url: top.$.rootUrl + '/EducationalAdministration/VariousIsm/Form', | url: top.$.rootUrl + '/EducationalAdministration/VariousIsm/Form', | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height: 500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -42,7 +42,7 @@ var bootstrap = function ($, learun) { | |||||
title: '编辑', | title: '编辑', | ||||
url: top.$.rootUrl + '/EducationalAdministration/VariousIsm/Form?keyValue=' + keyValue, | url: top.$.rootUrl + '/EducationalAdministration/VariousIsm/Form?keyValue=' + keyValue, | ||||
width: 600, | width: 600, | ||||
height: 400, | |||||
height: 500, | |||||
callBack: function (id) { | callBack: function (id) { | ||||
return top[id].acceptClick(refreshGirdData); | return top[id].acceptClick(refreshGirdData); | ||||
} | } | ||||
@@ -13,12 +13,12 @@ | |||||
<div class="lr-layout-tool-item"> | <div class="lr-layout-tool-item"> | ||||
<div id="multiple_condition_query"> | <div id="multiple_condition_query"> | ||||
<div class="lr-query-formcontent"> | <div class="lr-query-formcontent"> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">专业</div> | |||||
<div class="col-xs-12 lr-form-item" style="padding: 5px 0 5px 100px;"> | |||||
<div class="lr-form-item-title" style="width:100px">专业</div> | |||||
<div id="Major"></div> | <div id="Major"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">对口高职专业</div> | |||||
<div class="col-xs-12 lr-form-item" style="padding: 5px 0 5px 100px;"> | |||||
<div class="lr-form-item-title" style="width:100px">对口高职专业</div> | |||||
<input id="HigherVocational" type="text" class="form-control" /> | <input id="HigherVocational" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
</div> | </div> | ||||