需求优化

This commit is contained in:
BianLzhaoMin 2025-11-17 11:28:09 +08:00
parent 3d962b17d3
commit a71d7af9f3
9 changed files with 50 additions and 3 deletions

View File

@ -200,6 +200,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {
@ -315,6 +319,7 @@ export default {
month: row.tableMonth,
proId: this.projectId,
status: row.status,
proName: this.proName,
},
})
},
@ -326,6 +331,8 @@ export default {
'/bmw/pmProject/exportThreeAndOne',
{
monthId: row.id,
month: row.tableMonth,
proName: this.proName,
},
'三表一册.xlsx',
)

View File

@ -6,7 +6,7 @@
:projectId="projectId"
:subComName="subComName"
/>
<ThreeOneTable :projectId="projectId" />
<ThreeOneTable :projectId="projectId" :proName="proName" />
</div>
</template>

View File

@ -131,6 +131,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {
@ -227,6 +231,8 @@ export default {
'/bmw/pmProject/exportUserAttendance',
{
...this.attDetailsQueryParams,
proName: this.proName,
month: this.month,
},
'分包人员考勤明细表.xlsx',
)

View File

@ -184,6 +184,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
computed: {
@ -290,6 +294,8 @@ export default {
'/bmw/pmProject/exportThreeAndOne',
{
monthId: this.id,
proName: this.proName,
month: this.month,
},
'三表一册.xlsx',
)

View File

@ -125,6 +125,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {
@ -238,6 +242,7 @@ export default {
'/bmw/pmProject/exportProMonthTableRoster',
{
...this.nameListQueryParams,
proName: this.proName,
},
'农民工花名册.xlsx',
)

View File

@ -16,6 +16,7 @@
:id="id"
:month="month"
:status="status"
:proName="proName"
:is="componentsList[activeName]"
/>
</div>
@ -50,6 +51,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {

View File

@ -105,6 +105,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {
@ -206,6 +210,7 @@ export default {
'/bmw/pmProject/exportUserSalaryApproval',
{
...this.wageInfoQueryParams,
proName: this.proName,
},
'农民工实名制工资信息报审表.xlsx',
)

View File

@ -181,6 +181,10 @@ export default {
type: [Number, String],
default: '',
},
proName: {
type: [String],
default: '',
},
},
data() {
return {
@ -307,6 +311,8 @@ export default {
'/bmw/pmProject/exportUserWagePay',
{
...this.wagePayQueryParams,
proName: this.proName,
month: this.month,
},
'农民工工资支付表.xlsx',
)

View File

@ -1,8 +1,13 @@
<template>
<!-- 月份详情 -->
<div class="app-container">
<HeaderInfo :id="id" :month="month" :proId="proId" />
<ThreeOneTable :id="id" :month="month" :status="status" />
<HeaderInfo :id="id" :month="month" :proId="proId" :proName="proName" />
<ThreeOneTable
:id="id"
:month="month"
:status="status"
:proName="proName"
/>
</div>
</template>
@ -21,6 +26,7 @@ export default {
month: null,
proId: null,
status: null,
proName: null,
}
},
created() {
@ -28,6 +34,7 @@ export default {
this.month = this.$route.query?.month
this.proId = this.$route.query?.proId
this.status = this.$route.query?.status
this.proName = this.$route.query?.proName
},
}
</script>