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 @@