n20-common-lib 3.0.87 → 3.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/assets/css/table.scss +2 -1
- package/src/assets/css/v3/table.scss +2 -2
- package/src/components/Pivot/index.vue +15 -10
- package/src/components/v3/TablePro/index.vue +3 -3
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
- package/src/components/Pivot/ViewToggle.vue +0 -132
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.vxe-sort--asc-btn,
|
|
141
141
|
.vxe-sort--desc-btn {
|
|
142
142
|
width: 6px;
|
|
143
|
-
height:
|
|
143
|
+
height: 12px !important;
|
|
144
144
|
color: #333;
|
|
145
145
|
border: none;
|
|
146
146
|
font-style: normal;
|
|
@@ -242,6 +242,7 @@ th.vxe-header--column {
|
|
|
242
242
|
text-overflow: ellipsis;
|
|
243
243
|
white-space: nowrap;
|
|
244
244
|
}
|
|
245
|
+
|
|
245
246
|
// badge图章样式
|
|
246
247
|
.table-operate-btns__wrapper {
|
|
247
248
|
.el-badge__content {
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
.n20-table-pro__row-checked {
|
|
217
|
+
.v3-n20-table-pro__row-checked {
|
|
218
218
|
background-color: #e8f7ff !important;
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
content: '--';
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
.n20-table-pro.vxe-table--render-default {
|
|
409
|
+
.v3-n20-table-pro.vxe-table--render-default {
|
|
410
410
|
color: var(--text-1, #1d2129);
|
|
411
411
|
font-family: 'PingFang SC';
|
|
412
412
|
font-size: 14px;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Dialog class="n20-pivot-dialog" width="
|
|
2
|
+
<Dialog class="n20-pivot-dialog" width="95%" max-dialog :visible.sync="visibleC" title="数据透视分析中心">
|
|
3
3
|
<div class="n20-pivot-container">
|
|
4
4
|
<!-- 左侧报表清单 -->
|
|
5
5
|
<div class="pivot-sidebar-left" :class="{ collapsed: isLeftSidebarCollapsed }">
|
|
@@ -70,12 +70,14 @@
|
|
|
70
70
|
<!-- 内容头部工具栏 -->
|
|
71
71
|
<div class="main-toolbar">
|
|
72
72
|
<div class="toolbar-left">
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
<div >
|
|
74
|
+
<h2 class="report-title">{{ currentReport.name }}</h2>
|
|
75
|
+
<div class="add-to-home-btn" @click="handleAddToHome">
|
|
76
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
77
|
+
<path d="M7 1V13M1 7H13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
|
|
78
|
+
</svg>
|
|
79
|
+
<span>添加到首页</span>
|
|
80
|
+
</div>
|
|
79
81
|
</div>
|
|
80
82
|
<div class="report-stats">
|
|
81
83
|
<span class="stat-item">计算耗时:{{ calculateTime }} ms</span>
|
|
@@ -404,7 +406,7 @@
|
|
|
404
406
|
|
|
405
407
|
<script>
|
|
406
408
|
import Dialog from '../Dialog/index.vue'
|
|
407
|
-
import ViewToggle from '
|
|
409
|
+
import ViewToggle from '../ViewToggle/index.vue'
|
|
408
410
|
import XEUtils from 'xe-utils'
|
|
409
411
|
import importG from '../../utils/importGlobal.js'
|
|
410
412
|
|
|
@@ -1373,10 +1375,13 @@ export default {
|
|
|
1373
1375
|
}
|
|
1374
1376
|
|
|
1375
1377
|
.report-title {
|
|
1378
|
+
color: var(--text-1, #1d2129);
|
|
1379
|
+
/* 18/CN-Medium */
|
|
1380
|
+
font-family: 'PingFang SC';
|
|
1376
1381
|
font-size: 18px;
|
|
1382
|
+
font-style: normal;
|
|
1377
1383
|
font-weight: 500;
|
|
1378
|
-
|
|
1379
|
-
margin: 0;
|
|
1384
|
+
line-height: 26px; /* 144.444% */
|
|
1380
1385
|
}
|
|
1381
1386
|
|
|
1382
1387
|
.add-to-home-btn {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
:align="'center'"
|
|
15
15
|
:data="data"
|
|
16
16
|
:height="height"
|
|
17
|
-
:class="[{ 'cell-default-set--': cellDefault }, 'n20-table-pro']"
|
|
17
|
+
:class="[{ 'cell-default-set--': cellDefault }, 'v3-n20-table-pro']"
|
|
18
18
|
:checkbox-config="{
|
|
19
19
|
checkField: 'checked',
|
|
20
20
|
checkMethod: forbidSelect,
|
|
@@ -764,7 +764,7 @@ export default {
|
|
|
764
764
|
// 处理固定操作列的按钮事件
|
|
765
765
|
handleOperateCommand(command, row, rowIndex) {
|
|
766
766
|
this.$emit(command, row, rowIndex)
|
|
767
|
-
this.$emit('hover-btn-click', { btn
|
|
767
|
+
this.$emit('hover-btn-click', { btn, row, rowIndex })
|
|
768
768
|
},
|
|
769
769
|
// 处理 tableOperate 固定/取消固定切换
|
|
770
770
|
handleToggleOperateFixed(fixed) {
|
|
@@ -1221,7 +1221,7 @@ export default {
|
|
|
1221
1221
|
getRowClassName({ row }) {
|
|
1222
1222
|
const checkedRows = this.$refs.vxeTable?.getCheckboxRecords(false) || []
|
|
1223
1223
|
const checkedSet = new Set(checkedRows)
|
|
1224
|
-
return checkedSet.has(row) ? 'n20-table-pro__row-checked' : ''
|
|
1224
|
+
return checkedSet.has(row) ? 'v3-n20-table-pro__row-checked' : ''
|
|
1225
1225
|
},
|
|
1226
1226
|
calcColumnWidth(columns) {
|
|
1227
1227
|
// 常量配置
|