File manager - Edit - /home/autoph/.trash/assets/index-4e08b2df.js
Back
import{L as c}from"./index-e7796b69.js";import{a as e,_ as s,r as p,o as f,c as u,g as l,f as i,I as m}from"./index-cd0396ac.js";import"./index-5ac154fa.js";import"./lodash-eb599a9f.js";import"./_commonjsHelpers-de833af9.js";import"./vue-cleave.min-fd4134d1.js";import"./xhebrhsj-d37585db.js";import"./es.string.replace-2e300990.js";const o="http://127.0.0.1:8007/api/v1/notifications",d={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("http://127.0.0.1:8007/api/notification-by-role")}},h={components:{Layout:c},data(){return{title:"Notifications",breadcrumbs:[{text:"Home",href:"/"},{text:"Notifications",active:!0}],testData:null}},methods:{async fetchNotificationByRole(){await d.fetchNotificationByRoles().then(t=>{console.log(t),this.testData=t.data})}},mounted(){this.fetchNotificationByRole()}};function y(t,r,_,$,a,b){const n=p("Layout");return f(),u(n,{header:a.title,headerIcon:"mdi:file-cabinet",breadcrumbs:a.breadcrumbs},{default:l(()=>[i("div",null,[i("pre",null," "+m(a.testData)+` `,1)])]),_:1},8,["header","breadcrumbs"])}const k=s(h,[["render",y]]);export{k as default};
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings