Compare commits
2 Commits
a928b0527b
...
88b754120b
| Author | SHA1 | Date | |
|---|---|---|---|
| 88b754120b | |||
| 928f494124 |
@ -239,7 +239,7 @@ const handleLogout = () => {
|
||||
<footer v-if="!isLoginPage" class="app-footer">
|
||||
<span class="version-tag">
|
||||
<el-icon style="vertical-align: middle; margin-right: 4px"><InfoFilled /></el-icon>
|
||||
当前版本:V3.55
|
||||
当前版本:V3.56
|
||||
</span>
|
||||
</footer>
|
||||
|
||||
|
||||
@ -240,7 +240,14 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column v-if="columns.name.visible" prop="name" label="名称" min-width="160" show-overflow-tooltip sortable="custom" />
|
||||
<el-table-column v-if="columns.name.visible" label="名称" min-width="160" show-overflow-tooltip sortable="custom">
|
||||
<template #default="scope">
|
||||
<span v-if="userStore.hasPermission('material_list:operation')" class="clickable-text" @click="handleEdit(scope.row)">
|
||||
{{ scope.row.name }}
|
||||
</span>
|
||||
<span v-else>{{ scope.row.name }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column v-if="columns.commonName.visible" prop="commonName" label="专业名称" min-width="140" show-overflow-tooltip sortable="custom">
|
||||
<template #default="scope">
|
||||
@ -1569,4 +1576,6 @@ onMounted(() => {
|
||||
:deep(.el-table .danger-row), :deep(.el-table .danger-row > td.el-table__cell) { background-color: #fcd3d3 !important; }
|
||||
:deep(.el-table .el-table__cell.is-fixed) { background-color: inherit !important; }
|
||||
:deep(.el-table .el-table__cell.is-fixed .cell) { display: flex; gap: 6px; justify-content: flex-start; flex-wrap: nowrap; }
|
||||
.clickable-text { color: #409EFF; cursor: pointer; font-weight: 500; text-decoration: underline; }
|
||||
.clickable-text:hover { color: #66b1ff; }
|
||||
</style>
|
||||
@ -223,7 +223,14 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column v-if="columns.name.visible" prop="name" label="名称" min-width="160" show-overflow-tooltip sortable="custom" />
|
||||
<el-table-column v-if="columns.name.visible" label="名称" min-width="160" show-overflow-tooltip sortable="custom">
|
||||
<template #default="scope">
|
||||
<span v-if="userStore.hasPermission('material_list:operation')" class="clickable-text" @click="handleEdit(scope.row)">
|
||||
{{ scope.row.name }}
|
||||
</span>
|
||||
<span v-else>{{ scope.row.name }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column v-if="columns.commonName.visible" prop="commonName" label="专业名称" min-width="140" show-overflow-tooltip sortable="custom">
|
||||
<template #default="scope">
|
||||
@ -2046,4 +2053,6 @@ onMounted(() => {
|
||||
justify-content: flex-start; /* 左对齐更自然 */
|
||||
flex-wrap: nowrap; /* 尽量不换行 */
|
||||
}
|
||||
.clickable-text { color: #409EFF; cursor: pointer; font-weight: 500; text-decoration: underline; }
|
||||
.clickable-text:hover { color: #66b1ff; }
|
||||
</style>
|
||||
|
||||
@ -1655,6 +1655,9 @@ onMounted(() => {
|
||||
|
||||
/* 左对齐数字框 */
|
||||
:deep(.el-input-number .el-input__inner) { text-align: left; }
|
||||
|
||||
.clickable-text { color: #409EFF; cursor: pointer; font-weight: 500; text-decoration: underline; }
|
||||
.clickable-text:hover { color: #66b1ff; }
|
||||
</style>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user