@nstc-business/imes 1.0.40 → 1.0.41

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nstc-business/imes",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,11 +1,13 @@
1
1
  <template>
2
2
  <div class="measure-eval-flat">
3
+ <!-- 横条放在表头上方:表格按内容撑高时,底部横条会落到页面可视区外,右侧列无法滚动 -->
3
4
  <vxe-table
4
5
  border
5
6
  class="v3-n20-table-pro"
6
7
  :data="rows"
7
8
  :row-config="{ keyField: '_rowKey' }"
8
9
  :scroll-y="{ enabled: false }"
10
+ :scrollbar-config="{ x: { position: 'top' } }"
9
11
  >
10
12
  <vxe-column v-if="showSerial" title="序号" width="72" align="center">
11
13
  <template #default="{ rowIndex }">{{ rowIndex + 1 }}</template>
@@ -26,6 +26,7 @@
26
26
  </span>
27
27
  </div>
28
28
 
29
+ <!-- 横条放在表头上方:表格按内容撑高时,底部横条会落到页面可视区外,右侧列无法滚动 -->
29
30
  <vxe-table
30
31
  v-show="isExpanded(index)"
31
32
  border
@@ -33,6 +34,7 @@
33
34
  :data="group.children"
34
35
  :row-config="{ keyField: '_rowKey' }"
35
36
  :scroll-y="{ enabled: false }"
37
+ :scrollbar-config="{ x: { position: 'top' } }"
36
38
  >
37
39
  <vxe-column v-if="showSerial" title="序号" width="72" align="center">
38
40
  <template #default="{ rowIndex }">{{ rowIndex + 1 }}</template>
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div class="measure-stat-flat">
3
3
  <div v-if="!rows.length" class="stat-empty">暂无统计数据</div>
4
+ <!-- 横条放在表头上方:表格按内容撑高时,底部横条会落到页面可视区外,右侧列无法滚动 -->
4
5
  <vxe-table
5
6
  v-else
6
7
  border
@@ -9,6 +10,7 @@
9
10
  :merge-cells="mergeCells"
10
11
  :row-config="{ keyField: '_rowKey' }"
11
12
  :scroll-y="{ enabled: false }"
13
+ :scrollbar-config="{ x: { position: 'top' } }"
12
14
  >
13
15
  <vxe-column field="pName" title="指标项" min-width="150" align="center" />
14
16
  <vxe-column field="statsName" title="统计项名称" min-width="150" align="center" />
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <!-- 横条放在表头上方:表格按内容撑高时,底部横条会落到页面可视区外,右侧列无法滚动 -->
2
3
  <vxe-table
3
4
  border
4
5
  ref="xTable"
@@ -7,6 +8,7 @@
7
8
  :data="nodes"
8
9
  :expand-config="{ lazy: false, visibleMethod: canExpand }"
9
10
  :scroll-y="{ enabled: false }"
11
+ :scrollbar-config="{ x: { position: 'top' } }"
10
12
  >
11
13
  <vxe-column v-if="hasContainer" type="expand" width="44">
12
14
  <template #content="{ row }">