Commit 3b48ef29 authored by 罗超's avatar 罗超

修复考核统计BUG

parent 4b26a847
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
data = data.filter(item => item.emName.indexOf(filters.emName)!=-1); data = data.filter(item => item.emName.indexOf(filters.emName)!=-1);
} }
if (filters.periods && filters.periods!=''){ if (filters.periods && filters.periods!=''){
this.msg.Periods = filters.periods[0] this.msg.Periods = filters.periods
this.getList(); this.getList();
} else{ } else{
this.msg.Periods = '' this.msg.Periods = ''
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
} }
}; };
let LllegalModifyRemarkCount = { let LllegalModifyRemarkCount = {
field: "LllegalModifyRemarkCount", field: "lllegalModifyRemarkCount",
title: "结团后修改备注", title: "结团后修改备注",
titleAlign: "left", titleAlign: "left",
columnAlign: "left", columnAlign: "left",
...@@ -319,7 +319,7 @@ export default { ...@@ -319,7 +319,7 @@ export default {
width: 80, width: 80,
orderBy: "", orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) { formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.LllegalModifyRemarkCount <= 0 ? '' : rowData.LllegalModifyRemarkCount}</span>` return `<span>${rowData.lllegalModifyRemarkCount <= 0 ? '' : rowData.lllegalModifyRemarkCount}</span>`
} }
}; };
let discountPrice = { let discountPrice = {
...@@ -449,7 +449,7 @@ export default { ...@@ -449,7 +449,7 @@ export default {
this.msg.pageSize = 10000; //不分页 this.msg.pageSize = 10000; //不分页
this.msg.ParentId = this.$route.query.ParentId; this.msg.ParentId = this.$route.query.ParentId;
let dt=new Date() let dt=new Date()
this.stringPerons=(dt.getMonth()==0?(dt.getFullYear()-1):dt.getFullYear())+''+(dt.getMonth().toString().length<2?'0':'')+(dt.getMonth()==0?12:dt.getMonth()); this.stringPerons=(dt.getMonth()==0?(dt.getFullYear()-1):dt.getFullYear())+''+(dt.getMonth().toString().length<2?'0':'')+(dt.getMonth()==0?12:dt.getMonth()+1);
let cont = dt.getMonth() let cont = dt.getMonth()
for(let i = 1; i <= cont; i ++){ for(let i = 1; i <= cont; i ++){
...@@ -459,7 +459,7 @@ export default { ...@@ -459,7 +459,7 @@ export default {
value: `2019${o}`, value: `2019${o}`,
}) })
} }
this.msg.Periods=dt.getFullYear()+(dt.getMonth()>9?dt.getMonth():"0"+dt.getMonth())
this.getList(); this.getList();
this.getCompanyList(); this.getCompanyList();
}, },
......
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