From 790f31dc1db26261d32bcb6074e3eadfb08313e1 Mon Sep 17 00:00:00 2001 From: "Asoka.Wang" Date: Wed, 18 Jun 2025 17:29:53 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E8=A1=A5=E7=B3=96=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin/enum-contracts.ts | 10 + .../components/culture-protocol-form.vue | 193 +++++++++++----- 页面开发数据模板.md | 207 ------------------ 3 files changed, 149 insertions(+), 261 deletions(-) delete mode 100644 页面开发数据模板.md diff --git a/src/api/admin/enum-contracts.ts b/src/api/admin/enum-contracts.ts index 3203534..ee16265 100644 --- a/src/api/admin/enum-contracts.ts +++ b/src/api/admin/enum-contracts.ts @@ -136,3 +136,13 @@ export const EnumFeedingType = { Percentage: { name: 'Percentage', value: 1, desc: '百分比' }, Volume: { name: 'Volume', value: 2, desc: '体积' }, } + +export const EnumFeedingOperator = { + LessThan: { name: '<', value: 1, desc: '<' }, + GreaterThan: { name: '<=', value: 2, desc: '<=' }, +} + +export const EnumFeedingCalculationMode = { + Add: { name: '残糖', value: 1, desc: '残糖' }, + Subtract: { name: '残糖和乳酸', value: 3, desc: '残糖和乳酸' }, +} diff --git a/src/views/admin/template/components/culture-protocol-form.vue b/src/views/admin/template/components/culture-protocol-form.vue index c0a15b5..1ed6ec4 100644 --- a/src/views/admin/template/components/culture-protocol-form.vue +++ b/src/views/admin/template/components/culture-protocol-form.vue @@ -116,17 +116,24 @@ :label="`${pump.feedingPumpName}${pump.mediumName ? ' / ' + pump.mediumName : ''}`" :name="String(pump.feedingPumpNo)">
- 添加任务 + 添加任务
@@ -135,10 +142,15 @@ header-align="center">