This commit is contained in:
parent
67bf32b962
commit
ee6026a46a
|
|
@ -201,6 +201,23 @@ export default {
|
|||
mainProId: this.selectCompany,
|
||||
},
|
||||
|
||||
initParams: {
|
||||
subComId: '',
|
||||
proStatus: '',
|
||||
volLevel: '',
|
||||
proType: '',
|
||||
lightStatus: '',
|
||||
startAge: '',
|
||||
endAge: '',
|
||||
sex: '',
|
||||
isAtt: '',
|
||||
postId: '',
|
||||
teamId: '',
|
||||
subId: '',
|
||||
proId: '',
|
||||
age: '',
|
||||
},
|
||||
|
||||
commonSlots: [
|
||||
'onSiteCount',
|
||||
'todayAttendanceCount',
|
||||
|
|
@ -322,13 +339,14 @@ export default {
|
|||
|
||||
// 查看人员信息
|
||||
handleCheckPersonCount(data, type) {
|
||||
// 初始化查询条件
|
||||
Object.assign(this.queryParams, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParams.isAtt = '1'
|
||||
} else {
|
||||
this.queryParams.isAtt = ''
|
||||
}
|
||||
|
||||
this.queryParams.lightStatus = ''
|
||||
this.queryParams.teamId = data.teamId
|
||||
this.queryParams.proId = data.proId
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
|
|
|
|||
|
|
@ -422,6 +422,23 @@ export default {
|
|||
mainProId: '',
|
||||
},
|
||||
|
||||
initParams: {
|
||||
subComId: '',
|
||||
proStatus: '',
|
||||
volLevel: '',
|
||||
proType: '',
|
||||
lightStatus: '',
|
||||
startAge: '',
|
||||
endAge: '',
|
||||
sex: '',
|
||||
age: '',
|
||||
isAtt: '',
|
||||
postId: '',
|
||||
teamId: '',
|
||||
subId: '',
|
||||
proId: '',
|
||||
},
|
||||
|
||||
mainProId: '', // 总工程id
|
||||
proId: '', // 标段工程id
|
||||
subId: '', // 分包id
|
||||
|
|
@ -523,11 +540,11 @@ export default {
|
|||
// 获取筛选条件
|
||||
handelSettingQuery(query) {
|
||||
console.log('筛选条件', query)
|
||||
this.queryParams = query
|
||||
this.queryParamsPerson = query
|
||||
|
||||
if (query.lightStatus == 3) {
|
||||
this.$set(this.queryParams, 'lightStatusSeven', 7)
|
||||
this.queryParams.lightStatus = 1
|
||||
this.$set(this.queryParamsPerson, 'lightStatusSeven', 7)
|
||||
this.queryParamsPerson.lightStatus = 1
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -580,13 +597,13 @@ export default {
|
|||
|
||||
// 标段工程列表点击查看人员信息
|
||||
handleCheckPersonCount_1(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
this.queryParamsPerson.isAtt = ''
|
||||
}
|
||||
this.queryParamsPerson.subId = ''
|
||||
this.queryParamsPerson.teamId = ''
|
||||
|
||||
this.queryParamsPerson.proId = data.proId
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
|
|
@ -594,19 +611,21 @@ export default {
|
|||
|
||||
// 分包列表点击查看人员信息
|
||||
handleCheckPersonCount_2(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
this.queryParamsPerson.isAtt = ''
|
||||
}
|
||||
this.queryParamsPerson.subId = data.subId
|
||||
this.queryParamsPerson.teamId = ''
|
||||
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
},
|
||||
|
||||
// 班组列表点击查看人员信息
|
||||
handleCheckPersonCount_3(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -277,6 +277,23 @@ export default {
|
|||
mainProId: this.selectCompany,
|
||||
},
|
||||
|
||||
initParams: {
|
||||
subComId: '',
|
||||
proStatus: '',
|
||||
volLevel: '',
|
||||
proType: '',
|
||||
lightStatus: '',
|
||||
startAge: '',
|
||||
endAge: '',
|
||||
sex: '',
|
||||
isAtt: '',
|
||||
postId: '',
|
||||
teamId: '',
|
||||
subId: '',
|
||||
proId: '',
|
||||
age: '',
|
||||
},
|
||||
|
||||
commonSlots: [
|
||||
'onSiteCount',
|
||||
'todayAttendanceCount',
|
||||
|
|
@ -355,6 +372,7 @@ export default {
|
|||
|
||||
// 查看人员信息
|
||||
handleCheckPersonCount(data, type) {
|
||||
Object.assign(this.queryParams, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParams.isAtt = '1'
|
||||
} else {
|
||||
|
|
@ -362,12 +380,13 @@ export default {
|
|||
}
|
||||
this.queryParams.subId = data.subId
|
||||
this.queryParams.proId = data.proId
|
||||
this.queryParams.teamId = ''
|
||||
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
},
|
||||
// 班组列表点击查看信息
|
||||
handleCheckPersonCount_2(data, type) {
|
||||
Object.assign(this.queryParams, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParams.isAtt = '1'
|
||||
} else {
|
||||
|
|
@ -376,6 +395,7 @@ export default {
|
|||
this.queryParams.subId = this.subId
|
||||
this.queryParams.proId = this.proId
|
||||
this.queryParams.teamId = data.teamId
|
||||
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -355,6 +355,23 @@ export default {
|
|||
getWorkerProjectListAPI,
|
||||
queryParams: {},
|
||||
|
||||
initParams: {
|
||||
subComId: '',
|
||||
proStatus: '',
|
||||
volLevel: '',
|
||||
proType: '',
|
||||
lightStatus: '',
|
||||
startAge: '',
|
||||
endAge: '',
|
||||
sex: '',
|
||||
age: '',
|
||||
isAtt: '',
|
||||
postId: '',
|
||||
teamId: '',
|
||||
subId: '',
|
||||
proId: '',
|
||||
},
|
||||
|
||||
queryParamsProject: {
|
||||
subComId: this.selectCompany,
|
||||
proStatus: this.proStatus,
|
||||
|
|
@ -476,11 +493,11 @@ export default {
|
|||
// 获取筛选条件
|
||||
handelSettingQuery(query) {
|
||||
console.log('筛选条件', query)
|
||||
this.queryParams = query
|
||||
this.queryParamsPerson = query
|
||||
|
||||
if (query.lightStatus == 3) {
|
||||
this.$set(this.queryParams, 'lightStatusSeven', 7)
|
||||
this.queryParams.lightStatus = 1
|
||||
this.queryParamsPerson.lightStatus = 1
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -524,13 +541,13 @@ export default {
|
|||
|
||||
// 标段工程列表点击查看人员信息
|
||||
handleCheckPersonCount_1(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
this.queryParamsPerson.isAtt = ''
|
||||
}
|
||||
this.queryParamsPerson.subId = ''
|
||||
this.queryParamsPerson.teamId = ''
|
||||
|
||||
this.queryParamsPerson.proId = data.proId
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
|
|
@ -538,19 +555,22 @@ export default {
|
|||
|
||||
// 分包列表点击查看人员信息
|
||||
handleCheckPersonCount_2(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
this.queryParamsPerson.isAtt = ''
|
||||
}
|
||||
this.queryParamsPerson.subId = data.subId
|
||||
this.queryParamsPerson.teamId = ''
|
||||
|
||||
this.queryParamsPerson.lightStatus = ''
|
||||
this.dialogConfigFour.outerTitle = '人员信息'
|
||||
this.dialogConfigFour.outerVisible = true
|
||||
},
|
||||
|
||||
// 班组列表点击查看人员信息
|
||||
handleCheckPersonCount_3(data, type) {
|
||||
Object.assign(this.queryParamsPerson, this.initParams)
|
||||
if (type === 2) {
|
||||
this.queryParamsPerson.isAtt = '1'
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue