数据看板
This commit is contained in:
parent
16d78b158f
commit
56a3c5a248
|
|
@ -19,6 +19,15 @@ export function getAttDayReportDetailsList(query) {
|
|||
})
|
||||
}
|
||||
|
||||
// 查询列表
|
||||
export function getAttDayReportDetailsListData(query) {
|
||||
return request({
|
||||
url: '/system/attDetails/getAttDayReportDetailsListData',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出
|
||||
export function exportDayReport(query) {
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ import {listDept} from "@/api/system/dept";
|
|||
import Treeselect from "@riophae/vue-treeselect";
|
||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||
import {getDetailsList} from "@/api/report/attReport";
|
||||
import {getAttDayReportDetailsList,getAttDayList} from "@/api/report/dayReport";
|
||||
import {getAttDayReportDetailsListData,getAttDayList} from "@/api/report/dayReport";
|
||||
import {getDetailExceptionAll} from "@/api/dashboard";
|
||||
|
||||
export default {
|
||||
|
|
@ -300,8 +300,8 @@ export default {
|
|||
};
|
||||
},
|
||||
//当日考勤统计
|
||||
async getAttDayReportDetailsList(data) {
|
||||
let res = await getAttDayReportDetailsList(data).then(response => {
|
||||
async getAttDayReportDetailsListData(data) {
|
||||
let res = await getAttDayReportDetailsListData(data).then(response => {
|
||||
return response
|
||||
});
|
||||
return res
|
||||
|
|
@ -372,8 +372,9 @@ export default {
|
|||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayList
|
||||
// this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayList, v.param)
|
||||
// this.currentFunc = this.getAttDayReportDetailsListData
|
||||
// this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 2:
|
||||
this.title = "迟到记录"
|
||||
|
|
@ -387,8 +388,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 3:
|
||||
this.title = "旷工记录"
|
||||
|
|
@ -402,8 +403,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 4:
|
||||
this.title = "早退记录"
|
||||
|
|
@ -417,8 +418,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 6:
|
||||
this.title = "请假记录"
|
||||
|
|
@ -432,8 +433,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 8:
|
||||
this.title = "出入异常记录"
|
||||
|
|
@ -447,8 +448,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 9:
|
||||
this.title = "打卡地异常记录"
|
||||
|
|
@ -462,8 +463,8 @@ export default {
|
|||
{t_props: 'offWorkAttStatus', t_label: '下班状态', t_slot: 'attStatus'},
|
||||
{t_props: 'offWorkAttAddress', t_label: '打卡地址'},
|
||||
]
|
||||
this.currentFunc = this.getAttDayReportDetailsList
|
||||
this.getTableList(this.getAttDayReportDetailsList, v.param)
|
||||
this.currentFunc = this.getAttDayReportDetailsListData
|
||||
this.getTableList(this.getAttDayReportDetailsListData, v.param)
|
||||
break;
|
||||
case 10:
|
||||
this.title = "已处理异常数据"
|
||||
|
|
|
|||
Loading…
Reference in New Issue