|
|
@@ -90,12 +90,19 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="岗位:" prop="postName">
|
|
|
- <el-input
|
|
|
+ <!-- <el-input
|
|
|
clearable
|
|
|
:maxlength="100"
|
|
|
v-model="form.postName"
|
|
|
placeholder="请输入岗位"
|
|
|
- />
|
|
|
+ /> -->
|
|
|
+ <DictSelection
|
|
|
+ dictName="岗位"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ v-model="form.postName"
|
|
|
+ >
|
|
|
+ </DictSelection>
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="工种:" prop="workTypeId">
|
|
|
@@ -1052,7 +1059,12 @@
|
|
|
|
|
|
<template v-slot:footer>
|
|
|
<el-button @click="updateVisible(false)">取消</el-button>
|
|
|
- <el-button type="primary" :loading="loading" @click="save" v-if="!disabled">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ :loading="loading"
|
|
|
+ @click="save"
|
|
|
+ v-if="!disabled"
|
|
|
+ >
|
|
|
保存
|
|
|
</el-button>
|
|
|
</template>
|
|
|
@@ -1858,6 +1870,8 @@ export default {
|
|
|
// if (this.form.deptTree) {
|
|
|
// this.deptTree = JSON.parse(this.form.deptTree)
|
|
|
// }
|
|
|
+ // this.form.workTypeId = this.form.workTypeId + '';
|
|
|
+ // this.form.postName = this.form.postName + '';
|
|
|
|
|
|
this.city = res.addressId ? res.addressId.toString() : null;
|
|
|
this.isUpdate = true;
|