This commit is contained in:
parent
68dcfd5116
commit
b31793b901
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue