mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
style: 调整受众弹窗表格列宽和数据映射,优化用户界面
This commit is contained in:
@@ -44,12 +44,11 @@
|
||||
:data="tableData"
|
||||
@selection-change="onSelectionChange"
|
||||
:row-key="row => row.id"
|
||||
max-height="420"
|
||||
>
|
||||
<el-table-column type="selection" width="50" />
|
||||
<el-table-column prop="userName" label="姓名" min-width="220" show-overflow-tooltip />
|
||||
<el-table-column prop="workNum" label="工号" width="120" />
|
||||
<el-table-column prop="departName" label="部门" width="120" />
|
||||
<el-table-column prop="userName" label="姓名" min-width="120" show-overflow-tooltip />
|
||||
<el-table-column prop="workNum" label="工号" width="130" />
|
||||
<el-table-column prop="departName" label="部门" width="140" />
|
||||
<el-table-column prop="orgPath" label="组织路径" min-width="200" show-overflow-tooltip />
|
||||
</el-table>
|
||||
<div class="pagination">
|
||||
@@ -244,7 +243,7 @@ export default {
|
||||
type: 13,
|
||||
deptIds: [],
|
||||
groupIds: [],
|
||||
studentList: this.selectedRows.map((e) => ({ id: e.userId })),
|
||||
studentList: this.selectedRows.map((e) => ({ id: e.userId, realName: e.userName })),
|
||||
}).then(() => {
|
||||
this.$showMessage("添加成功", 'success');
|
||||
this.$emit("confirm", this.selectedRows);
|
||||
|
||||
Reference in New Issue
Block a user