|
|
@ -196,7 +196,7 @@ import { pagerList } from '@/api/cheliang/cheliangxiaoshou' |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import { typeValues, getPathSidByUserSid, selectOrgList, selectOrgByLevel } from '@/api/cheliang/dictcommons' |
|
|
|
import { typeValues, getOrgSidByPath, selectOrgList, selectOrgByLevel } from '@/api/cheliang/dictcommons' |
|
|
|
import chelaingxiaoshouInfo from './chelaingxiaoshouInfo' |
|
|
|
import vehicleconfiguration from '@/views/cheliang/cheliangtaizhang/relation/vehicleconfiguration' |
|
|
|
|
|
|
@ -269,18 +269,18 @@ export default { |
|
|
|
this.payType_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((resp) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.listQuery.params.createOrgSid = resp.data |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
}) |
|
|
|
selectOrgList({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
selectOrgList({ userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.org_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
selectOrgByLevel({ orgSidPath: window.sessionStorage.getItem('orgSidPath') }).then((resp) => { |
|
|
|
selectOrgByLevel({ orgSidPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.userOrg_list = resp.data |
|
|
|
} |
|
|
@ -314,7 +314,7 @@ export default { |
|
|
|
// 查询列表信息 |
|
|
|
getList() { |
|
|
|
this.listLoading = true |
|
|
|
this.listQuery.params.orgSidPath = window.sessionStorage.getItem('orgSidPath') |
|
|
|
this.listQuery.params.orgSidPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
pagerList(this.listQuery).then((response) => { |
|
|
|
console.log('列表查询结果:', response) |
|
|
|
this.listLoading = false |
|
|
|