From 8788984b52705603517c36961742daec331c1395 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Sat, 17 Jan 2026 15:39:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=20=E6=A8=A1=E6=9D=BF=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/comps/template/TemplateTable.vue | 6 +- .../template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue | 312 +++++++++++++++++++++ .../template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue | 312 --------------------- .../template/formConfig/SWYPFXFFXYPZBBConfig.js | 101 ------- .../formConfig/SWYPFXFFXYPZBBTableConfig.js | 84 ++++++ 5 files changed, 399 insertions(+), 416 deletions(-) create mode 100644 src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue delete mode 100644 src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue delete mode 100644 src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js create mode 100644 src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index cc69ed2..541b97a 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -15,7 +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 ZQDYJMD from "./comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue"; import Demo from "./comps/sp/Demo.vue"; //公用 import SYWZPZJHB from "./comps/gy/SYWZPZJHB.vue"; @@ -25,7 +25,7 @@ export default { name: "TemplateTable", components: { MJYLQSQD, SYWZPZJHB, - SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB,SWYPFXFFXYPZBBZQDYJMD + SP001, SWYPFXRYPZB, Demo, SWYPFXCBYPZB, SWYPBQGZYZBB, SWYPNBGZYZBB,ZQDYJMD }, props: { sn: { @@ -54,7 +54,7 @@ export default { 'SP002': 'SWYPFXCBYPZB', 'SP003': 'SWYPBQGZYZBB', 'SP004': 'SWYPNBGZYZBB', - 'SP008': 'SWYPFXFFXYPZBB-ZQDYJMD', + 'SP008': 'ZQDYJMD', 'SYWZPZJHB': 'SYWZPZJHB', 'MJYLQSQD': 'MJYLQSQD', } diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue new file mode 100644 index 0000000..1aeb5e4 --- /dev/null +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue @@ -0,0 +1,312 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue deleted file mode 100644 index 064dcb0..0000000 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue +++ /dev/null @@ -1,312 +0,0 @@ - - - - - \ 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 deleted file mode 100644 index 07d7cee..0000000 --- a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBConfig.js +++ /dev/null @@ -1,101 +0,0 @@ -// 生物样品分析方法学样品制备表-表格配置 -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 - } - ] -} diff --git a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js new file mode 100644 index 0000000..fbba0c5 --- /dev/null +++ b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js @@ -0,0 +1,84 @@ +// 生物样品分析方法学样品制备表-表格配置 +export const getSWYPFXFFXYPZBBTableConfig = ($this) => { + return [ + { + label: '编号', + prop: 'bh', + bodyType: 'select', + bodyOptions: $this.getDictOptions('business_jmdyzqdyp'), + subType: 'span', + subKey: 'bhCode', + bodyFillType: 'preFill', + width: 280 + }, + { + label: '预设溶液', + prop: 'ysry', + bodyType: 'input', + bodyFillType: 'preFill', + width: 280 + }, + { + label: '实际溶液', + prop: 'sjry', + bodyType: 'input', + bodyFillType: 'actFill', + width: 280 + }, + { + label: '预计溶液吸取量', + prop: 'yjryxql', + width: 280, + headerSelectKey: 'yjryxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_tjdw'), + bodyType: 'inputNumber', + bodyFillType: 'preFill', + bodyMaxlength: 10 + }, + { + label: '实际溶液吸取量', + prop: 'sjryxql', + width: 280, + headerSelectKey: 'sjryxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_tjdw'), + bodyType: 'inputNumber', + bodyFillType: 'actFill', + bodyMaxlength: 10 + }, + { + label: '预计基质吸取量', + prop: 'yjjzxql', + width: 280, + headerSelectKey: 'yjjzxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_tjdw'), + bodyType: 'inputNumber', + bodyFillType: 'preFill', + bodyMaxlength: 10 + }, + { + label: '实际基质吸取量', + prop: 'sjjzxql', + width: 280, + headerSelectKey: 'sjjzxqlUnit', + fillType: 'preFill', + headerOptions: $this.getDictOptions('business_tjdw'), + 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 + } + ] +}