禅道bug修复
This commit is contained in:
parent
f879065349
commit
0b5f7a69a1
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -314,6 +314,7 @@ export default {
|
|||
id: row.id,
|
||||
month: row.tableMonth,
|
||||
proId: this.projectId,
|
||||
status: row.status,
|
||||
},
|
||||
})
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ export default {
|
|||
columnData: [
|
||||
{
|
||||
label: '分公司名称',
|
||||
prop: 'companyName',
|
||||
prop: 'subCompanyName',
|
||||
},
|
||||
{
|
||||
label: '工程数量',
|
||||
|
|
|
|||
Loading…
Reference in New Issue