Browse Source

完善统计参数

zhanglei
yunuo970428 1 year ago
parent
commit
de1c0af3da
  1. 22
      anrui-system-ui/src/views/statisticalparameter/statisticalparameter.vue

22
anrui-system-ui/src/views/statisticalparameter/statisticalparameter.vue

@ -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
}
})
}
})
},

Loading…
Cancel
Save