|
@@ -24,7 +24,9 @@
|
|
|
:header-row-style="{ color: '#333333', 'font-size': '14px' }" style=" width: 100%; float: right;
|
|
|
border-left: 1px solid #ebeced;
|
|
|
border-right: 1px solid #ebeced;
|
|
|
- color: #333333; font-size: 14px;">
|
|
|
+ color: #333333; font-size: 14px;"
|
|
|
+ v-loading="outwardLoading"
|
|
|
+ element-loading-text="报表查询中...">
|
|
|
<el-table-column label="姓名">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.userName }}</span>
|
|
@@ -69,7 +71,9 @@
|
|
|
:header-row-style="{ color: '#333333', 'font-size': '14px' }" style=" width: 100%; float: right;
|
|
|
border-left: 1px solid #ebeced;
|
|
|
border-right: 1px solid #ebeced;
|
|
|
- color: #333333; font-size: 14px;">
|
|
|
+ color: #333333; font-size: 14px;"
|
|
|
+ v-loading="inwardLoading"
|
|
|
+ element-loading-text="报表查询中...">
|
|
|
<el-table-column label="姓名">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.userName }}</span>
|
|
@@ -112,7 +116,7 @@
|
|
|
<el-button class="filter-item" round type="info" @click="exportPersonalEfficiencyDetailVO()">导出
|
|
|
</el-button>
|
|
|
</template>
|
|
|
- <parentTable ref="table" :data="pageData.records" slot="table" style="width: 100%;" :isBoard=800
|
|
|
+ <parentTable ref="table" :data="pageData.records" v-loading="dialogLoading" element-loading-text="报表查询中..." slot="table" style="width: 100%;" :isBoard=800
|
|
|
class="tableFull">
|
|
|
<el-table-column label="项目编号" align="center">
|
|
|
<template slot-scope="{row}">
|
|
@@ -290,6 +294,9 @@ export default {
|
|
|
outwardEfficiency: [],
|
|
|
perEfficiency: [],
|
|
|
pageData: { records: [] },
|
|
|
+ outwardLoading: false,
|
|
|
+ inwardLoading: false,
|
|
|
+ dialogLoading: false
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -343,6 +350,7 @@ export default {
|
|
|
this.getPersonalOutwardEfficiencyVO();
|
|
|
},
|
|
|
getPersonalOutwardEfficiencyVO() {
|
|
|
+ this.outwardLoading = true;
|
|
|
if (this.selectDate1) {
|
|
|
this.listQueryByOutward.startTime = this.selectDate1[0] + ' 00:00:00';
|
|
|
this.listQueryByOutward.endTime = this.selectDate1[1] + ' 23:59:59';
|
|
@@ -356,6 +364,7 @@ export default {
|
|
|
this.exportStatus = true;
|
|
|
}
|
|
|
}
|
|
|
+ this.outwardLoading = false;
|
|
|
})
|
|
|
},
|
|
|
exportPersonalOutwardEfficiencyVO() {
|
|
@@ -386,6 +395,7 @@ export default {
|
|
|
},
|
|
|
// 评估人员绩效扣分查询
|
|
|
getPersonalInwardEfficiencyVO() {
|
|
|
+ this.inwardLoading = true;
|
|
|
if (this.selectDate2) {
|
|
|
this.listQueryByInward.startTime = this.selectDate2[0] + ' 00:00:00';
|
|
|
this.listQueryByInward.endTime = this.selectDate2[1] + ' 23:59:59';
|
|
@@ -399,6 +409,7 @@ export default {
|
|
|
this.exportStatus = true;
|
|
|
}
|
|
|
}
|
|
|
+ this.inwardLoading = false;
|
|
|
})
|
|
|
},
|
|
|
exportersonalInwardEfficiencyVO() {
|
|
@@ -429,10 +440,12 @@ export default {
|
|
|
},
|
|
|
// 效率详情列表查询
|
|
|
getPersonalEfficiencyDetailVO() {
|
|
|
+ this.dialogLoading = true;
|
|
|
this.$api.statistical.getPersonalEfficiencyDetailVO(this.listQueryDetail).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.pageData = res.data;
|
|
|
}
|
|
|
+ this.dialogLoading = false;
|
|
|
})
|
|
|
},
|
|
|
// 效率详情列表查询导出
|