|  |  | 
 |  |  |     <div class="main_app"> | 
 |  |  |       <img src="@/assets/images/energy_ef/bg@2x.png" class="main_bg" alt="" /> | 
 |  |  |       <div class="main_header"> | 
 |  |  |         <!-- <img src="@/assets/images/maintitle.gif" class="main_header_bg" alt="" /> --> | 
 |  |  |         <img src="@/assets/images/maintitle.gif" class="main_header_bg" alt="" /> | 
 |  |  |         <div class="title">安泰智慧物流园区-调度能效跟踪</div> | 
 |  |  |         <div class="time_wrap"> | 
 |  |  |           <span class="date">{{ date }}</span> | 
 |  |  | 
 |  |  |               <div class="content"> | 
 |  |  |                 <div class="num" v-if="data1.monthOutTotal || data1.yearOutTotal">{{ activeTab1 == 0 ? | 
 |  |  |                   data1.monthOutTotal.toLocaleString() : data1.yearOutTotal.toLocaleString() }}</div> | 
 |  |  |                 <div class="unit_wrap" v-if="data1.monthOutTotalOnYear || data1.yearOutTotalOnYear"> | 
 |  |  |                   <span style="color: #869CC9;">同比</span> | 
 |  |  |                   <img | 
 |  |  |                     v-if="(activeTab1 == 0 && data1.monthOutTotalOnYear > 0) || (activeTab1 == 1 && data1.yearOutTotalOnYear > 0)" | 
 |  |  |                     src="@/assets/images/ic_up.png" class="icon" alt=""> | 
 |  |  |                   <img v-else src="@/assets/images/ic_down.png" class="icon" alt=""> | 
 |  |  |                   <span>{{ activeTab1 == 0 ? Math.abs(data1.monthOutTotalOnYear) : Math.abs(data1.yearOutTotalOnYear) | 
 |  |  |                     }}%</span> | 
 |  |  |                 <div class="unit_wrap"> | 
 |  |  |                   <span style="color: #869CC9;">{{ activeTab1 == 0 ? '同比' : '环比' }}</span> | 
 |  |  |                   <template v-if="activeTab1 == 0 && data1.monthLastOutTotal"> | 
 |  |  |                     <img v-if="data1.monthOutTotal > data1.monthLastOutTotal" src="@/assets/images/ic_up.png" | 
 |  |  |                       class="icon" alt=""> | 
 |  |  |                     <img v-else src="@/assets/images/ic_down.png" class="icon" alt=""> | 
 |  |  |                   </template> | 
 |  |  |                   <template v-if="activeTab1 == 1 && data1.yearLastOutTotal"> | 
 |  |  |                     <img v-if="data1.yearOutTotal > data1.yearLastOutTotal" src="@/assets/images/ic_up.png" class="icon" | 
 |  |  |                       alt=""> | 
 |  |  |                     <img v-else src="@/assets/images/ic_down.png" class="icon" alt=""> | 
 |  |  |                   </template> | 
 |  |  |  | 
 |  |  |                   <span v-if="activeTab1 == 0 && data1.monthLastOutTotal">{{ Math.abs((((data1.monthOutTotal - | 
 |  |  |                     data1.monthLastOutTotal) / data1.monthLastOutTotal) * 100).toFixed(1)) }}%</span> | 
 |  |  |                   <span v-else-if="activeTab1 == 1 && data1.yearLastOutTotal">{{ Math.abs((((data1.yearOutTotal - | 
 |  |  |                     data1.yearLastOutTotal) / data1.yearLastOutTotal) * 100).toFixed(1)) }}%</span> | 
 |  |  |                   <span v-else style="margin-left: 10px;">-</span> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  |               <div class="train_wrap"> | 
 |  |  | 
 |  |  |                 </div> | 
 |  |  |                 <div class="one-swiper list_temp"> | 
 |  |  |                   <div class="swiper-wrapper"> | 
 |  |  |                     <div class="line swiper-slide one-swiper-slide" @click="showModal = true" v-for="item in dataList3"> | 
 |  |  |                     <div @click="taskClick(item)" class="line swiper-slide one-swiper-slide" v-for="item in dataList3"> | 
 |  |  |                       <span class="item flag"><span :class="{ flag_bg: item.type == 1 || item.type == 3 }">{{ item.type | 
 |  |  |                         == 1 | 
 |  |  |                         || item.type == 3 ? '出' : '入' }}</span></span> | 
 |  |  | 
 |  |  |                 <img src="@/assets/images/energy_ef/ic_renwuzongliang@2x.png" alt=""> | 
 |  |  |                 <div class="content"> | 
 |  |  |                   <div class="name">当前任务量</div> | 
 |  |  |                   <div class="num"><span>{{ data4.planTaskNum }}</span>万支</div> | 
 |  |  |                   <div class="num"><span>{{ activeTab4 == 0 ? data1.currentOutNum : data1.currentInNum }}</span>万支</div> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  |               <div class="item"> | 
 |  |  |                 <img src="@/assets/images/energy_ef/ic_wanchengrenwu@2x.png" alt=""> | 
 |  |  |                 <div class="content"> | 
 |  |  |                   <div class="name">当日完成任务总量</div> | 
 |  |  |                   <div class="num"><span class="today">{{ data4.finishTaskNum }}</span>万支</div> | 
 |  |  |                   <div class="num"> | 
 |  |  |                     <span v-if="data1.currentOutDoneNum || data1.currentInDoneNum" class="today">{{ | 
 |  |  |                       activeTab4 == | 
 |  |  |                         0 ? data1.currentOutDoneNum : | 
 |  |  |                         data1.currentInDoneNum | 
 |  |  |                     }}</span> | 
 |  |  |                     <span v-else>0</span> | 
 |  |  |                     万支 | 
 |  |  |                   </div> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  |               <div class="item"> | 
 |  |  |                 <img src="@/assets/images/energy_ef/ic_bili@2x.png" alt=""> | 
 |  |  |                 <div class="content"> | 
 |  |  |                   <div class="name">已完成比例</div> | 
 |  |  |                   <div class="num" v-if="data4.finishTaskNum && data4.planTaskNum"><span class="finish">{{ (( | 
 |  |  |                     data4.finishTaskNum / data4.planTaskNum) * 100).toFixed(1) }}%</span>万支</div> | 
 |  |  |                   <div class="num"> | 
 |  |  |                     <span v-if="activeTab4 == 0 && data1.currentOutNum" class="finish">{{ ((data1.currentOutDoneNum / | 
 |  |  |                       data1.currentOutNum) * 100).toFixed(1) }}</span> | 
 |  |  |                     <span v-if="activeTab4 == 1 && data1.currentInNum" class="finish">{{ ((data1.currentInDoneNum / | 
 |  |  |                       data1.currentInNum) * 100).toFixed(1) }}</span> | 
 |  |  |                     % | 
 |  |  |                   </div> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  |             </div> | 
 |  |  | 
 |  |  |               <div ref="echartMap" class="echart_map" id="echartMap"></div> | 
 |  |  |             </div> | 
 |  |  |             <div class="warnning_info"> | 
 |  |  |               <div class="head" @click="isShowCarW = !isShowCarW">  | 
 |  |  |               <div class="head" @click="isShowCarW = !isShowCarW"> | 
 |  |  |                 <img src="../assets/images/FireFighting/fire_right.png" alt=""> | 
 |  |  |                 <span>车辆报警</span> | 
 |  |  |               </div> | 
 |  |  |               <div v-if="isShowCarW" class="war_list"> | 
 |  |  |                 <div class="line" v-for="item in data7.eventList"> | 
 |  |  |                 <div class="line" v-for="item in eventList"> | 
 |  |  |                   <div class="id_card">{{ item.carCode }}</div> | 
 |  |  |                   <div class="title">{{ item.title }}</div> | 
 |  |  |                   <div v-if="item.time">{{ item.time.slice(11) }}</div> | 
 |  |  | 
 |  |  |                 <img src="@/assets/images/energy_ef/ic_chukuxiaolv@2x.png" alt=""> | 
 |  |  |                 <div class="content"> | 
 |  |  |                   <div class="name">出库效率</div> | 
 |  |  |                   <div class="num"><span>{{ activeTab12 == 0 ? data1.todayInRata : data1.monthInRata }}</span>万支/小时 | 
 |  |  |                   <div class="num"><span>{{ activeTab12 == 0 ? data1.todayOutRate || 0 : data1.monthOutRate || 0 | 
 |  |  |                       }}</span>万支/小时 | 
 |  |  |                   </div> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  | 
 |  |  |                 <img src="@/assets/images/energy_ef/ic_rukuxiaolv@2x.png" alt=""> | 
 |  |  |                 <div class="content"> | 
 |  |  |                   <div class="name">入库效率</div> | 
 |  |  |                   <div class="num"><span class="today">{{ activeTab12 == 0 ? data1.monthOutTotal : data1.yearOutTotal | 
 |  |  |                   <div class="num"><span class="today">{{ activeTab12 == 0 ? data1.todayInRate || 0 : data1.monthInRate | 
 |  |  |                     || 0 | 
 |  |  |                       }}</span>万支/小时</div> | 
 |  |  |                 </div> | 
 |  |  |               </div> | 
 |  |  | 
 |  |  |             <div class="repertory"> | 
 |  |  |               <div class="use_ratio"> | 
 |  |  |                 <div class="header"> | 
 |  |  |                   <div>库存量 <span class="num">{{ data1.stockTotal }}/{{ data1.stockMax }}</span></div> | 
 |  |  |                   <div v-if="data1.stockTotal && data1.stockMax">利用率{{ ((data1.stockTotal / data1.stockMax) * | 
 |  |  |                     100).toFixed(0) }}%</div> | 
 |  |  |                   <div>库存量 <span class="num">{{ data6.num }}/{{ data6.totalNum }}</span></div> | 
 |  |  |                   <div v-if="data6.num && data6.totalNum">利用率{{ (data6.useRate * 100).toFixed(0) }}%</div> | 
 |  |  |                 </div> | 
 |  |  |                 <Percent v-if="data1.stockTotal && data1.stockMax" | 
 |  |  |                   :rate="((data1.stockTotal / data1.stockMax) * 100).toFixed(0)" /> | 
 |  |  |                 <Percent v-if="data6.num && data6.totalNum" :rate="((data6.num / data6.totalNum) * 100).toFixed(0)" /> | 
 |  |  |               </div> | 
 |  |  |               <div class="list two-swiper"> | 
 |  |  |                 <div class="swiper-wrapper"> | 
 |  |  |                   <div class="item two-swiper-slide swiper-slide" v-for="item in dataList6"> | 
 |  |  |                   <div :class="{ orange: item.num < 200 }" class="item two-swiper-slide swiper-slide" | 
 |  |  |                     v-for="item in data6.stockList"> | 
 |  |  |                     <div class="la">{{ item.name }}</div> | 
 |  |  |                     <div class="val">{{ item.num }}万支</div> | 
 |  |  |                   </div> | 
 |  |  | 
 |  |  |         </div> | 
 |  |  |       </div> | 
 |  |  |       <!--  --> | 
 |  |  |       <div class="modal" v-if="activeCar && activeCar.phone"> | 
 |  |  |       <div class="modal" v-if="showModal"> | 
 |  |  |         <div class="title_head"> | 
 |  |  |           <img src="@/assets/images/energy_ef/chuku_ic_car@2x.png" alt=""> | 
 |  |  |           <span>皖a222</span> | 
 |  |  |           <span>{{ activeCar.carCode }}</span> | 
 |  |  |         </div> | 
 |  |  |         <div class="info"> | 
 |  |  |           <div class="item"> | 
 |  |  |             <div class="dian"></div> | 
 |  |  |             <div class="la">运输单号:</div> | 
 |  |  |             <div class="val">22</div> | 
 |  |  |             <div class="val">{{ activeCar.billCode }}</div> | 
 |  |  |           </div> | 
 |  |  |           <div class="item"> | 
 |  |  |             <div class="dian"></div> | 
 |  |  |             <div class="la">司机信息:</div> | 
 |  |  |             <div class="val">22</div> | 
 |  |  |             <div class="val">{{ activeCar.name }} {{ activeCar.phone }}</div> | 
 |  |  |           </div> | 
 |  |  |           <div class="item"> | 
 |  |  |             <div class="dian"></div> | 
 |  |  |             <div class="la">总运输量:</div> | 
 |  |  |             <div class="val">22 万支</div> | 
 |  |  |             <div class="val" v-if="activeCar.totalNum">{{ activeCar.totalNum }}万支</div> | 
 |  |  |           </div> | 
 |  |  |         </div> | 
 |  |  |         <div class="tabs"> | 
 |  |  | 
 |  |  |           <div :class="{ active: modalTab == 1 }" @click="modalTabClick(1)" class="tab">合同列表</div> | 
 |  |  |         </div> | 
 |  |  |         <div class="tab1" v-if="modalTab == 0"> | 
 |  |  |           <div class="item" v-for="item, i in 3"> | 
 |  |  |             <div class="icon_wrap"> | 
 |  |  |               <img v-if="i === 0" class="dian" src="@/assets/images/ic_dangqian@2x.png" alt=""> | 
 |  |  |               <img v-else src="@/assets/images/ic_jindu@2x.png" class="dian_ac" alt=""> | 
 |  |  |               <div class="line"></div> | 
 |  |  |           <template v-for="item, i in activeCar.logList"> | 
 |  |  |             <div class="item" v-if="i < 4 || showMore"> | 
 |  |  |               <div class="icon_wrap"> | 
 |  |  |                 <img v-if="i != 0" class="dian" src="@/assets/images/ic_dangqian@2x.png" alt=""> | 
 |  |  |                 <img v-else src="@/assets/images/ic_jindu@2x.png" class="dian_ac" alt=""> | 
 |  |  |                 <div v-if="i != activeCar.logList.length - 1" class="line"></div> | 
 |  |  |               </div> | 
 |  |  |               <div class="content"> | 
 |  |  |                 <div class="status" :class="{ ac: i == 0 }">{{ statusMapD[item.objType] }}</div> | 
 |  |  |                 <div class="text">{{ item.content }}</div> | 
 |  |  |                 <div class="time">{{ item.createDate }}</div> | 
 |  |  |               </div> | 
 |  |  |             </div> | 
 |  |  |             <div class="content"> | 
 |  |  |               <div class="status">作业中</div> | 
 |  |  |               <div class="text">作业任务在【入库去1号月台】开始作业</div> | 
 |  |  |               <div class="time">2024-04-02 12:00</div> | 
 |  |  |             </div> | 
 |  |  |           </template> | 
 |  |  |           <div class="more_btn" v-if="!showMore && activeCar.logList && activeCar.logList.length > 4" | 
 |  |  |             @click="showMore = true">查看更多作业信息</div> | 
 |  |  |           <div class="empty" v-if="!activeCar.contractList || activeCar.logList.contractList == 0"> | 
 |  |  |             <img src="@/assets/images/default_nodata.png" alt=""> | 
 |  |  |           </div> | 
 |  |  |         </div> | 
 |  |  |         <div class="tab2" v-if="modalTab == 1"> | 
 |  |  |           <div class="list"> | 
 |  |  |             <div class="item"> | 
 |  |  |             <div class="item" v-for="item in activeCar.contractList"> | 
 |  |  |               <div class="head"> | 
 |  |  |                 <div class="code">合同号:12312312</div> | 
 |  |  |                 <div class="addr">收货地:江门烟草物流中心</div> | 
 |  |  |                 <div class="code">合同号:{{ item.ioCode }}</div> | 
 |  |  |                 <div class="addr">收货地:{{ item.address }}</div> | 
 |  |  |               </div> | 
 |  |  |               <div class="line" v-for="i in 3"> | 
 |  |  |                 <div class="name">物料名称:<span class="val">黄山</span></div> | 
 |  |  |                 <div class="num">数量:<span class="val">100万支</span></div> | 
 |  |  |               <div class="line" v-for="i in item.detailList"> | 
 |  |  |                 <div class="name">物料名称:<span class="val">{{ i.materialName }}</span></div> | 
 |  |  |                 <div class="num">数量:<span class="val">{{ i.ioQty }}万支</span></div> | 
 |  |  |               </div> | 
 |  |  |             </div> | 
 |  |  |             <div class="empty" v-if="!activeCar.contractList || activeCar.logList.contractList == 0"> | 
 |  |  |               <img src="@/assets/images/default_nodata.png" alt=""> | 
 |  |  |             </div> | 
 |  |  |           </div> | 
 |  |  |         </div> | 
 |  |  |       </div> | 
 |  |  |       <div class="modal_mask" v-if="activeCar && activeCar.phone" @click="activeCar = {}"></div> | 
 |  |  |       <div class="modal_mask" v-if="showModal" @click="closeModal"></div> | 
 |  |  |     </div> | 
 |  |  |   </v-scale-screen> | 
 |  |  | </template> | 
 |  |  | 
 |  |  |   wltotalInList, | 
 |  |  |   wltransportMeasure, | 
 |  |  |   carsListPost, | 
 |  |  |   getCarsJobDetails | 
 |  |  |   getCarsJobDetails, | 
 |  |  |   carsEventListP | 
 |  |  | } from '@/api' | 
 |  |  | import 'swiper/css/swiper.min.css' | 
 |  |  | import Swiper from 'swiper' | 
 |  |  |  | 
 |  |  | const statusMapD = ['任务生成', '确认任务', '已签到', '入园等待', '月台叫号', '作业中', '作业完成', '月台转移', '异常挂起', '下发授权离园', '离园', '已过号'] | 
 |  |  | const colors = ['#FEAF01', '#01ABFE', '#51F9E4'] | 
 |  |  | const weekMap = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六',] | 
 |  |  | const date = ref(dayjs().format('YYYY.MM.DD')) | 
 |  |  | 
 |  |  |         }, | 
 |  |  |         axisLabel: { | 
 |  |  |           color: '#869CC9' | 
 |  |  |           // fontSize: 24, | 
 |  |  |         }, | 
 |  |  |         nameTextStyle: { | 
 |  |  |           color: '#869CC9'   // 四个数字分别为上右下左与原位置距离 | 
 |  |  |         }, | 
 |  |  |         axisTick: { | 
 |  |  |           show: false, | 
 |  |  | 
 |  |  |     yAxis: [ | 
 |  |  |       { | 
 |  |  |         type: 'value', | 
 |  |  |         name: '个', | 
 |  |  |         min: 0, | 
 |  |  |         axisLabel: { | 
 |  |  |           show: true, | 
 |  |  |           color: "#869CC9", | 
 |  |  |         }, | 
 |  |  |         splitLine: { | 
 |  |  |           show: true, | 
 |  |  |           lineStyle: { | 
 |  |  |             width: 1, | 
 |  |  |             color: "rgba(49,105,129,0.4)", | 
 |  |  |             type: 'dashed' | 
 |  |  |           } | 
 |  |  |         }, | 
 |  |  |         // interval: 5, | 
 |  |  |         axisLabel: { | 
 |  |  |           formatter: '{value}' | 
 |  |  |         } | 
 |  |  |       }, | 
 |  |  |       { | 
 |  |  |         type: 'value', | 
 |  |  |         name: '万支', | 
 |  |  |         nameTextStyle: { | 
 |  |  |           color: '#869CC9', | 
 |  |  |         }, | 
 |  |  |         offset: 0, | 
 |  |  |         type: 'value', | 
 |  |  |         axisLine: { | 
 |  |  | 
 |  |  |           } | 
 |  |  |         }, | 
 |  |  |         axisLabel: { | 
 |  |  |           formatter: '{value}' | 
 |  |  |         } | 
 |  |  |           color: '#869CC9' | 
 |  |  |         }, | 
 |  |  |         nameTextStyle: { | 
 |  |  |           color: '#869CC9', | 
 |  |  |           padding: [0, 0, 0, 12]    // 四个数字分别为上右下左与原位置距离 | 
 |  |  |         }, | 
 |  |  |       }, | 
 |  |  |       { | 
 |  |  |         type: 'value', | 
 |  |  |         name: '个', | 
 |  |  |         min: 0, | 
 |  |  |         axisLabel: { | 
 |  |  |           color: '#869CC9' | 
 |  |  |         }, | 
 |  |  |         nameTextStyle: { | 
 |  |  |           color: '#869CC9', | 
 |  |  |           padding: [0, 0, 0, -18]    // 四个数字分别为上右下左与原位置距离 | 
 |  |  |         }, | 
 |  |  |         splitLine: { | 
 |  |  |           show: false, | 
 |  |  |           lineStyle: { | 
 |  |  |             width: 1, | 
 |  |  |             color: "rgba(49,105,129,0.4)", | 
 |  |  |             type: 'dashed' | 
 |  |  |           } | 
 |  |  |         }, | 
 |  |  |       }, | 
 |  |  |     ], | 
 |  |  |     series: [ | 
 |  |  | 
 |  |  |           position: 'top', | 
 |  |  |           color: '#fff', | 
 |  |  |         }, | 
 |  |  |         yAxisIndex: 1, | 
 |  |  |         yAxisIndex: 0, | 
 |  |  |         itemStyle: { | 
 |  |  |           color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ | 
 |  |  |             { | 
 |  |  | 
 |  |  |         name: '任务完成量', | 
 |  |  |         type: 'bar', | 
 |  |  |         barWidth: 10, | 
 |  |  |         yAxisIndex: 1, | 
 |  |  |         yAxisIndex: 0, | 
 |  |  |         label: { | 
 |  |  |           show: false, | 
 |  |  |           position: 'top', | 
 |  |  | 
 |  |  |         type: 'line', | 
 |  |  |         smooth: false, | 
 |  |  |         showAllSymbol: true, | 
 |  |  |         yAxisIndex: 0, | 
 |  |  |         yAxisIndex: 1, | 
 |  |  |         symbol: 'none', | 
 |  |  |         lineStyle: { | 
 |  |  |           color: "#1a43bc" | 
 |  |  | 
 |  |  |           show: false, | 
 |  |  |           position: 'center' | 
 |  |  |         }, | 
 |  |  |         padAngle: 5, | 
 |  |  |         tooltip: { | 
 |  |  |           trigger: 'none' | 
 |  |  |         }, | 
 |  |  |         emphasis: { | 
 |  |  |           // 设置悬浮时样式为空 | 
 |  |  |           scale: false, // 关闭放大效果 | 
 |  |  |           itemStyle: { | 
 |  |  |             shadowBlur: 0, // 阴影模糊度为 0 | 
 |  |  |             shadowOffsetX: 0, | 
 |  |  |             shadowColor: 'rgba(0, 0, 0, 0)', | 
 |  |  |           }, | 
 |  |  |         }, | 
 |  |  |         padAngle: 3, | 
 |  |  |         itemStyle: { | 
 |  |  |           borderRadius: 10 | 
 |  |  |         }, | 
 |  |  | 
 |  |  |   const scatterData = data7.value.carsList.map(item => { | 
 |  |  |     return { | 
 |  |  |       name: item.terminalId, | 
 |  |  |       img: item.status == 0 ? icLixian : item.status == 1 || item.status == 2 ? icZaitu : icKongxian, | 
 |  |  |       data: [{code: item.plateNum, value: [item.longitude,item.latitude]}] | 
 |  |  |       img: item.jobStatus == 2 ? icLixian : item.jobStatus == 1 ? icZaitu : icKongxian, | 
 |  |  |       data: [{ code: item.plateNum, value: [item.longitude, item.latitude] }] | 
 |  |  |     } | 
 |  |  |   }) | 
 |  |  |   // var scatterData = [ | 
 |  |  | 
 |  |  |   myChart.setOption(option) | 
 |  |  |   myChart.on('click', function (params) { | 
 |  |  |     const item = params.data | 
 |  |  |     getCarsJobDetails({carCode: item.code}).then(res => { | 
 |  |  |       activeCar.value = res.data | 
 |  |  |     getCarsJobDetails({ carCode: item.code }).then(res => { | 
 |  |  |       // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { | 
 |  |  |       showModal.value = true | 
 |  |  |       activeCar.value = { ...res.data, carCode: item.code } | 
 |  |  |     }) | 
 |  |  |   }) | 
 |  |  |   window.addEventListener('resize', function () {//执行 | 
 |  |  | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | const activeCar = ref({}) | 
 |  |  | const showModal = ref(false) | 
 |  |  | const modalTab = ref(0) | 
 |  |  | const showMore = ref(false) | 
 |  |  | const modalTabClick = (val) => { | 
 |  |  |   modalTab.value = val | 
 |  |  | } | 
 |  |  | const closeModal = () => { | 
 |  |  |   showModal.value = false | 
 |  |  |   activeCar.value = {} | 
 |  |  | } | 
 |  |  | const taskClick = (item) => { | 
 |  |  |   getCarsJobDetails({ carCode: item.carCodeFront }).then(res => { | 
 |  |  |     // getCarsJobDetails({ carCode: '皖AE5277' }).then(res => { | 
 |  |  |     showModal.value = true | 
 |  |  |     activeCar.value = { ...res.data, carCode: item.carCodeFront } | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | 
 |  |  |     const result = res.data || [] | 
 |  |  |     dataList2.value = result | 
 |  |  |     dataList2.value.forEach(item => { | 
 |  |  |       item.planDateStrT = activeTab2.value == 2 ? dayjs(item.planDateStr).format('M') : dayjs(item.planDateStr).format('M.D') | 
 |  |  |       item.planDateStrT = activeTab2.value == 2 ? dayjs(item.planDate).format('M') : dayjs(item.planDate).format('M.D') | 
 |  |  |     }) | 
 |  |  |     initEnergy() | 
 |  |  |   }) | 
 |  |  | 
 |  |  |     dataList3.value = result | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | const data4 = ref({}) | 
 |  |  | const activeTab4 = ref(0) | 
 |  |  | const tabClick4 = (val) => { | 
 |  |  |   activeTab4.value = val | 
 |  |  |   getData4() | 
 |  |  | } | 
 |  |  | const getData4 = () => { | 
 |  |  |   wljobData({ queryType: activeTab4.value }).then(res => { | 
 |  |  |     const result = res.data | 
 |  |  |     data4.value = result | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | const dataList5 = ref([]) | 
 |  |  | const data5 = ref(0) | 
 |  |  | 
 |  |  |       return i | 
 |  |  |     }) | 
 |  |  |     dataList5.value.forEach(i => { | 
 |  |  |       i.rate = ((i.num / count) * 100).toFixed(0) | 
 |  |  |       i.rate = count == 0 ? 0 : ((i.num / count) * 100).toFixed(0) | 
 |  |  |     }) | 
 |  |  |     data5.value = count | 
 |  |  |     initEchart1() | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | const dataList6 = ref([]) | 
 |  |  | const data6 = ref({}) | 
 |  |  | const getData6 = () => { | 
 |  |  |   wlstockList().then(res => { | 
 |  |  |     const result = res.data | 
 |  |  |     dataList6.value = result | 
 |  |  |     const result = res.data || [] | 
 |  |  |     data6.value = result | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | const isShowCarW = ref(false) | 
 |  |  | const data7 = ref({}) | 
 |  |  | const eventList = ref([]) | 
 |  |  | const getData7 = () => { | 
 |  |  |   carsListPost().then(res => { | 
 |  |  |     const result = res.data || {} | 
 |  |  |     data7.value = result | 
 |  |  |     initMap() | 
 |  |  |   }) | 
 |  |  |   carsEventListP().then(res => { | 
 |  |  |     eventList.value = res.data || [] | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | 
 |  |  |   var newSwiper1 = new Swiper('.two-swiper', { | 
 |  |  |     initialSlide: 0, | 
 |  |  |     direction: 'vertical', //竖直方向 | 
 |  |  |     slidesPerView: 7, | 
 |  |  |     autoplay: autoplayFlag(dataList6.value, 7, 2000), | 
 |  |  |     slidesPerView: 6, | 
 |  |  |     autoplay: autoplayFlag(data6.value.stockList, 6, 2000), | 
 |  |  |     observer: true, //修改swiper自己或子元素时,自动初始化swiperiper | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | 
 |  |  |   getData1() | 
 |  |  |   getData2() | 
 |  |  |   getData3() | 
 |  |  |   getData4() | 
 |  |  |   getData5() | 
 |  |  |   getData6() | 
 |  |  |   getData7() | 
 |  |  |  | 
 |  |  |   setInterval(() => { | 
 |  |  |     getData1() | 
 |  |  |     getData2() | 
 |  |  |     getData3() | 
 |  |  |     getData5() | 
 |  |  |     getData6() | 
 |  |  |     getData7() | 
 |  |  |   }, 1000 * 60 * 10) | 
 |  |  |  | 
 |  |  |   setTimeout(() => { | 
 |  |  |     loopFn1() | 
 |  |  | 
 |  |  |           .num { | 
 |  |  |             margin-right: 10px; | 
 |  |  |             font-weight: bold; | 
 |  |  |             font-size: 46px; | 
 |  |  |             height: 44px; | 
 |  |  |             line-height: 52px; | 
 |  |  |             font-size: 44px; | 
 |  |  |             height: 48px; | 
 |  |  |             line-height: 50px; | 
 |  |  |             font-weight: bold; | 
 |  |  |             color: #00F2F3; | 
 |  |  |             letter-spacing: 3px; | 
 |  |  |             background-image: -webkit-linear-gradient(top, | 
 |  |  |                 #01D9FE 0%, | 
 |  |  |                 #0177FE 60%, | 
 |  |  |                 #1cdafb 0%, | 
 |  |  |                 #0177FE 70%, | 
 |  |  |                 #0177FE 100%); | 
 |  |  |             -webkit-background-clip: text; | 
 |  |  |             -webkit-text-fill-color: transparent; | 
 |  |  | 
 |  |  |             align-items: center; | 
 |  |  |             padding: 0 10px; | 
 |  |  |             font-size: 12px; | 
 |  |  |             cursor: pointer; | 
 |  |  |  | 
 |  |  |             &:nth-of-type(2n) { | 
 |  |  |               background: rgba(27, 64, 97, 0.52); | 
 |  |  | 
 |  |  |         bottom: 0; | 
 |  |  |         border-top: 1px solid #5ecbce; | 
 |  |  |         border-bottom: 1px solid #5ecbce; | 
 |  |  |         background: rgba(0, 30, 63, 0.4); | 
 |  |  |         /* backdrop-filter: blur(5px); */ | 
 |  |  |  | 
 |  |  |         .head { | 
 |  |  |           display: flex; | 
 |  |  |           width: 280px; | 
 |  |  |           height: 57px; | 
 |  |  |           background: rgba(0, 30, 63, 0.4); | 
 |  |  |           backdrop-filter: blur(5px); | 
 |  |  |           display: flex; | 
 |  |  |           align-items: center; | 
 |  |  |           padding-left: 10px; | 
 |  |  |           font-weight: bold; | 
 |  |  |           font-size: 16px; | 
 |  |  |           cursor: pointer; | 
 |  |  |  | 
 |  |  |           img { | 
 |  |  |             width: 14px; | 
 |  |  |             margin-right: 10px; | 
 |  |  | 
 |  |  |         .war_list { | 
 |  |  |           max-height: 300px; | 
 |  |  |           overflow: auto; | 
 |  |  |           padding-left: 10px; | 
 |  |  |           padding-bottom: 12px; | 
 |  |  |           .line { | 
 |  |  |             font-size: 13px; | 
 |  |  |             color: #D2E0FF; | 
 |  |  |             display: flex; | 
 |  |  |             align-items: center; | 
 |  |  |             height: 30px; | 
 |  |  |             div{ | 
 |  |  |  | 
 |  |  |             div { | 
 |  |  |               flex: 3; | 
 |  |  |             } | 
 |  |  |             .id_card{ | 
 |  |  |  | 
 |  |  |             .id_card { | 
 |  |  |               color: #00F2F3; | 
 |  |  |             } | 
 |  |  |             .title{ | 
 |  |  |  | 
 |  |  |             .title { | 
 |  |  |               flex: 4; | 
 |  |  |             } | 
 |  |  |           } | 
 |  |  | 
 |  |  |  | 
 |  |  |         .list { | 
 |  |  |           margin-top: 22px; | 
 |  |  |           height: 240px; | 
 |  |  |           height: 216px; | 
 |  |  |           overflow: hidden; | 
 |  |  |           scrollbar-width: none; | 
 |  |  |  | 
 |  |  | 
 |  |  |             height: 36px !important; | 
 |  |  |             display: flex; | 
 |  |  |             align-items: center; | 
 |  |  |             font-size: 14px; | 
 |  |  |  | 
 |  |  |             &:nth-of-type(2n+1) { | 
 |  |  |               background: rgba(0, 152, 255, 0.13); | 
 |  |  | 
 |  |  |             .val { | 
 |  |  |               flex: 2; | 
 |  |  |             } | 
 |  |  |           } | 
 |  |  |  | 
 |  |  |           .orange { | 
 |  |  |             color: #FF5728; | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  |       } | 
 |  |  | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   .tab1 { | 
 |  |  |     height: 360px; | 
 |  |  |     overflow: auto; | 
 |  |  |  | 
 |  |  |     .more_btn { | 
 |  |  |       width: 116px; | 
 |  |  |       height: 25px; | 
 |  |  |       border-radius: 2px; | 
 |  |  |       border: 1px solid #D2E0FF; | 
 |  |  |       font-size: 12px; | 
 |  |  |       display: flex; | 
 |  |  |       align-items: center; | 
 |  |  |       justify-content: center; | 
 |  |  |       color: D2E0FF; | 
 |  |  |       margin-left: 30px; | 
 |  |  |       margin-top: 12px; | 
 |  |  |       cursor: pointer; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     .item { | 
 |  |  |       display: flex; | 
 |  |  |  | 
 |  |  | 
 |  |  |           color: #fff; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         .ac { | 
 |  |  |           color: #00F2F3; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         .text { | 
 |  |  |           margin-bottom: 4px; | 
 |  |  |         } | 
 |  |  | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   .tab2 { | 
 |  |  |     height: 360px; | 
 |  |  |     overflow: auto; | 
 |  |  |  | 
 |  |  |     .list { | 
 |  |  |       .item { | 
 |  |  |         width: 560px; | 
 |  |  | 
 |  |  |       } | 
 |  |  |     } | 
 |  |  |   } | 
 |  |  |  | 
 |  |  |   .empty { | 
 |  |  |     display: flex; | 
 |  |  |     justify-content: center; | 
 |  |  |     align-items: center; | 
 |  |  |     height: 340px; | 
 |  |  |  | 
 |  |  |     img { | 
 |  |  |       width: 144px; | 
 |  |  |     } | 
 |  |  |   } | 
 |  |  | } | 
 |  |  |  | 
 |  |  | .modal_mask { |