Commit c3926e28 authored by liming's avatar liming

feat: 增加工作日日报报表

parent 0df0da92
...@@ -58,7 +58,6 @@ export default { ...@@ -58,7 +58,6 @@ export default {
name: 'StaffDailyReportList', name: 'StaffDailyReportList',
data() { data() {
return { return {
isFirstLoad: true,
query: { query: {
date: moment() date: moment()
}, },
...@@ -66,9 +65,7 @@ export default { ...@@ -66,9 +65,7 @@ export default {
loading: false, loading: false,
columns: columns, columns: columns,
tableHeight: document.documentElement.clientHeight-210, tableHeight: document.documentElement.clientHeight-210,
dataSource: [], dataSource: []
selectedRowKeys: [],
selectedRows: [],
} }
}, },
methods: { methods: {
...@@ -82,7 +79,6 @@ export default { ...@@ -82,7 +79,6 @@ export default {
loadData() { loadData() {
getStaffDailyReport({date:this.query.date.format("YYYY-MM-DD")}).then(resp=>{ getStaffDailyReport({date:this.query.date.format("YYYY-MM-DD")}).then(resp=>{
if (resp && resp.code == SYS_CONST.REQUEST.SUCCEED) { if (resp && resp.code == SYS_CONST.REQUEST.SUCCEED) {
console.log(resp.data)
this.dataSource = resp.data; this.dataSource = resp.data;
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment