From 8c67f71a98fec2a00464763759c64ef2104a6d7a Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Mon, 19 Jan 2026 10:22:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E5=8F=8C=E8=AF=AD=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en.js | 5 ++++- src/lang/en/template/commonTemplate.js | 4 ---- src/lang/en/template/sp.js | 20 ++++++++++++++++++++ src/lang/zh.js | 5 ++++- src/lang/zh/template/commonTemplate.js | 4 ---- src/lang/zh/template/sp.js | 19 +++++++++++++++++++ .../template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue | 10 +++++----- .../template/formConfig/SWYPFXFFXYPZBBTableConfig.js | 16 ++++++++-------- 8 files changed, 60 insertions(+), 23 deletions(-) create mode 100644 src/lang/en/template/sp.js create mode 100644 src/lang/zh/template/sp.js diff --git a/src/lang/en.js b/src/lang/en.js index e69bcfe..b01b86e 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -13,6 +13,8 @@ import user from './en/system/user' import template from './en/system/template' // 公共模板语言配置 import commonTemplate from './en/template/commonTemplate' +//色谱模板 +import sp from './en/template/sp' // 试验管理 import study from './en/business/study/study' @@ -169,6 +171,7 @@ export default { } }, template: { - common: commonTemplate + common: commonTemplate, + sp: sp } } diff --git a/src/lang/en/template/commonTemplate.js b/src/lang/en/template/commonTemplate.js index c718b49..1543197 100644 --- a/src/lang/en/template/commonTemplate.js +++ b/src/lang/en/template/commonTemplate.js @@ -30,10 +30,6 @@ export default { targetActVolume: 'Target Solution Actual Volume', effectivePeriod: 'Effective Period', expireDate: 'Expiry Date', - clpbh: 'Analysis Batch Number', - rqcz: 'Container Material', - clsj: 'Work Time', - xzjz: 'Select substrate', // 占位符 remarkPlaceholder: 'Please enter remarks', diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js new file mode 100644 index 0000000..0df478b --- /dev/null +++ b/src/lang/en/template/sp.js @@ -0,0 +1,20 @@ +//色谱 +export default { + // 生物样品分析方法学样品制备表-准确度与精密度 + sp008: { + title: + 'Bioanalytical Methods Sample Preparation Record(Accuracy and Precision)', + clpbh: 'Analysis Batch Number', + rqcz: 'Container Material', + clsj: 'Work Time', + xzjz: 'Select substrate', + bh: 'Serial Number', + ysry: 'Preset solution', + sjry: 'Actual solution', + yjryxql: 'Expected Solution Extraction Volume', + sjryxql: 'Actual Solution Extraction Volume', + yjjzxql: 'Expected Blank Substrate Extraction Volume', + sjjzxql: 'Actual Blank Substrate Extraction Volume', + hhwznd: 'Target Solution Concentration' + } +} diff --git a/src/lang/zh.js b/src/lang/zh.js index bb4faa0..49ab884 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -13,6 +13,8 @@ import user from './zh/system/user' import template from './zh/system/template' // 公共模板语言配置 import commonTemplate from './zh/template/commonTemplate' +//色谱模板 +import sp from './en/template/sp' // 试验管理 import study from './zh/business/study/study' @@ -164,6 +166,7 @@ export default { } }, template: { - common: commonTemplate + common: commonTemplate, + sp: sp } } diff --git a/src/lang/zh/template/commonTemplate.js b/src/lang/zh/template/commonTemplate.js index e0e79ab..8318a85 100644 --- a/src/lang/zh/template/commonTemplate.js +++ b/src/lang/zh/template/commonTemplate.js @@ -30,10 +30,6 @@ export default { targetActVolume: '目标溶液实际体积', effectivePeriod: '有效周期', expireDate: '失效日', - clpbh: '处理批编号', - rqcz: '容器材质', - clsj: '处理时间', - xzjz: '选择基质', // 占位符 remarkPlaceholder: '请输入备注', diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js new file mode 100644 index 0000000..0c12260 --- /dev/null +++ b/src/lang/zh/template/sp.js @@ -0,0 +1,19 @@ +//色谱 +export default { + // 生物样品分析方法学样品制备表-准确度与精密度 + sp008: { + title: '生物样品分析方法学样品制备表(准确度与精密度)', + clpbh: '处理批编号', + rqcz: '容器材质', + clsj: '处理时间', + xzjz: '选择基质', + bh: '编号', + ysry: '预设溶液', + sjry: '实际溶液', + yjryxql: '预计溶液吸取量', + sjryxql: '实际溶液吸取量', + yjjzxql: '预计基质吸取量', + sjjzxql: '实际基质吸取量', + hhwznd: '化合物终浓度' + } +} diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue index 5e585be..2754066 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue @@ -3,7 +3,7 @@
{{ formData.templateMc || - '生物样品分析方法学样品制备表-准确度与精密度' }}
+ $t('template.sp.sp008.title') }}
{ return [ { - label: '编号', + label: 'template.sp.sp008.bh', prop: 'bh', bodyType: 'select', bodyOptions: $this.getDictOptions('business_jmdyzqdyp'), @@ -12,21 +12,21 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { width: 280 }, { - label: '预设溶液', + label: 'template.sp.sp008.ysry', prop: 'ysry', bodyType: 'input', bodyFillType: 'preFill', width: 280 }, { - label: '实际溶液', + label: 'template.sp.sp008.sjry', prop: 'sjry', bodyType: 'clickable', bodyFillType: 'actFill', width: 280 }, { - label: '预计溶液吸取量', + label: 'template.sp.sp008.yjryxql', prop: 'yjryxql', width: 280, headerSelectKey: 'yjryxqlUnit', @@ -37,7 +37,7 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际溶液吸取量', + label: 'template.sp.sp008.sjryxql', prop: 'sjryxql', width: 280, headerSelectKey: 'sjryxqlUnit', @@ -49,7 +49,7 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { compareTo: 'yjryxql' }, { - label: '预计基质吸取量', + label: 'template.sp.sp008.yjjzxql', prop: 'yjjzxql', width: 280, headerSelectKey: 'yjjzxqlUnit', @@ -60,7 +60,7 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际基质吸取量', + label: 'template.sp.sp008.sjjzxql', prop: 'sjjzxql', width: 280, headerSelectKey: 'sjjzxqlUnit', @@ -72,7 +72,7 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { compareTo: 'yjjzxql' }, { - label: '化合物终浓度', + label: 'template.sp.sp008.hhwznd', prop: 'hhwznd', width: 280, headerSelectKey: 'hhwzndUnit',