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
74c09d6a
Commit
74c09d6a
authored
Apr 16, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit addJob
parent
80a07856
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
183 additions
and
51 deletions
+183
-51
2019_04_16_100008_create_companys_table.php
...se/migrations/2019_04_16_100008_create_companys_table.php
+40
-0
app.js
public/js/app.js
+0
-0
Addjob.vue
resources/js/views/Addjob.vue
+143
-51
No files found.
database/migrations/2019_04_16_100008_create_companys_table.php
0 → 100644
View file @
74c09d6a
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
CreateCompanysTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'companys'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
string
(
'company_name'
);
$table
->
string
(
'company_owner'
);
$table
->
string
(
'phone_no'
);
$table
->
string
(
'email'
);
$table
->
string
(
'addr'
);
$table
->
string
(
'tambon'
);
$table
->
string
(
'amphoe'
);
$table
->
string
(
'province'
);
$table
->
string
(
'zipcode'
);
$table
->
timestamps
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'companys'
);
}
}
public/js/app.js
View file @
74c09d6a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
resources/js/views/Addjob.vue
View file @
74c09d6a
...
...
@@ -5,35 +5,58 @@
<h2
class=
"font-weight-bold red--text"
>
ข้อมูลบริษัท
</h2>
</v-flex>
<form
enctype=
"multipart/form-data"
>
<v-flex
sm12
>
<v-flex
sm12
xs12
>
<v-layout
row
wrap
class=
"borderbottom pa-3"
>
<v-flex
sm
3
xs12
>
<v-flex
sm
4
xs12
class=
"px-3"
>
<v-layout
align-center
justify-center
fill-height
>
<input
type=
"file"
accept=
"image/*"
class=
"input-file"
ref=
"inputFile"
@
change=
"selectFile"
>
<v-tooltip
right
>
<template
v-slot:activator=
"
{ on }">
<img
v-on=
"on"
class=
"img"
@
click=
"$refs.inputFile.click()"
:src=
"srcImage"
alt=
""
width=
"
18
0"
>
<img
v-on=
"on"
class=
"img"
@
click=
"$refs.inputFile.click()"
:src=
"srcImage"
alt=
""
width=
"
20
0"
>
</
template
>
<span>
{{ status }}
</span>
</v-tooltip>
</v-layout>
</v-flex>
<v-flex
sm9
xs12
>
<v-layout
row
xs12
class=
"my-3"
>
<v-flex
sm6
xs12
class=
"px-3"
>
<v-flex
sm4
xs12
class=
"px-3"
>
<label
class=
"font-weight-bold"
>
ชื่อบริษัท
<span
class=
"red--text"
>
*
</span></label>
<input
type=
"text"
placeholder=
"ชื่อบริษัท"
class=
"form-control form-control-sm my-1"
>
<v-text-field
outline
label=
"ชื่อบริษัท"
class=
"my-ip"
></v-text-field>
<label
class=
"font-weight-bold"
>
ชื่อผู้ติดต่อ
<span
class=
"red--text"
>
*
</span></label>
<input
type=
"text"
placeholder=
"ชื่อผู้ติดต่อ"
class=
"form-control form-control-sm my-1"
>
</v-flex>
<v-flex
sm6
xs12
class=
"px-3"
>
<v-text-field
outline
label=
"ชื่อผู้ติดต่อ"
class=
"my-ip"
></v-text-field>
<label
class=
"font-weight-bold"
>
เบอร์ผู้ติดต่อ
<span
class=
"red--text"
>
*
</span></label>
<input
type=
"text"
placeholder=
"เบอร์ผู้ติดต่อ"
class=
"form-control form-control-sm my-1"
>
<label
class=
"font-weight-bold"
>
อีเมล
<span
class=
"red--text"
>
*
</span></label>
<input
type=
"text"
placeholder=
"อีเมล"
class=
"form-control form-control-sm my-1"
>
<v-text-field
outline
label=
"เบอร์ผู้ติดต่อ"
class=
"my-ip"
></v-text-field>
</v-flex>
</v-layout>
<v-flex
sm4
xs12
class=
"px-3"
>
<label
class=
"font-weight-bold"
>
อีเมล
<span
class=
"red--text"
>
*
</span></label>
<v-text-field
outline
label=
"อีเมล"
class=
"my-ip"
></v-text-field>
<label
class=
"font-weight-bold"
>
Fax
<span
class=
"red--text"
></span></label>
<v-text-field
outline
label=
"Fax"
class=
"my-ip"
></v-text-field>
<label
class=
"font-weight-bold"
>
เว็บไซต์
<span
class=
"red--text"
></span></label>
<v-text-field
outline
label=
"เว็บไซต์"
class=
"my-ip"
></v-text-field>
</v-flex>
</v-layout>
</v-flex>
...
...
@@ -58,7 +81,13 @@
:items=
"items"
label=
"เลือกเขต/อำเภอ"
></VSelect>
<label
class=
"font-weight-bold"
>
เกี่ยวกับบริษัท
<span
class=
"red--text"
>
*
</span></label>
<v-textarea
outline
label=
"เกี่ยวกับบริษัท"
rows=
"6"
class=
"my-1"
></v-textarea>
</v-flex>
<v-flex
sm6
xs12
class=
"px-3"
>
<label
class=
"font-weight-bold"
>
แขวง/ตำบล
<span
class=
"red--text"
>
*
</span></label>
...
...
@@ -67,20 +96,34 @@
label=
"เลือกแขวง/ตำบล"
></VSelect>
<label
class=
"font-weight-bold"
>
รหัสไปรษณีย์
<span
class=
"red--text"
>
*
</span></label>
<input
type=
"text"
class=
"form-control form-control-sm my-2"
placeholder=
"รหัสไปรษณีย์"
>
<v-text-field
label=
"รหัสไปรษณีย์"
class=
"my-ip"
></v-text-field>
<label
class=
"font-weight-bold"
>
แผนที่บริษัท
</label>
<v-layout
row
wrap
class=
"pa-2"
>
<v-flex
sm12
xs12
>
<label>
รูปภาพแผนที่
</label>
</v-flex>
<v-flex
sm12
xs12
class=
"px-3 my-2"
>
<v-textarea
outline
label=
"เกี่ยวกับบริษัท"
rows=
"4"
></v-textarea>
<v-flex
sm12
xs12
>
<v-btn
color=
"deep-orange darken-4"
class=
"px-2"
small
outline
><v-icon>
file_copy
</v-icon>
เลือกไฟล์
</v-btn>
</v-flex>
<v-flex
sm12
xs12
>
<v-text-field
label=
"ค้นหาสถานที่"
style=
"height:50px;"
></v-text-field>
</v-flex>
<v-flex
sm12
xs12
>
<iframe
src=
"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3851.7461712415493!2d104.9009800139957!3d15.117311868259526!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x311684db0c98987f%3A0x228caf3246f0fd8e!2z4Lih4Lir4Liy4Lin4Li04LiX4Lii4Liy4Lil4Lix4Lii4Lit4Li44Lia4Lil4Lij4Liy4LiK4LiY4Liy4LiZ4Li1!5e0!3m2!1sth!2sth!4v1555418432669!5m2!1sth!2sth"
width=
"400"
height=
"200"
frameborder=
"0"
style=
"border:0"
allowfullscreen
></iframe>
</v-flex>
</v-layout>
</v-flex>
</v-layout>
<v-layout
row
wrap
class=
"borderbottom pa-3"
>
<v-flex
sm12
>
<h2
class=
"font-weight-bold
my-2
"
><span
class=
"red--text"
>
การเดินทาง
</span></h2>
<h2
class=
"font-weight-bold"
><span
class=
"red--text"
>
การเดินทาง
</span></h2>
</v-flex>
<v-flex
sm3
xs12
class=
"px-3"
>
...
...
@@ -125,66 +168,109 @@
<span
>
เพื่อความสะดวกในการเดินทางของผู้สมัครงาน กรุณาระบุสถานีรถไฟฟ้าที่ใกล้กับสถานที่ปฏิบัติงาน (ถ้ามี) หรือระบุสายรถเมล์ที่ผ่านสถานที่ประกอบการ และระบุการเดินทางเพิ่มเติม เพื่อให้เข้าใจในการเดินทางมากยิ่งขึ้น
</span>
</v-flex>
</v-layout>
<v-layout
row
wrap
class=
"borderbottom
pa-3
"
>
<v-flex
sm
12
>
<v-layout
row
wrap
class=
"borderbottom"
>
<v-flex
sm
6
xs12
class=
"pa-3"
>
<h2
class=
"font-weight-bold my-2"
><span
class=
"red--text"
>
รายละเอียดงาน
</span></h2>
</v-flex>
<v-flex
sm2
xs12
class=
"px-3"
>
<v-flex
sm12
xs12
class=
"pa-3"
>
<label
class=
"font-weight-bold"
>
หัวข้องาน
<span
class=
"red--text"
>
*
</span></label>
<v-text-field
outline
label=
"หัวข้องาน"
class=
"my-job"
></v-text-field>
<label
class=
"font-weight-bold my-2"
>
ประเภทธุรกิจ
</label>
<VSelect
outline
:items=
"items"
label=
"เลือก"
class=
"my-job"
></VSelect>
<label
class=
"font-weight-bold my-2"
>
ตำแหน่งงาน
</label>
<VSelect
outline
:items=
"items"
label=
"เลือก"
class=
"my-job"
></VSelect>
</v-flex>
<v-flex
sm2
xs12
class=
"px-3"
>
<label
class=
"font-weight-bold my-2"
>
ค่าตอบแทน/เงินเดือน
</label>
<VTextField
label=
"โปรดระบุ"
/>
</v-flex>
<v-flex
sm2
xs12
class=
"px-3"
>
<v-text-field
outline
label=
"ค่าตอบแทน/เงินเดือน"
class=
"my-job"
></v-text-field>
<label
class=
"font-weight-bold my-2"
>
จำนวน(อัตรา)
</label>
<VTextField
<v-text-field
outline
label=
"จำนวน(อัตรา)"
class=
"my-job"
type=
"number"
label=
"โปรดระบุจำนวน"
/>
</v-flex>
<v-flex
sm3
xs12
class=
"px-3"
>
></v-text-field>
<label
class=
"font-weight-bold my-2"
>
วันทำงาน
</label>
<VTextField
label=
"ระบุวันทำงาน"
/>
<v-layout
align-center
justify-center
row
fill-height
wrap
>
<v-flex
sm6
xs12
class=
"px-2"
>
<v-text-field
outline
label=
"จาก"
class=
"my-job"
></v-text-field>
</v-flex>
<v-flex
sm3
xs12
class=
"px-3"
>
<v-flex
xs12
sm6
class=
"px-2"
>
<v-text-field
outline
label=
"ถึง"
class=
"my-job"
></v-text-field>
</v-flex>
</v-layout>
<label
class=
"font-weight-bold my-2"
>
เวลาทำงาน
</label>
<VTextField
label=
"ระบุเวลาทำงาน"
/>
<v-layout
align-center
justify-center
row
fill-height
wrap
>
<v-flex
sm6
xs12
class=
"px-2"
>
<v-text-field
outline
label=
"จาก"
class=
"my-job"
></v-text-field>
</v-flex>
<v-flex
xs12
sm6
class=
"px-2"
>
<v-text-field
outline
label=
"ถึง"
class=
"my-job"
></v-text-field>
</v-flex>
</v-layout>
<v-layout
row
wrap
class=
"borderbottom pa-3"
>
</v-flex>
</v-flex>
<v-flex
sm6
xs12
class=
"pa-3"
>
<h2
class=
"font-weight-bold my-2"
><span
class=
"red--text"
>
หน้าที่รับผิดชอบ
</span></h2>
<h2
class=
"font-weight-bold mt-2"
><span
class=
"red--text"
>
หน้าที่รับผิดชอบ
</span></h2>
<v-flex
sm12
xs12
class=
"pa-3"
>
<v-textarea
outline
label=
"หน้าที่รับผิดชอบ"
></v-textarea>
</v-flex>
<v-flex
sm6
xs12
class=
"pa-3"
>
<
h2
class=
"font-weight-bold my-2"
><span
class=
"red--text"
>
คุณสมบัติ
</span></h2
>
<h2
class=
"font-weight-bold"
><span
class=
"red--text"
>
คุณสมบัติ
</span></h2
>
<
v-flex
sm12
xs12
class=
"pa-3"
>
<v-textarea
outline
label=
"คุณสมบัติ"
></v-textarea>
</v-flex>
<v-flex
sm12
xs12
class=
"pa-3"
>
<h2
class=
"font-weight-bold"
><span
class=
"red--text"
>
สวัสดิการ
</span></h2>
<v-flex
sm12
xs12
class=
"pa-3"
>
<v-textarea
outline
label=
"สวัสดิการ"
></v-textarea>
</v-flex>
<v-layout
align-center
justify-center
row
wrap
fill-height
>
<v-btn
color=
"red accent-4"
dark
>
บันทึกข้อมูล
</v-btn>
</v-layout>
</v-flex>
<v-btn
color=
"success"
>
บันทึกข้อมูล
</v-btn>
</v-layout>
</v-flex>
</form>
</v-layout>
</div>
...
...
@@ -229,6 +315,12 @@ export default {
<
style
lang=
"scss"
scoped
>
.my-job
{
height
:
70px
;
}
.my-ip
{
height
:
65px
;
}
.detail
{
color
:
#276f86
;
background-color
:
#f8ffff
;
...
...
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