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 : 18.217.14.208
Current Path : /var/www/qpms/assets/ |
| Current File : /var/www/qpms/assets/styles-BqTDn2X3.js |
import{v as n,E as p}from"./index-D4tY2iBR.js";const d=r=>async(e,o)=>{try{const a=o(),s=localStorage.getItem("dbname"),t=await n.get("app.php?a=getTemplateDetails&db="+s+"&teachcode="+a.loginfo.userData.fregno+"&data="+JSON.stringify(r)+"&usertype="+a.loginfo.userData.fusertype);e({type:"UNSET_LOADER"}),t.data.error_code===0?e({type:"GET_TEMPLATE_DETAILS",payload:t.data.data}):e({type:"GET_TEMPLATE_DETAILS",payload:[]})}catch(a){p("error",a.message)}},y=r=>async(e,o)=>{try{const a=o(),s=localStorage.getItem("dbname"),t=await n.get("app.php?a=getViewPrepareQpDetails&db="+s+"&teachcode="+r);if(console.log(t),e({type:"UNSET_LOADER"}),t.data.error_code===0){const c=t.data.data.map((g,l)=>({...g,key:l,fslno:l+1}));e({type:"VIEW_PREPARE_QP_OPTION2",payload:c})}else e({type:"VIEW_PREPARE_QP_OPTION2",payload:[]}),p("info",t.data.data.msg)}catch(a){p("error",a.message)}};export{y as a,d as g};
|