diff --git a/src/views/forceNotice/force/handle.vue b/src/views/forceNotice/force/handle.vue index 6e7a9aa..55f6f5f 100644 --- a/src/views/forceNotice/force/handle.vue +++ b/src/views/forceNotice/force/handle.vue @@ -618,14 +618,16 @@ export default { }) }), xrForceDeregisterSpeListByBizSeqNo({ + size: 10, + current: 1, bizSeqNo: this.$route.query.bizSeqNo, forceType: '0' }).then((busInfo) => { const busName = this.data.busName - this.data.status = busInfo[0].status + this.data.status = busInfo.records[0].status this.data = { ...this.data, - ...busInfo[0] + ...busInfo.records[0] } if (busName) { this.data.busName = busName @@ -633,7 +635,7 @@ export default { const permission = ({ '0': 'xrExamine', '1': 'xrApprove' - })[busInfo[0].status] + })[busInfo.records[0].status] const ps = [] if (permission) { ps.push(getUsersWithPermission( @@ -740,7 +742,7 @@ export default { forceType: '0' }).then((data) => { return { - tableData: data, + tableData: data.records, total: data.total } }) diff --git a/src/views/forceNotice/inclusion/handle.vue b/src/views/forceNotice/inclusion/handle.vue index b01798f..7aff95e 100644 --- a/src/views/forceNotice/inclusion/handle.vue +++ b/src/views/forceNotice/inclusion/handle.vue @@ -619,23 +619,25 @@ export default { }) }), xrForceDeregisterSpeListByBizSeqNo({ + size: 10, + current: 1, bizSeqNo: this.$route.query.bizSeqNo, forceType: '1' }).then((busInfo) => { const busName = this.data.busName - this.data.status = busInfo[0].status + this.data.status = busInfo.records[0].status this.data = { ...this.data, - ...busInfo[0] + ...busInfo.records[0] } if (busName) { this.data.busName = busName } - this.userIsRegOrg = busInfo[0].userIsRegOrg + this.userIsRegOrg = busInfo.records[0].userIsRegOrg const permission = ({ '0': 'xrExamine', '1': 'xrApprove' - })[busInfo[0].status] + })[busInfo.records[0].status] const ps = [] if (permission) { ps.push(getUsersWithPermission( @@ -767,8 +769,8 @@ export default { forceType: '1' }).then((data) => { return { - tableData: data, - total: data.length + tableData: data.records, + total: data.total } }) },