Browse Source

2024-09-27

优化
master
fengyuan_yang 1 year ago
parent
commit
e01c2cdd7c
  1. 24
      src/views/modules/tooling/searchToolApply.vue

24
src/views/modules/tooling/searchToolApply.vue

@ -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

Loading…
Cancel
Save