From bfca3aba02185d19d3ce83c2cc1f579853e97118 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Fri, 16 Jan 2026 20:37:19 +0800 Subject: [PATCH 01/13] =?UTF-8?q?feat:=20[=E5=B7=A5=E4=BD=9C=E5=8F=B0]=20?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/home/home.js | 7 +++++ src/views/index.vue | 62 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 67 insertions(+), 2 deletions(-) diff --git a/src/api/business/home/home.js b/src/api/business/home/home.js index 9f4de41..24edc22 100644 --- a/src/api/business/home/home.js +++ b/src/api/business/home/home.js @@ -7,3 +7,10 @@ export function home_count(query) { params: query }) } +export function home_noticeList(query) { + return request({ + url: '/system/business/home/noticeList', + method: 'get', + params: query + }) +} diff --git a/src/views/index.vue b/src/views/index.vue index 5aa30c0..f3efb07 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -51,13 +51,30 @@ - +
+ 系统通知 +
+
+
+
{{item.title}}
+
{{item.createTime}}
+
+ + +
+
From 826473b1e0d49abee9e01c02beff1c4ffe2f0e59 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 22:11:09 +0800 Subject: [PATCH 04/13] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E5=A1=AB=E6=8A=A5=E8=A1=A8=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E8=BD=A8=E8=BF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/jhbd/Xq.vue | 12 ++++++------ src/views/business/study/comp/sqbd/Xq.vue | 12 ++++++------ src/views/business/study/comp/tbbd/Xq.vue | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/business/study/comp/jhbd/Xq.vue b/src/views/business/study/comp/jhbd/Xq.vue index 8c31f11..ff451a9 100644 --- a/src/views/business/study/comp/jhbd/Xq.vue +++ b/src/views/business/study/comp/jhbd/Xq.vue @@ -43,18 +43,18 @@ :show-overflow-tooltip="true" /> -
+
{{ $t('page.business.study.studyFormPlan.jcgj') }}
- +
@@ -80,7 +80,7 @@ export default { queryParamsQmxx: { formId: null, pageNum: 1, - pageSize: 10 + pageSize: 9999 }, open: false, showIndex: 1, @@ -103,7 +103,7 @@ export default { queryParamsJcgj: { pageNum: 1, formId: null, - pageSize: 10, + pageSize: 9999, } } }, diff --git a/src/views/business/study/comp/sqbd/Xq.vue b/src/views/business/study/comp/sqbd/Xq.vue index b011239..3b94f39 100644 --- a/src/views/business/study/comp/sqbd/Xq.vue +++ b/src/views/business/study/comp/sqbd/Xq.vue @@ -45,18 +45,18 @@ :show-overflow-tooltip="true" /> -
+
{{ $t('page.business.study.studyFormApply.jcgj') }}
- +
@@ -141,7 +141,7 @@ export default { queryParamsQmxx: { formId: null, pageNum: 1, - pageSize: 10 + pageSize: 9999 }, open: false, showIndex: 1, @@ -164,7 +164,7 @@ export default { queryParamsJcgj: { pageNum: 1, formId: null, - pageSize: 10, + pageSize: 9999, } } }, diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue index 584723d..c877a20 100644 --- a/src/views/business/study/comp/tbbd/Xq.vue +++ b/src/views/business/study/comp/tbbd/Xq.vue @@ -45,18 +45,18 @@ :show-overflow-tooltip="true" /> -
+
{{ $t('page.business.study.studyFormFill.jcgj') }}
- +
@@ -141,7 +141,7 @@ export default { queryParamsQmxx: { formId: null, pageNum: 1, - pageSize: 10 + pageSize: 9999 }, open: false, showIndex: 1, @@ -164,7 +164,7 @@ export default { queryParamsJcgj: { pageNum: 1, formId: null, - pageSize: 10, + pageSize: 9999, } } }, From 1aee0d0a2d28de3553f2e531d47b3b5b8f06ecbb Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Fri, 16 Jan 2026 22:41:18 +0800 Subject: [PATCH 05/13] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E5=A1=AB=E6=8A=A5=E8=A1=A8=E5=8D=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/views/business/study/comp/tbbd/Xq.vue | 95 +++++++++++++++++-------------- 2 files changed, 53 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 336d65d..360c116 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "vue": "2.6.12", "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", + "vue-html2pdf": "^1.8.0", "vue-i18n": "7.3.2", "vue-pdf": "^4.3.0", "vue-router": "3.4.9", diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue index c877a20..98a57a4 100644 --- a/src/views/business/study/comp/tbbd/Xq.vue +++ b/src/views/business/study/comp/tbbd/Xq.vue @@ -16,47 +16,57 @@
-
- {{ $t('page.business.study.studyFormFill.dcqbjcgj') }} - - {{ $t('page.business.study.studyFormFill.dclcjcgj') }} - - {{ $t('page.business.study.studyFormFill.dcbjjcgj') }} - - {{ $t('page.business.study.studyFormFill.dcxgjcgj') }} - - {{ $t('page.business.study.studyFormFill.dcbhsjgj') }} - +
+
+ {{ $t('page.business.study.studyFormFill.dcqbjcgj') }} + + {{ $t('page.business.study.studyFormFill.dclcjcgj') }} + + {{ $t('page.business.study.studyFormFill.dcbjjcgj') }} + + {{ $t('page.business.study.studyFormFill.dcxgjcgj') }} + + {{ $t('page.business.study.studyFormFill.dcbhsjgj') }} + +
- -
-
-
{{ $t('page.business.study.studyFormFill.qmxx') }}
-
-
- - - - - - -
- -
-
-
{{ $t('page.business.study.studyFormFill.jcgj') }}
-
- - + + + +
@@ -115,10 +125,10 @@ import { studyFormFill_tb, studyFormFill_info, studyFormFill_jcgj, studyFormFill import { mapGetters } from 'vuex' import JcgjList from "@/views/business/comps/common/JcgjList"; import TemplateTable from '@/views/business/comps/template/TemplateTable'; - +import VueHtml2pdf from 'vue-html2pdf' export default { name: "Xq", - components: { JcgjList, TemplateTable }, + components: { JcgjList, TemplateTable, VueHtml2pdf }, data() { return { openApprove: false, @@ -176,21 +186,20 @@ export default { created() { }, methods: { - dcqbjcgj() { - alert('todo') + this.$refs.html2Pdf.generatePdf() }, dclcjcgj() { - alert('todo') + this.$refs.html2Pdf.generatePdf() }, dcbjjcgj() { - alert('todo') + this.$refs.html2Pdf.generatePdf() }, dcxgjcgj() { - alert('todo') + this.$refs.html2Pdf.generatePdf() }, dcbhsjgj() { - alert('todo') + this.$refs.html2Pdf.generatePdf() }, getJjcgjList(val) { this.$modal.loading() 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 06/13] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=20=E7=94=9F=E7=89=A9=E6=A0=B7=E5=93=81=E5=88=86?= =?UTF-8?q?=E6=9E=90=E6=96=B9=E6=B3=95=E5=AD=A6=E6=A0=B7=E5=93=81=E5=88=B6?= =?UTF-8?q?=E5=A4=87=E8=A1=A8=EF=BC=88=E5=87=86=E7=A1=AE=E5=BA=A6=E4=B8=8E?= =?UTF-8?q?=E7=B2=BE=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 @@ + + + + + \ 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 + } + ] +} From b493adc89792331be853cf01db6df4acf537a495 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Sat, 17 Jan 2026 12:22:09 +0800 Subject: [PATCH 07/13] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=20=E6=A8=A1=E6=9D=BF=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue index ce33ce8..064dcb0 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBBZQDYJMD.vue @@ -3,7 +3,7 @@
{{ formData.templateMc || - $t('template.common.pageTitle') }}
+ '生物样品分析方法学样品制备表-准确度与精密度' }}
Date: Sat, 17 Jan 2026 15:39:44 +0800 Subject: [PATCH 08/13] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=20=E6=A8=A1=E6=9D=BF=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=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 + } + ] +} From bb9a4b37c326c7ca91957c36f861b8b46a040c81 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Sat, 17 Jan 2026 15:52:23 +0800 Subject: [PATCH 09/13] =?UTF-8?q?feat:=20[=E5=AD=97=E5=85=B8=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=20=E6=96=B0=E5=A2=9E=E8=89=B2=E8=B0=B1=E7=BC=96?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/comps/template/mixins/templateMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/business/comps/template/mixins/templateMixin.js b/src/views/business/comps/template/mixins/templateMixin.js index 27573b4..9615cbc 100644 --- a/src/views/business/comps/template/mixins/templateMixin.js +++ b/src/views/business/comps/template/mixins/templateMixin.js @@ -1,6 +1,6 @@ import moment from "moment"; export default { - dicts: ['business_pztj', 'business_cctj', 'business_nddw', 'business_tjdw', 'business_yxqdw', 'business_rqcz'], + dicts: ['business_pztj', 'business_cctj', 'business_nddw', 'business_tjdw', 'business_yxqdw', 'business_rqcz', 'business_jmdyzqdyp'], props: { templateData: { type: Object, From ac58fda07fddac13f42035d92b2fc7df93734191 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Sat, 17 Jan 2026 16:18:51 +0800 Subject: [PATCH 10/13] =?UTF-8?q?feat:=20[=E6=A8=A1=E6=9D=BF=E9=85=8D?= =?UTF-8?q?=E7=BD=AE]=20=E5=A2=9E=E5=8A=A0=E5=AF=B9=E6=AF=94=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue | 2 +- .../business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 1aeb5e4..7a89429 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXFFXYPZBB/ZQDYJMD.vue @@ -23,7 +23,7 @@ @blur="onHandleTableBlur" :ref="`tableRef`" :columns="tableStepColumns" - :formData="formData" + :formData="formData.tableData" :prefixKey = "`table`" fieldItemLabel = "这个是什么" > diff --git a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js index fbba0c5..6bb9bfe 100644 --- a/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js +++ b/src/views/business/comps/template/formConfig/SWYPFXFFXYPZBBTableConfig.js @@ -45,7 +45,8 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { headerOptions: $this.getDictOptions('business_tjdw'), bodyType: 'inputNumber', bodyFillType: 'actFill', - bodyMaxlength: 10 + bodyMaxlength: 10, + compareTo: 'yjryxql' }, { label: '预计基质吸取量', @@ -67,7 +68,8 @@ export const getSWYPFXFFXYPZBBTableConfig = ($this) => { headerOptions: $this.getDictOptions('business_tjdw'), bodyType: 'inputNumber', bodyFillType: 'actFill', - bodyMaxlength: 10 + bodyMaxlength: 10, + compareTo: 'yjjzxql' }, { label: '化合物终浓度', From 6eb7802b932071816aa7465643846d424023f225 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Sat, 17 Jan 2026 17:06:19 +0800 Subject: [PATCH 11/13] =?UTF-8?q?feat=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E8=A1=A8=E5=8D=95=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/mjy/mjy.js | 8 ++ src/api/business/study/studyFormFill.js | 9 ++ src/views/business/resource/mjy/comps/mjy/Xq.vue | 11 ++- src/views/business/study/comp/tbbd/Xq.vue | 102 ++++++++++++----------- 4 files changed, 80 insertions(+), 50 deletions(-) diff --git a/src/api/business/mjy/mjy.js b/src/api/business/mjy/mjy.js index fb11103..26bb2eb 100644 --- a/src/api/business/mjy/mjy.js +++ b/src/api/business/mjy/mjy.js @@ -17,6 +17,14 @@ export function studyList(query) { params: query }) } +//导出 +export function exportDetail(query) { + return request({ + url: '/system/business/mjy/exportDetail', + method: 'get', + params: query + }) +} // 稽查轨迹列表 export function jcgjList(query) { diff --git a/src/api/business/study/studyFormFill.js b/src/api/business/study/studyFormFill.js index 763c5a5..7093f2c 100644 --- a/src/api/business/study/studyFormFill.js +++ b/src/api/business/study/studyFormFill.js @@ -16,6 +16,15 @@ export function studyFormFill_jcgj(query) { params: query }) } +//导出 +export function studyFormFill_exportDetail(query) { + return request({ + url: '/system/business/studyFormFill/exportDetail', + method: 'get', + params: query + }) +} + //签名信息 export function studyFormFill_qmxx(query) { return request({ diff --git a/src/views/business/resource/mjy/comps/mjy/Xq.vue b/src/views/business/resource/mjy/comps/mjy/Xq.vue index 9d0abd7..b281afd 100644 --- a/src/views/business/resource/mjy/comps/mjy/Xq.vue +++ b/src/views/business/resource/mjy/comps/mjy/Xq.vue @@ -163,7 +163,7 @@