|
@@ -84,21 +84,21 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-table ref="matrixTable" v-loading="loading" :data="matrixList" @selection-change="handleSelectionChange" :cell-class-name="tableCellClassName" :height="clientHeight" border>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column :label="$t('培训级别')" align="center" prop="trainingLevel" width="150" :formatter="trainingLevelFormat" />
|
|
|
- <el-table-column :label="$t('课程名称')" align="center" prop="item" width="250" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column :label="$t('课程代码')" align="center" prop="courseCode" width="150" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column :label="$t('频率')" align="center" prop="frequency" width="300" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column :label="$t('责任部门')" align="center" prop="responsDept" :formatter="responsDeptFormat" />
|
|
|
- <el-table-column :label="$t('授课人')" align="center" prop="lecturer" width="100" :formatter="lecturerFormat"/>
|
|
|
- <el-table-column :label="$t('课时')" align="center" prop="hour" width="70" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column v-for="(item, index) in actualpostIdOptions" width="150" :label="item.dictLabel" :key="index" align="center">
|
|
|
+ <el-table-column type="selection" width="55" min-width="55" align="center" />
|
|
|
+ <el-table-column :label="$t('培训级别')" align="center" prop="trainingLevel" width="150" min-width="55":formatter="trainingLevelFormat" />
|
|
|
+ <el-table-column :label="$t('课程名称')" align="center" prop="item" width="250" min-width="55":show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column :label="$t('课程代码')" align="center" prop="courseCode" width="150" min-width="55":show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column :label="$t('频率')" align="center" prop="frequency" width="300" min-width="55":show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column :label="$t('责任部门')" align="center" prop="responsDept" width="120" min-width="120" :formatter="responsDeptFormat" />
|
|
|
+ <el-table-column :label="$t('授课人')" align="center" prop="lecturer" width="100" min-width="100" :formatter="lecturerFormat"/>
|
|
|
+ <el-table-column :label="$t('课时')" align="center" prop="hour" width="70" min-width="70" :show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column v-for="(item, index) in actualpostIdOptions" width="150" min-width="150" :label="item.dictLabel" :key="index" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{scope.row.actualpost[index]}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('备注')" align="center" prop="remarks" width="300" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column :label="$t('操作')" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
|
|
|
+ <el-table-column :label="$t('备注')" align="center" prop="remarks" width="300" min-width="300" :show-overflow-tooltip="true"/>
|
|
|
+ <el-table-column :label="$t('操作')" align="center" fixed="right" width="120" min-width="120" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -355,7 +355,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.clientHeight = document.body.clientHeight -250
|
|
|
})
|
|
|
- this.getList();
|
|
|
+
|
|
|
this.getTreeselect();
|
|
|
this.getDicts("ACTUALPOST").then(response => {
|
|
|
this.actualpostIdOptions = response.data;
|
|
@@ -370,6 +370,7 @@ export default {
|
|
|
_this.otherPositionOptions.push(positionValue)
|
|
|
}
|
|
|
})
|
|
|
+ this.getList();
|
|
|
});
|
|
|
this.getDicts("ACTUALPOST").then(response => {
|
|
|
this.lecturerOptions = response.data;
|