This commit is contained in:
bb_pan 2025-08-05 09:20:41 +08:00
parent 93d1aebcea
commit 7a495050e0
1 changed files with 6 additions and 0 deletions

View File

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