From 4914c7f36d979dcd36160a86e637f54b1c078d0e Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Sat, 17 Jan 2026 12:20:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E7=94=9F=E7=89=A9=E6=A0=B7=E5=93=81=E5=88=86=E6=9E=90?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=AD=A6=E6=A0=B7=E5=93=81=E5=88=B6=E5=A4=87?= =?UTF-8?q?=E8=A1=A8=EF=BC=88=E5=87=86=E7=A1=AE=E5=BA=A6=E4=B8=8E=E7=B2=BE?= =?UTF-8?q?=E5=AF=86=E5=BA=A6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en/template/commonTemplate.js | 24 +- src/lang/zh/template/commonTemplate.js | 24 +- .../business/comps/template/TemplateTable.vue | 4 +- .../template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue | 312 +++++++++++++++++++++ .../template/formConfig/SWYPFXFFXYPZBBConfig.js | 101 +++++++ 5 files changed, 444 insertions(+), 21 deletions(-) create mode 100644 src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue create mode 100644 src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js diff --git a/src/lang/en/template/commonTemplate.js b/src/lang/en/template/commonTemplate.js index f942328..c718b49 100644 --- a/src/lang/en/template/commonTemplate.js +++ b/src/lang/en/template/commonTemplate.js @@ -1,7 +1,7 @@ export default { // 页面标题 pageTitle: 'Biological Sample Analysis Solution Preparation Table', - + // 标签 baseInfo: 'Test Basic Information', reagentInfo: 'Test Reagent Information', @@ -9,7 +9,7 @@ export default { storageCondition: 'Storage Conditions', operationSteps: 'Operation Steps', remark: 'Remarks', - + // 字段标签 storageConditionLabel: 'Storage Conditions', testName: 'Test Name', @@ -30,16 +30,20 @@ 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', - + // 按钮 saveBtn: 'Save', - + // 错误提示 addStepError: 'Please add steps', - + // 试剂信息列 reagentName: 'Reagent Name', reagentCode: 'Code', @@ -47,13 +51,13 @@ export default { concentration: 'Concentration/Content/Purity', source: 'Source', reagentExpireDate: 'Expiry Date', - + // 仪器使用信息列 instrumentName: 'Instrument Name', instrumentModel: 'Instrument Model', instrumentCode: 'Instrument Number', nextTestDate: 'Next Test/Calibration/Verification Date', - + // 试验物质配制计划列 administrationDoseOrGroup: 'Administration Dose or Group', preparationConcentration: 'Preparation Concentration', @@ -61,6 +65,6 @@ export default { other: 'Other', otherInfo: 'Other Information', unit: 'unit', - pleaseFillIn:"Please fill in", - pleaseSelect:"Please select" + pleaseFillIn: 'Please fill in', + pleaseSelect: 'Please select' } diff --git a/src/lang/zh/template/commonTemplate.js b/src/lang/zh/template/commonTemplate.js index 09af724..e0e79ab 100644 --- a/src/lang/zh/template/commonTemplate.js +++ b/src/lang/zh/template/commonTemplate.js @@ -1,7 +1,7 @@ export default { // 页面标题 pageTitle: '生物样品分析溶液配制表', - + // 标签 baseInfo: '试验基本信息', reagentInfo: '试验试剂信息', @@ -9,7 +9,7 @@ export default { storageCondition: '存储条件', operationSteps: '操作步骤', remark: '备注', - + // 字段标签 storageConditionLabel: '存储条件', testName: '试验名称', @@ -30,16 +30,20 @@ export default { targetActVolume: '目标溶液实际体积', effectivePeriod: '有效周期', expireDate: '失效日', - + clpbh: '处理批编号', + rqcz: '容器材质', + clsj: '处理时间', + xzjz: '选择基质', + // 占位符 remarkPlaceholder: '请输入备注', - + // 按钮 saveBtn: '保存', - + // 错误提示 addStepError: '请添加步骤', - + // 试剂信息列 reagentName: '试剂名称', reagentCode: '编号', @@ -47,13 +51,13 @@ export default { concentration: '浓度/含量/纯度', source: '来源', reagentExpireDate: '失效日', - + // 仪器使用信息列 instrumentName: '仪器名称', instrumentModel: '仪器型号', instrumentCode: '仪器编号', nextTestDate: '下次测试/校准/检定日期', - + // 试验物质配制计划列 administrationDoseOrGroup: '给药剂量或组别', preparationConcentration: '配制浓度', @@ -61,6 +65,6 @@ export default { other: '其他', otherInfo: '其他信息', unit: '单位', - pleaseFillIn:"请输入", - pleaseSelect:"请选择" + pleaseFillIn: '请输入', + pleaseSelect: '请选择' } diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index 163d8e0..cc69ed2 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -15,6 +15,7 @@ import SWYPFXRYPZB from "./comps/sp/SWYPFXRYPZB.vue"; import SWYPFXCBYPZB from "./comps/sp/SWYPFXCBYPZB.vue"; import SWYPBQGZYZBB from "./comps/sp/SWYPBQGZYZBB.vue"; import SWYPNBGZYZBB from "./comps/sp/SWYPNBGZYZBB.vue"; +import SWYPFXFFXYPZBBZQDYJMD from "./comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue"; import Demo from "./comps/sp/Demo.vue"; //公用 import SYWZPZJHB from "./comps/gy/SYWZPZJHB.vue"; @@ -24,7 +25,7 @@ export default { name: "TemplateTable", components: { MJYLQSQD, SYWZPZJHB, - SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB + SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB,SWYPFXFFXYPZBBZQDYJMD }, props: { sn: { @@ -53,6 +54,7 @@ export default { 'SP002': 'SWYPFXCBYPZB', 'SP003': 'SWYPBQGZYZBB', 'SP004': 'SWYPNBGZYZBB', + 'SP008': 'SWYPFXFFXYPZBB-ZQDYJMD', 'SYWZPZJHB': 'SYWZPZJHB', 'MJYLQSQD': 'MJYLQSQD', } diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue new file mode 100644 index 0000000..ce33ce8 --- /dev/null +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue @@ -0,0 +1,312 @@ + + + + + {{ formData.templateMc || + $t('template.common.pageTitle') }} + + + + + + + + + + + + + deleteRow(rowIndex)" + > + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js new file mode 100644 index 0000000..07d7cee --- /dev/null +++ b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js @@ -0,0 +1,101 @@ +// 生物样品分析方法学样品制备表-表格配置 +export const getSWYPFXFFXYPZBBConfig = ($this) => { + return [ + { + label: '编号', + prop: 'targetSolutionCode', + bodyType: 'select', + bodyOptions: [ + { + label: '溶液1', + value: '1' + } + ], + subType: 'span', + subKey: 'subTargetSolutionCode', + bodyFillType: 'preFill', + width: 280 + }, + { + label: '预设溶液', + prop: 'ysry', + bodyType: 'select', + bodyOptions: [ + { + label: '溶液1', + value: '1' + } + ], + bodyFillType: 'preFill', + width: 280 + }, + { + label: '实际溶液', + prop: 'sjry', + bodyType: 'select', + bodyOptions: [ + { + label: '溶液1', + value: '1' + } + ], + bodyFillType: 'actFill', + width: 280 + }, + { + label: '预计溶液吸取量', + prop: 'yjryxql', + width: 280, + headerSelectKey: 'yjryxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_nddw'), + bodyType: 'inputNumber', + bodyFillType: 'preFill', + bodyMaxlength: 10 + }, + { + label: '实际溶液吸取量', + prop: 'sjryxql', + width: 280, + headerSelectKey: 'sjryxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_nddw'), + bodyType: 'inputNumber', + bodyFillType: 'actFill', + bodyMaxlength: 10 + }, + { + label: '预计基质吸取量', + prop: 'yjjzxql', + width: 280, + headerSelectKey: 'yjjzxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_nddw'), + bodyType: 'inputNumber', + bodyFillType: 'preFill', + bodyMaxlength: 10 + }, + { + label: '实际基质吸取量', + prop: 'sjjzxql', + width: 280, + headerSelectKey: 'sjjzxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_nddw'), + bodyType: 'inputNumber', + bodyFillType: 'actFill', + bodyMaxlength: 10 + }, + { + label: '化合物终浓度', + prop: 'hhwznd', + width: 280, + headerSelectKey: 'hhwzndUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_nddw'), + bodyType: 'inputNumber', + bodyFillType: 'preFill', + bodyMaxlength: 10 + } + ] +}