This commit is contained in:
BianLzhaoMin 2025-10-24 16:22:28 +08:00
parent c291ea45b0
commit e04328abcc
6 changed files with 22 additions and 5 deletions

View File

@ -118,7 +118,7 @@
@closeDialogOuter="handleCloseDialogOuterFive" @closeDialogOuter="handleCloseDialogOuterFive"
> >
<template slot="outerContent"> <template slot="outerContent">
<PersonDetails :workerId="workerId" /> <PersonDetails :workerId="workerId" :proId="queryProId" />
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -209,6 +209,7 @@ export default {
lightStatus: '', lightStatus: '',
workerId: '', workerId: '',
queryProId: '', // id
} }
}, },
methods: { methods: {
@ -332,6 +333,7 @@ export default {
// //
onHandleCheckUserName(data) { onHandleCheckUserName(data) {
this.workerId = data.workerId this.workerId = data.workerId
this.queryProId = data.proId
this.dialogConfigFive.outerTitle = '人员详情' this.dialogConfigFive.outerTitle = '人员详情'
this.dialogConfigFive.outerVisible = true this.dialogConfigFive.outerVisible = true
}, },

View File

@ -287,7 +287,7 @@
@closeDialogOuter="handleCloseDialogOuterFive" @closeDialogOuter="handleCloseDialogOuterFive"
> >
<template slot="outerContent"> <template slot="outerContent">
<PersonDetails :workerId="workerId" /> <PersonDetails :workerId="workerId" :proId="queryProId" />
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -426,6 +426,7 @@ export default {
proId: '', // id proId: '', // id
subId: '', // id subId: '', // id
workerId: '', // id workerId: '', // id
queryProId: '', // id
} }
}, },
methods: { methods: {
@ -611,6 +612,7 @@ export default {
// //
onHandleCheckUserName(data) { onHandleCheckUserName(data) {
this.workerId = data.workerId this.workerId = data.workerId
this.queryProId = data.proId
this.dialogConfigFive.outerTitle = '人员详情' this.dialogConfigFive.outerTitle = '人员详情'
this.dialogConfigFive.outerVisible = true this.dialogConfigFive.outerVisible = true
}, },

View File

@ -172,7 +172,7 @@
@closeDialogOuter="handleCloseDialogOuterFive" @closeDialogOuter="handleCloseDialogOuterFive"
> >
<template slot="outerContent"> <template slot="outerContent">
<PersonDetails /> <PersonDetails :workerId="workerId" :proId="queryProId" />
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -284,6 +284,8 @@ export default {
], ],
subId: '', // id subId: '', // id
proId: '', // id proId: '', // id
queryProId: '', // id
workerId: '', // id
} }
}, },
methods: { methods: {
@ -375,6 +377,8 @@ export default {
// //
onHandleCheckUserName(data) { onHandleCheckUserName(data) {
this.queryProId = data.proId
this.workerId = data.workerId
console.log('查看人员详情', data) console.log('查看人员详情', data)
this.dialogConfigFive.outerTitle = '人员详情' this.dialogConfigFive.outerTitle = '人员详情'
this.dialogConfigFive.outerVisible = true this.dialogConfigFive.outerVisible = true

View File

@ -250,7 +250,7 @@
@closeDialogOuter="handleCloseDialogOuterFive" @closeDialogOuter="handleCloseDialogOuterFive"
> >
<template slot="outerContent"> <template slot="outerContent">
<PersonDetails :workerId="workerId" /> <PersonDetails :workerId="workerId" :proId="queryProId" />
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -394,6 +394,7 @@ export default {
proId: '', // id proId: '', // id
subId: '', // id subId: '', // id
workerId: '', // id workerId: '', // id
queryProId: '', // id
} }
}, },
methods: { methods: {
@ -555,6 +556,7 @@ export default {
// //
onHandleCheckUserName(data) { onHandleCheckUserName(data) {
this.workerId = data.workerId this.workerId = data.workerId
this.queryProId = data.proId
this.dialogConfigFive.outerTitle = '人员详情' this.dialogConfigFive.outerTitle = '人员详情'
this.dialogConfigFive.outerVisible = true this.dialogConfigFive.outerVisible = true
}, },

View File

@ -316,6 +316,10 @@ export default {
type: [Number, String], type: [Number, String],
default: '', default: '',
}, },
proId: {
type: [Number, String],
default: '',
},
}, },
components: { components: {
DialogModel, DialogModel,
@ -486,6 +490,7 @@ export default {
async getWorkerDetails() { async getWorkerDetails() {
const { data: res } = await getWorkerDetailsAPI({ const { data: res } = await getWorkerDetailsAPI({
id: this.workerId, id: this.workerId,
proId: this.proId,
}) })
// //

View File

@ -71,7 +71,7 @@
@closeDialogOuter="handleCloseDialogOuterFive" @closeDialogOuter="handleCloseDialogOuterFive"
> >
<template slot="outerContent"> <template slot="outerContent">
<PersonDetails :workerId="workerId" /> <PersonDetails :workerId="workerId" :proId="proId" />
</template> </template>
</DialogModel> </DialogModel>
</div> </div>
@ -161,6 +161,7 @@ export default {
], ],
workerId: '', workerId: '',
proId: '',
} }
}, },
methods: { methods: {
@ -185,6 +186,7 @@ export default {
// //
onHandleCheckUserName(data) { onHandleCheckUserName(data) {
this.workerId = data.workerId this.workerId = data.workerId
this.proId = data.proId
this.dialogConfigFive.outerTitle = '人员详情' this.dialogConfigFive.outerTitle = '人员详情'
this.dialogConfigFive.outerVisible = true this.dialogConfigFive.outerVisible = true
}, },