| | |
| | | <template> |
| | | <div> |
| | | <el-button type="success" style="width: 10%;height: 50px;" v-on:click="selList()">å·æ°</el-button> |
| | | </div> |
| | | <div v-for="(index,inst) in datalist.length" :key="inst" style="padding: 10px;"> |
| | | <h1 style="border-bottom: 1px dashed silver; padding: 5px;;height: 52px;"> |
| | | <span v-if="inst==0">å çåº</span> |
| | | <span v-else-if="inst==1">䏿åº</span> |
| | | <span v-else-if="inst==2">䏿åº</span> |
| | | <span v-else-if="inst==3">å¤ååº</span> |
| | | <span v-else-if="inst==4">æçå æ¾åº</span> |
| | | <span v-else>{{inst-3}}åºåº</span> |
| | | <span style="margin-left: 40px;"> |
| | | <div class="fixed-row"> |
| | | <el-button type="success" style="width: 10%;height: 40px;font-size: 35px;" v-on:click="selList()">å·æ°</el-button> |
| | | <span style="margin-left: 40px;"> |
| | | <el-button circle style="background-color: #409eff;color: #000;">æè´§</el-button> |
| | | <el-button circle style="background-color: lightgreen;color: #000;">空货ä½</el-button> |
| | | <el-button circle style="background-color: yellow;color: #000;">åºå
¥åºå ç¨</el-button> |
| | | <el-button circle style="background-color: red;color: #000;">å¼å¸¸</el-button> |
| | | <el-button circle style="background-color: #C0C4CC;color: #000;">ç¦ç¨</el-button> |
| | | </span> |
| | | </div> |
| | | <div style="height: 50px;"> |
| | | |
| | | </div> |
| | | <div v-for="(index,inst) in datalist.length" :key="inst" style="padding: 10px;"> |
| | | <h1 style="border-bottom: 1px dashed silver; padding: 5px;;height: 52px;"> |
| | | <span v-if="inst==0">æçå æ¾åº</span> |
| | | <span v-else-if="inst==1">䏿åº</span> |
| | | <span v-else-if="inst==2">䏿åº</span> |
| | | <span v-else-if="inst==3">å¤ååº</span> |
| | | <span v-else-if="inst==4">å çåº</span> |
| | | <span v-else>{{inst-3}}åºåº</span> |
| | | </h1> |
| | | <div class="table-container"> |
| | | <div class="scrollable-table"> |
| | |
| | | :style="{ 'background-color': getBackgroundColor(items.enable,items.location_state) }"> |
| | | <el-tooltip class="item" effect="dark" placement="right" > |
| | | <template #content v-if="items.stationType!=='' && items.bindSN !== '' && items.stationType!==null && items.bindSN !== null"> |
| | | <div>åºä½ç¼å·ï¼{{ items.stationCode }}</div> |
| | | <div>ç©æç±»å(å¾å·)ï¼ {{ items.stationType }}</div> |
| | | <div>çå·ï¼ {{ items.heatNumber }}</div> |
| | | <div>车轮SNå·ï¼{{ items.bindSN }}</div> |
| | | <div>é¢å¯å·ï¼{{ items.billetID }}</div> |
| | | </template> |
| | | <template #content v-else> |
| | | <div>ç®åææ ä¿¡æ¯</div> |
| | |
| | | return 'yellow'; |
| | | case 'OutBusy': |
| | | return 'yellow'; |
| | | case 'Busy': |
| | | return 'yellow'; |
| | | case 'Abnormal': |
| | | return 'red'; |
| | | case 'Abnormal': |
| | | return 'yellow'; |
| | | default: |
| | | return 'transparent'; |
| | | } |
| | |
| | | .table-container::-webkit-scrollbar-thumb { |
| | | background-color: #ccc; |
| | | } |
| | | |
| | | .fixed-row { |
| | | position: fixed; |
| | | width: 100%; /* 让è¡çå®½åº¦å æ»¡æ´ä¸ªè§çª */ |
| | | background-color: #fff; /* 妿éè¦ï¼è®¾ç½®èæ¯è² */ |
| | | z-index: 3; /* ç¡®ä¿åºå®è¡å¨å
¶ä»å
容ä¹ä¸ */ |
| | | } |
| | | </style> |