0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.12.71.166


Current Path : /proc/thread-self/root/var/www/qpms/assets/
Upload File :
Current File : //proc/thread-self/root/var/www/qpms/assets/GuideLines-Cl3RgQQb.js

import{v as r,x as o,r as i,t,D as d,L as l,B as u}from"./index-CaXVb0k8.js";import{S as p}from"./index-BVj1xRcQ.js";import{R as c}from"./HomeOutlined-Cg-zLljH.js";const g=()=>async(e,n)=>{const a=n();e({type:"SET_LOADER"});const s=await r.get("app.php?a=getQpGuidelines&db="+localStorage.getItem("dbname")+"&usertype="+a.loginfo.userData.fusertype);e({type:"UNSET_LOADER"}),s.data.error_code===0?e({type:"QP_GUIDELINES",payload:s.data.data.message}):e({type:"QP_GUIDELINES",payload:{}}),console.log(s)},m=e=>(i.useEffect(()=>{e.getQpGuidelines()},[]),i.useEffect(()=>{document.getElementById("guidelines").innerHTML=e.guidelines},[e.guidelines]),t.jsx(d,{style:{margin:"6rem 10px 10px"},title:t.jsx("h6",{children:"Guidelines"}),extra:t.jsx(p,{children:t.jsx(l,{to:"/",children:t.jsxs(u,{type:"primary",danger:!0,children:[t.jsx(c,{})," Exit"]})})}),children:t.jsx("div",{id:"guidelines"})})),x=e=>({guidelines:e.qpGuidelines}),G=o(x,{getQpGuidelines:g})(m);export{G as default};