From 4f931ac21f47947a3855bf48fceb58c244e14bbc Mon Sep 17 00:00:00 2001 From: jiang Date: Mon, 2 Feb 2026 15:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=A4=87=E9=85=8D=E7=BD=AE=E7=8E=87?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/equipmentNew.js | 38 ++++++- src/views/rent-facility/index.vue | 134 +++++++++++++---------- src/views/system/equipment/index.vue | 153 ++++++++++++++++++++------- src/views/system/equipment/table.vue | 10 +- 4 files changed, 238 insertions(+), 97 deletions(-) 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 @@
- + 导出数据 + + 更新数据 + +
- - + +