(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d01d9"],{6735:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("v-card",[t("v-layout",{attrs:{row:"",wrap:""}},[t("v-flex",{attrs:{xs12:""}},[t("v-data-table",{staticClass:"elevation-1",attrs:{headers:e.headers,items:e.items,"hide-actions":""},scopedSlots:e._u([{key:"items",fn:function(a){return[t("td",[e._v(e._s(e.getValue(a.item.category,"name")))]),t("td",[e._v(e._s(e.getValue(a.item,"name")))]),t("td",[e._v(e._s(e.getValue(a.item,"mobile_no")))]),t("td",[e._v(e._s(e.getValue(a.item,"designation")))]),t("td",[e._v(e._s(e.getValue(a.item,"email")))]),t("td",[t("v-img",{staticStyle:{"border-radius":"5%"},attrs:{src:a.item.image.url,"max-height":"250px",height:"200px",width:"150px"}}),t("br")],1),t("td",[t("v-btn",{staticClass:"primary",attrs:{href:"tel:"+a.item.mobile_number}},[t("v-icon",[e._v("call")])],1)],1)]}}])})],1)],1)],1)],1)},n=[],o=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),c=a("365c"),i=a("2f62"),s=a("4da1"),l=a("323e"),u=a.n(l);a("c1df");function d(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?d(Object(a),!0).forEach((function(t){Object(o["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var b={data:function(){return{items:[],record:{},headers:[{text:"Category",sortable:!0,value:"category.name"},{text:"Name",sortable:!0,value:"name"},{text:"Mobile No"},{text:"Designation"},{text:"Email"},{text:""},{text:"Call",sortable:!1,value:""}]}},computed:f({},Object(i["b"])(["selfcareScope"])),methods:{getValue:function(e,t){return Object(s["j"])(e,t)},getDateFromISO:function(e){return Object(s["e"])(e)},getUsefulContactList:function(){var e=this;u.a.done(),c["a"].get("/selfcare/rems/general-contact",{params:{project_id:this.selfcareScope.projectId,company_id:this.selfcareScope.companyId}}).then((function(t){console.log(t),e.items=t.data.data})).catch((function(e){console.log(e)})).then((function(){u.a.done()}))}},beforeMount:function(){this.getUsefulContactList()}},m=b,p=a("2877"),g=Object(p["a"])(m,r,n,!1,null,"21b1a55b",null);t["default"]=g.exports}}]);