解决所有bug 优化table内容

This commit is contained in:
2026-01-21 18:43:39 +08:00
parent 9984200814
commit 7f0280ec8a
80 changed files with 5202 additions and 744 deletions

View File

@@ -39,7 +39,6 @@
<el-button
icon="FolderAdd"
type="primary"
class="ml10"
@click="formDialogRef.openDialog()"
v-auth="'stuwork_classmasterresume_add'">
@@ -63,11 +62,34 @@
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
@sort-change="sortChangeHandle">
<el-table-column type="index" label="序号" width="60" align="center" />
<el-table-column prop="teacherNoVal" label="教师" show-overflow-tooltip />
<el-table-column prop="teacherNo" label="工号" show-overflow-tooltip />
<el-table-column prop="telPhone" label="联系方式" show-overflow-tooltip />
<el-table-column type="index" label="序号" width="60" align="center">
<template #header>
<el-icon><List /></el-icon>
</template>
</el-table-column>
<el-table-column prop="teacherNoVal" label="教师" show-overflow-tooltip>
<template #header>
<el-icon><User /></el-icon>
<span style="margin-left: 4px">教师</span>
</template>
</el-table-column>
<el-table-column prop="teacherNo" label="工号" show-overflow-tooltip>
<template #header>
<el-icon><CreditCard /></el-icon>
<span style="margin-left: 4px">工号</span>
</template>
</el-table-column>
<el-table-column prop="telPhone" label="联系方式" show-overflow-tooltip>
<template #header>
<el-icon><Phone /></el-icon>
<span style="margin-left: 4px">联系方式</span>
</template>
</el-table-column>
<el-table-column label="操作" width="150" align="center" fixed="right">
<template #header>
<el-icon><Setting /></el-icon>
<span style="margin-left: 4px">操作</span>
</template>
<template #default="scope">
<el-button
icon="View"
@@ -105,6 +127,7 @@ import request from "/@/utils/request";
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
// 尝试直接导入看看是否能解决问题
import DetailDialog from './detail.vue';
import { List, User, CreditCard, Phone, Setting } from '@element-plus/icons-vue'
// 定义变量内容
const formDialogRef = ref()