From 6ce08fb7e3ac056ef2cda917232b4b72ffcdb157 Mon Sep 17 00:00:00 2001 From: liutao <790864623@qq.com> Date: Thu, 26 Mar 2026 15:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E6=96=B9=E5=BA=93=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/recipepointrecord/index.ts | 4 + .../components/FormulaLibraryDetailTabs.vue | 193 +++++++++++------- 2 files changed, 127 insertions(+), 70 deletions(-) diff --git a/src/api/iot/recipepointrecord/index.ts b/src/api/iot/recipepointrecord/index.ts index 8f4e2ee0..423518f9 100644 --- a/src/api/iot/recipepointrecord/index.ts +++ b/src/api/iot/recipepointrecord/index.ts @@ -12,6 +12,10 @@ export interface RecipePointRecordVO { export const RecipePointRecordApi = { // 新增记录 + createRecipePointRecord: async (data: RecipePointRecordVO) => { + return await request.post({ url: `/iot/recipe-point-record/create`, data }) + }, + // 批量新增记录 createRecipePointRecordBatch: async (data: RecipePointRecordVO[]) => { return await request.post({ url: `/iot/recipe-point-record/batch-create`, data }) }, diff --git a/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue b/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue index 3e48583d..976d7b37 100644 --- a/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue +++ b/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue @@ -46,58 +46,62 @@ /> - - - 查询 - - - 重置 + + + + {{ t('RecipeManagement.RecipeLibrary.createButtonText') }} - --> + + sortable /> + sortable /> - + - + - + - - + + + + + - + @@ -183,10 +197,12 @@