From 7e6f74cd7453c98c2167f4db3175a74b022c621d Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Tue, 3 Mar 2026 18:06:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=AD=A5=E9=AA=A4=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=E7=94=9F=E7=89=A9=E6=A0=B7=E5=93=81?= =?UTF-8?q?=E5=88=86=E6=9E=90=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/Step.vue | 41 ++++++++- src/components/Template/StepComponents/ry/fy.vue | 2 +- src/components/Template/StepComponents/ry/jd.vue | 102 ++++++++++++++++++++- src/components/Template/StepComponents/ry/lx.vue | 4 +- .../Template/StepComponents/swypfx/hhspe.vue | 91 ++++++++++++++++++ .../Template/StepComponents/swypfx/jryp.vue | 67 ++++++++++++++ .../Template/StepComponents/swypfx/zyfc.vue | 79 ++++++++++++++++ 7 files changed, 380 insertions(+), 6 deletions(-) create mode 100644 src/components/Template/StepComponents/swypfx/hhspe.vue create mode 100644 src/components/Template/StepComponents/swypfx/jryp.vue create mode 100644 src/components/Template/StepComponents/swypfx/zyfc.vue diff --git a/src/components/Template/Step.vue b/src/components/Template/Step.vue index 8f274e4..8328014 100644 --- a/src/components/Template/Step.vue +++ b/src/components/Template/Step.vue @@ -103,6 +103,24 @@ import cl from './StepComponents/b/cl.vue';//表配置-称量 //表配置-孵育:使用溶液-孵育 //表配置-复溶:使用溶液-复溶 + +//生物样品分析 +//生物样品分析-解冻:使用溶液-解冻 +//生物样品分析-涡旋混匀:使用溶液-涡旋混匀 +//生物样品分析-选择容器:使用溶液-选择容器 +import jryp from './StepComponents/swypfx/jryp.vue';//生物样品分析-加入样品 +//生物样品分析-衍生反应:使用溶液-离心 +import hhspe from './StepComponents/swypfx/hhspe.vue';//生物样品分析-活化(SPE) +//生物样品分析-平衡(SPE):使用溶液-活化(SPE) +//生物样品分析-上样(SPE):使用溶液-活化(SPE) +//生物样品分析-淋洗(SPE):使用溶液-活化(SPE) +//生物样品分析-洗脱(SPE):使用溶液-活化(SPE) +import zyfc from './StepComponents/swypfx/zyfc.vue';//生物样品分析-转移(分层) +//生物样品分析-氮吹:使用溶液-氮吹 +//生物样品分析-正压:使用溶液-正压 +//生物样品分析-孵育:使用溶液-孵育 +//生物样品分析-复溶:使用溶液-复溶 + import { public_templateStepList } from '@/api/business/public/public'; @@ -223,6 +241,11 @@ export default { //表配置 jrry_b, cl, + + //生物样品分析 + jryp, + hhspe, + zyfc }, computed: { stepComponentMap() { @@ -280,8 +303,8 @@ export default { //标配配置 'jrry_b': 'jrry_b', 'cl': 'cl', - 'lx_b': 'lx', - 'cs_b': 'cs', + 'lx_b': 'Lx', + 'cs_b': 'Cs', 'hwhy_b': 'Hwhy', 'zyhy_b': 'Zyhy', 'wxhy_b': 'Wxhy', @@ -298,6 +321,19 @@ export default { 'jd_b': 'Jd', 'fy_b': 'Fy', 'fr_b': 'Fr', + + //生物样品分析 + 'jd_swypfx': 'Jd', + 'jryp': 'jryp', + 'ysfy': 'Lx', + 'hhspe': 'hhspe', + + 'phspe': 'hhspe', + 'syspe': 'hhspe', + 'lxspe': 'hhspe', + 'xtspe': 'hhspe', + 'zyfc': 'zyfc', + } } return this.componentMap @@ -339,6 +375,7 @@ export default { }, methods: { getStepList(){ + debugger public_templateStepList({templateId:this.templateData.templateId}).then(response => { let options = [] _.forEach(response.data,(item)=>{ diff --git a/src/components/Template/StepComponents/ry/fy.vue b/src/components/Template/StepComponents/ry/fy.vue index da8de0a..e893c5f 100644 --- a/src/components/Template/StepComponents/ry/fy.vue +++ b/src/components/Template/StepComponents/ry/fy.vue @@ -40,7 +40,7 @@ export default { fillType: "preFill", }, text3: { - label: "实际条件为", + label: "实际设置条件为", type: "text", }, sjtj: { diff --git a/src/components/Template/StepComponents/ry/jd.vue b/src/components/Template/StepComponents/ry/jd.vue index 40b1ca1..f9fc081 100644 --- a/src/components/Template/StepComponents/ry/jd.vue +++ b/src/components/Template/StepComponents/ry/jd.vue @@ -21,7 +21,107 @@ export default { }, computed: { formConfig() { - let config = [{ + let config = this.sn==='jd_swypfx'? + [{ + config: { + text1: { + label: "将上述样品预计放置于", + type: "text", + }, + ccwz: { + type: "select", + options: this.getDictOptions("business_ccwz"), + fillType: "preFill", + otherCode: "ccwzOther", + }, + text3: { + label: "实际放置于", + type: "text", + }, + sjccwz: { + type: "select", + options: this.getDictOptions("business_ccwz"), + fillType: "actFill", + otherCode: "sjccwzOther", + compareTo: "ccwz", + }, + text4: { + label: "位置,其环境条件预计为", + type: "text", + }, + yjwd: { + type: "select", + options: this.getDictOptions("business_wddw"), + fillType: "preFill", + otherCode: "yjwdOther", + }, + yjhj: { + type: "select", + options: this.getDictOptions("business_hjxx"), + fillType: "preFill", + otherCode: "yjhjOther", + }, + text5: { + label: ",实际条件为", + type: "text", + }, + sjwd: { + type: "select", + options: this.getDictOptions("business_wddw"), + fillType: "actFill", + otherCode: "sjwdOther", + compareTo: "yjwd", + }, + sjhj: { + type: "select", + options: this.getDictOptions("business_hjxx"), + fillType: "actFill", + otherCode: "sjhjOther", + compareTo: "yjhj", + }, + text6: { + label: ",放置", + type: "text", + }, + sr1:{ + type: "input", + fillType: "preFill", + }, + text7:{ + type:"text", + label:",解冻", + }, + startDate: { + type: "input", + fillType: "actFill", + disabled: true, + }, + button1:{ + type:"button", + buttonName:"开始", + }, + text8:{ + type:"text", + label:",解冻", + }, + endDate: { + type: "input", + fillType: "actFill", + disabled: true, + }, + button2:{ + type:"button", + buttonName:"结束", + }, + text9: { + type: "text", + label: "。", + }, + + + } + }]: + [{ config: { text1: { label: "将", diff --git a/src/components/Template/StepComponents/ry/lx.vue b/src/components/Template/StepComponents/ry/lx.vue index 4bb113d..86e0fa9 100644 --- a/src/components/Template/StepComponents/ry/lx.vue +++ b/src/components/Template/StepComponents/ry/lx.vue @@ -23,7 +23,7 @@ export default { let config = [{ config: { text1: { - label: "使用离心机", + label: this.sn==='ysfy'?"使用恒温混匀仪":"使用离心机", type: "text", }, yq: { @@ -110,7 +110,7 @@ export default { fillType: "preFill", }, text8: { - label: ",进行离心。离心", + label: this.sn==='ysfy'?",进行衍生反应,反应":",进行离心。离心", type: "text", }, startDate: { diff --git a/src/components/Template/StepComponents/swypfx/hhspe.vue b/src/components/Template/StepComponents/swypfx/hhspe.vue new file mode 100644 index 0000000..b6d686e --- /dev/null +++ b/src/components/Template/StepComponents/swypfx/hhspe.vue @@ -0,0 +1,91 @@ + + + + + + \ No newline at end of file diff --git a/src/components/Template/StepComponents/swypfx/jryp.vue b/src/components/Template/StepComponents/swypfx/jryp.vue new file mode 100644 index 0000000..8d9ada2 --- /dev/null +++ b/src/components/Template/StepComponents/swypfx/jryp.vue @@ -0,0 +1,67 @@ + + + + + + \ No newline at end of file diff --git a/src/components/Template/StepComponents/swypfx/zyfc.vue b/src/components/Template/StepComponents/swypfx/zyfc.vue new file mode 100644 index 0000000..016a9c5 --- /dev/null +++ b/src/components/Template/StepComponents/swypfx/zyfc.vue @@ -0,0 +1,79 @@ + + + + + + \ No newline at end of file