Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
CO-OP Search
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kittisak Maneewong
CO-OP Search
Commits
b21f1f77
Commit
b21f1f77
authored
6 years ago
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add managejob
parent
3a4a9153
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
0 deletions
+78
-0
app.js
public/js/app.js
+0
-0
route.js
resources/js/route.js
+6
-0
Managejob.vue
resources/js/views/Managejob.vue
+72
-0
No files found.
public/js/app.js
View file @
b21f1f77
This diff is collapsed.
Click to expand it.
resources/js/route.js
View file @
b21f1f77
...
...
@@ -14,6 +14,7 @@ import LoginEmployer from './views/LoginEmployer.vue';
import
PageNotFound
from
'./views/PageNotFound.vue'
;
import
Addjob
from
'./views/Addjob.vue'
;
import
RegisterEmployer
from
'./views/RegisterEmployer'
;
import
ManagejobEmployer
from
'./views/managejob.vue'
const
router
=
new
VueRouter
({
mode
:
'history'
,
...
...
@@ -38,6 +39,11 @@ const router = new VueRouter({
name
:
'registerEmployer'
,
component
:
RegisterEmployer
},
{
path
:
'managejob'
,
name
:
'managejobEmployer'
,
component
:
ManagejobEmployer
},
{
path
:
'addjob'
,
name
:
'addjob'
,
...
...
This diff is collapsed.
Click to expand it.
resources/js/views/Managejob.vue
0 → 100644
View file @
b21f1f77
<
template
>
<v-card
flat
>
<v-card-title>
<v-spacer></v-spacer>
<v-flex
sm4
xs12
>
<v-text-field
v-model=
"search"
append-icon=
"search"
label=
"Search"
single-line
hide-details
></v-text-field>
</v-flex>
</v-card-title>
<v-data-table
:headers=
"headers"
:items=
"items"
class=
"elevation-1"
:search=
"search"
>
<template
v-slot:items=
"props"
>
<td
width=
"10%"
class=
"text-sm-center"
>
{{
props
.
item
.
id
}}
</td>
<td
width=
"30%"
class=
"text-sm-left"
>
{{
props
.
item
.
topic
}}
</td>
<td
width=
"15%"
class=
"text-sm-center"
>
{{
props
.
item
.
typejob
}}
</td>
<td
width=
"15%"
class=
"text-sm-center"
>
{{
props
.
item
.
position
}}
</td>
<td
width=
"10%"
class=
"text-sm-center"
>
{{
props
.
item
.
salary
}}
</td>
<td
width=
"20%"
class=
"text-sm-center"
>
<v-btn
depressed
class=
"mx-1"
fab
outline
small
color=
"cyan"
>
<v-icon>
edit
</v-icon>
</v-btn>
<v-btn
depressed
class=
"mx-1"
fab
outline
small
color=
"red"
>
<v-icon>
delete
</v-icon>
</v-btn>
</td>
</
template
>
</v-data-table>
</v-card>
</template>
<
script
>
export
default
{
data
()
{
return
{
search
:
''
,
headers
:
[
{
text
:
'รหัสงาน'
,
value
:
'id'
,
align
:
'center'
},
{
text
:
'หัวข้องาน'
,
value
:
'topic'
,
align
:
'center'
},
{
text
:
'ประเภทธุรกิจ'
,
value
:
'typejob'
,
align
:
'center'
},
{
text
:
'ตำแหน่งงาน'
,
value
:
'position'
,
align
:
'center'
},
{
text
:
'ค่าตอบแทน/เงินเดือน'
,
value
:
'salary'
,
align
:
'center'
},
{
text
:
'Action'
,
value
:
'action'
,
align
:
'center'
}
],
items
:
[
{
id
:
1
,
topic
:
'ฝึกงานด้าน PHP Web Programmer'
,
typejob
:
'คอมพิวเตอร์/IT/โปรแกรมเมอร์'
,
position
:
'Web Developer'
,
salary
:
5000
,
},
{
id
:
2
,
topic
:
'ออกแบบ/กราฟิก'
,
typejob
:
'กราฟฟิกดีไซน์/ออกแบบ'
,
position
:
'Graphic Designer'
,
salary
:
3000
,
}
]
}
}
}
</
script
>
This diff is collapsed.
Click to expand it.
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