查询拟强制注销业务改为分页查询
This commit is contained in:
parent
bc34957968
commit
d6fb99abe6
|
|
@ -618,14 +618,16 @@ export default {
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
xrForceDeregisterSpeListByBizSeqNo({
|
xrForceDeregisterSpeListByBizSeqNo({
|
||||||
|
size: 10,
|
||||||
|
current: 1,
|
||||||
bizSeqNo: this.$route.query.bizSeqNo,
|
bizSeqNo: this.$route.query.bizSeqNo,
|
||||||
forceType: '0'
|
forceType: '0'
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo.records[0].status
|
||||||
this.data = {
|
this.data = {
|
||||||
...this.data,
|
...this.data,
|
||||||
...busInfo[0]
|
...busInfo.records[0]
|
||||||
}
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
|
|
@ -633,7 +635,7 @@ export default {
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
})[busInfo[0].status]
|
})[busInfo.records[0].status]
|
||||||
const ps = []
|
const ps = []
|
||||||
if (permission) {
|
if (permission) {
|
||||||
ps.push(getUsersWithPermission(
|
ps.push(getUsersWithPermission(
|
||||||
|
|
@ -740,7 +742,7 @@ export default {
|
||||||
forceType: '0'
|
forceType: '0'
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
return {
|
return {
|
||||||
tableData: data,
|
tableData: data.records,
|
||||||
total: data.total
|
total: data.total
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -619,23 +619,25 @@ export default {
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
xrForceDeregisterSpeListByBizSeqNo({
|
xrForceDeregisterSpeListByBizSeqNo({
|
||||||
|
size: 10,
|
||||||
|
current: 1,
|
||||||
bizSeqNo: this.$route.query.bizSeqNo,
|
bizSeqNo: this.$route.query.bizSeqNo,
|
||||||
forceType: '1'
|
forceType: '1'
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo.records[0].status
|
||||||
this.data = {
|
this.data = {
|
||||||
...this.data,
|
...this.data,
|
||||||
...busInfo[0]
|
...busInfo.records[0]
|
||||||
}
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
}
|
}
|
||||||
this.userIsRegOrg = busInfo[0].userIsRegOrg
|
this.userIsRegOrg = busInfo.records[0].userIsRegOrg
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
})[busInfo[0].status]
|
})[busInfo.records[0].status]
|
||||||
const ps = []
|
const ps = []
|
||||||
if (permission) {
|
if (permission) {
|
||||||
ps.push(getUsersWithPermission(
|
ps.push(getUsersWithPermission(
|
||||||
|
|
@ -767,8 +769,8 @@ export default {
|
||||||
forceType: '1'
|
forceType: '1'
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
return {
|
return {
|
||||||
tableData: data,
|
tableData: data.records,
|
||||||
total: data.length
|
total: data.total
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue