|
|
@@ -64,7 +64,14 @@ var bootstrap = function ($, learun) { |
|
|
|
page.search(queryJson); |
|
|
|
} |
|
|
|
}, 220, 400); |
|
|
|
$('#CId').lrDataSourceSelect({ code: 'FileCatalog', value: 'cid', text: 'cname' }); |
|
|
|
//$('#CId').lrDataSourceSelect({ code: 'FileCatalog', value: 'cid', text: 'cname' }); |
|
|
|
$('#CId').lrselect({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=FileCatalog', |
|
|
|
param: { strWhere: "1=1 AND CType='" + CType + "' " }, |
|
|
|
value: "cid", |
|
|
|
text: "cname", |
|
|
|
}); |
|
|
|
$('#FCreater').lrDataSourceSelect({ code: 'BaseUser', value: 'f_userid', text: 'f_realname' }); |
|
|
|
// 刷新 |
|
|
|
$('#lr_refresh').on('click', function () { |
|
|
@@ -222,7 +229,7 @@ var bootstrap = function ($, learun) { |
|
|
|
page.init(); |
|
|
|
} |
|
|
|
|
|
|
|
function downLoad(fileId, fileTwo,lrToken) { |
|
|
|
function downLoad(fileId, fileTwo, lrToken) { |
|
|
|
if (fileTwo) { |
|
|
|
|
|
|
|
top.learun.postFormSilence(top.$.rootUrl + '/PersonnelManagement/MP_QualityObjectives/AddFileRecord', { fileId: fileTwo }, function () { |
|
|
|