@tmesoft/data-screen-set 1.1.1 → 1.1.2

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/README.md CHANGED
@@ -1,9 +1,14 @@
1
1
  # data-screen-set
2
+ 支持数据卡:用电排名、用电趋势、实验交流、实验成绩、仪器状态、安全、仪器使用、实验人次、
3
+ 实验报告、实验室运行、师资队伍、设备资产、预约开放、教研成果;其他数据卡需在页面使用插槽编写
4
+
2
5
  ## 如何使用
3
6
  用于渲染数据大屏设置
4
7
  1. pnpm i @tmesoft/data-screen-set
5
8
 
6
9
  ## demo
10
+
11
+ [//]: # (App.vue文件)
7
12
  ```vue
8
13
  <!--ts-->
9
14
  import DataScreenSet from '@tmesoft/data-screen-set'
@@ -134,10 +139,10 @@ const activeId = ref<number>()
134
139
 
135
140
  ## 方法
136
141
 
137
- | Name | Description | type |
138
- |--------------|-----------------|-------------------------------|
139
- | setRootWidthHeight | 设置大屏宽高 | object {width:number,height:number} |
140
- | setDataCardListJson | 获取组件内的数据卡json内容 | |
142
+ | Name | Description | type |
143
+ |--------------|----------------------------------------------------------------------------------------------------------|-------------------------------|
144
+ | setRootWidthHeight | 设置大屏宽高 | object {width:number,height:number} |
145
+ | setDataCardListJson | 需要显示的数据卡json配置项(idEditBtn:是否显示右侧编辑按钮。id:数据卡唯一值。isShowRealData用于师资队伍,设备资产,科研成果代表是否显示真实图表数据,目前hps项目使用真实图表) | |
141
146
 
142
147
 
143
148
  ## 事件