|
@@ -93,7 +93,7 @@
|
|
|
<el-table-column label="班值" align="center" prop="staff.team" :formatter="teamFormat" />
|
|
|
<el-table-column label="目标岗位" align="center" prop="actualpost" :formatter="actualpostFormat" />
|
|
|
<el-table-column label="导师" align="center" prop="mentorStaffName" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column label="培训状态" align="center" prop="state" :show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column label="培训状态" align="center" prop="state" :formatter="stSuccessorStatusFormat"/>
|
|
|
<el-table-column label="一季度" align="center" prop="" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="二季度" align="center" prop="" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="三季度" align="center" prop="" :show-overflow-tooltip="true"/>
|
|
@@ -162,7 +162,14 @@
|
|
|
<el-input v-model="form.mentorStaffId" placeholder="请输入导师员工编号" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="培训状态" prop="state">
|
|
|
- <el-input v-model="form.state" placeholder="请输入培训状态" />
|
|
|
+ <el-select v-model="form.state" placeholder="请选择培训状态">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in stSuccessorStatusOptions"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="归属部门" prop="deptId">
|
|
|
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
|
@@ -245,6 +252,7 @@ export default {
|
|
|
// 目标岗位字典
|
|
|
actualpostOptions: [],
|
|
|
teamOptions: [],
|
|
|
+ stSuccessorStatusOptions: [],
|
|
|
// 用户导入参数
|
|
|
upload: {
|
|
|
// 是否显示弹出层(用户导入)
|
|
@@ -294,6 +302,10 @@ export default {
|
|
|
this.getDicts("TEAM_DIVIDE").then(response => {
|
|
|
this.teamOptions = response.data;
|
|
|
});
|
|
|
+ this.getDicts("st_successor_status").then(response => {
|
|
|
+ this.stSuccessorStatusOptions = response.data;
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
/** 查询继任者清单列表 */
|
|
@@ -323,6 +335,9 @@ export default {
|
|
|
teamFormat(row, column) {
|
|
|
return this.selectDictLabel(this.teamOptions, row.staff.team);
|
|
|
},
|
|
|
+ stSuccessorStatusFormat(row, column) {
|
|
|
+ return this.selectDictLabel(this.stSuccessorStatusOptions, row.state);
|
|
|
+ },
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
|
this.open = false;
|