This commit is contained in:
parent
68dcfd5116
commit
b31793b901
|
|
@ -327,6 +327,11 @@ const getTeamList = async () => {
|
||||||
}
|
}
|
||||||
// getProjectListApi()
|
// getProjectListApi()
|
||||||
// getAgreementInfoById()
|
// getAgreementInfoById()
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '未获取到班组',
|
||||||
|
})
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ getTeamList ~ error:', error)
|
console.log('🚀 ~ getTeamList ~ error:', error)
|
||||||
|
|
@ -365,7 +370,12 @@ const getAgreementInfoById = async () => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const agreementId = res.data
|
const agreementId = res.data
|
||||||
getEquipmentList(agreementId)
|
if (agreementId.length > 0) {
|
||||||
|
getEquipmentList(agreementId)
|
||||||
|
} else {
|
||||||
|
console.log("未获取到协议号")
|
||||||
|
}
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ getAgreementInfoById ~ error:', error)
|
console.log('🚀 ~ getAgreementInfoById ~ error:', error)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue