Commit 9d3fc3a3 authored by zhengke's avatar zhengke
parents 6f523db6 27d6011c
...@@ -1040,11 +1040,7 @@ ...@@ -1040,11 +1040,7 @@
//新获取列表数据 //新获取列表数据
getControlList () { getControlList () {
if (this.flagWangYue) {
this.queryCommonData.flightCKed = []
this.queryCommonData.flightCKed.push(0)
this.queryMsg.FlightState = 0
}
var msg = JSON.parse(JSON.stringify(this.queryMsg)) var msg = JSON.parse(JSON.stringify(this.queryMsg))
if (msg.TeamMinNum == '') { if (msg.TeamMinNum == '') {
msg.TeamMinNum = -1 msg.TeamMinNum = -1
...@@ -1652,17 +1648,12 @@ ...@@ -1652,17 +1648,12 @@
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 1
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo
this.flagWangYue = this.$route.query.flag
this.$route.query.tcmun = this.$route.query.tcmun this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun this.queryMsg.TCNUM = this.$route.query.tcmun
} }
if (this.flagWangYue) {
this.queryMsg.CreateBy = this.CurrentUserInfo.EmployeeId
this.queryCommonData.checkTCStateAll = true
this.flightStatus[1].Checked = false
this.checkAllTeam()
}
if (this.CurrentUserInfo.IsParentCompany == undefined) { if (this.CurrentUserInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2 this.queryCommonData.IsParentCompany = 2
} else { } else {
......
...@@ -1039,11 +1039,7 @@ ...@@ -1039,11 +1039,7 @@
//新获取列表数据 //新获取列表数据
getControlList () { getControlList () {
if (this.flagWangYue) {
this.queryCommonData.flightCKed = []
this.queryCommonData.flightCKed.push(0)
this.queryMsg.FlightState = 0
}
var msg = JSON.parse(JSON.stringify(this.queryMsg)) var msg = JSON.parse(JSON.stringify(this.queryMsg))
if (msg.TeamMinNum == '') { if (msg.TeamMinNum == '') {
msg.TeamMinNum = -1 msg.TeamMinNum = -1
...@@ -1642,17 +1638,12 @@ ...@@ -1642,17 +1638,12 @@
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 1
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo
this.flagWangYue = this.$route.query.flag
this.$route.query.tcmun = this.$route.query.tcmun this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun this.queryMsg.TCNUM = this.$route.query.tcmun
} }
if (this.flagWangYue) {
this.queryMsg.CreateBy = this.CurrentUserInfo.EmployeeId
this.queryCommonData.checkTCStateAll = true
this.flightStatus[1].Checked = false
this.checkAllTeam()
}
if (this.CurrentUserInfo.IsParentCompany == undefined) { if (this.CurrentUserInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2 this.queryCommonData.IsParentCompany = 2
} else { } else {
......
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