Commit 4fd6ec25 authored by 姬鋆屾's avatar 姬鋆屾

推修改请假部门无法显示的问题

parent ae13bbab
......@@ -57,11 +57,6 @@ export default {
res.entity = this.util_toDateStr(res.entity, this.toDate);
this.form = Object.assign({}, this.form, res.entity);
this.dict = Object.assign({}, this.dict, res.dict);
console.log(this.form);
this.form.leaveType
? (this.form.leaveType = Number(this.form.leaveType))
: "";
this.afterRender(res);
})
.catch((error) => {
......
......@@ -166,7 +166,8 @@ export default {
// 是否显示弹出层
open: false,
direction: "rtl",
toString: ["leaveType", "deptId", "approverId", "auditResult"],
toString: ["auditResult"],
// toString: ["leaveType", "deptId", "approverId", "auditResult"],
toDate: ["startTime", "endTime", "createTime"],
// 表单校验
rules: {
......
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