32 lines
1.4 KiB
JavaScript
32 lines
1.4 KiB
JavaScript
export default {
|
|
/////////////////////////////////////////////////////////
|
|
//
|
|
// GET REPORT LIST FOR REPORT KEY SPECIFIED
|
|
// available to current user logged in
|
|
availableReports: function(reportKey) {
|
|
//STUB: this will need to hit the server to get the info required
|
|
return [
|
|
{ text: "First test report " + reportKey, value: 1 },
|
|
{ text: "Some other report " + reportKey, value: 2 },
|
|
{ text: "Sample report " + reportKey, value: 3 },
|
|
{
|
|
text: "Bob's personal report, it's a good one! " + reportKey,
|
|
value: 4
|
|
},
|
|
{ text: "Test report five " + reportKey, value: 5 },
|
|
{ text: "Test report six " + reportKey, value: 6 },
|
|
{ text: "Test report seven " + reportKey, value: 7 },
|
|
{ text: "Test report eight " + reportKey, value: 8 },
|
|
{ text: "Test report nine " + reportKey, value: 9 },
|
|
{ text: "Test report ten " + reportKey, value: 10 },
|
|
{ text: "Test report eleven " + reportKey, value: 11 },
|
|
{ text: "Test report twelve " + reportKey, value: 12 },
|
|
{ text: "Test report thirteen " + reportKey, value: 13 },
|
|
{ text: "Test report fourteen " + reportKey, value: 14 },
|
|
{ text: "Test report fifteen " + reportKey, value: 15 },
|
|
{ text: "Test report sixteen " + reportKey, value: 16 },
|
|
{ text: "Test report seventeen " + reportKey, value: 17 }
|
|
];
|
|
}
|
|
};
|