Commit 753c5c05 authored by 赵啸非's avatar 赵啸非

修改考勤异常记录修改bug

parent 23e05f98
...@@ -165,6 +165,18 @@ export default { ...@@ -165,6 +165,18 @@ export default {
"分钟"; "分钟";
this.dealParams.durtion = this.duration; this.dealParams.durtion = this.duration;
} }
//删除不必要的提交参数
if(this.dealParams.recordErrorEntities.length>0){
let newArrays=this.dealParams.recordErrorEntities.map(i=>{
let obj={}
obj.id=i.id;
obj.staffId=i.staffId;
return obj;
});
this.dealParams.recordErrorEntities=newArrays
}
this.btnLoading = true; this.btnLoading = true;
// 保存结果处理 // 保存结果处理
this.$post(this.urls.saveUrl, this.dealParams) this.$post(this.urls.saveUrl, this.dealParams)
......
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