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