This commit is contained in:
parent
c291ea45b0
commit
e04328abcc
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
|
||||
// 状态信息
|
||||
|
|
|
|||
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue