Create Task
Within the 'Create Task' page, an Task will be created and the data will be stored in the corresponding table database.
Frontend Fields (CreateTask.vue)
Field
Description
Title
The title/name of a particular task
Description
A short description of the task to be completed
Analysts for Task
The analyst(s) that are working on the task
Analyst
The analyst(s) that are playing the role of a collaborator
Related Task
A task that has a relation with the current task
System For Task
A system that has a relation with the current task
Task Priority
Describes the priority/urgency of the task
Task Progress
Describes the task overall progress
Subtasks
The number of subtasks that are related to that task
Findings
The number of findings that are related to that task
Due Date
The timestamp of when a task should be complete by
Computed values
Value
Description
titleStack()
Determines the header label of the page. e.g Analyst/ Task
heroTitle()
Determines the title of the page (task, subtask,etc)
heroRouterLinkTo()
Defines where to go when the header button is clicked
heroRouterLinkLabel()
Defines the name of the header button
formCardTitle()
Defines the labels above the overview table
Methods
Name
Description:
createTask()
Submits the request to create a task
uploadFiles()
Used to upload evidence to the database
getSystems()
Retrieves the list of systems from the backend
getRelatedTasks()
Returns the name of the tasks related to this particular task
getAnalysts()
Retrives the list of analysts from the backend
logAction()
Logs all changes that was made within Task and stores in database
displayError()
Displays an error message on the frontend
Last updated