This commit is contained in:
hayu 2025-09-23 18:50:34 +08:00
parent 68dcfd5116
commit b31793b901
1 changed files with 11 additions and 1 deletions

View File

@ -327,6 +327,11 @@ const getTeamList = async () => {
}
// getProjectListApi()
// getAgreementInfoById()
} else {
uni.showToast({
icon: 'none',
title: '未获取到班组',
})
}
} catch (error) {
console.log('🚀 ~ getTeamList ~ error:', error)
@ -365,7 +370,12 @@ const getAgreementInfoById = async () => {
return
}
const agreementId = res.data
if (agreementId.length > 0) {
getEquipmentList(agreementId)
} else {
console.log("未获取到协议号")
}
} catch (error) {
console.log('🚀 ~ getAgreementInfoById ~ error:', error)
}