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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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