Skip to content

Commit

Permalink
Updated Transaction Type list. (#130)
Browse files Browse the repository at this point in the history
Fixed error with undeclared auditStore.
Added max width to userId.

Co-authored-by: weskubo-cgi <Wesley.Kubo@gov.bc.ca>
  • Loading branch information
weskubo-cgi and weskubo-cgi authored Oct 20, 2022
1 parent c585ba9 commit 4f979e4
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions frontend/src/views/reports/AuditReporting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
>
<Column field="type" header="Type" :sortable="true"></Column>
<Column field="organization" header="Organization" :sortable="true"></Column>
<Column field="userId" header="User ID" :sortable="true"></Column>
<Column field="userId" header="User ID" :sortable="true" class="userId"></Column>
<Column field="transactionStartTime" header="Transaction Start Time" :sortable="true"></Column>
<Column field="affectedPartyId" header="Affected Party ID" :sortable="true"></Column>
<Column field="affectedPartyType" header="Affected Party ID Type" :sortable="true"></Column>
Expand Down Expand Up @@ -130,7 +130,31 @@ export default {
firstRecordIndex: 0,
loading: false,
lazyParams: {},
transactionOptions: ['CheckEligibility', 'PHNInquiry', 'PHNLookup', 'EnrollSubscriber', 'GetPersonDetails', 'NameSearch', 'AddGroupMember', 'AddDependent', 'UpdateNumberAndDept', 'CancelDependent', 'ContractInquiry', 'GetContractAddress', 'UpdateContractAddress'],
transactionOptions: [
'AddDependent',
'AddGroupMember',
'CancelDependent',
'CancelGroupMember',
'ChangeCancelDate',
'ChangeEffectiveDate',
'CheckEligibility',
'ContractInquiry',
'EnrollSubscriber',
'ExtendCancelDate',
'GetContractAddress',
'GetContractPeriods',
'GetPatientRegistration',
'GetPersonDetails',
'MSPCoverageCheck',
'NameSearch',
'PHNInquiry',
'PHNLookup',
'ReinstateCancelledCoverage',
'ReinstateOverAgeDependent',
'RenewCancelledCoverage',
'UpdateContractAddress',
'UpdateNumberAndDept',
],
}
},
mounted() {
Expand Down Expand Up @@ -268,7 +292,6 @@ export default {
this.searching = false
this.v$.$reset()
this.alertStore.dismissAlert()
this.auditStore.$reset()
this.firstRecordIndex = 0
// This is a workaround to ensure that the paginator is reset by forcing the component to reload
// Technically this can be handled with firstRecordIndex but there appears to be an issue. See https://github.com/primefaces/primevue/issues/2253.
Expand Down Expand Up @@ -394,3 +417,10 @@ export default {
display: block;
}
</style>

<style>
.userId {
max-width: 150px;
word-wrap: break-word;
}
</style>

0 comments on commit 4f979e4

Please sign in to comment.