@tmesoft/data-screen-show 1.0.0 → 1.0.1
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 +79 -34
- package/dist/data-screen-show-lib.d.ts +1 -7
- package/dist/data-screen-show-lib.es.js +2251 -2286
- package/dist/data-screen-show-lib.umd.js +2 -2
- package/package.json +1 -1
- package/dist/public/front/din-bold-2.ttf +0 -0
- /package/dist/public/{screen/device-assets → device-assets}/icon.png +0 -0
- /package/dist/public/{screen/image → image}/icon.png +0 -0
- /package/dist/public/{screen/normal-box.png → normal-box.png} +0 -0
- /package/dist/public/{screen/null-icon.png → null-icon.png} +0 -0
- /package/dist/public/{screen/research-result → research-result}/icon.png +0 -0
- /package/dist/public/{screen/teach-team → teach-team}/chart-icon.png +0 -0
- /package/dist/public/{screen/teach-team → teach-team}/icon.png +0 -0
- /package/dist/public/{screen/text → text}/icon.png +0 -0
- /package/dist/public/{screen/video → video}/icon.png +0 -0
- /package/dist/public/{screen/video → video}/video-play.png +0 -0
package/README.md
CHANGED
|
@@ -232,43 +232,88 @@ target.style.top = `${top}rem`
|
|
|
232
232
|
// 获取师资队伍、科研成果、设备资产数据
|
|
233
233
|
getAllApiData()
|
|
234
234
|
})
|
|
235
|
+
const renderPart = (id: number) => {
|
|
236
|
+
const isContainId = (id: number) => {
|
|
237
|
+
if (dataCardIdListIds.value?.length === 0) return false
|
|
238
|
+
return dataCardIdListIds.value?.some(item => item === id)
|
|
239
|
+
}
|
|
240
|
+
return isContainId(id)
|
|
241
|
+
}
|
|
242
|
+
const EscreenDataCardAllId = ref<any>({
|
|
243
|
+
师资队伍: 1,
|
|
244
|
+
科研成果: 2,
|
|
245
|
+
设备资产: 3,
|
|
246
|
+
预约开放: 4,
|
|
247
|
+
空间可视化: 5,
|
|
248
|
+
安全数据: 6,
|
|
249
|
+
实验人次: 7,
|
|
250
|
+
实验报告: 8,
|
|
251
|
+
实验成绩: 9,
|
|
252
|
+
实验交流: 10
|
|
253
|
+
})
|
|
235
254
|
|
|
236
255
|
<!--template-->
|
|
237
|
-
<DataScreenShow ref="dataScreenShowRef" :page-title="pageTitle" :sub-title="subTitle" :dataCardIdListIds="dataCardIdListIds" :customCardList="customCardList" >
|
|
238
|
-
|
|
239
|
-
<div
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
256
|
+
<DataScreenShow ref="dataScreenShowRef" :page-title="pageTitle" :sub-title="subTitle" :dataCardIdListIds="dataCardIdListIds" :customCardList="customCardList" >
|
|
257
|
+
<!-- 预约开放 -->
|
|
258
|
+
<div
|
|
259
|
+
ref="reservationInfoRef"
|
|
260
|
+
class="info-item"
|
|
261
|
+
:class="`data-target${EscreenDataCardAllId?.预约开放}`"
|
|
262
|
+
v-if="renderPart(EscreenDataCardAllId?.预约开放)"
|
|
263
|
+
>
|
|
264
|
+
<!-- 3d 2d楼层模块 -->
|
|
265
|
+
<div
|
|
266
|
+
class="main-floor-container info-item"
|
|
267
|
+
v-if="renderPart(EscreenDataCardAllId?.空间可视化)"
|
|
268
|
+
:class="`data-target${EscreenDataCardAllId?.空间可视化}`"
|
|
269
|
+
>
|
|
270
|
+
3d 2d楼层模块
|
|
271
|
+
</div>
|
|
272
|
+
<!-- 安全模块-->
|
|
273
|
+
<div class="info-item"
|
|
274
|
+
:class="`data-target${EscreenDataCardAllId?.安全数据}`"
|
|
275
|
+
v-if="renderPart(EscreenDataCardAllId?.安全数据)"
|
|
276
|
+
ref="safeRef" >
|
|
277
|
+
安全模块
|
|
278
|
+
</div>
|
|
279
|
+
<!-- 实验人次 -->
|
|
280
|
+
<div
|
|
281
|
+
class="info-item"
|
|
282
|
+
:class="`data-target${EscreenDataCardAllId?.实验人次}`"
|
|
283
|
+
v-if="renderPart(EscreenDataCardAllId?.实验人次)"
|
|
284
|
+
>
|
|
285
|
+
实验人次
|
|
266
286
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
287
|
+
</div>
|
|
288
|
+
<!-- 实验报告 -->
|
|
289
|
+
<div
|
|
290
|
+
ref="reportInfoRef"
|
|
291
|
+
:class="`data-target${EscreenDataCardAllId?.实验报告}`"
|
|
292
|
+
class="info-item"
|
|
293
|
+
v-if="renderPart(EscreenDataCardAllId?.实验报告)"
|
|
294
|
+
>
|
|
295
|
+
实验报告
|
|
296
|
+
</div>
|
|
297
|
+
<!-- 实验成绩 -->
|
|
298
|
+
<div
|
|
299
|
+
ref="experimentalResultsInfoRef"
|
|
300
|
+
class="info-item"
|
|
301
|
+
:class="`data-target${EscreenDataCardAllId?.实验成绩}`"
|
|
302
|
+
v-if="renderPart(EscreenDataCardAllId?.实验成绩)"
|
|
303
|
+
>
|
|
304
|
+
实验成绩
|
|
305
|
+
</div>
|
|
306
|
+
<!-- 实验交流 -->
|
|
307
|
+
<div
|
|
308
|
+
ref="experimentalCommunicationRef"
|
|
309
|
+
class="info-item"
|
|
310
|
+
:class="`data-target${EscreenDataCardAllId?.实验交流}`"
|
|
311
|
+
v-if="renderPart(EscreenDataCardAllId?.实验交流)"
|
|
312
|
+
>
|
|
313
|
+
实验交流
|
|
314
|
+
</div>
|
|
315
|
+
</div>
|
|
316
|
+
</DataScreenShow>
|
|
272
317
|
|
|
273
318
|
|
|
274
319
|
```
|
|
@@ -49,13 +49,7 @@ customCardList: CustomListPage[];
|
|
|
49
49
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
50
50
|
|
|
51
51
|
declare function __VLS_template(): {
|
|
52
|
-
|
|
53
|
-
"main-floor"?(_: {}): any;
|
|
54
|
-
"safe-module"?(_: {}): any;
|
|
55
|
-
"person-time-info"?(_: {}): any;
|
|
56
|
-
"report-info"?(_: {}): any;
|
|
57
|
-
"experimental-results-info"?(_: {}): any;
|
|
58
|
-
"experimental-communication"?(_: {}): any;
|
|
52
|
+
default?(_: {}): any;
|
|
59
53
|
};
|
|
60
54
|
|
|
61
55
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|