Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
P
ptarpwatraining
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
training
ptarpwatraining
Commits
28f89923
Commit
28f89923
authored
May 05, 2021
by
Azrul Amir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update feedback page
parent
c96de40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
feedbackform.vue
src/pages/feedbackform.vue
+10
-6
No files found.
src/pages/feedbackform.vue
View file @
28f89923
...
...
@@ -15,7 +15,7 @@
@
reset=
"onReset"
class=
"q-gutter-md"
>
<q-input
dense
filled
v-model=
"
email"
type=
"email"
suffix=
"@uitm.edu.my
"
>
<q-input
dense
filled
v-model=
"
user.email"
type=
"email
"
>
<template
v-slot:before
>
<q-icon
name=
"mail"
/>
</
template
>
...
...
@@ -23,7 +23,7 @@
<q-input
filled
dense
v-model=
"name"
v-model=
"
user.full
name"
label=
"Your name"
lazy-rules
/>
...
...
@@ -45,22 +45,26 @@
</template>
<
script
>
import
{
mapGetters
}
from
"vuex"
export
default
{
// name: 'PageName',
data
()
{
return
{
email
:
''
,
name
:
''
,
feedbackinput
:
''
}
},
computed
:
{
...
mapGetters
(
"user"
,
[
"user"
]),
},
methods
:
{
onSubmit
:
function
(
event
)
{
const
dataFeedback
=
{
NAMA
:
this
.
name
,
EMAIL
:
this
.
email
,
NAMA
:
this
.
user
.
full
name
,
EMAIL
:
this
.
user
.
email
,
FEEDBACK
:
this
.
feedbackinput
}
this
.
$q
.
loading
.
show
()
this
.
$axios
.
post
(
'wils/feedback'
,
dataFeedback
).
then
((
response
)
=>
{
// this.userUpdate.token = response.token
// this.updateUser(this.userUpdate)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment