dm: 총대장균군수 단위 수정
This commit is contained in:
@@ -464,7 +464,7 @@ export default function DemandRegisterPage() {
|
||||
|
||||
<div className="border border-neutral-200 bg-white">
|
||||
<QualityRow
|
||||
leftLabel="총대장균군수(개/100mL)"
|
||||
leftLabel="총대장균군수(개/100㎖)"
|
||||
leftRequired
|
||||
leftControl={
|
||||
<div className="flex items-center gap-4">
|
||||
|
||||
@@ -157,7 +157,7 @@ export default function DemandStatusPage() {
|
||||
if (!selected) return [];
|
||||
const w = selected.detail.water;
|
||||
return [
|
||||
{ label: "총대장균군수(개/100mL)", value: w.coliform },
|
||||
{ label: "총대장균군수(개/100㎖)", value: w.coliform },
|
||||
{ label: "결합잔류염소(mg/L)", value: "-" },
|
||||
{ label: "탁도(NTU)", value: w.turbidity },
|
||||
|
||||
|
||||
@@ -44,17 +44,17 @@ export default function DemandRegisterPage() {
|
||||
const [coliform, setColiform] = useState<string>(""); // 총대장균군수
|
||||
const [noDetect, setNoDetect] = useState<boolean>(false);
|
||||
|
||||
const [tn, setTn] = useState<string>("");
|
||||
const [residualCl, setResidualCl] = useState<string>("");
|
||||
const [tp, setTp] = useState<string>("");
|
||||
const [turbidity, setTurbidity] = useState<string>("");
|
||||
const [ph, setPh] = useState<PHRange>({ min: "", max: "" });
|
||||
const [bod, setBod] = useState<string>("");
|
||||
const [chloride, setChloride] = useState<string>("");
|
||||
const [odor, setOdor] = useState<string>("불쾌하지 않을 것");
|
||||
const [ec, setEc] = useState<string>("");
|
||||
const [color, setColor] = useState<string>("");
|
||||
const [remark, setRemark] = useState<string>("");
|
||||
const [tn, setTn] = useState<string>(""); // 총질소(T-N)
|
||||
const [residualCl, setResidualCl] = useState<string>(""); // 결합잔류염소
|
||||
const [tp, setTp] = useState<string>(""); // 총인(T-P)
|
||||
const [turbidity, setTurbidity] = useState<string>(""); // 탁도
|
||||
const [ph, setPh] = useState<PHRange>({ min: "", max: "" }); // 수소이온농도(pH)
|
||||
const [bod, setBod] = useState<string>(""); // 생물학적산소요구량(BOD)
|
||||
const [chloride, setChloride] = useState<string>(""); // 염화물
|
||||
const [odor, setOdor] = useState<string>("불쾌하지 않을 것"); // 냄새
|
||||
const [ec, setEc] = useState<string>(""); // 전기전도도
|
||||
const [color, setColor] = useState<string>(""); // 색도
|
||||
const [remark, setRemark] = useState<string>(""); // 비고
|
||||
|
||||
// 공급처 후보지 선택(필수아님)
|
||||
const [cand1, setCand1] = useState("");
|
||||
@@ -373,7 +373,8 @@ export default function DemandRegisterPage() {
|
||||
switch (value) {
|
||||
// 청소화장실용도
|
||||
case '01':
|
||||
setTp('0.2');
|
||||
setNoDetect(true); // 총대장균군수 불검출
|
||||
setResidualCl('0.2'); // 잔류염소
|
||||
setTurbidity('2');
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
setBod('5');
|
||||
@@ -381,23 +382,35 @@ export default function DemandRegisterPage() {
|
||||
break;
|
||||
// 세척살수용도
|
||||
case '02':
|
||||
setTp('0.2');
|
||||
setTurbidity('2');
|
||||
setColiform('1000');
|
||||
setTurbidity('2'); // 탁도
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
setBod('5');
|
||||
break;
|
||||
// 조경용도
|
||||
case '03':
|
||||
setTp('0.2');
|
||||
setColiform('1000');
|
||||
setTurbidity('2');
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
setBod('5');
|
||||
setChloride('250');
|
||||
setChloride('250'); // 염화물
|
||||
break;
|
||||
// 지하수
|
||||
// 친수용도
|
||||
case '04':
|
||||
setNoDetect(true); // 총대장균군수 불검출
|
||||
setResidualCl('0.1'); // 잔류염소
|
||||
setTurbidity('2');
|
||||
setBod('3');
|
||||
setColor('10');
|
||||
setTn('10'); // 총질소
|
||||
setTp('0.5'); // 총인
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
setChloride('0.5');
|
||||
break;
|
||||
// 지하수충전
|
||||
case '05':
|
||||
break;
|
||||
// 농업용도
|
||||
// 농업용수
|
||||
case '06':
|
||||
setTurbidity('5');
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
@@ -405,16 +418,18 @@ export default function DemandRegisterPage() {
|
||||
setEc('2000');
|
||||
setFarmText("이하 (** 간접:2000,직접:700 )");
|
||||
break;
|
||||
// 하천 등 유지보수
|
||||
// 하천 등 유지용수
|
||||
case '07':
|
||||
setColiform('1000');
|
||||
setTn('10');
|
||||
setBod('5');
|
||||
setTn('20');
|
||||
setTp('0.5');
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
setBod('5');
|
||||
setChloride('0.5');
|
||||
break;
|
||||
// 공업
|
||||
// 공업용수
|
||||
case '08':
|
||||
setBod('20');
|
||||
setPh({ min: '5.8', max: '8.5' });
|
||||
break;
|
||||
default:
|
||||
@@ -519,7 +534,7 @@ export default function DemandRegisterPage() {
|
||||
<div className="border border-neutral-200 bg-white">
|
||||
{/* 1행 */}
|
||||
<QualityRow
|
||||
leftLabel="총대장균군수(개/100mL)"
|
||||
leftLabel="총대장균군수(개/100㎖)"
|
||||
|
||||
leftControl={
|
||||
<div className="flex items-center gap-4">
|
||||
|
||||
@@ -257,7 +257,7 @@ export default function DemandStatusPage() {
|
||||
if (!selectedSdmInfoStatus) return [];
|
||||
|
||||
return [
|
||||
{ label: "총대장균군수(개/100mL)", key: "grssClfg", value: formatBelow(selectedSdmInfoStatus.grssClfg) },
|
||||
{ label: "총대장균군수(개/100㎖)", key: "grssClfg", value: formatBelow(selectedSdmInfoStatus.grssClfg) },
|
||||
{ label: "결합잔류염소(mg/L)", key:"combResdch", value: formatBelow(selectedSdmInfoStatus.combResdch) },
|
||||
{ label: "탁도(NTU)", key:"trbt", value: formatBelow(selectedSdmInfoStatus.trbt) },
|
||||
|
||||
|
||||
@@ -411,7 +411,7 @@
|
||||
// return (
|
||||
// <FormUi
|
||||
// label={
|
||||
// !isDisabled ? `총대장균군수(개/100mL)*` : "총대장균군수(개/100mL)"
|
||||
// !isDisabled ? `총대장균군수(개/100㎖)*` : "총대장균군수(개/100㎖)"
|
||||
// }
|
||||
// >
|
||||
// <div className="flex items-center gap-2">
|
||||
|
||||
@@ -503,7 +503,7 @@ export default function CoMatRvw() {
|
||||
control={form.control}
|
||||
name="grssClfg"
|
||||
render={({ field }) => (
|
||||
<FormUi label={"총대장균군수(개/100mL)"}>
|
||||
<FormUi label={"총대장균군수(개/100㎖)"}>
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="relative flex-1 min-w-0">
|
||||
<Input
|
||||
|
||||
@@ -76,7 +76,7 @@ export const DmdCoReqSchema = z.object({
|
||||
dmndQty: z.number().nullish(), // 요구수량(m³/일)
|
||||
blgcOxygDmndQnt: z.number().nullish(), // 생물학적 산소요구량(BOD)(mg/L)
|
||||
wntUntprc: z.number().nullish(), // 희망단가(원/m³)
|
||||
grssClfg: z.number().nullish(), // 총대장균군수(개/100mL)
|
||||
grssClfg: z.number().nullish(), // 총대장균군수(개/100㎖)
|
||||
combResdch: z.number().nullish(), // 결합잔류염소(mg/L)
|
||||
trbt: z.number().nullish(), // 탁도(NTU)
|
||||
smll: z.string().nullish(), // 냄새
|
||||
|
||||
@@ -152,7 +152,7 @@ export const rainChkgdnHeadListExport: TableUpperProps[] = [
|
||||
{ id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", widthPercent: 7 },
|
||||
{ id: "ph", title: "수소이온농도(pH)", upName: "useQuilty", upSequnce: 1, type: "number", edit: true, widthPercent: 5 },
|
||||
{ id: "trbt", title: "탁도(NTU)", upName: "useQuilty", upSequnce: 2, type: "number", edit: true, widthPercent: 4 },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100mL)", upName: "useQuilty", upSequnce: 3, type: "number", edit: true, widthPercent: 5 },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100㎖)", upName: "useQuilty", upSequnce: 3, type: "number", edit: true, widthPercent: 5 },
|
||||
{ id: "vltnDt", title: "부과일(위반일)", upName: "feeHist", upSequnce: 1, type: "text", edit: true, widthPercent: 5 },
|
||||
{ id: "vltnMttr", title: "위반사항", upName: "feeHist", upSequnce: 2, type: "text", edit: true, widthPercent: 6 },
|
||||
{ id: "levyAmt", title: "부과금액(천원)", upName: "feeHist", upSequnce: 3, type: "text", edit: true, widthPercent: 5 },
|
||||
|
||||
@@ -149,7 +149,7 @@ export const rswtChkHeadListExport: TableUpperProps[] = [
|
||||
{ id: "utztnUsgCdText", title: "이용용도", widthPercent: 7 },
|
||||
{ id: "splyUswtrUtztnQnt", title: "연간대체수이용량(m³)" ,type: "number", widthPercent: 5 },
|
||||
{ id: "ruseFcltUtztnQnt", title: "연간중수도이용량(m³)",type: "number", widthPercent: 5 },
|
||||
{ id: "grssClfgUswtr", title: "총대장균군수(개/100mL)", upName: "useQuilty", upSequnce: 1 ,type: "number", widthPercent: 6 },
|
||||
{ id: "grssClfgUswtr", title: "총대장균군수(개/100㎖)", upName: "useQuilty", upSequnce: 1 ,type: "number", widthPercent: 6 },
|
||||
{ id: "combResdch", title: "결합잔류염소(mh/L)", upName: "useQuilty", upSequnce: 2 ,type: "number", widthPercent: 6 },
|
||||
{ id: "trbt", title: "탁도(NTU)", upName: "useQuilty", upSequnce: 3 ,type: "number", widthPercent: 4 },
|
||||
{ id: "bod", title: "BOD\n(mg/L)", upName: "useQuilty", upSequnce: 4 ,type: "number", widthPercent: 4 },
|
||||
|
||||
@@ -15,7 +15,7 @@ export const rainChkgdnHeadSttnExport: TableUpperProps[] = [
|
||||
{ id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", widthPercent: 7 },
|
||||
{ id: "ph", title: "수소이온농도(pH)", upName: "useQuilty", upSequnce: 1, type: "number", widthPercent: 5 },
|
||||
{ id: "trbt", title: "탁도(NTU)", upName: "useQuilty", upSequnce: 2, type: "number", widthPercent: 4 },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100mL)", upName: "useQuilty", upSequnce: 3, type: "number", widthPercent: 5 },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100㎖)", upName: "useQuilty", upSequnce: 3, type: "number", widthPercent: 5 },
|
||||
|
||||
{ id: "vltnDt", title: "부과일(위반일)", upName: "feeHist", upSequnce: 1, type: "text", widthPercent: 5 },
|
||||
{ id: "vltnMttr", title: "위반사항", upName: "feeHist", upSequnce: 2, type: "text", widthPercent: 6 },
|
||||
|
||||
@@ -14,7 +14,7 @@ export const rswtChkSttnHeadListExport: TableUpperProps[] = [
|
||||
{ id: "splyUswtrUtztnQnt", title: "연간보급수이용량(m³)", type: "number", widthPercent: 5 },
|
||||
{ id: "ruseFcltUtztnQnt", title: "연간중수도이용량(m³)", type: "number", widthPercent: 5 },
|
||||
|
||||
{ id: "grssClfgUswtr", title: "총대장균군수(개/100mL)", upName: "useQuilty", upSequnce: 1, type: "number", widthPercent: 6 },
|
||||
{ id: "grssClfgUswtr", title: "총대장균군수(개/100㎖)", upName: "useQuilty", upSequnce: 1, type: "number", widthPercent: 6 },
|
||||
{ id: "combResdch", title: "결합잔류염소(mh/L)", upName: "useQuilty", upSequnce: 2, type: "number", widthPercent: 6 },
|
||||
{ id: "trbt", title: "탁도(NTU)", upName: "useQuilty", upSequnce: 3, type: "number", widthPercent: 4 },
|
||||
{ id: "bod", title: "BOD (mg/L)", upName: "useQuilty", upSequnce: 4, type: "number", widthPercent: 4 },
|
||||
|
||||
@@ -151,7 +151,7 @@ export const businessSttnInfo: formDetailType[] = [
|
||||
|
||||
export const ruseWaterQulityList: formDetailType[] = [
|
||||
{ id: "bod", lable: "BOD(mg/L)", type: "text", maxLenght:numSize },
|
||||
{ id: "grssClfg", lable: "총대장균군수(개/100mL)", type: "text" , maxLenght:numSize},
|
||||
{ id: "grssClfg", lable: "총대장균군수(개/100㎖)", type: "text" , maxLenght:numSize},
|
||||
{ id: "combResdch", lable: "결합잔류염소(mh/L)", type: "text" , maxLenght:numSize},
|
||||
{ id: "trbt", lable: "탁도(NTU)", type: "text" , maxLenght:numSize},
|
||||
{ id: "smll", lable: "냄새", type: "text", maxLenght:numSize },
|
||||
|
||||
@@ -102,7 +102,7 @@ export const rusePplHeadListExport: TableUpperProps[] = [
|
||||
export const ruseGuranteeHeadListExport: TableUpperProps[] = [
|
||||
{ id: "cycl", title: "차수", visible: true },
|
||||
{ id: "bod", title: "BOD(mg/L)", visible: true },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100mL)", visible: true },
|
||||
{ id: "grssClfg", title: "총대장균군수(개/100㎖)", visible: true },
|
||||
{ id: "combResdch", title: "결합잔류염소(mh/L)", visible: true },
|
||||
{ id: "trbt", title: "탁도(NTU)", visible: true },
|
||||
{ id: "smll", title: "냄새", visible: true },
|
||||
|
||||
+1
-1
@@ -151,7 +151,7 @@ export function BuseWaterQulity({
|
||||
name={`items.${indexMng}.fcBizs.${indexBiz}.grssClfg`}
|
||||
key={`items.${indexMng}.fcBizs.${indexBiz}.grssClfg-key`}
|
||||
render={({ field }) => (
|
||||
<FormUi label="총대장균군수(개/100mL)">
|
||||
<FormUi label="총대장균군수(개/100㎖)">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="relative flex-1 min-w-0">
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user