提交 59fa7e0c authored 作者: wangjiahao's avatar wangjiahao

Merge remote-tracking branch 'origin/main' into main

...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<!-- />--> <!-- />-->
<svg-icon icon-class="scene" class="ds-icon-scene" /> <svg-icon icon-class="scene" class="ds-icon-scene" />
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
<span v-if="hasDataPermission('manage',data.privileges)"> <span v-if="hasDataPermission('manage',data.privileges)">
<span v-if="data.type ==='group'" @click.stop> <span v-if="data.type ==='group'" @click.stop>
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
<!--scene--> <!--scene-->
<el-col v-if="sceneMode"> <el-col v-if="sceneMode">
<el-row class="title-css"> <el-row class="title-css scene-title">
<span class="title-text"> <span class="title-text scene-title-name" :title="currGroup.name">
{{ currGroup.name }} {{ currGroup.name }}
</span> </span>
<el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back"> <el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back">
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<span slot-scope="{ node, data }" class="custom-tree-node-list"> <span slot-scope="{ node, data }" class="custom-tree-node-list">
<span style="display: flex;flex: 1;width: 0;"> <span style="display: flex;flex: 1;width: 0;">
<span><svg-icon :icon-class="data.type" /></span> <span><svg-icon :icon-class="data.type" /></span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
<span v-if="hasDataPermission('manage',data.privileges)"> <span v-if="hasDataPermission('manage',data.privileges)">
<span style="margin-left: 12px;" @click.stop> <span style="margin-left: 12px;" @click.stop>
...@@ -680,4 +680,16 @@ export default { ...@@ -680,4 +680,16 @@ export default {
.form-item>>>.el-form-item__label{ .form-item>>>.el-form-item__label{
font-size: 12px; font-size: 12px;
} }
.scene-title{
width: 100%;
display: flex;
}
.scene-title-name{
width: 100%;
overflow: hidden;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
}
</style> </style>
<template> <template>
<el-col> <el-col>
<el-row style="height: 25px;"> <el-row style="height: 25px;">
<span>{{ table.name }}</span> <span class="table-name">{{ table.name }}</span>
</el-row> </el-row>
<el-divider /> <el-divider />
<el-checkbox v-model="checkAll" :disabled="!(fields.length > 0)" :indeterminate="isIndeterminate" @change="handleCheckAllChange">{{ $t('dataset.check_all') }}</el-checkbox> <el-checkbox v-model="checkAll" :disabled="!(fields.length > 0)" :indeterminate="isIndeterminate" @change="handleCheckAllChange">{{ $t('dataset.check_all') }}</el-checkbox>
...@@ -105,4 +105,12 @@ export default { ...@@ -105,4 +105,12 @@ export default {
.el-divider--horizontal { .el-divider--horizontal {
margin: 12px 0 margin: 12px 0
} }
.table-name{
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
overflow: hidden;
}
</style> </style>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!-- />--> <!-- />-->
<svg-icon icon-class="scene" class="ds-icon-scene" /> <svg-icon icon-class="scene" class="ds-icon-scene" />
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
</span> </span>
</el-tree> </el-tree>
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
<!--scene--> <!--scene-->
<el-col v-if="sceneMode" v-loading="dsLoading"> <el-col v-if="sceneMode" v-loading="dsLoading">
<el-row class="title-css"> <el-row class="title-css scene-title">
<span class="title-text"> <span class="title-text scene-title-name" :title="currGroup.name">
{{ currGroup.name }} {{ currGroup.name }}
</span> </span>
<el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back"> <el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back">
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<span v-if="data.mode === 0" style="margin-left: 6px"><i class="el-icon-s-operation" /></span> <span v-if="data.mode === 0" style="margin-left: 6px"><i class="el-icon-s-operation" /></span>
<span v-if="data.mode === 1" style="margin-left: 6px"><i class="el-icon-alarm-clock" /></span> <span v-if="data.mode === 1" style="margin-left: 6px"><i class="el-icon-alarm-clock" /></span>
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
</span> </span>
</el-tree> </el-tree>
...@@ -383,4 +383,16 @@ export default { ...@@ -383,4 +383,16 @@ export default {
.title-text { .title-text {
line-height: 26px; line-height: 26px;
} }
.scene-title{
width: 100%;
display: flex;
}
.scene-title-name{
width: 100%;
overflow: hidden;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
}
</style> </style>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<!-- />--> <!-- />-->
<svg-icon icon-class="scene" class="ds-icon-scene" /> <svg-icon icon-class="scene" class="ds-icon-scene" />
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
<span v-if="hasDataPermission('manage',data.privileges)"> <span v-if="hasDataPermission('manage',data.privileges)">
<span v-if="data.type ==='group'" @click.stop> <span v-if="data.type ==='group'" @click.stop>
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</span> </span>
<span style="margin-left: 12px;" @click.stop > <span style="margin-left: 12px;" @click.stop>
<el-dropdown trigger="click" size="small" @command="clickMore"> <el-dropdown trigger="click" size="small" @command="clickMore">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<el-button <el-button
...@@ -117,8 +117,8 @@ ...@@ -117,8 +117,8 @@
<!--scene--> <!--scene-->
<el-col v-if="sceneMode"> <el-col v-if="sceneMode">
<el-row class="title-css"> <el-row class="title-css scene-title">
<span class="title-text"> <span class="title-text scene-title-name" :title="currGroup.name">
{{ currGroup.name }} {{ currGroup.name }}
</span> </span>
<el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back"> <el-button icon="el-icon-back" size="mini" style="float: right" circle @click="back">
...@@ -191,10 +191,10 @@ ...@@ -191,10 +191,10 @@
<span v-if="data.mode === 0" style="margin-left: 6px"><i class="el-icon-s-operation" /></span> <span v-if="data.mode === 0" style="margin-left: 6px"><i class="el-icon-s-operation" /></span>
<span v-if="data.mode === 1" style="margin-left: 6px"><i class="el-icon-alarm-clock" /></span> <span v-if="data.mode === 1" style="margin-left: 6px"><i class="el-icon-alarm-clock" /></span>
</span> </span>
<span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{ data.name }}</span> <span style="margin-left: 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" :title="data.name">{{ data.name }}</span>
</span> </span>
<span v-if="hasDataPermission('manage',data.privileges)"> <span v-if="hasDataPermission('manage',data.privileges)">
<span style="margin-left: 12px;" @click.stop > <span style="margin-left: 12px;" @click.stop>
<el-dropdown trigger="click" size="small" @command="clickMore"> <el-dropdown trigger="click" size="small" @command="clickMore">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<el-button <el-button
...@@ -621,4 +621,16 @@ export default { ...@@ -621,4 +621,16 @@ export default {
.title-text { .title-text {
line-height: 26px; line-height: 26px;
} }
.scene-title{
width: 100%;
display: flex;
}
.scene-title-name{
width: 100%;
overflow: hidden;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
}
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<complex-table <complex-table
:data="data" :data="data"
:columns="columns" :columns="columns"
local-key="userGrid"
:search-config="searchConfig" :search-config="searchConfig"
:pagination-config="paginationConfig" :pagination-config="paginationConfig"
@select="select" @select="select"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论