From 7e810cf016d1b637b693eeca4a4d8447083c68e2 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 07 八月 2025 14:59:34 +0800 Subject: [PATCH] 修改 --- src/api/infrastructureMng/ledger.js | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 163 insertions(+), 0 deletions(-) diff --git a/src/api/infrastructureMng/ledger.js b/src/api/infrastructureMng/ledger.js new file mode 100644 index 0000000..45a1b11 --- /dev/null +++ b/src/api/infrastructureMng/ledger.js @@ -0,0 +1,163 @@ +import request from '@/utils/request' + +export function getStandingBookList(query) { + return request({ + url: '/system/standingBook/selectStandingBookList', + method: 'get', + params: query + }) +} + +export function delStandingBook(query) { + return request({ + url: '/system/standingBook/delStandingBook', + method: 'get', + params: query + }) +} + +export function addStandingBook(data) { + return request({ + url: '/system/standingBook/saveStandingBook', + method: 'post', + data: data + }) +} + +export function updateStandingBook(data) { + return request({ + url: '/system/standingBook/updateStandingBook', + method: 'post', + data: data + }) +} + +export function getMaintenanceRecordList(query) { + return request({ + url: '/system/annualMaintenanceRecord/selectAnnualMaintenanceRecordList', + method: 'get', + params: query + }) +} + +export function delMaintenanceRecord(query) { + return request({ + url: '/system/annualMaintenanceRecord/deletedAnnualMaintenanceRecord', + method: 'get', + params: query + }) +} + +export function updateMaintenanceRecord(data) { + return request({ + url: '/system/annualMaintenanceRecord/saveAnnualMaintenanceRecord', + method: 'post', + data: data + }) +} + +export function getMaintenanceRecordDetail(query) { + return request({ + url: '/system/annualMaintenanceRecord/getAnnualMaintenanceRecord', + method: 'get', + params: query + }) +} + +export function getMaintenanceServiceList(query) { + return request({ + url: '/system/annualMaintenanceService/selectAnnualMaintenanceServiceList', + method: 'get', + params: query + }) +} + +export function delMaintenanceService(query) { + return request({ + url: '/system/annualMaintenanceService/deletedAnnualMaintenanceService', + method: 'get', + params: query + }) +} + +export function updateMaintenanceService(data) { + return request({ + url: '/system/annualMaintenanceService/saveAnnualMaintenanceService', + method: 'post', + data: data + }) +} + +export function getMaintenanceServiceDetail(query) { + return request({ + url: '/system/annualMaintenanceService/getAnnualMaintenanceService', + method: 'get', + params: query + }) +} + +export function getMaintenanceEvaluateList(query) { + return request({ + url: '/system/annualMaintenanceEvaluate/selectAnnualMaintenanceEvaluateList', + method: 'get', + params: query + }) +} + +export function delMaintenanceEvaluate(query) { + return request({ + url: '/system/annualMaintenanceEvaluate/deletedAnnualMaintenanceEvaluate', + method: 'get', + params: query + }) +} + +export function updateMaintenanceEvaluate(data) { + return request({ + url: '/system/annualMaintenanceEvaluate/saveAnnualMaintenanceEvaluate', + method: 'post', + data: data + }) +} + +export function getMaintenanceEvaluateDetail(query) { + return request({ + url: '/system/annualMaintenanceEvaluate/getAnnualMaintenanceEvaluate', + method: 'get', + params: query + }) +} + + + +export function getMaintenancePlanList(query) { + return request({ + url: '/system/annualMaintenance/selectAnnualMaintenanceList', + method: 'get', + params: query + }) +} + +export function delMaintenancePlan(query) { + return request({ + url: '/system/annualMaintenance/deletedAnnualMaintenance', + method: 'get', + params: query + }) +} + +export function updateMaintenancePlan(data) { + return request({ + url: '/system/annualMaintenance/saveAnnualMaintenance', + method: 'post', + data: data + }) +} + +export function getMaintenancePlanDetail(query) { + return request({ + url: '/system/annualMaintenance/getAnnualMaintenance', + method: 'get', + params: query + }) +} -- Gitblit v1.9.2