From 27b7c0f81a3265df518ad0107b22cd057dd74853 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Wed, 11 Jun 2025 15:58:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E8=89=BA=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/craft/AddCraft/index.vue | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/src/components/craft/AddCraft/index.vue b/src/components/craft/AddCraft/index.vue index d3e3111..57e0f87 100644 --- a/src/components/craft/AddCraft/index.vue +++ b/src/components/craft/AddCraft/index.vue @@ -63,8 +63,11 @@ const okHandle = async () => { case 'clean': step.params.description += `针头高度${step.params.height}mm, 加${step.params.volume}ml水清洗${step.params.cycle}次` break - case 'addLiquid': - step.params.description += `添加${solutionList.value.find(s => s.id === containerList.value.find(c => c.id === step.params.containerId)?.solutionId)?.name}-${step.params.volume}ml` + case 'addThin': + step.params.description += `添加稀硝酸-${step.params.volume}ml` + break + case 'addThick': + step.params.description += `添加浓硝酸-${step.params.volume}ml` break case 'reduceLiquid': step.params.description += `针头高度${step.params.height}mm抽取液体` @@ -112,15 +115,15 @@ const cancel = () => { const stepMap = { preHeat: { name: '预热', method: 'preHeat', params: { temperature: undefined, description: undefined } }, - addLiquid: { + addThin: { name: '加稀硝酸', - method: 'addLiquid', - params: { volume: undefined, containerId: 1, description: undefined }, + method: 'addThin', + params: { volume: undefined, description: undefined }, }, - addLiquid1: { + addThick: { name: '加浓硝酸', - method: 'addLiquid', - params: { volume: undefined, containerId: 2, description: undefined }, + method: 'addThick', + params: { volume: undefined, description: undefined }, }, heat: { name: '加热', @@ -158,7 +161,7 @@ const addStep = (data: any) => { -