Browse Source

完善车辆销售查询--与切换机构功能相关修改

master
yunuo970428 2 years ago
parent
commit
0d5b54c495
  1. 10
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue

10
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue

@ -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

Loading…
Cancel
Save