|
|
@ -115,7 +115,7 @@ import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import shangzhuangtaizhangAdd from './shangzhuangtaizhangAdd' |
|
|
|
import shangzhangtaizhangInfo from './shangzhangtaizhangInfo' |
|
|
|
import { getGysByOrgSid, getPathSidByUserSid, typeValues } from '@/api/cheliang/dictcommons' |
|
|
|
import { getGysByOrgSid, getOrgSidByPath, typeValues } from '@/api/cheliang/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'shangzhuangtaizhangguanli', |
|
|
@ -189,7 +189,7 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.queryParams.params.createOrgSid = res.data |
|
|
|
getGysByOrgSid({ orgSid: res.data }).then((res) => { |
|
|
|