|
|
@ -61,7 +61,7 @@ |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import { listPage, getButtonPermissions } from '@/api/statisticalparameter/statisticalparameter' |
|
|
|
import { listPage, getButtonPermissions, getOrgSidByPath } from '@/api/statisticalparameter/statisticalparameter' |
|
|
|
import statisticalparameterAdd from './statisticalparameterAdd' |
|
|
|
|
|
|
|
export default { |
|
|
@ -99,6 +99,7 @@ export default { |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
useOrgName: '', |
|
|
|
useOrgSid: '', |
|
|
|
orgPath: '' |
|
|
|
} |
|
|
|
} |
|
|
@ -151,6 +152,11 @@ export default { |
|
|
|
// 查询列表信息 |
|
|
|
getList() { |
|
|
|
this.listLoading = true |
|
|
|
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 |
|
|
@ -176,6 +182,7 @@ export default { |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
useOrgName: '', |
|
|
|
useOrgSid: '', |
|
|
|
orgPath: '' |
|
|
|
} |
|
|
|
} |
|
|
|