File manager - Edit - /home/autoph/.trash/assets/index-44adbd42.js
Back
import{L as c}from"./index-09409e71.js";import{a as e,_ as s,r as p,o as u,c as f,g as h,f as i,I as l}from"./index-9809eabd.js";import"./index-0a3abe15.js";import"./lodash-55491229.js";import"./_commonjsHelpers-de833af9.js";import"./vue-cleave.min-6fce3276.js";import"./xhebrhsj-21ad2b9f.js";import"./es.string.replace-2e300990.js";const o="https://ahg-prf-api.autohub.ph/api/v1/notifications",m={fetchRecords(t={}){return e.get(`${o}`,{params:t})},fetchRecord(t){return e.get(`${o}/${t}`)},async create(t){return e.post(`${o}`,t)},async update(t,r){return e.put(`${o}/${t}`,r)},async remove(t){return e.delete(`${o}/${t}`)},async fetchNotificationByRoles(){return e.get("https://ahg-prf-api.autohub.ph/api/notification-by-role")}},d={components:{Layout:c},data(){return{title:"Notifications",breadcrumbs:[{text:"Home",href:"/"},{text:"Notifications",active:!0}],testData:null}},methods:{async fetchNotificationByRole(){await m.fetchNotificationByRoles().then(t=>{console.log(t),this.testData=t.data})}},mounted(){this.fetchNotificationByRole()}};function y(t,r,b,_,a,$){const n=p("Layout");return u(),f(n,{header:a.title,headerIcon:"mdi:file-cabinet",breadcrumbs:a.breadcrumbs},{default:h(()=>[i("div",null,[i("pre",null," "+l(a.testData)+` `,1)])]),_:1},8,["header","breadcrumbs"])}const k=s(d,[["render",y]]);export{k as default};
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings