From 048eddbbe53164da71fe7b1633e24fab19fad299 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Mon, 2 Mar 2026 16:05:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=AD=A5=E9=AA=A4=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E8=A1=A8=E9=85=8D=E7=BD=AE=E7=A6=BB=E5=BF=83-=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E6=BA=B6=E6=B6=B2=E7=A6=BB=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/Step.vue | 4 +++- src/components/Template/StepComponents/ry/lx.vue | 23 ++++++++++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/components/Template/Step.vue b/src/components/Template/Step.vue index b0638a8..3e9c0e7 100644 --- a/src/components/Template/Step.vue +++ b/src/components/Template/Step.vue @@ -12,7 +12,7 @@ -
@@ -83,6 +83,7 @@ import jr from "./StepComponents/ry/jr.vue";//溶液-加热 //表配置 import jrry_b from './StepComponents/b/jrry_b.vue';//表配置-加入溶液 +//表配置-离心:使用溶液离心 import { public_templateStepList } from '@/api/business/public/public'; @@ -259,6 +260,7 @@ export default { //标配配置 'jrry_b': 'jrry_b', + 'lx_b': 'lx', } } return this.componentMap diff --git a/src/components/Template/StepComponents/ry/lx.vue b/src/components/Template/StepComponents/ry/lx.vue index 2253e91..4bb113d 100644 --- a/src/components/Template/StepComponents/ry/lx.vue +++ b/src/components/Template/StepComponents/ry/lx.vue @@ -9,12 +9,18 @@ import stepMixins from '@/components/Template/mixins/stepMixins.js'; export default { mixins: [stepMixins], + props: { + sn: { + type: String, + default: 'lx', + }, + }, components: { StepFormPackage }, computed: { formConfig() { - return [{ + let config = [{ config: { text1: { label: "使用离心机", @@ -116,12 +122,19 @@ export default { type: "button", buttonName: "开始", }, - text9: { - type: "text", - label: "。", - }, } }] + if(this.sn==='lx_b'){ + config[0].config.remark = { + type: "input", + fillType: "actFill", + } + } + config[0].config.text9 = { + type: "text", + label: "。", + } + return config } }, }