{"id":2045,"date":"2019-12-26T11:13:35","date_gmt":"2019-12-26T02:13:35","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2045"},"modified":"2019-12-26T11:13:38","modified_gmt":"2019-12-26T02:13:38","slug":"%e3%80%90laravel%e3%80%91%e3%80%90vue-js%e3%80%91%e3%80%90%e3%83%9b%e3%83%86%e3%83%ab%e4%ba%88%e7%b4%84%e7%ae%a1%e7%90%86%e3%80%91%e4%ba%88%e7%b4%84%e3%81%ae%e5%89%8a%e9%99%a4%e3%82%92%e5%ae%9f","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2045","title":{"rendered":"\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u524a\u9664\u3092\u5b9f\u88c5\u3059\u308b"},"content":{"rendered":"\n<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"tP9lZ4hjhu\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2040\">\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u7de8\u96c6\u3092\u884c\u3046<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u7de8\u96c6\u3092\u884c\u3046&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2040&#038;embed=true#?secret=armT5g98lp#?secret=tP9lZ4hjhu\" data-secret=\"tP9lZ4hjhu\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub)<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/takishita2nd\/hotel-mng\">https:\/\/github.com\/takishita2nd\/hotel-mng<\/a><\/p>\n\n\n\n<p>\u4e88\u7d04\u8a73\u7d30\u753b\u9762\u306b\u524a\u9664\u30dc\u30bf\u30f3\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>                &lt;button @click=\"closeModal\">close&lt;\/button>\n                &lt;button v-if=\"edit_flg == false\" @click=\"onClickEdit\">\u7de8\u96c6&lt;\/button>\n                &lt;button v-else @click=\"onClickSave\">\u4fdd\u5b58&lt;\/button>\n                &lt;button v-if=\"edit_flg == false\" @click=\"onClickDelete\">\u524a\u9664&lt;\/button>\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>            onClickDelete: function() {\n                var self = this;\n                this.param.year = this.selectYear;\n                this.param.month = this.selectMonth;\n                this.param.room = this.selectRoom;\n                this.param.id = this.contents.id;\n                axios.post('\/api\/delete', this.param).then(function(response){\n                    self.registers = &#91;];\n                    self.updateRegisters(self, response.data.registerLists);\n                    self.closeModal();\n                }).catch(function(error){\n                    self.error_flg = true;\n                    self.error_message = error.response.data.errors;\n                });\n            },\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>            updateRegisters: function(self, registerLists){\n                registerLists.forEach(element => {\n                    self.registers.push(\n                        {\n                            id:element.id, \n                            name:element.name,\n                            address:element.address,\n                            phone:element.phone,\n                            num:element.num,\n                            roomid:element.roomid,\n                            room:element.room,\n                            days:element.days,\n                            start_day:element.start_day, \n                            checkout:element.checkout\n                        }\n                    );\n                });\n            }\n<\/code><\/pre>\n\n\n\n<p>API\u3078\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Route::post('\/api\/delete', 'ApiController@delete');\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>    public function delete(Request $request)\n    {\n        $this->registerManagement->deleteById($request->id);\n        return response()->json(&#91;'registerLists' => $this->registerManagement->getListByMonth(\n            $request->year,\n            $request->month,\n            $request->room\n        )]);\n    }\n<\/code><\/pre>\n\n\n\n<p>\u5b9f\u969b\u306b\u524a\u9664\u3057\u305f\u3089\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u4e88\u7d04\u4e00\u89a7\u3092\u8fd4\u3057\u3001\u4e00\u89a7\u3092\u6700\u65b0\u306e\u72b6\u614b\u3067\u8868\u793a\u3057\u3066\u3082\u3089\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u3001\u4e00\u89a7\u66f4\u65b0\u51e6\u7406\u304c\u5171\u901a\u3057\u3066\u3044\u308b\u306e\u3067\u95a2\u6570\u5316\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"263\" data-attachment-id=\"2046\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=2046\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-26-11-12-07.png?fit=523%2C290&amp;ssl=1\" data-orig-size=\"523,290\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2019-12-26-11-12-07\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-26-11-12-07.png?fit=474%2C263&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-26-11-12-07.png?resize=474%2C263\" alt=\"\" class=\"wp-image-2046\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-26-11-12-07.png?w=523&amp;ssl=1 523w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-26-11-12-07.png?resize=300%2C166&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>\u96e3\u306a\u304f\u8a2d\u7f6e\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30fb\u30fb\u30fb\u8ffd\u52a0\u51e6\u7406\u3082\u30e2\u30fc\u30c0\u30eb\u5316\u3059\u308b\uff1f<\/p>\n\n\n\n<a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"><\/a>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 \u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub) https:\/\/github.com\/takishita2nd\/hotel-mng \u4e88\u7d04\u8a73\u7d30\u753b\u9762\u306b\u524a\u9664\u30dc\u30bf\u30f3\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002 API\u3078\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0 \u5b9f\u969b\u306b\u524a\u9664\u3057 &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2045\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u524a\u9664\u3092\u5b9f\u88c5\u3059\u308b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u524a\u9664\u3092\u5b9f\u88c5\u3059\u308b\n#TechCommit\n","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[167,8,168,3],"tags":[138,79,166],"class_list":["post-2045","post","type-post","status-publish","format-standard","hentry","category-laravel","category-linux","category-vue-js","category-3","tag-laravel","tag-linux","tag-vue-js"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-wZ","jetpack-related-posts":[{"id":2161,"url":"https:\/\/taki-lab.site\/bocci\/?p=2161","url_meta":{"origin":2045,"position":0},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u5fd8\u308c\u3066\u3044\u305f\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b","author":"taki","date":"2020\u5e741\u670817\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2145 \u6700\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-17-08-26-16.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-17-08-26-16.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-17-08-26-16.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2040,"url":"https:\/\/taki-lab.site\/bocci\/?p=2040","url_meta":{"origin":2045,"position":1},"title":"\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u306e\u7de8\u96c6\u3092\u884c\u3046","author":"taki","date":"2019\u5e7412\u670825\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=2005 \u524d\u56de\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-08-00-06.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-08-00-06.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-08-00-06.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2005,"url":"https:\/\/taki-lab.site\/bocci\/?p=2005","url_meta":{"origin":2045,"position":2},"title":"\u3010Laravel\u3011\u3010Vue.js\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u8a73\u7d30\u3092\u30c0\u30a4\u30a2\u30ed\u30b0\u306b\u8868\u793a\u3055\u305b\u308b","author":"taki","date":"2019\u5e7412\u670823\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=1987 \u6700\u65b0\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-07-59-53.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-07-59-53.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/Screenshot-from-2019-12-23-07-59-53.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2119,"url":"https:\/\/taki-lab.site\/bocci\/?p=2119","url_meta":{"origin":2045,"position":3},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u4e88\u7d04\u60c5\u5831\u3092\u5909\u66f4\u3001\u524a\u9664\u3059\u308b","author":"taki","date":"2020\u5e741\u670813\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089 https:\/\/taki-lab.site\/bocci\/?p=2108 \u6700\u65b0\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-13-08-52-52.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2174,"url":"https:\/\/taki-lab.site\/bocci\/?p=2174","url_meta":{"origin":2045,"position":4},"title":"\u3010Laravel\u3011\u3010\u30db\u30c6\u30eb\u4e88\u7d04\u7ba1\u7406\u3011\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u306a\u304a\u3059\u3002","author":"taki","date":"2020\u5e741\u670821\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2161 \u6700\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-21-09-03-13.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-21-09-03-13.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-21-09-03-13.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/Screenshot-from-2020-01-21-09-03-13.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3161,"url":"https:\/\/taki-lab.site\/bocci\/?p=3161","url_meta":{"origin":2045,"position":5},"title":"\u3010LARAVEL\u3011\u3010\u30c0\u30a4\u30a8\u30c3\u30c8\u652f\u63f4\u3011\u30c7\u30fc\u30bf\u4e00\u89a7\u753b\u9762\u304b\u3089\u30c7\u30fc\u30bf\u524a\u9664","author":"taki","date":"2020\u5e746\u67082\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=3152 \u6700\u2026","rel":"","context":"Laravel","block_context":{"text":"Laravel","link":"https:\/\/taki-lab.site\/bocci\/?cat=167"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2045"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2045\/revisions"}],"predecessor-version":[{"id":2047,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2045\/revisions\/2047"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}