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

View File

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

View File

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

View File

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

View File

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

View File

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