Skip to content

Commit

Permalink
Updated programs and codes
Browse files Browse the repository at this point in the history
  • Loading branch information
suzalflueck committed Oct 7, 2024
1 parent 9d5602d commit ade1b32
Show file tree
Hide file tree
Showing 17 changed files with 207 additions and 148 deletions.
83 changes: 83 additions & 0 deletions frontend/src/components/Assessments/AssessmentRequirements.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<template>
<div>
<h3 class="ml-3 mt-5">Assessment Requirements</h3>
<DisplayTable
v-if="assessmentRequirements"
v-bind:items="assessmentRequirements"
v-bind:fields="assessmentRequirementsFields"
id="assessmentCode"
showFilter="true"
>
</DisplayTable>
</div>
</template>

<script>
import AssessmentService from "@/services/AssessmentService.js";
import { useSnackbarStore } from "@/store/modules/snackbar";
import DisplayTable from "@/components/DisplayTable.vue";
export default {
name: "AssessmentRequirements",
components: {
DisplayTable: DisplayTable,
},
data() {
return {
snackbarStore: useSnackbarStore(),
assessmentRequirements: [],
assessmentRequirementsFields: [
{
key: "assessmentCode",
title: "Assessment Code",
sortable: true,
sortDirection: "desc",
},
{
key: "assessmentName",
title: "Assessment Name",
sortable: true,
},
{
key: "ruleCode",
title: "Rule#",
sortable: true,
},
{
key: "traxReqNumber",
title: "Transcript Req #",
sortable: true,
},
{
key: "requirementName",
title: "Requirement Name",
sortable: true,
},
{
key: "requirementProgram",
title: "Requirement Program",
sortable: true,
},
],
};
},
created() {
this.getAllAssessmentReqs();
},
methods: {
getAllAssessmentReqs() {
AssessmentService.getAllAssesmentRequirements()
.then((response) => {
this.assessmentRequirements = response.data;
})
.catch((error) => {
// eslint-disable-next-line
console.error("API error:", error);
this.snackbarStore.showSnackbar(error.message, "error", 5000);
});
},
},
};
</script>

<style scoped></style>
82 changes: 82 additions & 0 deletions frontend/src/components/Assessments/Assessments.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<template>
<div>
<h3 class="ml-3 mt-5">Assessments</h3>
<DisplayTable
v-if="assessments"
v-bind:items="assessments"
v-bind:fields="assessmentFields"
id="assessmentCode"
showFilter="true"
>
</DisplayTable>
</div>
</template>

