Merge remote-tracking branch 'origin/qcast-pub' into dev

This commit is contained in:
김민식 2025-01-23 13:48:43 +09:00
commit 429ab9220b
6 changed files with 790 additions and 7 deletions

View File

@ -62,6 +62,7 @@ export default function CircuitTrestleSetting({ id }) {
const passivityProps = { const passivityProps = {
tabNum, tabNum,
setTabNum, setTabNum,
pcsCheck,
selectedModels, selectedModels,
setSelectedModels, setSelectedModels,
} }

View File

@ -141,7 +141,7 @@ export default function PowerConditionalSelect(props) {
return return
} }
setSelectedModels([...selectedModels, selectedRow]) setSelectedModels([...selectedModels, { ...selectedRow, id: uuidv4() }])
setSelectedRow(null) setSelectedRow(null)
} }

View File

@ -1,5 +1,6 @@
import { GlobalDataContext } from '@/app/GlobalDataProvider' import { GlobalDataContext } from '@/app/GlobalDataProvider'
import { POLYGON_TYPE } from '@/common/common' import { POLYGON_TYPE } from '@/common/common'
import { useMasterController } from '@/hooks/common/useMasterController'
import { useMessage } from '@/hooks/useMessage' import { useMessage } from '@/hooks/useMessage'
import { canvasState } from '@/store/canvasAtom' import { canvasState } from '@/store/canvasAtom'
import { moduleStatisticsState } from '@/store/circuitTrestleAtom' import { moduleStatisticsState } from '@/store/circuitTrestleAtom'
@ -8,7 +9,7 @@ import { useContext, useEffect, useState } from 'react'
import { useRecoilValue } from 'recoil' import { useRecoilValue } from 'recoil'
export default function PassivityCircuitAllocation(props) { export default function PassivityCircuitAllocation(props) {
const { tabNum, setTabNum, selectedModels } = props const { tabNum, setTabNum, selectedModels, pcsCheck } = props
const { getMessage } = useMessage() const { getMessage } = useMessage()
const canvas = useRecoilValue(canvasState) const canvas = useRecoilValue(canvasState)
const { managementState, setManagementState, managementStateLoaded } = useContext(GlobalDataContext) const { managementState, setManagementState, managementStateLoaded } = useContext(GlobalDataContext)
@ -22,6 +23,7 @@ export default function PassivityCircuitAllocation(props) {
const [footer, setFooter] = useState(['합계']) const [footer, setFooter] = useState(['합계'])
const [circuitNumber, setCircuitNumber] = useState(1) const [circuitNumber, setCircuitNumber] = useState(1)
const [targetModules, setTargetModules] = useState([]) const [targetModules, setTargetModules] = useState([])
const { pcsMaualConfChk } = useMasterController()
useEffect(() => { useEffect(() => {
console.log('🚀 ~ PassivityCircuitAllocation ~ targetModules:', targetModules) console.log('🚀 ~ PassivityCircuitAllocation ~ targetModules:', targetModules)
@ -145,15 +147,752 @@ export default function PassivityCircuitAllocation(props) {
const handleCircuitNumberFix = () => { const handleCircuitNumberFix = () => {
console.log('🚀 ~ handleCircuitNumberFix ~ circuitNumber:', circuitNumber) console.log('🚀 ~ handleCircuitNumberFix ~ circuitNumber:', circuitNumber)
console.log('🚀 ~ handleCircuitNumberFix ~ selectedPcs:', selectedPcs)
// const params = {
// maxConnYn: pcsCheck.max ? 'Y' : 'N',
// smpCirYn: 'Y',
// coldZoneYn: 'Y',
// useModuleItemList: [{ itemId: '107077', mixMatlNo: '0' }],
// pcsItemList: [
// {
// pcsMkrCd: 'MKR001',
// pcsSerCd: 'SER001',
// itemId: '106857',
// itemNm: 'HQJP-KA55-5 5.5kW',
// goodsNo: 'HQJP-KA55-5',
// serQtyList: [
// {
// serQty: 5,
// paralQty: 3,
// rmdYn: 'Y',
// usePossYn: 'Y',
// roofSurfaceList: [
// {
// roofSurfaceId: '1',
// roofSurface: '',
// roofSurfaceIncl: '5',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// ],
// cirLastIdx: 5,
// isCirLastDupCircuit: true,
// roofSurfacePossibleModuleCnt: 0,
// totCirModuleWpOut: 0,
// roofSurfaceCirModuleWpOut: 3960,
// },
// {
// roofSurfaceId: '2',
// roofSurface: '',
// roofSurfaceIncl: '5',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: null,
// pcsItemId: null,
// },
// ],
// cirLastIdx: 3,
// isCirLastDupCircuit: true,
// roofSurfacePossibleModuleCnt: 1,
// totCirModuleWpOut: 0,
// roofSurfaceCirModuleWpOut: 2200,
// },
// {
// roofSurfaceId: '3',
// roofSurface: '',
// roofSurfaceIncl: '3',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// ],
// cirLastIdx: 6,
// isCirLastDupCircuit: true,
// roofSurfacePossibleModuleCnt: 0,
// totCirModuleWpOut: 0,
// roofSurfaceCirModuleWpOut: 3960,
// },
// ],
// },
// ],
// },
// {
// pcsMkrCd: 'MKR001',
// pcsSerCd: 'SER001',
// itemId: '106856',
// itemNm: 'HQJP-KA40-5 4.0kW',
// goodsNo: 'HQJP-KA40-5',
// circuitCfg: '4, 4',
// serQtyList: [
// {
// pcsTpCd: 'INDFCS',
// serQty: 4,
// paralQty: 2,
// rmdYn: 'Y',
// usePossYn: 'Y',
// cirModuleWpOutSum: 3520,
// roofSurfaceList: [
// {
// roofSurfaceId: '1',
// roofSurface: '',
// roofSurfaceIncl: '5',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-1',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-4',
// pcsItemId: '106856',
// },
// ],
// cirLastIdx: 5,
// isCirLastDupCircuit: true,
// roofSurfacePossibleModuleCnt: 0,
// totCirModuleWpOut: 0,
// roofSurfaceCirModuleWpOut: 3960,
// },
// {
// roofSurfaceId: '2',
// roofSurface: '',
// roofSurfaceIncl: '5',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-2',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: null,
// pcsItemId: null,
// },
// ],
// },
// {
// roofSurfaceId: '3',
// roofSurface: '',
// roofSurfaceIncl: '3',
// moduleList: [
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '1-3',
// pcsItemId: '106857',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// {
// pcsMkrCd: null,
// pcsSerCd: null,
// applySerQty: null,
// itemId: '107077',
// itemTp: null,
// wpOut: 440,
// moduleStdVol: 42,
// moduleColdZoneVol: null,
// mixMatlNo: null,
// circuit: '2-5',
// pcsItemId: '106856',
// },
// ],
// },
// ],
// },
// ],
// },
// ],
// }
// pcsMaualConfChk()
canvas.discardActiveObject()
canvas canvas
.getObjects() .getObjects()
.filter((obj) => targetModules.includes(obj.id)) .filter((obj) => targetModules.includes(obj.id))
.forEach((obj) => { .forEach((obj) => {
obj.set({ obj.set({
circuit: circuitNumber, circuit: circuitNumber,
strokeWidth: 0.3,
}) })
obj.pscId = selectedPcs.id
obj.pscIndex = selectedModels.findIndex((model) => model.itemId === selectedPcs.itemId) + 1
canvas.add( canvas.add(
new fabric.Text(`(${circuitNumber})`, { new fabric.Text(getCircuitNumber(), {
left: obj.left + obj.width / 2, left: obj.left + obj.width / 2,
top: obj.top + obj.height / 2, top: obj.top + obj.height / 2,
fill: 'red', fill: 'red',
@ -171,7 +910,29 @@ export default function PassivityCircuitAllocation(props) {
console.log(obj) console.log(obj)
}) })
setTargetModules([]) setTargetModules([])
setCircuitNumber(circuitNumber + 1) setCircuitNumber(+circuitNumber + 1)
canvas.renderAll()
}
const getCircuitNumber = () => {
if (selectedModels.length === 1) {
return `(${circuitNumber})`
} else {
return `(${selectedModels.findIndex((model) => model.itemId === selectedPcs.itemId) + 1}-${circuitNumber})`
}
}
const initSelectedPcsCircuitNumber = () => {
const modules = canvas.getObjects().filter((obj) => obj.name === 'circuitNumber' && obj.pscId === selectedPcs.id)
canvas.remove(...modules)
canvas
.getObjects()
.filter((obj) => obj.pscIndex === selectedPcs.id)
.forEach((obj) => {
obj.pscId = null
obj.pscIndex = null
})
canvas.renderAll() canvas.renderAll()
} }
@ -280,7 +1041,7 @@ export default function PassivityCircuitAllocation(props) {
</div> </div>
</div> </div>
<div className="circuit-right-wrap"> <div className="circuit-right-wrap">
<button className="btn-frame roof mr5"> <button className="btn-frame roof mr5" onClick={() => initSelectedPcsCircuitNumber()}>
{getMessage('modal.circuit.trestle.setting.circuit.allocation.passivity.selected.power.conditional.reset')} {getMessage('modal.circuit.trestle.setting.circuit.allocation.passivity.selected.power.conditional.reset')}
</button> </button>
<button className="btn-frame roof mr5"> <button className="btn-frame roof mr5">

View File

@ -168,6 +168,12 @@ export function useMasterController() {
}) })
} }
const pcsMaualConfChk = async (params = null) => {
return await post({ url: '/api/v1/master/pcsMaualConfChk', data: params }).then((res) => {
return res
})
}
/** /**
* PCS 승압설정 정보 조회 * PCS 승압설정 정보 조회
* @param {Max접속(과적)여부} maxConnYn * @param {Max접속(과적)여부} maxConnYn
@ -253,6 +259,7 @@ export function useMasterController() {
getPcsMakerList, getPcsMakerList,
getPcsModelList, getPcsModelList,
getPcsAutoRecommendList, getPcsAutoRecommendList,
pcsMaualConfChk,
getPcsVoltageStepUpList, getPcsVoltageStepUpList,
} }
} }

View File

@ -3,7 +3,7 @@
position: fixed; position: fixed;
top: 200px; top: 200px;
left: 50px; left: 50px;
z-index: 999999; z-index: 100000;
display: flex; display: flex;
width: 237px; width: 237px;
height: 40px; height: 40px;

View File

@ -912,9 +912,22 @@ input[type=text]{
font-size: 13px; font-size: 13px;
padding: 7px 10px; padding: 7px 10px;
color: #45576F; color: #45576F;
} }
.custom__option--is-selected{ .custom__option--is-selected{
color: #fff; background-color: #2684FF;
color: #fff !important;
&.custom__option--is-focused{
background-color: #2684FF;
color: #fff;
}
}
.custom__option--is-focused{
background-color: #DEEBFF;
color: #45576F;
}
.special-option{
color: red;
} }
// disable // disable
&.custom--is-disabled{ &.custom--is-disabled{
@ -925,6 +938,7 @@ input[type=text]{
color: #999999; color: #999999;
} }
} }
} }
// toggle // toggle