diff --git a/src/api/system/equipmentNew.js b/src/api/system/equipmentNew.js index b4ed4c40..7e4ff6c3 100644 --- a/src/api/system/equipmentNew.js +++ b/src/api/system/equipmentNew.js @@ -10,6 +10,20 @@ export function listUser(query) { }) } +export function moveUp(id) { + return request({ + url: '/material-mall/deptConfig/moveUp/' + id, + method: 'post' + }) +} + +export function moveDown(id) { + return request({ + url: '/material-mall/deptConfig/moveDown/' + id, + method: 'post' + }) +} + export function getOwnEquipmentList(query) { return request({ url: '/material-mall/deptConfig/getOwnEquipmentList', @@ -73,17 +87,21 @@ export function getConfigurationDetails(data) { }) } - export function exportStatsData() { return request({ url: '/material-mall/deptConfig/exportStatsData', - method: 'get', + method: 'get' }) } - - - +// 获取使用项目的下拉选 +export const getUseProjectListAPI = () => { + return request({ + url: '/material-mall/decChange/getProList', + method: 'POST', + data: {} + }) +} export function insertResource(data) { return request({ @@ -280,5 +298,15 @@ export function confirmPassword(password) { }) } +export function updateConfiguration(data) { + return request({ + url: '/material-mall/deptConfig/updateConfiguration', + method: 'post', + data: data + }) +} + + + diff --git a/src/views/rent-facility/index.vue b/src/views/rent-facility/index.vue index 495799b5..c45b7d4b 100644 --- a/src/views/rent-facility/index.vue +++ b/src/views/rent-facility/index.vue @@ -17,13 +17,19 @@
- + 导出数据 + + 更新数据 + +
- - + +