Commit 65b40b58 authored by 姬鋆屾's avatar 姬鋆屾

fixed:修改备注2为空字符串得问题

parent b312ef34
......@@ -85,6 +85,9 @@ export default {
data.remark == "迟到:0 次,\n早退:0 次,\n缺卡:0 次,\n请假:0 次"
? (data.remark = "")
: "";
data.remarkAdd == "[]" ? (data.remarkAdd = null) : "";
console.log(data);
return data;
},
// 提交表单的后置处理, 会阻断默认的回退行为
......
......@@ -312,7 +312,6 @@ export default {
this.reset();
this.query = { id: row.id };
this.urls.currUrl = "staff/perform/summary/edit";
await this.getData();
this.pageInfo.type = "edit";
this.title = "员工绩效统计";
......@@ -343,6 +342,7 @@ export default {
}
});
}
await this.getData();
});
},
/** 新增 */
......
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