From 84916bbded91c17320a95ecdc160ba5c7b36d987 Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 13 Mar 2026 11:18:57 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E9=85=8D=E6=96=B9=E5=BA=93-?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E5=BD=95=E5=85=A5=E5=8F=82=E6=95=B0=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E8=A1=A5=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/recipepointrecord/index.ts | 17 +++- .../components/FormulaLibraryDetailTabs.vue | 87 +++++++++++++++++++ 2 files changed, 102 insertions(+), 2 deletions(-) diff --git a/src/api/iot/recipepointrecord/index.ts b/src/api/iot/recipepointrecord/index.ts index 830967d3..8f4e2ee0 100644 --- a/src/api/iot/recipepointrecord/index.ts +++ b/src/api/iot/recipepointrecord/index.ts @@ -17,5 +17,18 @@ export const RecipePointRecordApi = { }, getRecipePointRecordPage: async (params: any) => { return await request.get({ url: `/iot/recipe-point-record/page`, params }) - } -} \ No newline at end of file + }, + updateRecipePointRecord: async (params: { + id: string | number + recipeId?: string | number + name?: string + max?: string | number + min?: string | number + dataType?: string | number + dataUnit?: string | number + remark?: string + refer?: string + }) => { + return await request.put({ url: `/iot/recipe-point-record/update`, data:params }) + } +} diff --git a/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue b/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue index fbb014b3..c6687b13 100644 --- a/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue +++ b/src/views/formula/formulaLibrary/components/FormulaLibraryDetailTabs.vue @@ -129,6 +129,11 @@ prop="remark" min-width="180" /> + + + + + + + + + + + + + + + + + + + + + + + +