|
@@ -130,7 +130,7 @@
|
|
|
<span>{{ parseTime(scope.row.formCreateTime, '{y}-{m}-{d}') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="现培养人" align="center" prop="currentMentor" width="100" :formatter="userListFormat" />
|
|
|
+ <el-table-column label="现培养人" align="center" prop="currentMentor" width="100" :formatter="currentMentorFormat" />
|
|
|
<el-table-column label="计划发展时间" align="center" prop="planDevelopDuration" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.planDevelopDuration, '{y}-{m}-{d}') }}</span>
|
|
@@ -606,6 +606,10 @@
|
|
|
userListFormat(row, column) {
|
|
|
return this.selectDictLabel(this.userList, row.userId);
|
|
|
},
|
|
|
+ // 现培养人字典翻译
|
|
|
+ currentMentorFormat(row, column) {
|
|
|
+ return this.selectDictLabel(this.userList, row.currentMentor);
|
|
|
+ },
|
|
|
// 取消按钮
|
|
|
cancel() {
|
|
|
this.open = false;
|