This commit is contained in:
parent
44736e5981
commit
70052e6716
|
|
@ -260,7 +260,9 @@ export default {
|
|||
departName:'',//项目部
|
||||
proName:'',//工程名称
|
||||
subUnitName:'',//分包单位
|
||||
teamName:''//班组名称
|
||||
teamName:'',//班组名称
|
||||
startTime: null,
|
||||
endTime: null
|
||||
},
|
||||
|
||||
//在库弹窗
|
||||
|
|
@ -283,7 +285,9 @@ export default {
|
|||
const end = new Date()
|
||||
let start = new Date()
|
||||
start.setMonth(start.getMonth() - 1)
|
||||
this.queryParams.timeRange = [this.format(start), this.format(end)]
|
||||
// this.queryParams.timeRange = [this.format(start), this.format(end)]
|
||||
this.queryParams.startTime = this.format(start)
|
||||
this.queryParams.endTime = this.format(end)
|
||||
this.getImpUnitOptions()
|
||||
this.handleImpUnitChange()
|
||||
this.handleDepartChange()
|
||||
|
|
@ -449,8 +453,8 @@ export default {
|
|||
this.loading = true
|
||||
const params = {
|
||||
keyWord: this.queryParams.keyWord,
|
||||
startTime: this.queryParams.timeRange ? this.queryParams.timeRange[0] : null,
|
||||
endTime: this.queryParams.timeRange ? this.queryParams.timeRange[1] : null,
|
||||
startTime: this.queryParams.startTime,
|
||||
endTime: this.queryParams.endTime,
|
||||
pageSize: this.queryParams.pageSize,
|
||||
pageNum: this.queryParams.pageNum,
|
||||
impUnitName:this.queryParams.impUnitName,
|
||||
|
|
@ -470,8 +474,8 @@ export default {
|
|||
console.log(this.tableList)
|
||||
let param = {
|
||||
keyWord: this.queryParams.keyWord,
|
||||
startTime: this.queryParams.timeRange ? this.queryParams.timeRange[0] : null,
|
||||
endTime: this.queryParams.timeRange ? this.queryParams.timeRange[1] : null,
|
||||
startTime: this.queryParams.startTime,
|
||||
endTime: this.queryParams.endTime,
|
||||
impUnitName:this.queryParams.impUnitName,
|
||||
departName:this.queryParams.departName,
|
||||
proName:this.queryParams.proName,
|
||||
|
|
@ -527,7 +531,9 @@ export default {
|
|||
const end = new Date()
|
||||
let start = new Date()
|
||||
start.setMonth(start.getMonth() - 1)
|
||||
this.queryParams.timeRange = [this.format(start), this.format(end)]
|
||||
// this.queryParams.timeRange = [this.format(start), this.format(end)]
|
||||
this.queryParams.startTime = this.format(start)
|
||||
this.queryParams.endTime = this.format(end)
|
||||
this.resetForm('queryForm')
|
||||
this.getImpUnitOptions()
|
||||
this.handleImpUnitChange()
|
||||
|
|
|
|||
Loading…
Reference in New Issue