diff --git a/src/views/main/tmsaip/tmsTenantRelationTF/index.vue b/src/views/main/tmsaip/tmsTenantRelationTF/index.vue index bb68137..7b6e9e0 100644 --- a/src/views/main/tmsaip/tmsTenantRelationTF/index.vue +++ b/src/views/main/tmsaip/tmsTenantRelationTF/index.vue @@ -198,9 +198,14 @@ export default { methods: { ...mapActions(['setCtnallList']), FnClickStatus(data) { - tmsTenantRelationInfo(data.id).then(res => { - console.log(res) - }) + if (data.status == 3) { + tmsTenantRelationInfo(data.id).then(res => { + this.$notification.open({ + message: '驳回原因', + description: `${res.data.reject_reason}` + }) + }) + } }, FnStatus(data) { let Rdata = '-' diff --git a/src/views/main/tmsaip/tmsTenantRelationTT/index.vue b/src/views/main/tmsaip/tmsTenantRelationTT/index.vue index e642fec..21caac0 100644 --- a/src/views/main/tmsaip/tmsTenantRelationTT/index.vue +++ b/src/views/main/tmsaip/tmsTenantRelationTT/index.vue @@ -104,6 +104,7 @@ import { tmsTenantRelationApproved, tmsTenantRelationReject } from '@/api/modular/main/tmsaip/tmsTenantRelationTT' +import { tmsTenantRelationInfo } from '@/api/modular/main/tmsaip/tmsTenantRelationTF' import addForm from './addForm.vue' import editForm from './editForm.vue' export default { @@ -242,9 +243,14 @@ export default { } }, FnClickStatus(data) { - tmsTenantRelationInfo(data.id).then(res => { - console.log(res) - }) + if (data.status == 3) { + tmsTenantRelationInfo(data.id).then(res => { + this.$notification.open({ + message: '驳回原因', + description: `${res.data.reject_reason}` + }) + }) + } }, FnStatus(data) { let Rdata = '-'