From ef4f4531a2736f4c3328da1d3e6ac07fe90cb863 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Sun, 28 Dec 2025 22:43:44 +0800 Subject: [PATCH 1/9] feat:template --- src/components/Template/BaseInfoFormPcakge.vue | 233 +++++++++++++++++++++ .../business/comps/template/TemplateTable.vue | 8 +- .../comps/template/comps/sp/SWYPFXRYPZB.vue | 123 +++++++++++ 3 files changed, 362 insertions(+), 2 deletions(-) create mode 100644 src/components/Template/BaseInfoFormPcakge.vue create mode 100644 src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue diff --git a/src/components/Template/BaseInfoFormPcakge.vue b/src/components/Template/BaseInfoFormPcakge.vue new file mode 100644 index 0000000..9d67fbd --- /dev/null +++ b/src/components/Template/BaseInfoFormPcakge.vue @@ -0,0 +1,233 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index 60b2d07..df193e6 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -1,15 +1,19 @@ + \ No newline at end of file From 476656672bfdd56d04dc48411186d5fdbb343d75 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Mon, 29 Dec 2025 16:54:06 +0800 Subject: [PATCH 2/9] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E5=88=97=E8=A1=A8]?= =?UTF-8?q?[=E7=BB=84=E4=BB=B6=E6=8A=BD=E7=A6=BBing]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/BaseInfoFormPcakge.vue | 103 ++++++++++++++------- src/components/Template/Input.vue | 80 ++++++++++++++++ .../comps/template/comps/sp/SWYPFXRYPZB.vue | 14 +++ vue.config.js | 4 +- 4 files changed, 168 insertions(+), 33 deletions(-) create mode 100644 src/components/Template/Input.vue diff --git a/src/components/Template/BaseInfoFormPcakge.vue b/src/components/Template/BaseInfoFormPcakge.vue index 9d67fbd..1c4977e 100644 --- a/src/components/Template/BaseInfoFormPcakge.vue +++ b/src/components/Template/BaseInfoFormPcakge.vue @@ -3,11 +3,11 @@
+
@@ -47,8 +76,10 @@ - \ No newline at end of file diff --git a/src/components/Template/Input.vue b/src/components/Template/Input.vue new file mode 100644 index 0000000..e4b32b7 --- /dev/null +++ b/src/components/Template/Input.vue @@ -0,0 +1,80 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue index 76d0aab..a6217c0 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue @@ -93,6 +93,20 @@ export default { ] } } + }, + { + type:"cellItem", + label:"配置时间", + config:{ + startDate:{ + label:"开始时间", + type:"dateTime", + }, + endDate:{ + label:"结束时间", + type:"dateTime", + }, + } } ], formData:{} diff --git a/vue.config.js b/vue.config.js index 4fb77ed..d3ce99c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,8 +34,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, - // target: `http://39.99.251.173:8080`, + // target: `http://localhost:8080`, + target: `http://39.99.251.173:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' From 81cde6126f00673dfb086d1eaa16eb54f91cd759 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Mon, 29 Dec 2025 23:02:06 +0800 Subject: [PATCH 3/9] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?[=E7=BB=84=E4=BB=B6=E6=8A=BD=E7=A6=BBing]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/BaseInfoFormPcakge.vue | 108 +++++++++++++-------- src/components/Template/HandleFormItem.vue | 106 ++++++++++++++++++++ src/components/Template/Input.vue | 35 ++++++- src/components/Template/LineLabel.vue | 43 ++++++++ src/components/Template/Table.vue | 33 +++++++ .../comps/template/comps/sp/SWYPFXRYPZB.vue | 78 ++++++++++----- 6 files changed, 336 insertions(+), 67 deletions(-) create mode 100644 src/components/Template/HandleFormItem.vue create mode 100644 src/components/Template/LineLabel.vue create mode 100644 src/components/Template/Table.vue diff --git a/src/components/Template/BaseInfoFormPcakge.vue b/src/components/Template/BaseInfoFormPcakge.vue index 1c4977e..728b79c 100644 --- a/src/components/Template/BaseInfoFormPcakge.vue +++ b/src/components/Template/BaseInfoFormPcakge.vue @@ -3,13 +3,12 @@
\ No newline at end of file From a506b60be7615709f64f81b34e65d02fbef09bb2 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Tue, 30 Dec 2025 16:57:47 +0800 Subject: [PATCH 4/9] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?[=E6=A8=A1=E6=9D=BF=E7=BB=84=E4=BB=B6=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E4=B8=AD]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/BaseInfoFormPcakge.vue | 200 +++++++----- src/components/Template/HandleFormItem.vue | 102 ++++-- src/components/Template/Input.vue | 257 +++++++++++---- src/components/Template/Step.vue | 353 +++++++++++++++++++++ .../Template/StepComponents/AddSolutionStep.vue | 66 ++++ .../Template/StepComponents/AutoWeighStep.vue | 89 ++++++ .../Template/StepComponents/CentrifugeStep.vue | 62 ++++ .../Template/StepComponents/CoatStep.vue | 152 +++++++++ .../Template/StepComponents/ContainerStep.vue | 70 ++++ .../Template/StepComponents/FiltrationStep.vue | 84 +++++ .../Template/StepComponents/ManualWeighStep.vue | 50 +++ src/components/Template/StepComponents/MixStep.vue | 59 ++++ .../Template/StepComponents/PackageStep.vue | 90 ++++++ .../Template/StepComponents/Seal2Step.vue | 113 +++++++ .../Template/StepComponents/Seal3Step.vue | 114 +++++++ .../Template/StepComponents/StaticEndStep.vue | 144 +++++++++ .../Template/StepComponents/StaticStartStep.vue | 142 +++++++++ .../Template/StepComponents/TakePlateStep.vue | 147 +++++++++ .../Template/StepComponents/UltrasoundStep.vue | 50 +++ .../Template/StepComponents/VortexStep.vue | 124 ++++++++ .../comps/template/comps/sp/SWYPFXRYPZB.vue | 34 +- 21 files changed, 2328 insertions(+), 174 deletions(-) create mode 100644 src/components/Template/Step.vue create mode 100644 src/components/Template/StepComponents/AddSolutionStep.vue create mode 100644 src/components/Template/StepComponents/AutoWeighStep.vue create mode 100644 src/components/Template/StepComponents/CentrifugeStep.vue create mode 100644 src/components/Template/StepComponents/CoatStep.vue create mode 100644 src/components/Template/StepComponents/ContainerStep.vue create mode 100644 src/components/Template/StepComponents/FiltrationStep.vue create mode 100644 src/components/Template/StepComponents/ManualWeighStep.vue create mode 100644 src/components/Template/StepComponents/MixStep.vue create mode 100644 src/components/Template/StepComponents/PackageStep.vue create mode 100644 src/components/Template/StepComponents/Seal2Step.vue create mode 100644 src/components/Template/StepComponents/Seal3Step.vue create mode 100644 src/components/Template/StepComponents/StaticEndStep.vue create mode 100644 src/components/Template/StepComponents/StaticStartStep.vue create mode 100644 src/components/Template/StepComponents/TakePlateStep.vue create mode 100644 src/components/Template/StepComponents/UltrasoundStep.vue create mode 100644 src/components/Template/StepComponents/VortexStep.vue diff --git a/src/components/Template/BaseInfoFormPcakge.vue b/src/components/Template/BaseInfoFormPcakge.vue index 728b79c..16b057d 100644 --- a/src/components/Template/BaseInfoFormPcakge.vue +++ b/src/components/Template/BaseInfoFormPcakge.vue @@ -7,7 +7,7 @@ :key="key">
@@ -20,17 +20,17 @@
{{ sItem.label }}
-
-
+
其他
- +
@@ -42,27 +42,21 @@ From fa1812fa32fe444f59859a90c2b91d30940f38de Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Wed, 31 Dec 2025 22:06:42 +0800 Subject: [PATCH 8/9] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?[=E7=94=9F=E7=89=A9=E6=A0=B7=E5=93=81=E5=88=86=E6=9E=90?= =?UTF-8?q?=E6=BA=B6=E6=B6=B2=E9=85=8D=E5=88=B6=E8=A1=A81=20]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/comps/template/TemplateTable.vue | 7 ++++-- .../comps/template/comps/sp/SWYPFXRYPZB.vue | 26 +++++----------------- src/views/business/template/list.vue | 2 +- 3 files changed, 11 insertions(+), 24 deletions(-) diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index c313a20..2ecf1f8 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -2,8 +2,8 @@
- - + +
@@ -52,6 +52,9 @@ export default { mounted() { }, methods: { + async getFormData() { + return await this.$refs.templateComponent.getFormData(); + }, getTemplateComponent() { return this.templateComponentMap[this.sn] }, diff --git a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue index fa4e049..a3387ea 100644 --- a/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue @@ -4,8 +4,6 @@
生物样品分析溶液配制表
- -
@@ -241,20 +239,13 @@ export default { } },3000) - setTimeout(()=>{ - this.storageFormConfig[0].config.storageCondition1.options = [ - {label:"白光",value:"1"}, - {label:"黄光",value:"3"}, - {label:"其他",value:"-1"}, - ] - },4000) }, methods: { - getFormData(){ - const baseData = this.$refs.baseInfo.getFormData(); - const conditionData = this.$refs.storageCondition.getFormData(); - const stepData = this.$refs.stepRef.getFormData(); - const stepFormData = this.$refs.stepFormPackage.getFormData(); + async getFormData(){ + const baseData = await this.$refs.baseInfo.getFormData(); + const conditionData = await this.$refs.storageCondition.getFormData(); + const stepData = await this.$refs.stepRef.getFormData(); + const stepFormData = await this.$refs.stepFormPackage.getFormData(); return { ...baseData, ...conditionData, @@ -262,13 +253,6 @@ export default { ...stepFormData, } }, - async onSave(){ - const baseData = await this.$refs.baseInfo.getFormData(); - const conditionData = await this.$refs.storageCondition.getFormData(); - const stepData = await this.$refs.stepRef.getFormData(); - const stepFormData = await this.$refs.stepFormPackage.getFormData(); - console.log(baseData,conditionData,stepData,stepFormData,"reee") - } } }; diff --git a/src/views/business/template/list.vue b/src/views/business/template/list.vue index ee331a0..6273c28 100644 --- a/src/views/business/template/list.vue +++ b/src/views/business/template/list.vue @@ -79,7 +79,7 @@ - +
From 9824a4873d0b8cc0611915a7595fe1f7a0ac7dfc Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Wed, 31 Dec 2025 22:08:12 +0800 Subject: [PATCH 9/9] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?[=E7=94=9F=E7=89=A9=E6=A0=B7=E5=93=81=E5=88=86=E6=9E=90?= =?UTF-8?q?=E6=BA=B6=E6=B6=B2=E9=85=8D=E5=88=B6=E8=A1=A81=20]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/template/list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/business/template/list.vue b/src/views/business/template/list.vue index 6273c28..950eed4 100644 --- a/src/views/business/template/list.vue +++ b/src/views/business/template/list.vue @@ -79,7 +79,7 @@ - +