Untitled
unknown
plain_text
a year ago
3.2 kB
3
Indexable
import ConstantKeys from '@/Constants/ConstantKeys'; import { Para, Header, AccordianElement, Accordian, DataTable, Row } from '@d-lift/uxcomponents'; import React, { useEffect, useState } from 'react'; import { Lift, useAppState, Util } from '@d-lift/core'; import webService from '@/Services/WebService'; const QuestionResponse = ({}) => { const [selectedStateDesc] = useAppState('selectedStateDesc', ''); const [collectionData, setCollectionData] = useAppState('collectionData', undefined); const [originalCollectionData, setOriginalCollectionData] = useAppState('originalCollectionData', undefined); const [visibleCards, setVisibleCards] = useState({}); useEffect(() => { getRfiCollection(); }, []); const getRfiCollection = async () => { try { Lift.spinner.show(); //const response = await webService.fetchRfiCollection(); let response = { catalogId: 551, title: 'dfsdf', description: 'gsdfgsdfgdsfg', rfiDetails: [ { id: 23601, questionsList: [ { rfiId: 23601, id: 36052, question: 'q1', description: 'd1', }, ], title: 'rfi', description: 'desc', reqDT: '2024-07-26T11:29:18.130079', state: 'IN', programs: 'ALL', category: 'ALL', status: 'OP', dueDT: '08-10-2024', offering: 'EE', }, { id: 23651, questionsList: [ { rfiId: 23651, id: 36053, question: 'ww', description: '', }, ], title: 'rfbb', description: ' bb', reqDT: '2024-07-26T11:40:24.512873', state: 'CT', programs: 'ALL', category: 'ALL', status: 'OP', dueDT: '08-10-2024', offering: 'EE', }, { id: 20451, questionsList: [ { rfiId: 20451, id: 27151, question: 'fsdgd', description: '', }, ], title: 'fdsaf', description: '', reqDT: '2024-06-28T13:50:50.481233', state:
Editor is loading...
Leave a Comment