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) => { -