|
|
|
@ -860,18 +860,20 @@ |
|
|
|
methods: { |
|
|
|
// 查询审批信息 |
|
|
|
getApprovalList () { |
|
|
|
let tempData = { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
menuId: this.$route.meta.menuId, |
|
|
|
documentNo: this.currentRow.applyNo |
|
|
|
} |
|
|
|
getApprovalList(tempData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.approvalList = data.rows |
|
|
|
} else { |
|
|
|
this.approvalList = [] |
|
|
|
if (Object.keys(this.currentRow).length !== 0) { |
|
|
|
let tempData = { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
menuId: this.$route.meta.menuId, |
|
|
|
documentNo: this.currentRow.applyNo |
|
|
|
} |
|
|
|
}) |
|
|
|
getApprovalList(tempData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.approvalList = data.rows |
|
|
|
} else { |
|
|
|
this.approvalList = [] |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 获取基础数据列表S |
|
|
|
|