From 56c502bf5ce7afd85995a970c553ec1631f9c1d2 Mon Sep 17 00:00:00 2001 From: lukeyan <1727408482@qq.com> Date: Fri, 19 May 2023 09:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/systemManagement/safeIndex/index.js | 8 + .../safeIndex/components/indexTable.vue | 42 +++++- .../components/indexmassageThree.vue | 140 +++++++++++++----- 3 files changed, 148 insertions(+), 42 deletions(-) diff --git a/src/api/systemManagement/safeIndex/index.js b/src/api/systemManagement/safeIndex/index.js index a8899bb..1568a93 100644 --- a/src/api/systemManagement/safeIndex/index.js +++ b/src/api/systemManagement/safeIndex/index.js @@ -16,6 +16,14 @@ export function saveSafeCalculation(data) { data }) } +// 未有数据时修改综合指数 +export function saveSafeCalculationTwo(data) { + return request({ + url: '/safety/system/tbSafeCalculationRule', + method: 'post', + data + }) +} // 指标表格数据 export function getIndexTable(params) { return request({ diff --git a/src/views/systemManagement/safeIndex/components/indexTable.vue b/src/views/systemManagement/safeIndex/components/indexTable.vue index 4db5db5..8e7b661 100644 --- a/src/views/systemManagement/safeIndex/components/indexTable.vue +++ b/src/views/systemManagement/safeIndex/components/indexTable.vue @@ -231,7 +231,7 @@