|
|
@ -106,15 +106,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
v-for="index in 20" |
|
|
|
<!-- <div |
|
|
|
v-for="(item, index) in incubationPlates" |
|
|
|
:key="index" |
|
|
|
class="rectangular-item" |
|
|
|
:style="getRotationStyle(index, index)" |
|
|
|
:style="getRotationStyle(item, index)" |
|
|
|
> |
|
|
|
{{ index + 1 }} |
|
|
|
<div>空</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div |
|
|
|
v-for="(item, index) in incubationPlates" |
|
|
|
:key="item.sampleId" |
|
|
@ -213,21 +213,21 @@ |
|
|
|
<div class="row-second"> |
|
|
|
<!-- 反应板区域 --> |
|
|
|
<div class="plates-area"> |
|
|
|
<PlateDisplay :projects="consumablesStore.plates" /> |
|
|
|
<PlateDisplay :projects="consumablesStore.consumableData.reactionPlateGroup" /> |
|
|
|
</div> |
|
|
|
<!-- 小缓冲液区域 --> |
|
|
|
<div class="little-buffer-liquid"> |
|
|
|
<LittleBufferDisplay :bufferData="consumablesStore.bufferLittles" /> |
|
|
|
<LittleBufferDisplay :bufferData="consumablesStore.consumableData.littBottleGroup" /> |
|
|
|
</div> |
|
|
|
<!-- tips 大缓冲液区域 --> |
|
|
|
<div class="tips-and-big-buffer"> |
|
|
|
<div class="tips-item"> |
|
|
|
<div |
|
|
|
class="tip-fill" |
|
|
|
:style="getFillStyle(consumablesStore.moveLiquids[0])" |
|
|
|
:style="getFillStyle(consumablesStore.consumableData.tips[0])" |
|
|
|
></div> |
|
|
|
<div class="tip-text"> |
|
|
|
{{ consumablesStore.moveLiquids[0].tipNum }}/120 |
|
|
|
{{ consumablesStore.consumableData.tips[0].tipNum }}/120 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<BallGrid |
|
|
@ -235,7 +235,7 @@ |
|
|
|
:customColors="true" |
|
|
|
width="160px" |
|
|
|
height="110px" |
|
|
|
:data="consumablesStore.bufferBig" |
|
|
|
:data="consumablesStore.consumableData.larBottleGroup" |
|
|
|
:columns="3" |
|
|
|
class="buffer-grid" |
|
|
|
/> |
|
|
@ -747,6 +747,29 @@ const handleIncubationPlateStateMessage = ( |
|
|
|
errors: [], |
|
|
|
}, |
|
|
|
] |
|
|
|
if(incubationPlates.value.length != 20){ |
|
|
|
let len = 20 - incubationPlates.value.length |
|
|
|
for(let i = 0; i<len; i++){ |
|
|
|
incubationPlates.value.push({ |
|
|
|
pos: '', |
|
|
|
state: '', |
|
|
|
bloodType: '', |
|
|
|
sampleBarcode: '', |
|
|
|
userid: '', |
|
|
|
projInfo: { |
|
|
|
projId: 0, |
|
|
|
projName: '', |
|
|
|
projShortName: '', |
|
|
|
color: 'white', |
|
|
|
}, |
|
|
|
sampleId: '', |
|
|
|
projId: 0, |
|
|
|
startIncubatedTime: 0, |
|
|
|
incubatedTimeSec: 0, |
|
|
|
errors: [], |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 定义方法以更新试管架状态 |
|
|
@ -889,6 +912,7 @@ const updateProcessedTubeSettings = () => { |
|
|
|
|
|
|
|
processedTubeSettings.value = processTubeSettings( |
|
|
|
tubeSettings, |
|
|
|
//@ts-ignore |
|
|
|
plateData, |
|
|
|
getBloodTypeLabel, |
|
|
|
) |
|
|
@ -1007,7 +1031,7 @@ const toggleSelectItem = (item: Subtank, index: number) => { |
|
|
|
} |
|
|
|
|
|
|
|
//反应板数据 |
|
|
|
const plates = ref(consumablesStore.plates) |
|
|
|
const plates = ref(consumablesStore.consumableData.reactionPlateGroup) |
|
|
|
|
|
|
|
//样本数据 |
|
|
|
const processedTubeSettings = ref() |
|
|
|