|
@@ -16,7 +16,6 @@
|
|
|
<i class="qb-drill-title-bar"></i>
|
|
<i class="qb-drill-title-bar"></i>
|
|
|
{{ config.title }}
|
|
{{ config.title }}
|
|
|
</span>
|
|
</span>
|
|
|
- <span class="qb-drill-source">{{ config.source }}</span>
|
|
|
|
|
<!-- 继承看板顶部工厂筛选时给出显式提示,避免误读为全厂数据 -->
|
|
<!-- 继承看板顶部工厂筛选时给出显式提示,避免误读为全厂数据 -->
|
|
|
<span v-if="factoryName" class="qb-drill-factory">工厂:{{ factoryName }}</span>
|
|
<span v-if="factoryName" class="qb-drill-factory">工厂:{{ factoryName }}</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -170,7 +169,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
config() {
|
|
config() {
|
|
|
- return DRILL_CONFIG[this.drillKey] || { title: '明细', source: '', filters: [], columns: [], defaultWhere: {} };
|
|
|
|
|
|
|
+ return DRILL_CONFIG[this.drillKey] || { title: '明细', filters: [], columns: [], defaultWhere: {} };
|
|
|
},
|
|
},
|
|
|
dictCtx() {
|
|
dictCtx() {
|
|
|
return { dictName: (name, code) => this.getDictName(name, code) };
|
|
return { dictName: (name, code) => this.getDictName(name, code) };
|
|
@@ -403,7 +402,8 @@ export default {
|
|
|
.qb-drill-head-left {
|
|
.qb-drill-head-left {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex: 1 1 auto;
|
|
flex: 1 1 auto;
|
|
|
- flex-direction: column;
|
|
|
|
|
|
|
+ flex-direction: row;
|
|
|
|
|
+ align-items: center;
|
|
|
min-width: 0;
|
|
min-width: 0;
|
|
|
}
|
|
}
|
|
|
.qb-drill-title {
|
|
.qb-drill-title {
|
|
@@ -423,14 +423,8 @@ export default {
|
|
|
background: linear-gradient(180deg, #7af6ff, rgba(0, 180, 255, 0.1));
|
|
background: linear-gradient(180deg, #7af6ff, rgba(0, 180, 255, 0.1));
|
|
|
box-shadow: 0 0 10px rgba(0, 230, 255, 0.8);
|
|
box-shadow: 0 0 10px rgba(0, 230, 255, 0.8);
|
|
|
}
|
|
}
|
|
|
-.qb-drill-source {
|
|
|
|
|
- margin-top: 4px;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
- color: #7eafc8;
|
|
|
|
|
-}
|
|
|
|
|
-/* 工厂筛选提示:青色胶囊,与口径说明区分 */
|
|
|
|
|
|
|
+/* 工厂筛选提示:青色胶囊,与标题同行 */
|
|
|
.qb-drill-factory {
|
|
.qb-drill-factory {
|
|
|
- margin-top: 4px;
|
|
|
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
|
padding: 1px 10px;
|
|
padding: 1px 10px;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
@@ -616,7 +610,13 @@ export default {
|
|
|
.qb-drill-dialog .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
|
|
.qb-drill-dialog .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
|
|
|
background: rgba(0, 200, 255, 0.05);
|
|
background: rgba(0, 200, 255, 0.05);
|
|
|
}
|
|
}
|
|
|
-.qb-drill-dialog .el-table__body tr:hover > td.el-table__cell {
|
|
|
|
|
|
|
+/* 悬停/选中行统一青色高亮: 覆盖 Element 默认 hover-row、current-row 及旧版 td 选择器, 防止行变白 */
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr:hover > td.el-table__cell,
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr.hover-row > td.el-table__cell,
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr.current-row > td.el-table__cell,
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr:hover > td,
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr.hover-row > td,
|
|
|
|
|
+.qb-drill-dialog .el-table__body tr.current-row > td {
|
|
|
background: rgba(0, 200, 255, 0.14) !important;
|
|
background: rgba(0, 200, 255, 0.14) !important;
|
|
|
}
|
|
}
|
|
|
.qb-drill-dialog .el-table__empty-text {
|
|
.qb-drill-dialog .el-table__empty-text {
|