Browse Source

修改大屏页面展示功能

oyq28 3 years ago
parent
commit
8637951ae1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      imcs-ui/src/views/zuihou/largeScreen/twoDatasModel/Index.vue

+ 3 - 3
imcs-ui/src/views/zuihou/largeScreen/twoDatasModel/Index.vue

@@ -248,8 +248,8 @@
 	  					<div class="modelTitle2">设备生产资源</div>
 	  				</li>
 	  				<li v-for="(item, index) in mashingOneList.data" :key="index">
-	  					<span class="mStatus">{{ item.controlStatusCN}}</span>
-	  					<span class="mAudit">{{item.productionStatusCN}}</span>
+	  					<span class="mStatus" :style="{background:item.controlStatus.background}">{{ item.controlStatusCN}}</span>
+	  					<span class="mAudit" :style="{background:item.productionStatus.background}" >{{item.productionStatusCN}}</span>
 	  					<img class="mashingImg" :src="item.pic" v-lazy="item.pic"  />
 	  					<div class="mashingDiv">
 	  						<!--<div class="mashingCode">{{ item.productionStatusCN }}</div>-->
@@ -303,7 +303,7 @@
 	    	gaugeData: {value: 0.5, name:"效率"},
 	    	gaudeWidth: '100%',
 	    	gaudeHeight: '190px',
-	    	percentages: [randomFloor(10,100), randomFloor(20,100), randomFloor(30,100)],
+	    	percentages: [randomFloor(10,23), randomFloor(20,100), randomFloor(30,100)],
 	    	allDatas: [],
 	    	resourceId: '',
 	    	orderDatas: [], // [插单订单]数据