正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
@@ -99,6 +99,7 @@ | @@ -99,6 +99,7 @@ | ||
99 | <script> | 99 | <script> |
100 | import { selectFlightLists } from '../../api/mt1201' | 100 | import { selectFlightLists } from '../../api/mt1201' |
101 | import {mapActions, mapGetters} from 'vuex' | 101 | import {mapActions, mapGetters} from 'vuex' |
102 | + import {loginedUserInfo} from "../../api/user"; | ||
102 | export default { | 103 | export default { |
103 | data() { | 104 | data() { |
104 | /*初始化值*/ | 105 | /*初始化值*/ |
@@ -129,7 +130,7 @@ | @@ -129,7 +130,7 @@ | ||
129 | }, | 130 | }, |
130 | /*查询列表请求*/ | 131 | /*查询列表请求*/ |
131 | getFlightList:function() { | 132 | getFlightList:function() { |
132 | - let params={currentPage:this.currentPage,pageSize:this.pageSize,flighttime:this.flighttime,carrier:this.carrier,departmentid:this.getUserInfoStore.companyInfo.departmentid}; | 133 | + let params={currentPage:this.currentPage,pageSize:this.pageSize,flighttime:this.flighttime,carrier:this.carrier,departmentid:loginedUserInfo().companyInfo.departmentid}; |
133 | this.listLoading = true; | 134 | this.listLoading = true; |
134 | selectFlightLists(params).then(res=>{ | 135 | selectFlightLists(params).then(res=>{ |
135 | let response=res.data.data; | 136 | let response=res.data.data; |
@@ -247,6 +247,7 @@ | @@ -247,6 +247,7 @@ | ||
247 | <script> | 247 | <script> |
248 | import { QueryData } from '../../api/wayDeclaration' | 248 | import { QueryData } from '../../api/wayDeclaration' |
249 | import {mapActions, mapGetters} from 'vuex' | 249 | import {mapActions, mapGetters} from 'vuex' |
250 | + import {loginedUserInfo} from "../../api/user"; | ||
250 | export default { | 251 | export default { |
251 | data() { | 252 | data() { |
252 | return { | 253 | return { |
@@ -314,7 +315,7 @@ | @@ -314,7 +315,7 @@ | ||
314 | //条件查询方法 | 315 | //条件查询方法 |
315 | QueryData(){ | 316 | QueryData(){ |
316 | let params={currentPage:this.currentPage,pageSize:this.pageSize,awba:this.defaultQuery.awba,carrier:this.defaultQuery.carrier, | 317 | let params={currentPage:this.currentPage,pageSize:this.pageSize,awba:this.defaultQuery.awba,carrier:this.defaultQuery.carrier, |
317 | - flightno:this.defaultQuery.flightno,flightdate:this.defaultQuery.flightdate,status:this.defaultQuery.status,messageType:this.defaultQuery.messageType,departmentid:this.getUserInfoStore.companyInfo.departmentid}; | 318 | + flightno:this.defaultQuery.flightno,flightdate:this.defaultQuery.flightdate,status:this.defaultQuery.status,messageType:this.defaultQuery.messageType,departmentid:loginedUserInfo().companyInfo.departmentid}; |
318 | this.tableloading=true; | 319 | this.tableloading=true; |
319 | QueryData(params).then(res =>{ | 320 | QueryData(params).then(res =>{ |
320 | let response=res.data.data; | 321 | let response=res.data.data; |
-
请 注册 或 登录 后发表评论