From c5c80dbc2632719789b91d236de7cf1e6497557d Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 23 九月 2024 19:15:43 +0800 Subject: [PATCH] 大屏分离平台在线和考核成绩接口 --- src/views/screen/index.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/screen/index.vue b/src/views/screen/index.vue index 4f51f7d..5080d2e 100644 --- a/src/views/screen/index.vue +++ b/src/views/screen/index.vue @@ -46,7 +46,7 @@ <div class="map-container" ref="isMap"> <img src="@/assets/map/texture/rotating-point2.png" alt="Rotating Image" class="rotating-image"> <img src="@/assets/map/texture/rotatingAperture.png" alt="Rotating Image" class="rotating-image-in"> - <mapApp @clickMap="getDeptId" :geoCoordinates=scoreData></mapApp> + <mapApp @clickMap="getDeptId" :geoCoordinates=scoreData :platformData = platformData></mapApp> <div class="btn-container"> <img src="@/assets/images/btn-bg.png" class="bg-img"/> <div class="btn-list" v-model="activerBtnType"> @@ -202,7 +202,8 @@ checkFace, checkCar, checkVideo, - checkScore + checkScore, + getPlatform } from "@/api/newpage"; export default { @@ -217,6 +218,7 @@ faceList: [], workOrderData: [], workOrderRegion: [], + platformData: null, scoreData: { 鑷祦浜曞尯: [ { @@ -366,6 +368,14 @@ .then((res) => { if(res.data && Object.keys(res.data).length > 0){ this.scoreData = res.data; + } + }) + .catch((err) => { + }); + getPlatform(this.activerBtnType, this.deptId) + .then((res) => { + if(res.data && Object.keys(res.data).length > 0){ + this.platformData = res.data; } }) .catch((err) => { @@ -1107,7 +1117,7 @@ align-items: center; list-style-type: none; border-bottom: 1px dashed #223654; - margin: 8px 0; + margin: 7px 0; li { width: 25%; text-align: center; -- Gitblit v1.8.0