|
|
@ -87,6 +87,7 @@ |
|
|
|
gridWidth="240px" |
|
|
|
gridHeight="240px" |
|
|
|
:activeColor="item.color" |
|
|
|
:inUse="item.isUsed" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -181,6 +182,7 @@ interface BufferLittle { |
|
|
|
type?: string |
|
|
|
projId?: number |
|
|
|
projName?: string |
|
|
|
isUsed?: boolean |
|
|
|
} |
|
|
|
const bufferLittles = ref<BufferLittle[]>([ |
|
|
|
{ |
|
|
@ -221,7 +223,9 @@ const bufferLittles = ref<BufferLittle[]>([ |
|
|
|
}, |
|
|
|
]) |
|
|
|
//管理大缓冲液的状态 |
|
|
|
const bufferBig = ref<BottleGroup[]>([]) |
|
|
|
const bufferBig = ref<BottleGroup[]>( |
|
|
|
Array.from({ length: 6 }, () => ({}) as BottleGroup), |
|
|
|
) |
|
|
|
//急诊区状态 |
|
|
|
const emergencyInfo = ref(emergencyStore.$state.emergencyInfo || {}) |
|
|
|
//是否处理扫描结果 |
|
|
@ -426,7 +430,7 @@ const handleIsUnload = () => { |
|
|
|
color: '#4caf50', |
|
|
|
}, |
|
|
|
] |
|
|
|
bufferBig.value = Array.from({ length: 6 }, () => ({ num: 0, isUse: false})) |
|
|
|
bufferBig.value = Array.from({ length: 6 }, () => ({ num: 0, isUse: false })) |
|
|
|
} |
|
|
|
|
|
|
|
const isDragging = ref(false) |
|
|
@ -444,7 +448,7 @@ const updateTipNum = async ({ |
|
|
|
tempTipNum.value[index] = tipNum |
|
|
|
//调用接口 |
|
|
|
if (sync) { |
|
|
|
console.log(`🚀 ~ updateTipNum ~ order ${index + 1}, num ${tipNum}`, ) |
|
|
|
console.log(`🚀 ~ updateTipNum ~ order ${index + 1}, num ${tipNum}`) |
|
|
|
isDragging.value = false |
|
|
|
try { |
|
|
|
await updateTipsNum({ group: `TipG${index + 1}`, num: tipNum }) |
|
|
@ -569,7 +573,7 @@ const updateTipNum = async ({ |
|
|
|
flex-wrap: wrap; |
|
|
|
column-gap: 20px; |
|
|
|
row-gap: 12px; |
|
|
|
padding: 0 24px ; |
|
|
|
padding: 0 24px; |
|
|
|
.ball-grid { |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|