Commit a9a1c977 authored by 赵啸非's avatar 赵啸非

修改员工格式化

parent 87db378d
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
size="50%"> size="50%">
<el-form ref="form" :model="form" :rules="rules" label-width="120px"> <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row> <el-row>
<Field label="部门名称" prop="deptName" v-model="form.deptName" type="textarea" placeholder="请输入部门名称" :maxLength="15"/> <Field :span="20" label="部门名称" prop="deptName" v-model="form.deptName" type="textarea" placeholder="请输入部门名称" :maxLength="15"/>
<Field label="上级部门" prop="parentId" v-model="form.parentId" type="select" :enumData="dict.deptName" placeholder="请选择上级部门"/> <Field :span="20" label="上级部门" prop="parentId" v-model="form.parentId" type="select" :enumData="dict.deptName" placeholder="请选择上级部门"/>
<Field label="负责人" prop="workId" v-model="form.workId" type="select" :enumData="dict.workName" placeholder="请选择员工"/> <Field :span="20" label="负责人" prop="workId" v-model="form.workId" type="select" :enumData="dict.workName" placeholder="请选择员工"/>
</el-row> </el-row>
<form-buttons @submit='submitForm' noCancelBtn /> <form-buttons @submit='submitForm' noCancelBtn />
......
...@@ -79,7 +79,7 @@ public class DeptEntity extends DeptVo { ...@@ -79,7 +79,7 @@ public class DeptEntity extends DeptVo {
public void initAttrValue(){ public void initAttrValue(){
this.parentId = -1L; this.parentId = null;
this.ancestors = ""; this.ancestors = "";
...@@ -93,7 +93,7 @@ public class DeptEntity extends DeptVo { ...@@ -93,7 +93,7 @@ public class DeptEntity extends DeptVo {
this.personNum = 0; this.personNum = 0;
this.workId = -1L; this.workId = null;
this.workName = ""; this.workName = "";
......
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