fix(admin): 管理控制台界面使用element plus
This commit is contained in:
1 parent
6c47d0639c
commit
cdc8610ec1
45 files changed
+6258
-4639
No files matched your search
@@ -4,6 +4,7 @@
|
||||
* 用途:管理控制台的应用管理页,提供应用列表、创建/编辑弹窗、测试与授权入口。
|
||||
* 依赖:useAgentsAdmin 业务编排、Element Plus 表格与按钮、AgentFormModal/AgentTestModal/AgentPermissionModal 弹窗。
|
||||
* 逻辑:页面加载后先展示应用列表;目录、用户和排程在后台补齐。权限组启用后隐藏按人授权按钮。
|
||||
* 列表使用 Element stripe 斑马纹。选中行浅底画在单元格上,盖过斑马纹。
|
||||
*/
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue';
|
||||
@@ -201,6 +202,7 @@ onMounted(() => {
|
||||
:data="agents"
|
||||
row-key="id"
|
||||
class="agents-element-table hx-admin-table"
|
||||
stripe
|
||||
:row-class-name="agentRowClass"
|
||||
@row-click="onRowClick"
|
||||
>
|
||||
@@ -300,8 +302,8 @@ onMounted(() => {
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.agents-element-table :deep(.agents-row-selected) {
|
||||
--el-table-tr-bg-color: color-mix(in srgb, #0284c7 8%, transparent);
|
||||
.agents-element-table :deep(.agents-row-selected td.el-table__cell) {
|
||||
background: color-mix(in srgb, #0284c7 8%, var(--el-bg-color, #fff));
|
||||
}
|
||||
|
||||
.agents-element-table :deep(.el-table__row) {
|
||||
|
||||
Reference in new issue
Block a user