File manager - Edit - /home/autoph/.trash/assets/index-7a0e6521.js
Back
import{L as c}from"./index-de8a0845.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-8e9322aa.js";import"./index-66c6643f.js";import"./lodash-5af90829.js";import"./vue-cleave.min-9b00abb0.js";import"./xhebrhsj-49c9cd7a.js";import"./es.string.replace-d529dd51.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 L=s(d,[["render",y]]);export{L as default};
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings