禅道bug修复

This commit is contained in:
BianLzhaoMin 2025-10-16 09:48:49 +08:00
parent f879065349
commit 0b5f7a69a1
7 changed files with 17 additions and 13 deletions

View File

@ -102,42 +102,36 @@ export default {
//
projectList: [
{
count: 1,
name: '总工程',
icon: 'all-project',
component: 'ItemOne',
dataKey: 'mainProNum',
},
{
count: 20,
name: '标段工程',
dataKey: 'proNum',
icon: 'lot-project',
component: 'ItemTwo',
},
{
count: 1,
icon: 'sub-unit',
dataKey: 'subNum',
name: '在用分包单位',
component: 'ItemThree',
},
{
count: 50,
name: '在用班组',
icon: 'use-teams',
dataKey: 'teamNum',
component: 'ItemFour',
},
{
count: 1,
name: '在场人员',
dataKey: 'einNum',
component: 'PersonList',
icon: 'on-site-person',
},
{
count: 80,
name: '今日打卡',
icon: 'clock-in',
dataKey: 'attNum',
@ -147,21 +141,18 @@ export default {
//
dataWarningList: [
{
count: 1,
name: '黄灯人数',
color: '#ff9910',
dataKey: 'yellowNum',
component: 'PersonList',
},
{
count: 20,
name: '黄灯7天',
color: '#FF0000',
dataKey: 'yellowThanSevenDayNum',
component: 'PersonList',
},
{
count: 40,
name: '出场未结算',
color: '#8400ff',
dataKey: 'exitNoFileNum',

View File

@ -101,7 +101,7 @@
<div class="data-item">
<div class="data-label">累计补卡申请次数()</div>
<div class="data-value">
{{ attendanceData.repairNumHis }}
{{ attendanceData.proRepairNum }}
<span
class="view-more"
@ -120,7 +120,7 @@
<div class="data-item">
<div class="data-label">累计补卡天数(人次)</div>
<div class="data-value">{{
attendanceData.proRepairNum
attendanceData.repairNumHis
}}</div>
</div>
</div>

View File

@ -314,6 +314,7 @@ export default {
id: row.id,
month: row.tableMonth,
proId: this.projectId,
status: row.status,
},
})
},

View File

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

View File

@ -62,6 +62,7 @@
:icon="isEdit ? 'el-icon-check' : 'el-icon-edit'"
:type="isEdit ? 'success' : 'primary'"
@click="onHandleEditWagePay"
:disabled="status == 2"
>
{{ isEdit ? '保存' : '修改' }}-其中代扣/代缴实发工资
</el-button>
@ -138,6 +139,10 @@ export default {
type: [Number, String],
default: '',
},
status: {
type: [Number, String],
default: '',
},
},
data() {
return {

View File

@ -2,7 +2,7 @@
<!-- 月份详情 -->
<div class="app-container">
<HeaderInfo :id="id" :month="month" :proId="proId" />
<ThreeOneTable :id="id" :month="month" />
<ThreeOneTable :id="id" :month="month" :status="status" />
</div>
</template>
@ -20,12 +20,14 @@ export default {
id: null,
month: null,
proId: null,
status: null,
}
},
created() {
this.id = this.$route.query?.id
this.month = this.$route.query?.month
this.proId = this.$route.query?.proId
this.status = this.$route.query?.status
},
}
</script>

View File

@ -46,7 +46,7 @@ export default {
columnData: [
{
label: '分公司名称',
prop: 'companyName',
prop: 'subCompanyName',
},
{
label: '工程数量',