vidal project information

 library which are using frequently:--

https://stackoverflow.com/questions/16700035/how-to-reverse-geocode-coordinates-to-get-postal-pincode-using-google-map

react-pdf

pdf-jsworker

moment

toastify

geolacation

shortcut key:ctrl+g to reach that particular line

..............................................................

//pharmacy:-

npm install react-router-dom@6.2.2

http://localhost:3000/pharmacy_react/home 

After that open this url

In UploadPres.js

localStorage.setItem('token', '61be22bed3d9a1d62fca4b207f2a0c27c2089e36'); //ae6d0cff22a2cca581ffc28095ccc7510ca36163

     localStorage.setItem('patient_slug', 'VdG2loE93MynyvefyGjJhiGw'); //VdG2loE93MynyvefyGjJhiGw


note:-


in global.ts file u have to change base url according to need.


............................................................................................................


//enrollemnet  portal:---

5.2.0 react-router-dom

//enrollemnet :---

employee code group code id

corpcode

employeeno

policyno

http://localhost:3001/static/demoenrportal/?EMPID=XY512&COMPID=A1057&POLICYNO=131200/



https://www.vipulmedcorp.com/API/Vipul/Portals/GetEmpDetails


line no 135

https://www.vipulmedcorp.com

local       

please note while staging or building 

// 'X-CSRFToken': CookieConstants.get_cookie() uncomment in build.... 124 go to edit replace this with uncomment.... while creating  the build

change and replace...

1300 1312


 // const [midTerm,setMidTerm] = useState(false)


setMidTerm(true);line no 135

<Modal show={midTerm} centered size='sm' >

        <Modal.Header style={{  }}>

          <Modal.Title>Alert</Modal.Title>

        </Modal.Header>

        <Modal.Body>

          <text style={{  paddingBottom: 5 }}>I hereby confirm that I want to opt for Voluntary Top-up Mediclaim coverage under R1 Corporate plan. I understand and accept that the premium (including taxes) for opting a top-up plan will be adjusted from my payroll.</text>

        </Modal.Body>

        <Modal.Footer>

          <div style={{ width: '100%', textAlign: 'center', cursor: 'pointer' }} onClick={() => setMidTerm(false)} >

            <text style={{ fontWeight: 'bold', fontSize: 16, padding: 10,  backgroundColor: '#72bf43', color: 'white', paddingLeft: 20, paddingRight: 20 }}>Okay</text>

          </div>

        </Modal.Footer>


      </Modal>


1st change:---

2159:change

showMidterm


2nd change:-

135:setMidterm() commented//143

lineno 1308//msg change

lineno 1320//msg change

<Checkbox style={{ alignSelf: 'flex-start' }} id='ck' value={checked2} onChange={() =>{ 

            setchecked2(!checked2)


..............................................................................................................................


2:health check project:

https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported



please note the point while doing staging or making live build u have to comment your token and patient slug:----

global.ts file:---[find token patient slug and that url]

//https://newstaging.vidalhealth.com:7743

    //https://wellex.vidalhealth.com:7744/ //live build

    //token comment and patient slug comment

........................................

firstpage:-

http://localhost:3000/new_healthchecks_web/main





           

Comments

Popular posts from this blog

interview questions js[ Anurag Singh ProCodrr]

reactnative_creation