|
|
@ -155,17 +155,17 @@ export default { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.listQuery.params.useOrgSid = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
listPage(this.listQuery).then(response => { |
|
|
|
this.listLoading = false |
|
|
|
if (response.success) { |
|
|
|
this.list = response.data.records |
|
|
|
this.listQuery.total = response.data.total |
|
|
|
} else { |
|
|
|
this.list = [] |
|
|
|
this.listQuery.total = 0 |
|
|
|
this.listQuery.params.orgPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
listPage(this.listQuery).then((response) => { |
|
|
|
this.listLoading = false |
|
|
|
if (response.success) { |
|
|
|
this.list = response.data.records |
|
|
|
this.listQuery.total = response.data.total |
|
|
|
} else { |
|
|
|
this.list = [] |
|
|
|
this.listQuery.total = 0 |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|