-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from jac-uk/feature/#463_prevent_application_…
…with_issues_moving_to_handover applications with issues cant be moved to handover
- Loading branch information
Showing
3 changed files
with
36 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,8 @@ | ||
<template> | ||
<div> | ||
<Banner | ||
:message="'gabe'" | ||
:status="'success'" | ||
/> | ||
<TabsList | ||
:tabs="tabs" | ||
:active-tab.sync="activeTab" | ||
/> | ||
{{ activeTab }} | ||
{{ selectedItems }} | ||
<Table | ||
data-key="id" | ||
:data="tableData" | ||
:columns="[ | ||
{ title: 'Reference number' }, | ||
{ title: 'Candidate' }, | ||
{ title: 'Status' }, | ||
]" | ||
multi-select | ||
:selection.sync="selectedItems" | ||
> | ||
<template #row="{row}"> | ||
<TableCell>{{ row.application.referenceNumber }}</TableCell> | ||
<TableCell>{{ row.candidate.fullName }}</TableCell> | ||
<TableCell>{{ row.status | lookup }}</TableCell> | ||
</template> | ||
</Table> | ||
</div> | ||
<div /> | ||
</template> | ||
<script> | ||
import Banner from '@/components/Page/Banner'; | ||
import TabsList from '@/components/Page/TabsList'; | ||
import Table from '@/components/Page/Table/Table'; | ||
import TableCell from '@/components/Page/Table/TableCell'; | ||
export default { | ||
components: { | ||
TabsList, | ||
Table, | ||
TableCell, | ||
Banner, | ||
}, | ||
data() { | ||
return { | ||
tabs: [ | ||
{ | ||
ref: 'one', | ||
title: 'this is tab 1', | ||
}, | ||
{ | ||
ref: 'two', | ||
title: 'here is tab 2', | ||
}, | ||
], | ||
activeTab: 'one', | ||
tableData: [ | ||
{ id: 'row-1', application: { referenceNumber: 'app-1' }, candidate: { fullName: 'Candidate 1' }, status: 'passedFirstTest' }, | ||
{ id: 'row-2', application: { referenceNumber: 'app-2' }, candidate: { fullName: 'Candidate 2' }, status: 'passedSift' }, | ||
{ id: 'row-3', application: { referenceNumber: 'app-3' }, candidate: { fullName: 'Candidate 3' }, status: 'failedSift' }, | ||
{ id: 'row-4', application: { referenceNumber: 'app-4' }, candidate: { fullName: 'Candidate 4' }, status: 'failedFirstTest' }, | ||
], | ||
selectedItems: ['row-1'], | ||
}; | ||
}, | ||
}; | ||
</script> |