first commit
This commit is contained in:
74
src/components/capiSetup/InterviewerProjectQuota.tsx
Normal file
74
src/components/capiSetup/InterviewerProjectQuota.tsx
Normal file
@@ -0,0 +1,74 @@
|
||||
import { CapiProjectType, headerInfoType, interViewerList, quotaCellType, quotaLabelInfoType, quotaLabelType, quotaSetInfoType } from "@modules/TypeModule";
|
||||
import React, { ChangeEvent, useEffect, useState } from "react";
|
||||
import { useRecoilState, useRecoilValue } from "recoil";
|
||||
import { anywhereSkey, loginToken, memberInfo, projectInfo } from "@token/Token";
|
||||
import { Button, Form, Row, Table } from "react-bootstrap";
|
||||
import { CapiInterviewSearch } from "./CapiInterviewSearch";
|
||||
import { Header } from "@includes/Header";
|
||||
import { SetUpPageHeader } from "@sub/mainPage/MainToolBar";
|
||||
import { URL_SEED, axiosSessionSeed } from "@modules/AxiosModule";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { InterviewerSurveyDel } from "@modals/InterviewerSurveyDel";
|
||||
import axios from "axios";
|
||||
// import { CheckQuota } from "@sub/quotaSetup/CheckQuota";
|
||||
|
||||
export const InterviewerProjectQuota = (props:{
|
||||
projectCodeSearch: string;
|
||||
capiStatusCount:any;
|
||||
}) => {
|
||||
const [quotaInfoList, setQuotaInfoList] = useState<quotaSetInfoType[]>([]);
|
||||
const [quotaId, setQuotaId] = useState<string | null>(null);
|
||||
|
||||
return(
|
||||
<React.Fragment>
|
||||
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
||||
<Table className="tbe-list text-center chk-tbe" style={{width:"80%",tableLayout:"fixed"}}>
|
||||
<thead>
|
||||
<tr style={{borderRadius: "4px 4px 0 0"}}>
|
||||
<th>완료</th>
|
||||
<th>진행중</th>
|
||||
<th>스크린아웃</th>
|
||||
<th>쿼터아웃</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
{/* <td>{props.capiStatusCount.totalCount}</td> */}
|
||||
<td>{props.capiStatusCount.successCount}</td>
|
||||
<td>{props.capiStatusCount.progressCount}</td>
|
||||
<td>{props.capiStatusCount.screenCount}</td>
|
||||
<td>{props.capiStatusCount.quotaCount}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</Table>
|
||||
</div>
|
||||
{/* <Table className="tbe-list text-center chk-tbe">
|
||||
<thead>
|
||||
<tr style={{borderRadius: "4px 4px 0 0"}}>
|
||||
<th>ex</th>
|
||||
<th>남</th>
|
||||
<th>여</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>20</td>
|
||||
<td>2</td>
|
||||
<td>2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>30</td>
|
||||
<td>3</td>
|
||||
<td>3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>40</td>
|
||||
<td>4</td>
|
||||
<td>4</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</Table> */}
|
||||
|
||||
</React.Fragment>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user