From 7a495050e035b48987285eb6d24a55321e0c93cc Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 5 Aug 2025 09:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue index e7f551f..504d56f 100644 --- a/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue +++ b/src/pages/materialsStation/toolsLease/toolsLeaseAdd.vue @@ -358,6 +358,10 @@ const getAgreementInfoById = async () => { // 获取工具器 const getEquipmentList = async (params) => { console.log('🚀 ~ getEquipmentList ~ params:', params) + uni.showLoading({ + title: '加载中...', + mask: true, // 遮罩层 + }) try { const res = await getTypeTreeList({ agreementIdList: params, proId: formData.proId, teamName: formData.teamName }) if (res.data.length > 0) { @@ -366,6 +370,8 @@ const getEquipmentList = async (params) => { } } catch (error) { console.log('🚀 ~ getMachineListApi ~ error:', error) + } finally { + uni.hideLoading() } } function formatEquipmentTree(list) {