This commit is contained in:
BianLzhaoMin 2025-11-25 15:40:00 +08:00
parent 67bf32b962
commit ee6026a46a
4 changed files with 90 additions and 13 deletions

View File

@ -201,6 +201,23 @@ export default {
mainProId: this.selectCompany, mainProId: this.selectCompany,
}, },
initParams: {
subComId: '',
proStatus: '',
volLevel: '',
proType: '',
lightStatus: '',
startAge: '',
endAge: '',
sex: '',
isAtt: '',
postId: '',
teamId: '',
subId: '',
proId: '',
age: '',
},
commonSlots: [ commonSlots: [
'onSiteCount', 'onSiteCount',
'todayAttendanceCount', 'todayAttendanceCount',
@ -322,13 +339,14 @@ export default {
// //
handleCheckPersonCount(data, type) { handleCheckPersonCount(data, type) {
//
Object.assign(this.queryParams, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParams.isAtt = '1' this.queryParams.isAtt = '1'
} else { } else {
this.queryParams.isAtt = '' this.queryParams.isAtt = ''
} }
this.queryParams.lightStatus = ''
this.queryParams.teamId = data.teamId this.queryParams.teamId = data.teamId
this.queryParams.proId = data.proId this.queryParams.proId = data.proId
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'

View File

@ -422,6 +422,23 @@ export default {
mainProId: '', mainProId: '',
}, },
initParams: {
subComId: '',
proStatus: '',
volLevel: '',
proType: '',
lightStatus: '',
startAge: '',
endAge: '',
sex: '',
age: '',
isAtt: '',
postId: '',
teamId: '',
subId: '',
proId: '',
},
mainProId: '', // id mainProId: '', // id
proId: '', // id proId: '', // id
subId: '', // id subId: '', // id
@ -523,11 +540,11 @@ export default {
// //
handelSettingQuery(query) { handelSettingQuery(query) {
console.log('筛选条件', query) console.log('筛选条件', query)
this.queryParams = query this.queryParamsPerson = query
if (query.lightStatus == 3) { if (query.lightStatus == 3) {
this.$set(this.queryParams, 'lightStatusSeven', 7) this.$set(this.queryParamsPerson, 'lightStatusSeven', 7)
this.queryParams.lightStatus = 1 this.queryParamsPerson.lightStatus = 1
} }
}, },
@ -580,13 +597,13 @@ export default {
// //
handleCheckPersonCount_1(data, type) { handleCheckPersonCount_1(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {
this.queryParamsPerson.isAtt = '' this.queryParamsPerson.isAtt = ''
} }
this.queryParamsPerson.subId = ''
this.queryParamsPerson.teamId = ''
this.queryParamsPerson.proId = data.proId this.queryParamsPerson.proId = data.proId
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
@ -594,19 +611,21 @@ export default {
// //
handleCheckPersonCount_2(data, type) { handleCheckPersonCount_2(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {
this.queryParamsPerson.isAtt = '' this.queryParamsPerson.isAtt = ''
} }
this.queryParamsPerson.subId = data.subId this.queryParamsPerson.subId = data.subId
this.queryParamsPerson.teamId = ''
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
}, },
// //
handleCheckPersonCount_3(data, type) { handleCheckPersonCount_3(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {

View File

@ -277,6 +277,23 @@ export default {
mainProId: this.selectCompany, mainProId: this.selectCompany,
}, },
initParams: {
subComId: '',
proStatus: '',
volLevel: '',
proType: '',
lightStatus: '',
startAge: '',
endAge: '',
sex: '',
isAtt: '',
postId: '',
teamId: '',
subId: '',
proId: '',
age: '',
},
commonSlots: [ commonSlots: [
'onSiteCount', 'onSiteCount',
'todayAttendanceCount', 'todayAttendanceCount',
@ -355,6 +372,7 @@ export default {
// //
handleCheckPersonCount(data, type) { handleCheckPersonCount(data, type) {
Object.assign(this.queryParams, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParams.isAtt = '1' this.queryParams.isAtt = '1'
} else { } else {
@ -362,12 +380,13 @@ export default {
} }
this.queryParams.subId = data.subId this.queryParams.subId = data.subId
this.queryParams.proId = data.proId this.queryParams.proId = data.proId
this.queryParams.teamId = ''
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
}, },
// //
handleCheckPersonCount_2(data, type) { handleCheckPersonCount_2(data, type) {
Object.assign(this.queryParams, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParams.isAtt = '1' this.queryParams.isAtt = '1'
} else { } else {
@ -376,6 +395,7 @@ export default {
this.queryParams.subId = this.subId this.queryParams.subId = this.subId
this.queryParams.proId = this.proId this.queryParams.proId = this.proId
this.queryParams.teamId = data.teamId this.queryParams.teamId = data.teamId
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
}, },

View File

@ -355,6 +355,23 @@ export default {
getWorkerProjectListAPI, getWorkerProjectListAPI,
queryParams: {}, queryParams: {},
initParams: {
subComId: '',
proStatus: '',
volLevel: '',
proType: '',
lightStatus: '',
startAge: '',
endAge: '',
sex: '',
age: '',
isAtt: '',
postId: '',
teamId: '',
subId: '',
proId: '',
},
queryParamsProject: { queryParamsProject: {
subComId: this.selectCompany, subComId: this.selectCompany,
proStatus: this.proStatus, proStatus: this.proStatus,
@ -476,11 +493,11 @@ export default {
// //
handelSettingQuery(query) { handelSettingQuery(query) {
console.log('筛选条件', query) console.log('筛选条件', query)
this.queryParams = query this.queryParamsPerson = query
if (query.lightStatus == 3) { if (query.lightStatus == 3) {
this.$set(this.queryParams, 'lightStatusSeven', 7) this.$set(this.queryParams, 'lightStatusSeven', 7)
this.queryParams.lightStatus = 1 this.queryParamsPerson.lightStatus = 1
} }
}, },
@ -524,13 +541,13 @@ export default {
// //
handleCheckPersonCount_1(data, type) { handleCheckPersonCount_1(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {
this.queryParamsPerson.isAtt = '' this.queryParamsPerson.isAtt = ''
} }
this.queryParamsPerson.subId = ''
this.queryParamsPerson.teamId = ''
this.queryParamsPerson.proId = data.proId this.queryParamsPerson.proId = data.proId
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
@ -538,19 +555,22 @@ export default {
// //
handleCheckPersonCount_2(data, type) { handleCheckPersonCount_2(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {
this.queryParamsPerson.isAtt = '' this.queryParamsPerson.isAtt = ''
} }
this.queryParamsPerson.subId = data.subId this.queryParamsPerson.subId = data.subId
this.queryParamsPerson.teamId = ''
this.queryParamsPerson.lightStatus = ''
this.dialogConfigFour.outerTitle = '人员信息' this.dialogConfigFour.outerTitle = '人员信息'
this.dialogConfigFour.outerVisible = true this.dialogConfigFour.outerVisible = true
}, },
// //
handleCheckPersonCount_3(data, type) { handleCheckPersonCount_3(data, type) {
Object.assign(this.queryParamsPerson, this.initParams)
if (type === 2) { if (type === 2) {
this.queryParamsPerson.isAtt = '1' this.queryParamsPerson.isAtt = '1'
} else { } else {