|
|
@@ -56,8 +56,35 @@ var bootstrap = function ($, learun) { |
|
|
|
}); |
|
|
|
}}, |
|
|
|
{ label: "课程名称", name: "Name", width: 100, align: "left"}, |
|
|
|
{ label: "视频", name: "VideoPath", width: 100, align: "left"}, |
|
|
|
{ label: "视频封面", name: "PicPath", width: 100, align: "left"}, |
|
|
|
{ |
|
|
|
label: "视频", name: "VideoPath", width: 100, align: "left", |
|
|
|
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>'); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "视频封面", name: "PicPath", width: 100, align: "left", |
|
|
|
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>'); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} }, |
|
|
|
{ label: "AI分析", name: "AIContent", width: 100, align: "left"}, |
|
|
|
], |
|
|
|
mainId:'ID', |
|
|
|