diff --git a/src/lang/en/template/commonTemplate.js b/src/lang/en/template/commonTemplate.js
index d4c00fb..c61871c 100644
--- a/src/lang/en/template/commonTemplate.js
+++ b/src/lang/en/template/commonTemplate.js
@@ -33,6 +33,7 @@ export default {
// 占位符
remarkPlaceholder: 'Please enter remarks',
+ xswsPlaceholder: 'Please enter the number of decimal places to retain',
// 按钮
saveBtn: 'Save',
diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js
index ef69318..49b0611 100644
--- a/src/lang/en/template/sp.js
+++ b/src/lang/en/template/sp.js
@@ -13,7 +13,25 @@ export default {
// 生物样品标曲工作液制备表
sp003:{
title: '生物样品标曲工作液制备表',
-
+ rqcz: 'Container Material',
+ cctj:'Storage Condition',
+ qsyry:'Source Solution',
+ ysqsyrynd:'Expected Concentration of Source Solution',
+ sjqsyrynd:'Actual Concentration of Source Solution',
+ xsy:'Diluent',
+ qsbhstd:'STD Starting Number',
+ mbryyxzq:'Validity Period of Target Solution',
+ mbrysxr:'Expiration Date of Target Solution',
+ mbrybh:'Target Solution ID',
+ qsrybh:'Source Solution ID',
+ ysqsrytj:'Expected Volume of Source Solution',
+ sjqsrytj:'Actual Source Solution Volume',
+ ysxsytj:'Expected Volume of Diluent',
+ sjxsytj:'Actual Volume of Diluent',
+ ysmbrynd:'Expected Concentration of Target Solution',
+ sjmbrynd:'Actual Concentration of Target Solution',
+ ysmbrytj:'Expected Volume of Target Solution',
+ sjmbrytj:'Actual Volume of Target Solution',
},
// 生物样品内标工作液制备表
sp00456:{
diff --git a/src/lang/zh/template/commonTemplate.js b/src/lang/zh/template/commonTemplate.js
index 71f9342..be9a73d 100644
--- a/src/lang/zh/template/commonTemplate.js
+++ b/src/lang/zh/template/commonTemplate.js
@@ -9,7 +9,7 @@ export default {
storageCondition: '存储条件',
operationSteps: '操作步骤',
remark: '备注',
-
+
// 字段标签
storageConditionLabel: '存储条件',
testName: '试验名称',
@@ -33,6 +33,8 @@ export default {
// 占位符
remarkPlaceholder: '请输入备注',
+ xswsPlaceholder: '请输入保留小数位数',
+
// 按钮
saveBtn: '保存',
diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js
index e94b5c5..276bbde 100644
--- a/src/lang/zh/template/sp.js
+++ b/src/lang/zh/template/sp.js
@@ -13,7 +13,25 @@ export default {
// 生物样品标曲工作液制备表
sp003:{
title: '生物样品标曲工作液制备表',
-
+ rqcz: '容器材质',
+ cctj:'存储条件',
+ qsyry:'起始源溶液',
+ ysqsyrynd:'预设起始源溶液浓度',
+ sjqsyrynd:'实际起始源溶液浓度',
+ xsy:'稀释液',
+ qsbhstd:'起始编号STD',
+ mbryyxzq:'目标溶液有效周期',
+ mbrysxr:'目标溶液失效日',
+ mbrybh:'目标溶液编号',
+ qsrybh:'起始溶液编号',
+ ysqsrytj:'预设起始溶液体积',
+ sjqsrytj:'实际起始溶液体积',
+ ysxsytj:'预设稀释液体积',
+ sjxsytj:'实际稀释液体积',
+ ysmbrynd:'预设目标溶液浓度',
+ sjmbrynd:'实际目标溶液浓度',
+ ysmbrytj:'预设目标溶液体积',
+ sjmbrytj:'实际目标溶液体积',
},
// 生物样品内标工作液制备表
sp00456:{
diff --git a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue
index e2129e3..a267371 100644
--- a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue
+++ b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue
@@ -6,18 +6,20 @@
"生物样品标曲工作液制备表" }}
-
-
-
+
+
-
+
-
@@ -29,7 +31,7 @@
-
+
@@ -79,7 +81,7 @@ export default {
type: "conditionItem",
config: {
storageCondition: {
- label: "存储条件",
+ label: "template.sp.sp003.cctj",
type: "select",
fillType: "preFill",
options: this.getDictOptions('business_cctj'),
@@ -101,7 +103,7 @@ export default {
type: "textarea",
fillType: "actFill",
span: 1,
- placeholder: "请输入备注",
+ placeholder: "template.common.remarkPlaceholder",
maxlength: 1000,
rows: 5
}
@@ -116,23 +118,23 @@ export default {
type: "cardItem",
config: {
studyMc: {
- label: "试验名称",
+ label: "template.common.testName",
type: "input",
disabled: true,
},
studySn: {
- label: "试验编号",
+ label: "template.common.testNumber",
type: "input",
disabled: true,
},
methodCode: {
- label: "方法编号",
+ label: "template.common.methodCode",
type: "input",
fillType: "preFill",
maxlength: 50,
},
versionNum: {
- label: "版本号",
+ label: "template.common.versionNumber",
type: "inputNumber",
fillType: "actFill",
prepend: "V",
@@ -143,10 +145,10 @@ export default {
},
{
type: "conditionItem",
- label: "试验配制条件",
+ label: "template.common.testConfigurationConditions",
config: {
pre: {
- label: "预填",
+ label: "template.common.preFill",
type: "select",
multiple: true,
fillType: "preFill",
@@ -154,7 +156,7 @@ export default {
otherCode: "preOther",
},
act: {
- label: "实际",
+ label: "template.common.actualFill",
type: "select",
fillType: "actFill",
otherCode: "actOther",
@@ -167,7 +169,7 @@ export default {
type: "cellItem",
config: {
containerMaterial: {
- label: "容器材质",
+ label: "template.sp.sp003.rqcz",
type: "select",
options: this.getDictOptions('business_rqcz'),
fillType: "actFill",
@@ -177,14 +179,14 @@ export default {
},
{
type: "cellItem",
- label: "处理时间",
+ label: "template.common.configurationTime",
config: {
startDate: {
- label: "开始时间",
+ label: "template.common.startTime",
type: "input",
},
endDate: {
- label: "结束时间",
+ label: "template.common.endTime",
type: "input",
},
}
@@ -198,7 +200,7 @@ export default {
type: "step",
config: {
startSolution: {
- label: "起始源溶液",
+ label: "template.sp.sp003.qsyry",
type: "input",
fillType: "preFill",
subType: "clickable",
@@ -207,7 +209,7 @@ export default {
maxlength: 20,
},
targetStartSolution: {
- label: "预设起始源溶液浓度",
+ label: "template.sp.sp003.ysqsyrynd",
type: "inputNumber",
subType: "select",
fillType: "preFill",
@@ -216,14 +218,14 @@ export default {
maxlength: 10,
},
targetAcSolution: {
- label: "实际起始源溶液浓度",
+ label: "template.sp.sp003.sjqsyrynd",
type: "input",
fillType: "actFill",
disabled: true,
maxlength: 10,
},
solution: {
- label: "稀释液",
+ label: "template.sp.sp003.xsy",
type: "input",
fillType: "preFill",
subType: "clickable",
@@ -232,13 +234,13 @@ export default {
maxlength: 20,
},
codeSTD: {
- label: "起始编号STD",
+ label: "template.sp.sp003.qsbhstd",
type: "input",
maxlength: 10,
fillType: "preFill",
},
stepStorageCondition: {
- label: "存储条件",
+ label: "template.sp.sp003.cctj",
type: "select",
fillType: "preFill",
options: this.getDictOptions('business_cctj'),
@@ -246,7 +248,7 @@ export default {
},
effectivePeriod: {
- label: "目标溶液有效周期",
+ label: "template.sp.sp003.mbryyxzq",
type: "input",
subType: "select",
subKey: "effectivePeriodUnit",
@@ -254,7 +256,7 @@ export default {
subOptions: this.getDictOptions('business_yxqdw'),
},
expireDate: {
- label: "目标溶液失效日",
+ label: "template.sp.sp003.mbrysxr",
type: "input",
},
}
@@ -265,7 +267,7 @@ export default {
stepColumns() {
return [
{
- label: "目标溶液编号",
+ label: "template.sp.sp003.mbrybh",
prop: "targetSolutionCode",
bodyType: "input",
bodySubType: "span",
@@ -279,7 +281,7 @@ export default {
// maxVolumeFieldUnit: "targetSolutionVolumeUnit,targetDiluentVolumeUnit",//分装的最大量单位字段
},
{
- label: "起始溶液编号",
+ label: "template.sp.sp003.qsrybh",
prop: "startSolutionCode",
width: 280,
bodyType: "input",
@@ -287,7 +289,7 @@ export default {
bodyMaxlength: 10,
},
{
- label: "预设起始溶液体积",
+ label: "template.sp.sp003.ysqsrytj",
prop: "targetStartSolutionVolume",
width: 280,
headerSelectKey: "targetStartSolutionVolumeUnit",
@@ -302,10 +304,10 @@ export default {
bodyDisabled: true,
bodyPrecisionKey: "targetStartSolutionVolumePrecision",
bodyMaxlength: 10,
- bodySubPlaceholder: "请输入保留小数位数",
+ bodySubPlaceholder: "template.common.xswsPlaceholder",
},
{
- label: "实际起始溶液体积",
+ label: "template.sp.sp003.sjqsrytj",
prop: "actStartSolutionVolume",
width: 280,
headerSelectKey: "actStartSolutionVolumeUnit",
@@ -318,7 +320,7 @@ export default {
copyFrom: "targetStartSolutionVolume",//复制哪个字段
},
{
- label: "预设稀释液体积",
+ label: "template.sp.sp003.ysxsytj",
prop: "targetDiluentVolume",
width: 280,
headerSelectKey: "targetDiluentVolumeUnit",
@@ -336,7 +338,7 @@ export default {
bodySubPlaceholder: "请输入保留小数位数",
},
{
- label: "实际稀释液体积",
+ label: "template.sp.sp003.sjxsytj",
prop: "actDiluentVolume",
width: 280,
headerSelectKey: "actDiluentVolumeUnit",
@@ -349,7 +351,7 @@ export default {
copyFrom: "targetDiluentVolume",//复制哪个字段
},
{
- label: "预设目标溶液浓度",
+ label: "template.sp.sp003.ysmbrynd",
prop: "targetSolutionConcentration",
width: 280,
headerSelectKey: "targetSolutionConcentrationUnit",
@@ -360,7 +362,7 @@ export default {
bodyMaxlength: 10,
},
{
- label: "实际目标溶液浓度",
+ label: "template.sp.sp003.sjmbrynd",
prop: "actSolutionConcentration",
width: 280,
headerSelectKey: "actSolutionConcentrationUnit",
@@ -378,7 +380,7 @@ export default {
bodySubPlaceholder: "请输入保留小数位数",
},
{
- label: "预设目标溶液体积",
+ label: "template.sp.sp003.ysmbrytj",
prop: "targetSolutionVolume",
width: 280,
headerSelectKey: "targetSolutionVolumeUnit",
@@ -389,7 +391,7 @@ export default {
bodyMaxlength: 10,
},
{
- label: "实际目标溶液体积",
+ label: "template.sp.sp003.sjmbrytj",
prop: "actSolutionVolume",
width: 280,
headerSelectKey: "actSolutionVolumeUnit",
diff --git a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
index 00e60e0..b2b0463 100644
--- a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
+++ b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
@@ -37,7 +37,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyPrecisionKey: 'targetStartSolutionVolumePrecision',
bodyMaxlength: 10,
bodyDisabled: true,
- bodySubPlaceholder: '请输入保留小数位数'
+ bodySubPlaceholder: 'template.common.xswsPlaceholder'
},
{
label: 'template.sp.sp00456.sjqsrytj',
@@ -69,7 +69,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyPrecisionKey: 'targetDiluentVolumePrecision',
bodyMaxlength: 10,
- bodySubPlaceholder: '请输入保留小数位数'
+ bodySubPlaceholder: 'template.common.xswsPlaceholder'
},
{
label: 'template.sp.sp00456.sjxsytj',
@@ -112,7 +112,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyPrecisionKey: 'actSolutionConcentrationPrecision',
bodyMaxlength: 10,
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
},
{
@@ -144,7 +144,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyPrecisionKey: 'actSolutionVolumePrecision',
bodyMaxlength: 10,
copyFrom: 'targetSolutionVolume', //复制哪个字段
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
}
]
@@ -198,7 +198,7 @@ export const getParallelColumnsConfig = ($this) => {
showBodySub: $this.fillType === 'preFill',
bodyPrecisionKey: 'actSolutionConcentrationPrecision',
bodyMaxlength: 10,
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
},
{
@@ -228,7 +228,7 @@ export const getParallelColumnsConfig = ($this) => {
showBodySub: $this.fillType === 'preFill',
bodyPrecisionKey: 'actSolutionVolumePrecision',
bodyMaxlength: 10,
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
},
{
@@ -303,7 +303,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyMaxlength: 10,
bodyPrecisionKey: 'targetStartSolutionVolumePrecision',
bodyMaxlength: 10,
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodyDisabled: true,
showBodySub: true,
showBodySub: $this.fillType === 'preFill'
@@ -337,7 +337,7 @@ export const getParallelColumnsConfig = ($this) => {
bodySubFillType: 'preFill',
bodyMaxlength: 10,
bodyPrecisionKey: 'targetDiluentVolumePrecision',
- bodySubPlaceholder: '请输入保留小数位数',
+ bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodyDisabled: true,
showBodySub: $this.fillType === 'preFill'
},
@@ -517,7 +517,7 @@ export const getRemarkFormConfig = () => {
type: 'textarea',
fillType: 'actFill',
span: 1,
- placeholder: '请输入备注',
+ placeholder: 'template.common.remarkPlaceholder',
maxlength: 1000,
rows: 5
}
@@ -551,7 +551,7 @@ export const getParalleStepFormConfig = ($this) => {
type: 'step',
config: {
solution: {
- label: '稀释液',
+ label: 'template.sp.sp00456.xsy',
type: 'input',
fillType: 'preFill',
subType: 'clickable',
@@ -560,7 +560,7 @@ export const getParalleStepFormConfig = ($this) => {
maxlength: 20
},
paralleStepStorageCondition: {
- label: '存储条件',
+ label: 'template.sp.sp00456.cctj',
type: 'select',
fillType: 'preFill',
options: $this.getDictOptions('business_cctj'),
diff --git a/src/views/business/comps/template/mixins/templateMixin.js b/src/views/business/comps/template/mixins/templateMixin.js
index 9a5ec13..ab7d5d2 100644
--- a/src/views/business/comps/template/mixins/templateMixin.js
+++ b/src/views/business/comps/template/mixins/templateMixin.js
@@ -114,19 +114,19 @@ export default {
resource: [], //试验试剂信息
resourceTmp:[],//试验试剂信息提交用
sysjColumns: [
- { label: '试剂名称', prop: 'reagentName' },
- { label: '编号', prop: 'reagentCode' },
- { label: '批号', prop: 'reagentNo' },
- { label: '浓度/含量/纯度', prop: 'concentration' },
- { label: '来源', prop: 'source' },
- { label: '失效日', prop: 'expireDate' }
+ { label: 'template.common.reagentName', prop: "mc" },//名称
+ { label: 'template.common.reagentCode', prop: "bh" },//编号
+ { label: 'template.common.reagentNo', prop: "ph" },//批号 试剂,供试品才有
+ { label: 'template.common.concentration', prop: "nd" },//浓度
+ { label: 'template.common.source', prop: "source" },//来源
+ { label: 'template.common.reagentExpireDate', prop: "sxrq" },//失效日期
],
yqsColumns: [
- { label: '仪器名称', prop: 'instrumentName' },
- { label: '仪器型号', prop: 'instrumentModel' },
- { label: '仪器编号', prop: 'instrumentCode' },
- { label: '下次测试/校准/检定日期', prop: 'nextTestDate' }
- ]
+ { label: 'template.common.instrumentName', prop: "instrumentName" },
+ { label: 'template.common.instrumentModel', prop: "instrumentModel" },
+ { label: 'template.common.instrumentCode', prop: "instrumentCode" },
+ { label: 'template.common.nextTestDate', prop: "nextTestDate" },
+ ],
}
},
mounted() { },