|
@@ -124,21 +124,45 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="公司部门" prop="deptIds">
|
|
|
- <Treeselect v-model="accountForm.deptIds" noChildrenText="无数据" :disable-branch-nodes="true" search-nested :options="deptOptions" :multiple="true" placeholder="选择公司部门" />
|
|
|
+ <Treeselect
|
|
|
+ v-model="accountForm.deptIds"
|
|
|
+ noChildrenText="无数据"
|
|
|
+ :disable-branch-nodes="true"
|
|
|
+ search-nested
|
|
|
+ :options="deptOptions"
|
|
|
+ :multiple="true"
|
|
|
+ placeholder="选择公司部门"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="职称级别" prop="levelJobIds">
|
|
|
- <Treeselect v-model="accountForm.levelJobIds" noChildrenText="无数据" :disable-branch-nodes="true" search-nested :options="levelList" :multiple="true" placeholder="选择职称级别" />
|
|
|
+ <Treeselect
|
|
|
+ v-model="accountForm.levelJobIds"
|
|
|
+ noChildrenText="无数据"
|
|
|
+ :disable-branch-nodes="true"
|
|
|
+ search-nested
|
|
|
+ :options="levelList"
|
|
|
+ :multiple="true"
|
|
|
+ placeholder="选择职称级别"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="性质岗位" prop="naturePostIds">
|
|
|
- <Treeselect v-model="accountForm.naturePostIds" noChildrenText="无数据" :disable-branch-nodes="true" search-nested :options="natureList" :multiple="true" placeholder="选择性质岗位" />
|
|
|
+ <Treeselect
|
|
|
+ v-model="accountForm.naturePostIds"
|
|
|
+ noChildrenText="无数据"
|
|
|
+ :disable-branch-nodes="true"
|
|
|
+ search-nested
|
|
|
+ :options="natureList"
|
|
|
+ :multiple="true"
|
|
|
+ placeholder="选择性质岗位"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -277,7 +301,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row class="description">
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="工作特长" prop="workExpertise">
|
|
|
<el-input placeholder="请输入工作特长" v-model="basicsForm.workExpertise" />
|
|
@@ -415,7 +439,7 @@
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button size="small" @click="cancel">取 消</el-button>
|
|
|
- <el-button size="small" type="primary" @click="submitForm">确 定</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="submitForm">保 存</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -716,7 +740,7 @@
|
|
|
pageSize: 10
|
|
|
},
|
|
|
dataRoleListAll: [], // 所有数据权限列表
|
|
|
- dataRoleList: [], // 员工数据权限
|
|
|
+ dataRoleList: [] // 员工数据权限
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -737,7 +761,7 @@
|
|
|
getTreeselect() {
|
|
|
treeselect().then((response) => {
|
|
|
this.deptOptions = response.data
|
|
|
- this.deptOptions.map((item) => (item.id.toString()))
|
|
|
+ this.deptOptions.map((item) => item.id.toString())
|
|
|
})
|
|
|
},
|
|
|
// 节点单击事件
|
|
@@ -892,7 +916,7 @@
|
|
|
getLevelTreeSelect().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.levelList = res.data
|
|
|
- this.levelList.map((item) => (item.id.toString()))
|
|
|
+ this.levelList.map((item) => item.id.toString())
|
|
|
} else {
|
|
|
this.$msg({ type: 'error', message: res.msg })
|
|
|
}
|
|
@@ -903,7 +927,7 @@
|
|
|
getNatureTreeSelect().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.natureList = res.data
|
|
|
- this.natureList.map((item) => (item.id.toString()))
|
|
|
+ this.natureList.map((item) => item.id.toString())
|
|
|
} else {
|
|
|
this.$msg({ type: 'error', message: res.msg })
|
|
|
}
|