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
Apr 19, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add managejob
parent
3a4a9153
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
1 deletion
+139
-1
app.js
public/js/app.js
+61
-1
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
...
...
@@ -541,6 +541,18 @@ eval("__webpack_require__.r(__webpack_exports__);\n//\n//\n//\n//\n//\n//\n//\n/
/***/
}),
/***/
"./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=script&lang=js&"
:
/*!***************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/views/managejob.vue?vue&type=script&lang=js& ***!
\***************************************************************************************************************************************************************/
/*! exports provided: default */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
/* harmony default export */ __webpack_exports__[
\"
default
\"
] = ({
\n
data: function data() {
\n
return {
\n
search: '',
\n
headers: [{
\n
text: 'รหัสงาน',
\n
value: 'id',
\n
align: 'center'
\n
}, {
\n
text: 'หัวข้องาน',
\n
value: 'topic',
\n
align: 'center'
\n
}, {
\n
text: 'ประเภทธุรกิจ',
\n
value: 'typejob',
\n
align: 'center'
\n
}, {
\n
text: 'ตำแหน่งงาน',
\n
value: 'position',
\n
align: 'center'
\n
}, {
\n
text: 'ค่าตอบแทน/เงินเดือน',
\n
value: 'salary',
\n
align: 'center'
\n
}, {
\n
text: 'Action',
\n
value: 'action',
\n
align: 'center'
\n
}],
\n
items: [{
\n
id: 1,
\n
topic: 'ฝึกงานด้าน PHP Web Programmer',
\n
typejob: 'คอมพิวเตอร์/IT/โปรแกรมเมอร์',
\n
position: 'Web Developer',
\n
salary: 5000
\n
}, {
\n
id: 2,
\n
topic: 'ออกแบบ/กราฟิก',
\n
typejob: 'กราฟฟิกดีไซน์/ออกแบบ',
\n
position: 'Graphic Designer',
\n
salary: 3000
\n
}]
\n
};
\n
}
\n
});//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vcmVzb3VyY2VzL2pzL3ZpZXdzL21hbmFnZWpvYi52dWU/ZmUyZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBd0NBO0FBQ0EsTUFEQSxrQkFDQTtBQUNBO0FBQ0EsZ0JBREE7QUFFQSxnQkFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBLE9BREEsRUFFQTtBQUFBO0FBQUE7QUFBQTtBQUFBLE9BRkEsRUFHQTtBQUFBO0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3guLbguIHguIfguLLguJnguJTguYnguLLguJkgUEhQIFdlYiBQcm9ncmFtbWVyJyxcclxuICAgICAgICAgIHR5cGVqb2I6ICfguITguK3guKHguJ7guLTguKfguYDguJXguK3guKPguYwvSVQv4LmC4Lib4Lij4LmB4LiB4Lij4Lih4LmA4Lih4Lit4Lij4LmMJyxcclxuICAgICAgICAgIHBvc2l0aW9uOiAnV2ViIERldmVsb3BlcicsXHJcbiAgICAgICAgICBzYWxhcnk6IDUwMDAsXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7IFxyXG4gICAgICAgICAgaWQ6IDIsXHJcbiAgICAgICAgICB0b3BpYzogJ+C4reC4reC4geC5geC4muC4mi/guIHguKPguLLguJ/guLTguIEnLFxyXG4gICAgICAgICAgdHlwZWpvYjogJ+C4geC4o+C4suC4n+C4n+C4tOC4geC4lOC4teC5hOC4i+C4meC5jC/guK3guK3guIHguYHguJrguJonLFxyXG4gICAgICAgICAgcG9zaXRpb246ICdHcmFwaGljIERlc2lnbmVyJyxcclxuICAgICAgICAgIHNhbGFyeTogMzAwMCxcclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH1cclxuICB9XHJcbn1cclxuPC9zY3JpcHQ+XHJcbiJdLCJzb3VyY2VSb290IjoiIn0=
\n
//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=script&lang=js&
\n
"
);
/***/
}),
/***/
"./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/Account.vue?vue&type=style&index=0&id=4ec23fde&lang=scss&scoped=true&"
:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/css-loader!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--7-2!./node_modules/sass-loader/lib/loader.js??ref--7-3!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/views/Account.vue?vue&type=style&index=0&id=4ec23fde&lang=scss&scoped=true& ***!
...
...
@@ -1053,6 +1065,18 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/***/
}),
/***/
"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&"
:
/*!*******************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49& ***!
\*******************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
render
\"
, function() { return render; });
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
staticRenderFns
\"
, function() { return staticRenderFns; });
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
return _c(
\n
\"
v-card
\"
,
\n
{ attrs: { flat:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-card-title
\"
,
\n
[
\n
_c(
\"
v-spacer
\"
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-flex
\"
,
\n
{ attrs: { sm4:
\"\"
, xs12:
\"\"
} },
\n
[
\n
_c(
\"
v-text-field
\"
, {
\n
attrs: {
\n
\"
append-icon
\"
:
\"
search
\"
,
\n
label:
\"
Search
\"
,
\n
\"
single-line
\"
:
\"\"
,
\n
\"
hide-details
\"
:
\"\"\n
},
\n
model: {
\n
value: _vm.search,
\n
callback: function($$v) {
\n
_vm.search = $$v
\n
},
\n
expression:
\"
search
\"\n
}
\n
})
\n
],
\n
1
\n
)
\n
],
\n
1
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\"
v-data-table
\"
, {
\n
staticClass:
\"
elevation-1
\"
,
\n
attrs: { headers: _vm.headers, items: _vm.items, search: _vm.search },
\n
scopedSlots: _vm._u([
\n
{
\n
key:
\"
items
\"
,
\n
fn: function(props) {
\n
return [
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-center
\"
, attrs: { width:
\"
10%
\"
} },
\n
[_vm._v(_vm._s(props.item.id))]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-left
\"
, attrs: { width:
\"
30%
\"
} },
\n
[_vm._v(_vm._s(props.item.topic))]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-center
\"
, attrs: { width:
\"
15%
\"
} },
\n
[_vm._v(_vm._s(props.item.typejob))]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-center
\"
, attrs: { width:
\"
15%
\"
} },
\n
[_vm._v(_vm._s(props.item.position))]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-center
\"
, attrs: { width:
\"
10%
\"
} },
\n
[_vm._v(_vm._s(props.item.salary))]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
td
\"
,
\n
{ staticClass:
\"
text-sm-center
\"
, attrs: { width:
\"
20%
\"
} },
\n
[
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-1
\"
,
\n
attrs: {
\n
depressed:
\"\"
,
\n
fab:
\"\"
,
\n
outline:
\"\"
,
\n
small:
\"\"
,
\n
color:
\"
cyan
\"\n
}
\n
},
\n
[_c(
\"
v-icon
\"
, [_vm._v(
\"
edit
\"
)])],
\n
1
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-1
\"
,
\n
attrs: {
\n
depressed:
\"\"
,
\n
fab:
\"\"
,
\n
outline:
\"\"
,
\n
small:
\"\"
,
\n
color:
\"
red
\"\n
}
\n
},
\n
[_c(
\"
v-icon
\"
, [_vm._v(
\"
delete
\"
)])],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
]
\n
}
\n
}
\n
])
\n
})
\n
],
\n
1
\n
)
\n
}
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvdmlld3MvbWFuYWdlam9iLnZ1ZT8zNTkxIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEtBQUssU0FBUyxXQUFXLEVBQUU7QUFDM0I7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGFBQWEsU0FBUyxvQkFBb0IsRUFBRTtBQUM1QztBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGlCQUFpQjtBQUNqQjtBQUNBO0FBQ0E7QUFDQTtBQUNBLG1CQUFtQjtBQUNuQjtBQUNBO0FBQ0EsZUFBZTtBQUNmO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGdCQUFnQiw2REFBNkQ7QUFDN0U7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxtQkFBbUIsd0NBQXdDLGVBQWUsRUFBRTtBQUM1RTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsbUJBQW1CLHNDQUFz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4gIHZhciBfYyA9IF92bS5fc2VsZi5fYyB8fCBfaFxuICByZXR1cm4gX2MoXG4gICAgXCJ2LWNhcmRcIixcbiAgICB7IGF0dHJzOiB7IGZsYXQ6IFwiXCIgfSB9LFxuICAgIFtcbiAgICAgIF9jKFxuICAgICAgICBcInYtY2FyZC10aXRsZVwiLFxuICAgICAgICBbXG4gICAgICAgICAgX2MoXCJ2LXNwYWNlclwiKSxcbiAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgIF9jKFxuICAgICAgICAgICAgXCJ2LWZsZXhcIixcbiAgICAgICAgICAgIHsgYXR0cnM6IHsgc200OiBcIlwiLCB4czEyOiBcIlwiIH0gfSxcbiAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgX2MoXCJ2LXRleHQtZmllbGRcIiwge1xuICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICBcImFwcGVuZC1pY29uXCI6IFwic2VhcmNoXCIsXG4gICAgICAgICAgICAgICAgICBsYWJlbDogXCJTZWFyY2hcIixcbiAgICAgICAgICAgICAgICAgIFwic2luZ2xlLWxpbmVcIjogXCJcIixcbiAgICAgICAgICAgICAgICAgIFwiaGlkZS1kZXRhaWxzXCI6IFwiXCJcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG1vZGVsOiB7XG4gICAgICAgICAgICAgICAgICB2YWx1ZTogX3ZtLnNlYXJjaCxcbiAgICAgICAgICAgICAgICAgIGNhbGxiYWNrOiBmdW5jdGlvbigkJHYpIHtcbiAgICAgICAgICAgICAgICAgICAgX3ZtLnNlYXJjaCA9ICQkdlxuICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IFwic2VhcmNoXCJcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICBdLFxuICAgICAgICAgICAgMVxuICAgICAgICAgIClcbiAgICAgICAgXSxcbiAgICAgICAgMVxuICAgICAgKSxcbiAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICBfYyhcInYtZGF0YS10YWJsZVwiLCB7XG4gICAgICAgIHN0YXRpY0NsYXNzOiBcImVsZXZhdGlvbi0xXCIsXG4gICAgICAgIGF0dHJzOiB7IGhlYWRlcnM6IF92bS5oZWFkZXJzLCBpdGVtczogX3ZtLml0ZW1zLCBzZWFyY2g6IF92bS5zZWFyY2ggfSxcbiAgICAgICAgc2NvcGVkU2xvdHM6IF92bS5fdShbXG4gICAgICAgICAge1xuICAgICAgICAgICAga2V5OiBcIml0ZW1zXCIsXG4gICAgICAgICAgICBmbjogZnVuY3Rpb24ocHJvcHMpIHtcbiAgICAgICAgICAgICAgcmV0dXJuIFtcbiAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgIFwidGRcIixcbiAgICAgICAgICAgICAgICAgIHsgc3RhdGljQ2xhc3M6IFwidGV4dC1zbS1jZW50ZXJcIiwgYXR0cnM6IHsgd2lkdGg6IFwiMTAlXCIgfSB9LFxuICAgICAgICAgICAgICAgICAgW192bS5fdihfdm0uX3MocHJvcHMuaXRlbS5pZCkpXVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgIFwidGRcIixcbiAgICAgICAgICAgICAgICAgIHsgc3RhdGljQ2xhc3M6IFwidGV4dC1zbS1sZWZ0XCIsIGF0dHJzOiB7IHdpZHRoOiBcIjMwJVwiIH0gfSxcbiAgICAgICAgICAgICAgICAgIFtfdm0uX3YoX3ZtLl9zKHByb3BzLml0ZW0udG9waWMpKV1cbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICBcInRkXCIsXG4gICAgICAgICAgICAgICAgICB7IHN0YXRpY0NsYXNzOiBcInRleHQtc20tY2VudGVyXCIsIGF0dHJzOiB7IHdpZHRoOiBcIjE1JVwiIH0gfSxcbiAgICAgICAgICAgICAgICAgIFtfdm0uX3YoX3ZtLl9zKHByb3BzLml0ZW0udHlwZWpvYikpXVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgIFwidGRcIixcbiAgICAgICAgICAgICAgICAgIHsgc3RhdGljQ2xhc3M6IFwidGV4dC1zbS1jZW50ZXJcIiwgYXR0cnM6IHsgd2lkdGg6IFwiMTUlXCIgfSB9LFxuICAgICAgICAgICAgICAgICAgW192bS5fdihfdm0uX3MocHJvcHMuaXRlbS5wb3NpdGlvbikpXVxuICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgIFwidGRcIixcbiAgICAgICAgICAgICAgICAgIHsgc3RhdGljQ2xhc3M6IFwidGV4dC1zbS1jZW50ZXJcIiwgYXR0cnM6IHsgd2lkdGg6IFwiMTAlXCIgfSB9LFxuICAgICAgICAgICAgICAgICAgW192bS5fdihfdm0uX3MocHJvcHMuaXRlbS5zYWxhcnkpKV1cbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICBcInRkXCIsXG4gICAgICAgICAgICAgICAgICB7IHN0YXRpY0NsYXNzOiBcInRleHQtc20tY2VudGVyXCIsIGF0dHJzOiB7IHdpZHRoOiBcIjIwJVwiIH0gfSxcbiAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgXCJ2LWJ0blwiLFxuICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0YXRpY0NsYXNzOiBcIm14LTFcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGRlcHJlc3NlZDogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgZmFiOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBvdXRsaW5lOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBzbWFsbDogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6IFwiY3lhblwiXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICBbX2MoXCJ2LWljb25cIiwgW192bS5fdihcImVkaXRcIildKV0sXG4gICAgICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICBcInYtYnRuXCIsXG4gICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgYXR0cnM6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgZGVwcmVzc2VkOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBmYWI6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG91dGxpbmU6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHNtYWxsOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogXCJyZWRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgW19jKFwidi1pY29uXCIsIFtfdm0uX3YoXCJkZWxldGVcIildKV0sXG4gICAgICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgXSlcbiAgICAgIH0pXG4gICAgXSxcbiAgICAxXG4gIClcbn1cbnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXVxucmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlXG5cbmV4cG9ydCB7IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zIH0iXSwic291cmNlUm9vdCI6IiJ9
\n
//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&
\n
"
);
/***/
}),
/***/
"./node_modules/vue-loader/lib/runtime/componentNormalizer.js"
:
/*!********************************************************************!*\
!*** ./node_modules/vue-loader/lib/runtime/componentNormalizer.js ***!
...
...
@@ -1462,7 +1486,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */
\"
./node_modules/vue/dist/vue.common.js
\"
);
\n
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
\n
/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-router */
\"
./node_modules/vue-router/dist/vue-router.esm.js
\"
);
\n
/* harmony import */ var iview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! iview */
\"
./node_modules/iview/dist/iview.js
\"
);
\n
/* harmony import */ var iview__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(iview__WEBPACK_IMPORTED_MODULE_2__);
\n
/* harmony import */ var _layouts_AppLayout_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./layouts/AppLayout.vue */
\"
./resources/js/layouts/AppLayout.vue
\"
);
\n
/* harmony import */ var _layouts_EmployerLayout_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./layouts/EmployerLayout.vue */
\"
./resources/js/layouts/EmployerLayout.vue
\"
);
\n
/* harmony import */ var _views_Home_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./views/Home.vue */
\"
./resources/js/views/Home.vue
\"
);
\n
/* harmony import */ var _views_Account_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./views/Account.vue */
\"
./resources/js/views/Account.vue
\"
);
\n
/* harmony import */ var _views_Employer_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./views/Employer.vue */
\"
./resources/js/views/Employer.vue
\"
);
\n
/* harmony import */ var _views_LoginEmployer_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./views/LoginEmployer.vue */
\"
./resources/js/views/LoginEmployer.vue
\"
);
\n
/* harmony import */ var _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./views/PageNotFound.vue */
\"
./resources/js/views/PageNotFound.vue
\"
);
\n
/* harmony import */ var _views_Addjob_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./views/Addjob.vue */
\"
./resources/js/views/Addjob.vue
\"
);
\n
/* harmony import */ var _views_RegisterEmployer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./views/RegisterEmployer */
\"
./resources/js/views/RegisterEmployer.vue
\"
);
\n
\n\n\n
vue__WEBPACK_IMPORTED_MODULE_0___default.a.use(vue_router__WEBPACK_IMPORTED_MODULE_1__[
\"
default
\"
]);
\n\n\n\n\n\n\n\n\n\n
var router = new vue_router__WEBPACK_IMPORTED_MODULE_1__[
\"
default
\"
]({
\n
mode: 'history',
\n
routes: [{
\n
path: '/employer',
\n
name: 'employerLayout',
\n
component: _layouts_EmployerLayout_vue__WEBPACK_IMPORTED_MODULE_4__[
\"
default
\"
],
\n
children: [{
\n
path: '',
\n
name: 'Employer',
\n
component: _views_Employer_vue__WEBPACK_IMPORTED_MODULE_7__[
\"
default
\"
]
\n
}, {
\n
path: 'login',
\n
name: 'loginEmployer',
\n
component: _views_LoginEmployer_vue__WEBPACK_IMPORTED_MODULE_8__[
\"
default
\"
]
\n
}, {
\n
path: 'register',
\n
name: 'registerEmployer',
\n
component: _views_RegisterEmployer__WEBPACK_IMPORTED_MODULE_11__[
\"
default
\"
]
\n
}, {
\n
path: 'addjob',
\n
name: 'addjob',
\n
component: _views_Addjob_vue__WEBPACK_IMPORTED_MODULE_10__[
\"
default
\"
]
\n
}, {
\n
path: '*',
\n
name: '404Employer',
\n
component: _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__[
\"
default
\"
]
\n
}]
\n
}, {
\n
path: '/',
\n
name: 'appLayout',
\n
component: _layouts_AppLayout_vue__WEBPACK_IMPORTED_MODULE_3__[
\"
default
\"
],
\n
children: [{
\n
path: '',
\n
name: 'Home',
\n
component: _views_Home_vue__WEBPACK_IMPORTED_MODULE_5__[
\"
default
\"
]
\n
}, {
\n
path: 'account',
\n
name: 'account',
\n
component: _views_Account_vue__WEBPACK_IMPORTED_MODULE_6__[
\"
default
\"
]
\n
}, {
\n
path: '*',
\n
name: 'pageNotFound',
\n
component: _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__[
\"
default
\"
],
\n
meta: {
\n
requiredUser: true
\n
}
\n
}]
\n
}]
\n
});
\n
router.beforeEach(function (to, from, next) {
\n
iview__WEBPACK_IMPORTED_MODULE_2___default.a.LoadingBar.start();
\n\n
if (to.matched.some(function (record) {
\n
return record.meta.requiredUser;
\n
})) {
\n
if (!localStorage.getItem('access_token')) {
\n
next('/employer/login');
\n
} else {
\n
next();
\n
}
\n
} else {
\n
next();
\n
}
\n
});
\n
router.afterEach(function (route) {
\n
iview__WEBPACK_IMPORTED_MODULE_2___default.a.LoadingBar.finish();
\n
});
\n
/* harmony default export */ __webpack_exports__[
\"
default
\"
] = (router);//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvcm91dGUuanM/NWMzNiJdLCJuYW1lcyI6WyJWdWUiLCJ1c2UiLCJWdWVSb3V0ZXIiLCJyb3V0ZXIiLCJtb2RlIiwicm91dGVzIiwicGF0aCIsIm5hbWUiLCJjb21wb25lbnQiLCJFbXBsb3llckxheW91dCIsImNoaWxkcmVuIiwiRW1wbG95ZXIiLCJMb2dpbkVtcGxveWVyIiwiUmVnaXN0ZXJFbXBsb3llciIsIkFkZGpvYiIsIlBhZ2VOb3RGb3VuZCIsIkFwcExheW91dCIsIkhvbWUiLCJBY2NvdW50IiwibWV0YSIsInJlcXVpcmVkVXNlciIsImJlZm9yZUVhY2giLCJ0byIsImZyb20iLCJuZXh0IiwiaVZpZXciLCJMb2FkaW5nQmFyIiwic3RhcnQiLCJtYXRjaGVkIiwic29tZSIsInJlY29yZCIsImxvY2FsU3RvcmFnZSIsImdldEl0ZW0iLCJhZnRlckVhY2giLCJyb3V0ZSIsImZpbmlzaCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBRUFBLDBDQUFHLENBQUNDLEdBQUosQ0FBUUMsa0RBQVI7QUFFQTtBQUNBO0FBRUE7Q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IHBhdGg6ICcnLFxyXG4gICAgICAgICAgbmFtZTogJ0VtcGxveWVyJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRW1wbG95ZXJcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHBhdGg6ICdsb2dpbicsXHJcbiAgICAgICAgICBuYW1lOiAnbG9naW5FbXBsb3llcicsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IExvZ2luRW1wbG95ZXJcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHBhdGg6ICdyZWdpc3RlcicsXHJcbiAgICAgICAgICBuYW1lOiAncmVnaXN0ZXJFbXBsb3llcicsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IFJlZ2lzdGVyRW1wbG95ZXJcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHBhdGg6ICdhZGRqb2InLFxyXG4gICAgICAgICAgbmFtZTogJ2FkZGpvYicsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEFkZGpvYlxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcGF0aDogJyonLFxyXG4gICAgICAgICAgbmFtZTogJzQwNEVtcGxveWVyJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogUGFnZU5vdEZvdW5kXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9LFxyXG4gICAge1xyXG4gICAgICBwYXRoOiAnLycsXHJcbiAgICAgIG5hbWU6ICdhcHBMYXlvdXQnLFxyXG4gICAgICBjb21wb25lbnQ6IEFwcExheW91dCxcclxuICAgICAgY2hpbGRyZW46IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAnJyxcclxuICAgICAgICAgIG5hbWU6ICdIb21lJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogSG9tZVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcGF0aDogJ2FjY291bnQnLFxyXG4gICAgICAgICAgbmFtZTogJ2FjY291bnQnLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBBY2NvdW50XHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAnKicsXHJcbiAgICAgICAgICBuYW1lOiAncGFnZU5vdEZvdW5kJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogUGFnZU5vdEZvdW5kLFxyXG4gICAgICAgICAgbWV0YToge1xyXG4gICAgICAgICAgICByZXF1aXJlZFVzZXI6IHRydWVcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH1cclxuICBdXHJcbn0pXHJcblxyXG5yb3V0ZXIuYmVmb3JlRWFjaCgodG8sIGZyb20sIG5leHQpID0+IHtcclxuICBpVmlldy5Mb2FkaW5nQmFyLnN0YXJ0KCk7XHJcbiAgaWYodG8ubWF0Y2hlZC5zb21lKHJlY29yZCA9PiByZWNvcmQubWV0YS5yZXF1aXJlZFVzZXIpKSB7XHJcbiAgICBpZighbG9jYWxTdG9yYWdlLmdldEl0ZW0oJ2FjY2Vzc190b2tlbicpKSB7XHJcbiAgICAgIG5leHQoJy9lbXBsb3llci9sb2dpbicpXHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICBuZXh0KClcclxuICAgIH1cclxuICB9IGVsc2Uge1xyXG4gICAgbmV4dCgpXHJcbiAgfVxyXG59KVxyXG5cclxucm91dGVyLmFmdGVyRWFjaChyb3V0ZSA9PiB7XHJcbiAgaVZpZXcuTG9hZGluZ0Jhci5maW5pc2goKTtcclxufSlcclxuXHJcbmV4cG9ydCBkZWZhdWx0IHJvdXRlciJdLCJzb3VyY2VSb290IjoiIn0
=
\n
//# sourceURL=webpack-internal:///./resources/js/route.js
\n
"
);
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */
\"
./node_modules/vue/dist/vue.common.js
\"
);
\n
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
\n
/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-router */
\"
./node_modules/vue-router/dist/vue-router.esm.js
\"
);
\n
/* harmony import */ var iview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! iview */
\"
./node_modules/iview/dist/iview.js
\"
);
\n
/* harmony import */ var iview__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(iview__WEBPACK_IMPORTED_MODULE_2__);
\n
/* harmony import */ var _layouts_AppLayout_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./layouts/AppLayout.vue */
\"
./resources/js/layouts/AppLayout.vue
\"
);
\n
/* harmony import */ var _layouts_EmployerLayout_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./layouts/EmployerLayout.vue */
\"
./resources/js/layouts/EmployerLayout.vue
\"
);
\n
/* harmony import */ var _views_Home_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./views/Home.vue */
\"
./resources/js/views/Home.vue
\"
);
\n
/* harmony import */ var _views_Account_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./views/Account.vue */
\"
./resources/js/views/Account.vue
\"
);
\n
/* harmony import */ var _views_Employer_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./views/Employer.vue */
\"
./resources/js/views/Employer.vue
\"
);
\n
/* harmony import */ var _views_LoginEmployer_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./views/LoginEmployer.vue */
\"
./resources/js/views/LoginEmployer.vue
\"
);
\n
/* harmony import */ var _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./views/PageNotFound.vue */
\"
./resources/js/views/PageNotFound.vue
\"
);
\n
/* harmony import */ var _views_Addjob_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./views/Addjob.vue */
\"
./resources/js/views/Addjob.vue
\"
);
\n
/* harmony import */ var _views_RegisterEmployer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./views/RegisterEmployer */
\"
./resources/js/views/RegisterEmployer.vue
\"
);
\n
/* harmony import */ var _views_managejob_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./views/managejob.vue */
\"
./resources/js/views/managejob.vue
\"
);
\n\n\n\n
vue__WEBPACK_IMPORTED_MODULE_0___default.a.use(vue_router__WEBPACK_IMPORTED_MODULE_1__[
\"
default
\"
]);
\n\n\n\n\n\n\n\n\n\n\n
var router = new vue_router__WEBPACK_IMPORTED_MODULE_1__[
\"
default
\"
]({
\n
mode: 'history',
\n
routes: [{
\n
path: '/employer',
\n
name: 'employerLayout',
\n
component: _layouts_EmployerLayout_vue__WEBPACK_IMPORTED_MODULE_4__[
\"
default
\"
],
\n
children: [{
\n
path: '',
\n
name: 'Employer',
\n
component: _views_Employer_vue__WEBPACK_IMPORTED_MODULE_7__[
\"
default
\"
]
\n
}, {
\n
path: 'login',
\n
name: 'loginEmployer',
\n
component: _views_LoginEmployer_vue__WEBPACK_IMPORTED_MODULE_8__[
\"
default
\"
]
\n
}, {
\n
path: 'register',
\n
name: 'registerEmployer',
\n
component: _views_RegisterEmployer__WEBPACK_IMPORTED_MODULE_11__[
\"
default
\"
]
\n
}, {
\n
path: 'managejob',
\n
name: 'managejobEmployer',
\n
component: _views_managejob_vue__WEBPACK_IMPORTED_MODULE_12__[
\"
default
\"
]
\n
}, {
\n
path: 'addjob',
\n
name: 'addjob',
\n
component: _views_Addjob_vue__WEBPACK_IMPORTED_MODULE_10__[
\"
default
\"
]
\n
}, {
\n
path: '*',
\n
name: '404Employer',
\n
component: _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__[
\"
default
\"
]
\n
}]
\n
}, {
\n
path: '/',
\n
name: 'appLayout',
\n
component: _layouts_AppLayout_vue__WEBPACK_IMPORTED_MODULE_3__[
\"
default
\"
],
\n
children: [{
\n
path: '',
\n
name: 'Home',
\n
component: _views_Home_vue__WEBPACK_IMPORTED_MODULE_5__[
\"
default
\"
]
\n
}, {
\n
path: 'account',
\n
name: 'account',
\n
component: _views_Account_vue__WEBPACK_IMPORTED_MODULE_6__[
\"
default
\"
]
\n
}, {
\n
path: '*',
\n
name: 'pageNotFound',
\n
component: _views_PageNotFound_vue__WEBPACK_IMPORTED_MODULE_9__[
\"
default
\"
],
\n
meta: {
\n
requiredUser: true
\n
}
\n
}]
\n
}]
\n
});
\n
router.beforeEach(function (to, from, next) {
\n
iview__WEBPACK_IMPORTED_MODULE_2___default.a.LoadingBar.start();
\n\n
if (to.matched.some(function (record) {
\n
return record.meta.requiredUser;
\n
})) {
\n
if (!localStorage.getItem('access_token')) {
\n
next('/employer/login');
\n
} else {
\n
next();
\n
}
\n
} else {
\n
next();
\n
}
\n
});
\n
router.afterEach(function (route) {
\n
iview__WEBPACK_IMPORTED_MODULE_2___default.a.LoadingBar.finish();
\n
});
\n
/* harmony default export */ __webpack_exports__[
\"
default
\"
] = (router);//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvcm91dGUuanM/NWMzNiJdLCJuYW1lcyI6WyJWdWUiLCJ1c2UiLCJWdWVSb3V0ZXIiLCJyb3V0ZXIiLCJtb2RlIiwicm91dGVzIiwicGF0aCIsIm5hbWUiLCJjb21wb25lbnQiLCJFbXBsb3llckxheW91dCIsImNoaWxkcmVuIiwiRW1wbG95ZXIiLCJMb2dpbkVtcGxveWVyIiwiUmVnaXN0ZXJFbXBsb3llciIsIk1hbmFnZWpvYkVtcGxveWVyIiwiQWRkam9iIiwiUGFnZU5vdEZvdW5kIiwiQXBwTGF5b3V0IiwiSG9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3llclxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcGF0aDogJ21hbmFnZWpvYicsXHJcbiAgICAgICAgICBuYW1lOiAnbWFuYWdlam9iRW1wbG95ZXInLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBNYW5hZ2Vqb2JFbXBsb3llclxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcGF0aDogJ2FkZGpvYicsXHJcbiAgICAgICAgICBuYW1lOiAnYWRkam9iJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogQWRkam9iXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAnKicsXHJcbiAgICAgICAgICBuYW1lOiAnNDA0RW1wbG95ZXInLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBQYWdlTm90Rm91bmRcclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH0sXHJcbiAgICB7XHJcbiAgICAgIHBhdGg6ICcvJyxcclxuICAgICAgbmFtZTogJ2FwcExheW91dCcsXHJcbiAgICAgIGNvbXBvbmVudDogQXBwTGF5b3V0LFxyXG4gICAgICBjaGlsZHJlbjogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgIHBhdGg6ICcnLFxyXG4gICAgICAgICAgbmFtZTogJ0hvbWUnLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBIb21lXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwYXRoOiAnYWNjb3VudCcsXHJcbiAgICAgICAgICBuYW1lOiAnYWNjb3VudCcsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEFjY291bnRcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHBhdGg6ICcqJyxcclxuICAgICAgICAgIG5hbWU6ICdwYWdlTm90Rm91bmQnLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBQYWdlTm90Rm91bmQsXHJcbiAgICAgICAgICBtZXRhOiB7XHJcbiAgICAgICAgICAgIHJlcXVpcmVkVXNlcjogdHJ1ZVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfVxyXG4gIF1cclxufSlcclxuXHJcbnJvdXRlci5iZWZvcmVFYWNoKCh0bywgZnJvbSwgbmV4dCkgPT4ge1xyXG4gIGlWaWV3LkxvYWRpbmdCYXIuc3RhcnQoKTtcclxuICBpZih0by5tYXRjaGVkLnNvbWUocmVjb3JkID0+IHJlY29yZC5tZXRhLnJlcXVpcmVkVXNlcikpIHtcclxuICAgIGlmKCFsb2NhbFN0b3JhZ2UuZ2V0SXRlbSgnYWNjZXNzX3Rva2VuJykpIHtcclxuICAgICAgbmV4dCgnL2VtcGxveWVyL2xvZ2luJylcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIG5leHQoKVxyXG4gICAgfVxyXG4gIH0gZWxzZSB7XHJcbiAgICBuZXh0KClcclxuICB9XHJcbn0pXHJcblxyXG5yb3V0ZXIuYWZ0ZXJFYWNoKHJvdXRlID0+IHtcclxuICBpVmlldy5Mb2FkaW5nQmFyLmZpbmlzaCgpO1xyXG59KVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgcm91dGVyIl0sInNvdXJjZVJvb3QiOiIifQ=
=
\n
//# sourceURL=webpack-internal:///./resources/js/route.js
\n
"
);
/***/
}),
...
...
@@ -1850,6 +1874,42 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
/***/
}),
/***/
"./resources/js/views/managejob.vue"
:
/*!******************************************!*\
!*** ./resources/js/views/managejob.vue ***!
\******************************************/
/*! exports provided: default */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony import */ var _managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./managejob.vue?vue&type=template&id=3a2d4e49& */
\"
./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&
\"
);
\n
/* harmony import */ var _managejob_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./managejob.vue?vue&type=script&lang=js& */
\"
./resources/js/views/managejob.vue?vue&type=script&lang=js&
\"
);
\n
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */
\"
./node_modules/vue-loader/lib/runtime/componentNormalizer.js
\"
);
\n\n\n\n\n\n
/* normalize component */
\n\n
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[
\"
default
\"
])(
\n
_managejob_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[
\"
default
\"
],
\n
_managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__[
\"
render
\"
],
\n
_managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__[
\"
staticRenderFns
\"
],
\n
false,
\n
null,
\n
null,
\n
null
\n
\n
)
\n\n
/* hot reload */
\n
if (false) { var api; }
\n
component.options.__file =
\"
resources/js/views/managejob.vue
\"\n
/* harmony default export */ __webpack_exports__[
\"
default
\"
] = (component.exports);//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvdmlld3MvbWFuYWdlam9iLnZ1ZT9hYWFmIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQXdGO0FBQzNCO0FBQ0w7OztBQUd4RDtBQUM2RjtBQUM3RixnQkFBZ0IsMkdBQVU7QUFDMUIsRUFBRSwrRUFBTTtBQUNS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cbiAgaWYgKGFwaS5jb21wYXRpYmxlKSB7XG4gICAgbW9kdWxlLmhvdC5hY2NlcHQoKVxuICAgIGlmICghbW9kdWxlLmhvdC5kYXRhKSB7XG4gICAgICBhcGkuY3JlYXRlUmVjb3JkKCczYTJkNGU0OScsIGNvbXBvbmVudC5vcHRpb25zKVxuICAgIH0gZWxzZSB7XG4gICAgICBhcGkucmVsb2FkKCczYTJkNGU0OScsIGNvbXBvbmVudC5vcHRpb25zKVxuICAgIH1cbiAgICBtb2R1bGUuaG90LmFjY2VwdChcIi4vbWFuYWdlam9iLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD0zYTJkNGU0OSZcIiwgZnVuY3Rpb24gKCkge1xuICAgICAgYXBpLnJlcmVuZGVyKCczYTJkNGU0OScsIHtcbiAgICAgICAgcmVuZGVyOiByZW5kZXIsXG4gICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zXG4gICAgICB9KVxuICAgIH0pXG4gIH1cbn1cbmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9IFwicmVzb3VyY2VzL2pzL3ZpZXdzL21hbmFnZWpvYi52dWVcIlxuZXhwb3J0IGRlZmF1bHQgY29tcG9uZW50LmV4cG9ydHMiXSwic291cmNlUm9vdCI6IiJ9
\n
//# sourceURL=webpack-internal:///./resources/js/views/managejob.vue
\n
"
);
/***/
}),
/***/
"./resources/js/views/managejob.vue?vue&type=script&lang=js&"
:
/*!*******************************************************************!*\
!*** ./resources/js/views/managejob.vue?vue&type=script&lang=js& ***!
\*******************************************************************/
/*! exports provided: default */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_managejob_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib??ref--4-0!../../../node_modules/vue-loader/lib??vue-loader-options!./managejob.vue?vue&type=script&lang=js& */
\"
./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=script&lang=js&
\"
);
\n
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[
\"
default
\"
] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_managejob_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[
\"
default
\"
]); //# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvdmlld3MvbWFuYWdlam9iLnZ1ZT85YjkxIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQSx3Q0FBeUwsQ0FBZ0IscVBBQUcsRUFBQyIsImZpbGUiOiIuL3Jlc291cmNlcy9qcy92aWV3cy9tYW5hZ2Vqb2IudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJi5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBtb2QgZnJvbSBcIi0hLi4vLi4vLi4vbm9kZV9tb2R1bGVzL2JhYmVsLWxvYWRlci9saWIvaW5kZXguanM/P3JlZi0tNC0wIS4uLy4uLy4uL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9pbmRleC5qcz8/dnVlLWxvYWRlci1vcHRpb25zIS4vbWFuYWdlam9iLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyZcIjsgZXhwb3J0IGRlZmF1bHQgbW9kOyBleHBvcnQgKiBmcm9tIFwiLSEuLi8uLi8uLi9ub2RlX21vZHVsZXMvYmFiZWwtbG9hZGVyL2xpYi9pbmRleC5qcz8/cmVmLS00LTAhLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2luZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9tYW5hZ2Vqb2IudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJlwiIl0sInNvdXJjZVJvb3QiOiIifQ==
\n
//# sourceURL=webpack-internal:///./resources/js/views/managejob.vue?vue&type=script&lang=js&
\n
"
);
/***/
}),
/***/
"./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&"
:
/*!*************************************************************************!*\
!*** ./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49& ***!
\*************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./managejob.vue?vue&type=template&id=3a2d4e49& */
\"
./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&
\"
);
\n
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__,
\"
render
\"
, function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__[
\"
render
\"
]; });
\n\n
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__,
\"
staticRenderFns
\"
, function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_managejob_vue_vue_type_template_id_3a2d4e49___WEBPACK_IMPORTED_MODULE_0__[
\"
staticRenderFns
\"
]; });
\n\n
//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvdmlld3MvbWFuYWdlam9iLnZ1ZT82YjQyIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQSIsImZpbGUiOiIuL3Jlc291cmNlcy9qcy92aWV3cy9tYW5hZ2Vqb2IudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTNhMmQ0ZTQ5Ji5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCItIS4uLy4uLy4uL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9sb2FkZXJzL3RlbXBsYXRlTG9hZGVyLmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2luZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9tYW5hZ2Vqb2IudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTNhMmQ0ZTQ5JlwiIl0sInNvdXJjZVJvb3QiOiIifQ==
\n
//# sourceURL=webpack-internal:///./resources/js/views/managejob.vue?vue&type=template&id=3a2d4e49&
\n
"
);
/***/
}),
/***/
"./resources/sass/app.scss"
:
/*!*********************************!*\
!*** ./resources/sass/app.scss ***!
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'
,
...
...
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
>
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