From 5d3061cb9b0ac34221c6dd4d5228349eb9547509 Mon Sep 17 00:00:00 2001
From: memorylkf <312904636@qq.com>
Date: Wed, 1 Apr 2026 14:07:44 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?=
=?UTF-8?q?=2012=E3=80=81LBA/ADA=EF=BC=9A=E7=89=88=E6=9C=AC=E5=8F=B7?=
=?UTF-8?q?=E9=83=BD=E6=94=B9=E4=B8=BA=E9=A2=84=E5=88=B6=2013=E3=80=81?=
=?UTF-8?q?=E9=85=8D=E4=BD=93=E7=BB=93=E5=90=88=E5=88=86=E6=9E=90=E7=BB=84?=
=?UTF-8?q?=E7=BB=87=E5=8C=80=E6=B5=86=E8=A1=A8=EF=BC=9A=E9=A2=84=E8=AE=BE?=
=?UTF-8?q?/=E5=AE=9E=E9=99=85=E5=8C=80=E6=B5=86=E6=BA=B6=E6=B6=B2?=
=?UTF-8?q?=E8=A1=A5=E5=8A=A0=E5=85=A5=E9=87=8F=E6=94=B9=E4=B8=BA=E9=A2=84?=
=?UTF-8?q?=E8=AE=BE/=E5=AE=9E=E9=99=85=E5=8C=80=E6=B5=86=E6=BA=B6?=
=?UTF-8?q?=E6=B6=B2=E5=8A=A0=E5=85=A5=E9=87=8F=2014=E3=80=81Ames=E8=AF=95?=
=?UTF-8?q?=E9=AA=8C=EF=BC=88=E6=8E=BA=E5=85=A5=E6=B3=95=EF=BC=89=E5=B9=B3?=
=?UTF-8?q?=E7=9A=BF=E7=BC=96=E5=8F=B7/=E6=93=8D=E4=BD=9C=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95=E8=A1=A8=EF=BC=9A=E5=8E=BB=E6=8E=890.2mol=2015?=
=?UTF-8?q?=E3=80=81=E9=AA=A8=E9=AB=93=E6=94=B6=E9=9B=86=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E8=A1=A8=EF=BC=9A=E5=8E=BB=E6=8E=89=E8=A7=A3=E5=89=96=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F=2016=E3=80=81=E7=BB=86=E8=83=9E=E5=A4=8D=E8=8B=8F?=
=?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=A1=A8/=E7=BB=86=E8=83=9E=E5=88=B6?=
=?UTF-8?q?=E5=A4=87=E8=AE=B0=E5=BD=95=E8=A1=A8=EF=BC=9A=E8=BF=992?=
=?UTF-8?q?=E4=B8=AA=E8=A1=A8=E5=9F=B9=E5=85=BB=E6=9D=A1=E4=BB=B6=E4=B8=AD?=
=?UTF-8?q?=E7=9A=840.5%=E6=94=B9=E6=88=901%=2017=E3=80=81=E7=94=9F?=
=?UTF-8?q?=E7=89=A9=E6=A0=B7=E5=93=81=E5=88=86=E6=9E=90=E6=A0=B7=E6=9C=AC?=
=?UTF-8?q?=E5=A4=84=E7=90=86=E8=A1=A8=EF=BC=9A=E5=A2=9E=E5=8A=A0=E5=A4=84?=
=?UTF-8?q?=E7=90=86=E5=90=8E=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/lang/en.js | 2 +-
src/lang/en/template/dl.js | 2 +-
src/lang/en/template/lba.js | 4 +-
src/lang/en/template/sp.js | 5 ++-
src/lang/zh.js | 2 +-
src/lang/zh/template/dl.js | 2 +-
src/lang/zh/template/lba.js | 4 +-
src/lang/zh/template/sp.js | 5 ++-
.../business/comps/template/comps/dl/DL010.vue | 16 --------
.../business/comps/template/comps/dl/DL011.vue | 2 +-
.../business/comps/template/comps/dl/DL012.vue | 2 +-
.../business/comps/template/comps/lba/LBA008.vue | 13 ++++++
.../business/comps/template/comps/sp/SP007.vue | 24 ++++++++---
.../template/formConfig/paralleAndLadderConfig.js | 48 +++++++++++++++++-----
.../business/comps/template/formConfig/sp/SP007.js | 27 ++++++++++++
15 files changed, 114 insertions(+), 44 deletions(-)
diff --git a/src/lang/en.js b/src/lang/en.js
index 9ae4f95..a7a2e1d 100644
--- a/src/lang/en.js
+++ b/src/lang/en.js
@@ -83,7 +83,7 @@ import systemLog from './en/system/systemLog'
import storageLocation from './en/system/storageLocation'
export default {
system: {
- name: 'WestChina-Frontier PharmaTech ELN',
+ name: 'WCFP Electronic Laboratory Notebook',
title: 'HXHQ',
tip: 'Prompt',
logOut: 'Are You Sure To Log Out And Exit The System?',
diff --git a/src/lang/en/template/dl.js b/src/lang/en/template/dl.js
index d6108c6..87f08d8 100644
--- a/src/lang/en/template/dl.js
+++ b/src/lang/en/template/dl.js
@@ -61,7 +61,7 @@ export default {
s9hhybh: 'S9混合液编号',
s9hhyyjjrl: 'S9混合液预计加入量',
pbsbh: 'PBS编号',
- pbsryyjjrl: '0.2mol PBS溶液预计加入量',
+ pbsryyjjrl: 'PBS溶液预计加入量',
jlzsl: '剂量组数量',
wcButton: 'Finsh',
jlzmc: '剂量组名称 ',
diff --git a/src/lang/en/template/lba.js b/src/lang/en/template/lba.js
index 770dd52..af464cf 100644
--- a/src/lang/en/template/lba.js
+++ b/src/lang/en/template/lba.js
@@ -47,7 +47,7 @@ export default {
dwbh: '动物编号',
zzlx: '组织类型',
cqzl: '称取重量',
- ysyjrybjrl: '预设匀浆溶液补加入量',
- sjyjrybjrl: '实际匀浆溶液补加入量'
+ ysyjrybjrl: '预设匀浆溶液加入量',
+ sjyjrybjrl: '实际匀浆溶液加入量'
}
}
diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js
index 31a22ae..4892205 100644
--- a/src/lang/en/template/sp.js
+++ b/src/lang/en/template/sp.js
@@ -58,7 +58,10 @@ export default {
sp007: {
title: '生物样品分析样本处理表',
ybsm: 'Sample Description',
- bt: 'Title'
+ bt: 'Title',
+ clhxx: '处理后信息',
+ hjsj: '处理后样品放入进样环境时间',
+ cfwz: '存放位置'
},
// 生物样品分析方法学样品制备表-准确度与精密度
sp008: {
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 284ee34..b6a1758 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -83,7 +83,7 @@ import storageLocation from './zh/system/storageLocation'
export default {
system: {
- name: '华西海圻ELN系统',
+ name: '华西海圻实验室电子记录系统',
title: '华西海圻管理系统',
tip: '提示',
logOut: '确认注销并退出系统吗?',
diff --git a/src/lang/zh/template/dl.js b/src/lang/zh/template/dl.js
index 1e523c2..665ec07 100644
--- a/src/lang/zh/template/dl.js
+++ b/src/lang/zh/template/dl.js
@@ -62,7 +62,7 @@ export default {
s9hhybh: 'S9混合液编号',
s9hhyyjjrl: 'S9混合液预计加入量',
pbsbh: 'PBS编号',
- pbsryyjjrl: '0.2mol PBS溶液预计加入量',
+ pbsryyjjrl: 'PBS溶液预计加入量',
jlzsl: '剂量组数量',
wcButton: '完成',
jlzmc: '剂量组名称 ',
diff --git a/src/lang/zh/template/lba.js b/src/lang/zh/template/lba.js
index 0df0810..272c1fa 100644
--- a/src/lang/zh/template/lba.js
+++ b/src/lang/zh/template/lba.js
@@ -47,7 +47,7 @@ export default {
dwbh: '动物编号',
zzlx: '组织类型',
cqzl: '称取重量',
- ysyjrybjrl: '预设匀浆溶液补加入量',
- sjyjrybjrl: '实际匀浆溶液补加入量'
+ ysyjrybjrl: '预设匀浆溶液加入量',
+ sjyjrybjrl: '实际匀浆溶液加入量'
}
}
diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js
index 0812b65..cc372ea 100644
--- a/src/lang/zh/template/sp.js
+++ b/src/lang/zh/template/sp.js
@@ -58,7 +58,10 @@ export default {
sp007: {
title: '生物样品分析样本处理表',
ybsm: '样本说明',
- bt: '标题'
+ bt: '标题',
+ clhxx: '处理后信息',
+ hjsj: '处理后样品放入进样环境时间',
+ cfwz: '存放位置'
},
// 生物样品分析方法学样品制备表-准确度与精密度
sp008: {
diff --git a/src/views/business/comps/template/comps/dl/DL010.vue b/src/views/business/comps/template/comps/dl/DL010.vue
index 83876b6..e1f51c2 100644
--- a/src/views/business/comps/template/comps/dl/DL010.vue
+++ b/src/views/business/comps/template/comps/dl/DL010.vue
@@ -216,22 +216,6 @@ export default {
}
}
},
- {
- type: 'cellItem',
- label: 'template.dl.dl010.jprq',
- config: {
- startDate: {
- label: 'template.dl.dl010.jprqKssj',
- type: 'input',
- disabled: true
- },
- endDate: {
- label: 'template.dl.dl010.jprqJssj',
- type: 'input',
- disabled: true
- }
- }
- }
]
},
// 采集信息列表
diff --git a/src/views/business/comps/template/comps/dl/DL011.vue b/src/views/business/comps/template/comps/dl/DL011.vue
index ac30ab5..3804c2e 100644
--- a/src/views/business/comps/template/comps/dl/DL011.vue
+++ b/src/views/business/comps/template/comps/dl/DL011.vue
@@ -289,7 +289,7 @@ export default {
this.$nextTick(() => {
this.$refs[refConf.pyxx]?.updateFormData(
'pytjText',
- '培养条件:温度为温度为37℃±2℃,CO2浓度为5%±0.5%',
+ '培养条件:温度为温度为37℃±2℃,CO2浓度为5%±1%',
{ isUpdateRecord: false, signData: null }
)
})
diff --git a/src/views/business/comps/template/comps/dl/DL012.vue b/src/views/business/comps/template/comps/dl/DL012.vue
index 15df57c..3c7c440 100644
--- a/src/views/business/comps/template/comps/dl/DL012.vue
+++ b/src/views/business/comps/template/comps/dl/DL012.vue
@@ -273,7 +273,7 @@ export default {
this.$nextTick(() => {
this.$refs[refConf.pyxx]?.updateFormData(
'pytjText',
- '培养条件:温度为温度为37℃±2℃,CO2浓度为5%±0.5%',
+ '培养条件:温度为温度为37℃±2℃,CO2浓度为5%±1%',
{ isUpdateRecord: false, signData: null }
)
})
diff --git a/src/views/business/comps/template/comps/lba/LBA008.vue b/src/views/business/comps/template/comps/lba/LBA008.vue
index f0693e9..50e72dc 100644
--- a/src/views/business/comps/template/comps/lba/LBA008.vue
+++ b/src/views/business/comps/template/comps/lba/LBA008.vue
@@ -144,6 +144,19 @@ export default {
type: "input",
disabled: true,
},
+ methodCode: {
+ label: 'template.common.methodCode',
+ type: "input",
+ fillType: "preFill",
+ maxlength: 50
+ },
+ versionNum: {
+ label: 'template.common.versionNumber',
+ type: "inputNumber",
+ fillType: "preFill",
+ prepend: "V",
+ maxlength: 50
+ },
}
},
{
diff --git a/src/views/business/comps/template/comps/sp/SP007.vue b/src/views/business/comps/template/comps/sp/SP007.vue
index 05ac0b4..44e4bd1 100644
--- a/src/views/business/comps/template/comps/sp/SP007.vue
+++ b/src/views/business/comps/template/comps/sp/SP007.vue
@@ -18,10 +18,15 @@
ref="ybRef" :formConfig="ybFormConfig" :formData="formData" />
-
+
+
+
+
+
@@ -41,7 +46,8 @@ import { getLatestSn } from '@/api/template';
import { EventBus } from "@/utils/eventBus";
import { uniqeResource } from "@/utils/calUnitTools";
import { debounce } from 'lodash-es';
-import {getBaseInfoFormConfig, getRemarkFormConfig,getStorageFormConfig,getYbFormConfig,getfjFormConfig} from "../../formConfig/sp/SP007";
+import {getBaseInfoFormConfig, getRemarkFormConfig,getStorageFormConfig,getYbFormConfig,getfjFormConfig,getClhxxFormConfig} from "../../formConfig/sp/SP007";
+import moment from "moment";
export default {
name: "SP007",
@@ -74,6 +80,10 @@ export default {
getFjFormConfig() {
return getfjFormConfig(this);
},
+ //处理后信息
+ clhxxConfig() {
+ return getClhxxFormConfig(this);
+ },
},
data() {
@@ -84,6 +94,10 @@ export default {
mounted() {
},
methods: {
+ // 点击按钮
+ handleClickButton(item,signData){
+ this.$refs.clhxxRef.updateFormData("hjsj", moment().format("YYYY/MM/DD HH:mm"),{isUpdateRecord:true,signData});
+ },
//打印标签
printTag() {
const printConfig = this.getBasePrintConfig();
@@ -96,11 +110,11 @@ export default {
//获取已填写的表单数据
getFilledFormData() {
- return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef"])
+ return this.getFilledFormDataByRefs(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef","clhxxRef"])
},
//获取填写完成的表单数据
async getFormData() {
- let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef"]);
+ let content = await this.validFormFields(["baseInfoRef", "storageConditionRef", "ybRef","stepRef", "remarkRef","fjRef","clhxxRef"]);
return content;
},
getResource() {
diff --git a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
index 9cf7c8c..569db3d 100644
--- a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
+++ b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
@@ -568,18 +568,44 @@ export const getBaseInfoFormConfig = ($this) => {
maxlength: 50
}
}
- : {
- studyMc: {
- label: 'template.common.testName',
- type: 'input',
- disabled: true
- },
- studySn: {
- label: 'template.common.testNumber',
- type: 'input',
- disabled: true
+ : isLba
+ ? {
+ studyMc: {
+ label: 'template.common.testName',
+ type: 'input',
+ disabled: true
+ },
+ studySn: {
+ label: 'template.common.testNumber',
+ type: 'input',
+ disabled: true
+ },
+ methodCode: {
+ label: 'template.common.methodCode',
+ type: 'input',
+ fillType: 'preFill',
+ maxlength: 50
+ },
+ versionNum: {
+ label: 'template.common.versionNumber',
+ type: 'inputNumber',
+ fillType: 'preFill',
+ prepend: 'V',
+ maxlength: 50
+ }
+ }
+ : {
+ studyMc: {
+ label: 'template.common.testName',
+ type: 'input',
+ disabled: true
+ },
+ studySn: {
+ label: 'template.common.testNumber',
+ type: 'input',
+ disabled: true
+ }
}
- }
},
{
type: 'conditionItem',
diff --git a/src/views/business/comps/template/formConfig/sp/SP007.js b/src/views/business/comps/template/formConfig/sp/SP007.js
index 080c684..ae3497d 100644
--- a/src/views/business/comps/template/formConfig/sp/SP007.js
+++ b/src/views/business/comps/template/formConfig/sp/SP007.js
@@ -158,3 +158,30 @@ export const getfjFormConfig = () => {
}
]
}
+//备注
+export const getClhxxFormConfig = ($this) => {
+ return [
+ {
+ type: 'cellItem',
+ config: {
+ hjsj: {
+ label: 'template.sp.sp007.hjsj',
+ type: 'input',
+ fillType: 'actFill',
+ maxlength: 200,
+ subType: 'button',
+ subKey: 'hjsjButton',
+ buttonName: 'template.yp.yp002.hqsj',
+ disabled: true,
+ subDisabled: $this.fillType !== 'actFill'
+ },
+ cfwz: {
+ label: 'template.sp.sp007.cfwz',
+ type: 'input',
+ fillType: 'actFill',
+ maxlength: 100
+ }
+ }
+ }
+ ]
+}