<script>
import AssessmentService from "@/services/AssessmentService.js";
import { useSnackbarStore } from "@/store/modules/snackbar";
import DisplayTable from "@/components/DisplayTable.vue";
export default {
name: "Assessments",
components: {
DisplayTable: DisplayTable,
},
data() {
return {
snackbarStore: useSnackbarStore(),
assessments: [],
assessmentFields: [
{
key: "assessmentCode",
title: "Assessment Code",
sortable: true,
sortDirection: "desc",
class: "w-15",
},
{
key: "assessmentName",
title: "Assessment Name",
sortable: true,
class: "w-40",
},
{
key: "language",
title: "Language",
sortable: true,
sortDirection: "desc",
class: "w-5 text-center",
},
{
key: "startDate",
title: "Start Date",
sortable: true,
class: "w-20",
},
{
key: "endDate",
title: "End Date",
sortable: true,
class: "w-20",
},
],
};
},
created() {
this.getAllAssessment();
},
methods: {
getAllAssessment() {
AssessmentService.getAllAssesments()
.then((response) => {
this.assessments = response.data;
})
.catch((error) => {
// eslint-disable-next-line
console.error("API error:", error);
this.snackbarStore.showSnackbar(error.message, "error", 5000);
});
},
},
};
</script>
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/BatchTypes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Batch Type Codes</h3>
<p>A list of Batch Runs used by the GRAD system.</p>
<h3 class="ml-2 mt-5">Batch Type Codes</h3>
<p class="ml-2 w-66">A list of Batch Runs used by the GRAD system.</p>
<DisplayTable
v-bind:items="batchTypes"
v-bind:fields="batchTypesFields"
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/Codes/CareerPrograms.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Career Program Codes</h3>
<p>
<h3 class="ml-2 mt-5">Career Program Codes</h3>
<p class="ml-2 w-66">
The optional program Career Program in GRAD can be broken down further by
specific career program code. A Student on the optional program CP, Career
Program, would also be assigned a Career Program code(s) to identify what
Expand Down Expand Up @@ -89,8 +89,8 @@ export default {
</script>

<style>
.table th,
/* .table th,
.table td {
border-top: none !important;
}
} */
</style>
6 changes: 4 additions & 2 deletions frontend/src/components/Codes/CertificateTypes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<div>
<h3>Certificate Types</h3>
<p>A list of certificate types used by the GRAD system.</p>
<h3 class="ml-2 mt-5">Certificate Types</h3>
<p class="ml-2 w-66">
A list of certificate types used by the GRAD system.
</p>
<DisplayTable
v-bind:items="certificateTypes"
v-bind:fields="certificateTypesFields"
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/Codes/DigitalSignatures.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<div>
<h3>Digitized Signatures</h3>
<p>Digitized signatures used on students' certificates and transcript.</p>
<h3 class="ml-2 mt-5">Digitized Signatures</h3>
<p class="ml-2 w-66">
Digitized signatures used on students' certificates and transcript.
</p>
<v-progress-circular
v-if="isLoading"
color="primary"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/DocumentStatusCode.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Document Status Codes</h3>
<p>
<h3 class="ml-2 mt-5">Document Status Codes</h3>
<p class="ml-2 w-66">
A student's Transcript, Student Achievement Report (TVR) and
Certificate(s) will show a status as the student progresses through the
system. The list of document statuses are maintained in this table.
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/HistoryActivityCodes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>History Activity Codes</h3>
<p>
<h3 class="ml-2 mt-5">History Activity Codes</h3>
<p class="ml-2 w-66">
Student history records are created by certain GRAD processes and User
initiated activity. Each record will be associated with a history activity
code.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Program Certificate Transcripts</h3>
<p>
<h3 class="ml-2 mt-5">Program Certificate Transcripts</h3>
<p class="ml-2 w-66">
The rules governing which certificate type or transcript type will be used
for a student.
</p>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/ReportTypes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Report Types</h3>
<p>
<h3 class="ml-2 mt-5">Report Types</h3>
<p class="ml-2 w-66">
Students' in the GRAD system may have several types of individual reports
associated with their GRAD data. Schools also have several types of
reports associated with their school and students' GRAD data. The list of
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/Codes/SignatureBlockType.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<div>
<h3>Signature Block</h3>
<p>Signature block(s) used on students' certificates and transcript.</p>
<h3 class="ml-2 mt-5">Signature Block</h3>
<p class="ml-2 w-66">
Signature block(s) used on students' certificates and transcript.
</p>
<DisplayTable
v-bind:items="signatureBlock"
v-bind:fields="signatureBlockFields"
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/Codes/StatusCodes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<div>
<h3>Student Status Codes</h3>
<p>Student status codes refer to a students' status in the GRAD system.</p>
<h3 class="ml-2 mt-5">Student Status Codes</h3>
<p class="ml-2 w-66">
Student status codes refer to a students' status in the GRAD system.
</p>
<DisplayTable
v-bind:items="studentStatusCodes"
v-bind:fields="studentStatusCodesFields"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/TranscriptTypes.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Transcript Type Codes</h3>
<p>A list of transcript types used by the GRAD system.</p>
<h3 class="ml-2 mt-5">Transcript Type Codes</h3>
<p class="ml-2 w-66">A list of transcript types used by the GRAD system.</p>
<DisplayTable
title="Transcript Type Codes"
v-bind:items="transcriptTypes"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Codes/UngradReasons.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h3>Undo Completion Reasons</h3>
<p>
<h3 class="ml-2 mt-5">Undo Completion Reasons</h3>
<p class="ml-2 w-66">
When a User performs the "Undo Completion" process (security permissions
needed), the User must select an "Undo Completion" reason. The list of
Undo Completion reasons are maintained in this table.
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/DisplayTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default {
tableFields: "notloaded",
editItem: "notloaded",
currentPage: 1,
perPage: 1000,
perPage: 25,
striped: true,
pageOptions: [
10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@
v-bind:fields="studentSearchResultsFields"
id="pen"
v-bind:showFilter="false"
v-bind:pagination="true"
>
<template v-slot:item.pen="{ item }">
<router-link :to="'/student-profile/' + item.studentID">
Expand Down Expand Up @@ -340,6 +339,7 @@ export default {
{ value: 25, text: "25" },
{ value: 50, text: "50" },
{ value: 100, text: "100" },
{ value: -1, text: "All" },
],
genderOptions: [
{ value: "M", text: "Male (M)" },
Expand Down
Loading

0 comments on commit ade1b32

Please sign in to comment.