This commit is contained in:
parent
d87d9f3453
commit
070db3d099
|
|
@ -220,11 +220,12 @@ export default {
|
|||
try {
|
||||
const res = await getApproveListApi({ id: this.rowId })
|
||||
console.log('🚀 ~ getSignList ~ res:', res)
|
||||
if (res.data.approveSignList && res.data.approveSignList.length > 1) {
|
||||
if (res.data.approveSignList && res.data.approveSignList.length > 0) {
|
||||
this.leaseApplyData = res.data.approveSignList[0]
|
||||
console.log('🚀 ~ getSignList ~ this.leaseApplyData:', this.leaseApplyData)
|
||||
this.approveSignList = res.data.approveSignList.slice(1).filter(item => item != null && item !== '')
|
||||
console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList)
|
||||
}
|
||||
console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList)
|
||||
} catch (error) {
|
||||
console.log('🚀 ~ getSignList ~ error:', error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue