Commit 6298a6c9 by huangshunlin

currentOrg取值路径调整

parent 5a374397
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
...this.model.infcon, ...this.model.infcon,
opndatfrom : this.model.infcon.opndatfrom ? moment(this.model.infcon.opndatfrom).format("YYYY-MM-DD") : '', opndatfrom : this.model.infcon.opndatfrom ? moment(this.model.infcon.opndatfrom).format("YYYY-MM-DD") : '',
opndatto : this.model.infcon.opndatto ? moment(this.model.infcon.opndatto).format("YYYY-MM-DD") : '', opndatto : this.model.infcon.opndatto ? moment(this.model.infcon.opndatto).format("YYYY-MM-DD") : '',
branch : JSON.parse(sessionStorage.getItem('currentOrg')).departmentNumber, branch : JSON.parse(sessionStorage.getItem('logininfo')).currentOrg.departmentNumber,
pageNumber: this.pagination.pageIndex, pageNumber: this.pagination.pageIndex,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
paytyp: 'O', paytyp: 'O',
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
}, },
//获取机构列表 //获取机构列表
async getBranchList() { async getBranchList() {
let branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentNumber let branch = JSON.parse(sessionStorage.getItem('logininfo')).currentOrg.departmentNumber
let rtnmsg = await Api.post("/public/rptsel/getBranchList", branch) let rtnmsg = await Api.post("/public/rptsel/getBranchList", branch)
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
this.bchtypList = rtnmsg.data.filter(item => (item.lev != 'A' && item.lev != 'B' ) ) this.bchtypList = rtnmsg.data.filter(item => (item.lev != 'A' && item.lev != 'B' ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment