text: webpackJsonp([5],{"2/eT":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("gyMJ"),v={name:"DeviceListPanel",data:function(){return{devicesList:[]}},methods:{load:function(){var t=this;n.b.device.list().then(function(e){t.devicesList=e}).catch(function(t){console.log(t)})}},mounted:function(){this.load()}},c={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-container",[i("v-layout",{attrs:{wrap:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-card",[i("v-card-title",[i("h1",[t._v("裝置列表")])]),t._v(" "),i("v-card-actions",[i("v-spacer"),t._v(" "),i("v-btn",{on:{click:function(e){t.$router.push("/device/create")}}},[t._v("創建新裝置")]),t._v(" "),i("v-btn",{on:{click:function(e){t.$router.push("/device/insertData")}}},[t._v("新增資料")]),t._v(" "),i("v-btn",{on:{click:t.load}},[t._v("重新整理")])],1),t._v(" "),i("v-list",{attrs:{"two-line":""}},[t._l(t.devicesList,function(e,n){return[i("v-list-tile",{key:n},[i("v-list-tile-content",[i("v-list-tile-title",[t._v(t._s(e.name))]),t._v(" "),i("v-list-tile-sub-title",[t._v(t._s(e._id))])],1)],1),t._v(" "),n<t.devicesList.length-1?i("v-divider",{key:n+"-devider"}):t._e()]})],2),t._v(" "),i("v-card-actions")],1)],1)],1)],1)},staticRenderFns:[]};var s=i("VU/8")(v,c,!1,function(t){i("s4zF")},"data-v-2428e5b6",null);e.default=s.exports},s4zF:function(t,e){}});
  //# sourceMappingURL=5.6846c27ca70daf05a63f.js.map