|  |  |  | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <v-scale-screen width="1920" height="960" :fullScreen="true"> | 
|---|
|  |  |  | <v-scale-screen width="1920" height="960"> | 
|---|
|  |  |  | <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@2x.png" 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>累计出库量统计</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tabs"> | 
|---|
|  |  |  | <div class="tab active">本月</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab1 == 0 }" @click="tabClick1(0)">本月</div> | 
|---|
|  |  |  | <div class="separate"></div> | 
|---|
|  |  |  | <div class="tab">本年</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab1 == 1 }" @click="tabClick1(1)">本年</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="content_wrap"> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="num">1000000</div> | 
|---|
|  |  |  | <div class="unit_wrap"> | 
|---|
|  |  |  | <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 src="@/assets/images/ic_up.png" class="icon" alt=""> | 
|---|
|  |  |  | <span>10.2%</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> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="train_wrap"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="total"> | 
|---|
|  |  |  | <span>累计出库车次</span> | 
|---|
|  |  |  | <span><strong>3900</strong><span class="unit">次</span></span> | 
|---|
|  |  |  | <span><strong>{{ activeTab1 == 0 ? data1.monthOutTimes : data1.yearOutTimes }}</strong><span | 
|---|
|  |  |  | class="unit">次</span></span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="com_header"> | 
|---|
|  |  |  | <div class="title"> | 
|---|
|  |  |  | <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> | 
|---|
|  |  |  | <div>月能耗分析</div> | 
|---|
|  |  |  | <div>运输任务分析</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tabs"> | 
|---|
|  |  |  | <div class="tab active">近7日</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab2 == 0 }" @click="tabClick2(0)">近7日</div> | 
|---|
|  |  |  | <div class="separate"></div> | 
|---|
|  |  |  | <div class="tab">本月</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab2 == 1 }" @click="tabClick2(1)">本月</div> | 
|---|
|  |  |  | <div class="separate"></div> | 
|---|
|  |  |  | <div class="tab">本年</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab2 == 2 }" @click="tabClick2(2)">本年</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <span class="item addr">收货单位</span> | 
|---|
|  |  |  | <span class="item time">任务开始时间</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="line" v-for="i in 7"> | 
|---|
|  |  |  | <span class="item flag"><span class="flag_bg">出</span></span> | 
|---|
|  |  |  | <span class="item order">11</span> | 
|---|
|  |  |  | <span class="item id_card">11</span> | 
|---|
|  |  |  | <span class="item status">11</span> | 
|---|
|  |  |  | <span class="item addr">11</span> | 
|---|
|  |  |  | <span class="item time">11</span> | 
|---|
|  |  |  | <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"> | 
|---|
|  |  |  | <span class="item flag"><span :class="{ flag_bg: item.type == 1 || item.type == 3 }">{{ item.type | 
|---|
|  |  |  | == 1 | 
|---|
|  |  |  | || item.type == 3 ? '出' : '入' }}</span></span> | 
|---|
|  |  |  | <span class="item order">{{ item.billCode || item.contractNum }}</span> | 
|---|
|  |  |  | <span class="item id_card">{{ item.carCodeFront }}</span> | 
|---|
|  |  |  | <span class="item status">{{ statusMap[item.status].label }}</span> | 
|---|
|  |  |  | <span class="item addr">{{ item.repertotyAddress }}</span> | 
|---|
|  |  |  | <span class="item time">{{ item.confirmTaskDate ? item.confirmTaskDate.slice(5, 16) : '-' | 
|---|
|  |  |  | }}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="center_box"> | 
|---|
|  |  |  | <div class="center_box_one"> | 
|---|
|  |  |  | <div class="tabs"> | 
|---|
|  |  |  | <div class="tab active"> | 
|---|
|  |  |  | <img src="@/assets/images/energy_ef/chuku_task_ac.png" alt=""> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab4 == 0 }" @click="tabClick4(0)"> | 
|---|
|  |  |  | <img v-if="activeTab4 == 0" src="@/assets/images/energy_ef/chuku_task_ac.png" alt=""> | 
|---|
|  |  |  | <img v-else src="@/assets/images/energy_ef/chuku_task.png" alt=""> | 
|---|
|  |  |  | <span>出库任务</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tab"> | 
|---|
|  |  |  | <img src="@/assets/images/energy_ef/ruku_task.png" alt=""> | 
|---|
|  |  |  | <div class="tab" :style="{ color: activeTab4 == 1 ? '#387df0' : '#d8e4f8' }" @click="tabClick4(1)"> | 
|---|
|  |  |  | <img v-if="activeTab4 == 1" src="@/assets/images/energy_ef/ruku_task_ac.png" alt=""> | 
|---|
|  |  |  | <img v-if="activeTab4 == 0" src="@/assets/images/energy_ef/ruku_task.png" alt=""> | 
|---|
|  |  |  | <span>入库任务</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <img src="@/assets/images/energy_ef/ic_renwuzongliang@2x.png" alt=""> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="name">当前任务量</div> | 
|---|
|  |  |  | <div class="num"><span>1000</span>万支</div> | 
|---|
|  |  |  | <div class="num"><span>{{ data4.planTaskNum }}</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">1000</span>万支</div> | 
|---|
|  |  |  | <div class="num"><span class="today">{{ data4.finishTaskNum }}</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"><span class="finish">1000</span>万支</div> | 
|---|
|  |  |  | <div class="num" v-if="data4.finishTaskNum && data4.planTaskNum"><span class="finish">{{ (( | 
|---|
|  |  |  | data4.finishTaskNum / data4.planTaskNum) * 100).toFixed(1) }}%</span>万支</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="center_box_two"></div> | 
|---|
|  |  |  | <div class="center_box_two"> | 
|---|
|  |  |  | <div class="list"> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <img src="@/assets/images/LogisticsCenter/car_zaitu@2x.png" alt=""> | 
|---|
|  |  |  | <span>在途:{{ 8 }}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <img src="@/assets/images/LogisticsCenter/car_kongxian@2x.png" alt=""> | 
|---|
|  |  |  | <span>空闲:{{ 8 }}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <img src="@/assets/images/LogisticsCenter/car_lixian@2x.png" alt=""> | 
|---|
|  |  |  | <span>离线:{{ 8 }}</span> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="echart_wrap"> | 
|---|
|  |  |  | <div ref="echartMap" class="echart_map" id="echartMap"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="right_box"> | 
|---|
|  |  |  | <div class="right_box_one"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div>出入库效率</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tabs"> | 
|---|
|  |  |  | <div class="tab active">今日</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab12 == 0 }" @click="tabClick12(0)">今日</div> | 
|---|
|  |  |  | <div class="separate"></div> | 
|---|
|  |  |  | <div class="tab">本月</div> | 
|---|
|  |  |  | <div class="tab" :class="{ active: activeTab12 == 1 }" @click="tabClick12(1)">本月</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <img src="@/assets/images/energy_ef/ic_chukuxiaolv@2x.png" alt=""> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="name">出库效率</div> | 
|---|
|  |  |  | <div class="num"><span>1000</span>万支/小时</div> | 
|---|
|  |  |  | <div class="num"><span>{{ activeTab12 == 0 ? data1.todayInRata : data1.monthInRata }}</span>万支/小时 | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <img src="@/assets/images/energy_ef/ic_rukuxiaolv@2x.png" alt=""> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="name">入库效率</div> | 
|---|
|  |  |  | <div class="num"><span class="today">1000</span>万支/小时</div> | 
|---|
|  |  |  | <div class="num"><span class="today">{{ activeTab12 == 0 ? data1.monthOutTotal : data1.yearOutTotal | 
|---|
|  |  |  | }}</span>万支/小时</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="echart_wrap"> | 
|---|
|  |  |  | <div class="pie_text"> | 
|---|
|  |  |  | <div class="fs30"><strong>300</strong></div> | 
|---|
|  |  |  | <div class="fs30"><strong>{{ data5 }}</strong></div> | 
|---|
|  |  |  | <div>入库数量</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="echart" id="echart1"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="list"> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="icon"></div> | 
|---|
|  |  |  | <div class="text">合肥厂</div> | 
|---|
|  |  |  | <div class="num">100万支 | 55%</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div :style="{ background: colors[0] }" class="icon"></div> | 
|---|
|  |  |  | <div class="text">集散中心</div> | 
|---|
|  |  |  | <div class="num">100万支 | 55%</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div :style="{ background: colors[1] }" class="icon"></div> | 
|---|
|  |  |  | <div class="text">市公司</div> | 
|---|
|  |  |  | <div class="num">100万支 | 55%</div> | 
|---|
|  |  |  | <div class="item" v-for="item, i in dataList5"> | 
|---|
|  |  |  | <div class="line"> | 
|---|
|  |  |  | <div :style="{ background: colors[i] }" class="icon"></div> | 
|---|
|  |  |  | <div class="text">{{ item.name }}</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div :style="{ color: colors[i] }" class="num">{{ item.value }}万支 | {{ item.rate }}%</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="right_box_three"></div> | 
|---|
|  |  |  | <div class="right_box_three"> | 
|---|
|  |  |  | <div class="com_header"> | 
|---|
|  |  |  | <div class="title"> | 
|---|
|  |  |  | <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> | 
|---|
|  |  |  | <div>库存情况</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|---|
|  |  |  | </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> | 
|---|
|  |  |  | <Percent v-if="data1.stockTotal && data1.stockMax" | 
|---|
|  |  |  | :rate="((data1.stockTotal / data1.stockMax) * 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="la">{{ item.name }}</div> | 
|---|
|  |  |  | <div class="val">{{ item.num }}万支</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!--  --> | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="info"> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="dian"></div> | 
|---|
|  |  |  | <div class="la">运输单号:</div> | 
|---|
|  |  |  | <div class="val">22</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="dian"></div> | 
|---|
|  |  |  | <div class="la">司机信息:</div> | 
|---|
|  |  |  | <div class="val">22</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="dian"></div> | 
|---|
|  |  |  | <div class="la">总运输量:</div> | 
|---|
|  |  |  | <div class="val">22 万支</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tabs"> | 
|---|
|  |  |  | <div :class="{ active: modalTab == 0 }" @click="modalTabClick(0)" class="tab">作业信息</div> | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div class="status">作业中</div> | 
|---|
|  |  |  | <div class="text">作业任务在【入库去1号月台】开始作业</div> | 
|---|
|  |  |  | <div class="time">2024-04-02 12:00</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tab2" v-if="modalTab == 1"> | 
|---|
|  |  |  | <div class="list"> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="head"> | 
|---|
|  |  |  | <div class="code">合同号:12312312</div> | 
|---|
|  |  |  | <div class="addr">收货地:江门烟草物流中心</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> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="modal_mask" v-if="showModal" @click="showModal = false"></div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </v-scale-screen> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | 
|---|
|  |  |  | <script setup> | 
|---|
|  |  |  | import { ref, onMounted } from 'vue' | 
|---|
|  |  |  | import VScaleScreen from 'v-scale-screen' | 
|---|
|  |  |  | import Percent from '@/components/percent.vue' | 
|---|
|  |  |  | import dayjs from 'dayjs' | 
|---|
|  |  |  | import * as echarts from 'echarts' | 
|---|
|  |  |  | import ahJSON from '@/assets/anhui.json' | 
|---|
|  |  |  | import icKongxian from '@/assets/images/LogisticsCenter/map_car_kongxian@2x.png' | 
|---|
|  |  |  | import icLixian from '@/assets/images/LogisticsCenter/map_car_lixian@2x.png' | 
|---|
|  |  |  | import icZaitu from '@/assets/images/LogisticsCenter/map_car_zaitu@2x.png' | 
|---|
|  |  |  | import { | 
|---|
|  |  |  | wlcenterData, | 
|---|
|  |  |  | wljobData, | 
|---|
|  |  |  | wlplatformJobList, | 
|---|
|  |  |  | wlstockList, | 
|---|
|  |  |  | wltotalInList, | 
|---|
|  |  |  | wltransportMeasure, | 
|---|
|  |  |  | } from '@/api' | 
|---|
|  |  |  | import 'swiper/css/swiper.min.css' | 
|---|
|  |  |  | import Swiper from 'swiper' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const colors = ['#FEAF01', '#01ABFE', '#51F9E4'] | 
|---|
|  |  |  | const weekMap = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六',] | 
|---|
|  |  |  | const date = ref(dayjs().format('YYYY.MM.DD')) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }, 1000) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const arr = ['#68e2e3', '#50afd3', '#377cdb', '#d5ae3a'] | 
|---|
|  |  |  | const showModal = ref(false) | 
|---|
|  |  |  | const modalTab = ref(0) | 
|---|
|  |  |  | const modalTabClick = (val) => { | 
|---|
|  |  |  | modalTab.value = val | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const initEnergy = () => { | 
|---|
|  |  |  | var myChart = echarts.init(document.querySelector('.energyRef')) | 
|---|
|  |  |  | // 绘制图表 | 
|---|
|  |  |  | const arr = ['#68e2e3', '#50afd3', '#377cdb', '#d5ae3a'] | 
|---|
|  |  |  | myChart.setOption({ | 
|---|
|  |  |  | legend: { | 
|---|
|  |  |  | itemGap: 12, | 
|---|
|  |  |  | // icon: 'circle', | 
|---|
|  |  |  | right: '12px', | 
|---|
|  |  |  | top: '10px', | 
|---|
|  |  |  | data: ['计划任务量', '任务完成量', '计划任务数'], | 
|---|
|  |  |  | itemWidth: 12, | 
|---|
|  |  |  | itemHeight: 4, | 
|---|
|  |  |  | textStyle: { | 
|---|
|  |  |  | color: '#fff', | 
|---|
|  |  |  | borderColor: '#fff' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | grid: { | 
|---|
|  |  |  | top: '20%', | 
|---|
|  |  |  | left: '2%', | 
|---|
|  |  |  | right: '2%', | 
|---|
|  |  |  | bottom: '4%', | 
|---|
|  |  |  | left: '3%', | 
|---|
|  |  |  | right: '4%', | 
|---|
|  |  |  | bottom: '3%', | 
|---|
|  |  |  | top: '18%', | 
|---|
|  |  |  | containLabel: true | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | tooltip: { | 
|---|
|  |  |  | trigger: 'axis', | 
|---|
|  |  |  | axisPointer: { | 
|---|
|  |  |  | type: 'line' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | trigger: 'axis' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | xAxis: { | 
|---|
|  |  |  | xAxis: [{ | 
|---|
|  |  |  | nameGap: 5, | 
|---|
|  |  |  | type: 'category', | 
|---|
|  |  |  | data: [1, 2, 3, 4, 4, 5] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | yAxis: { | 
|---|
|  |  |  | type: 'value', | 
|---|
|  |  |  | name: 'kw·h', | 
|---|
|  |  |  | nameTextStyle: { | 
|---|
|  |  |  | padding: [0, 0, 4, -30]    // 四个数字分别为上右下左与原位置距离 | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | splitLine: { | 
|---|
|  |  |  | axisLine: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | lineStyle: { | 
|---|
|  |  |  | //这里输入线条的样式 | 
|---|
|  |  |  | color: 'rgba(255,255,255,0.14)', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | color: '#999' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | axisLabel: { | 
|---|
|  |  |  | color: '#869CC9' | 
|---|
|  |  |  | // fontSize: 24, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | axisTick: { | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: dataList2.value.map(i => i.planDate), | 
|---|
|  |  |  | }], | 
|---|
|  |  |  | yAxis: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | nameTextStyle: { | 
|---|
|  |  |  | color: '#869CC9', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | offset: 0, | 
|---|
|  |  |  | name: '万支', | 
|---|
|  |  |  | type: 'value', | 
|---|
|  |  |  | axisLabel: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | color: "#869CC9", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | axisLine: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | splitLine: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | lineStyle: { | 
|---|
|  |  |  | width: 1, | 
|---|
|  |  |  | color: "rgba(49,105,129,0.4)", | 
|---|
|  |  |  | type: 'dashed' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | type: 'value', | 
|---|
|  |  |  | name: '%', | 
|---|
|  |  |  | min: 0, | 
|---|
|  |  |  | max: 100, | 
|---|
|  |  |  | // interval: 5, | 
|---|
|  |  |  | axisLabel: { | 
|---|
|  |  |  | formatter: '{value}%' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | splitLine: false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | series: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | data: [1, 2, 3, 4, 5], | 
|---|
|  |  |  | name: '计划任务量', | 
|---|
|  |  |  | type: 'bar', | 
|---|
|  |  |  | barWidth: 10, | 
|---|
|  |  |  | barGap: '60%', | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | position: 'top', | 
|---|
|  |  |  | color: '#fff', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | itemStyle: { | 
|---|
|  |  |  | normal: { | 
|---|
|  |  |  | color: new echarts.graphic.LinearGradient( | 
|---|
|  |  |  | 0, 0, 0, 1, | 
|---|
|  |  |  | [ | 
|---|
|  |  |  | { offset: 0, color: arr[1] }, | 
|---|
|  |  |  | { offset: 1, color: '#080807' } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | ), | 
|---|
|  |  |  | barBorderRadius: [10, 10, 0, 0] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | offset: 0, | 
|---|
|  |  |  | color: '#5bc7d5' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | offset: 1, | 
|---|
|  |  |  | color: '#1a3f55' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ], false), | 
|---|
|  |  |  | lineStyle: { | 
|---|
|  |  |  | width: 1, | 
|---|
|  |  |  | type: 'solid' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | barBorderRadius: [3, 3, 0, 0], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: dataList2.value.map(i => i.planTaskNum) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '任务完成量', | 
|---|
|  |  |  | type: 'bar', | 
|---|
|  |  |  | barWidth: 10, | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | position: 'top', | 
|---|
|  |  |  | color: '#fff', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | itemStyle: { | 
|---|
|  |  |  | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | offset: 0, | 
|---|
|  |  |  | color: '#edaf3d' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | offset: 1, | 
|---|
|  |  |  | color: '#323522' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ], false), | 
|---|
|  |  |  | lineStyle: { | 
|---|
|  |  |  | width: 1, | 
|---|
|  |  |  | type: 'solid' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | barBorderRadius: [3, 3, 0, 0], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: dataList2.value.map(i => i.finishTaskNum) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '计划任务数', | 
|---|
|  |  |  | type: 'line', | 
|---|
|  |  |  | smooth: false, | 
|---|
|  |  |  | showAllSymbol: true, | 
|---|
|  |  |  | symbol: 'none', | 
|---|
|  |  |  | lineStyle: { | 
|---|
|  |  |  | color: "#1a43bc" | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | position: 'top', | 
|---|
|  |  |  | color: '#fff', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: dataList2.value.map(i => i.planTimes) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | window.addEventListener('resize', function () {//执行 | 
|---|
|  |  |  | myChart.resize() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | labelLine: { | 
|---|
|  |  |  | show: false | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: [ | 
|---|
|  |  |  | { value: 1048, name: 'Search Engine' }, | 
|---|
|  |  |  | { value: 735, name: 'Direct' }, | 
|---|
|  |  |  | { value: 580, name: 'Email' } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | data: dataList5.value | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const echartMap = ref() | 
|---|
|  |  |  | const initMap = () => { | 
|---|
|  |  |  | var myChart = echarts.init(echartMap.value) | 
|---|
|  |  |  | echarts.registerMap('js', ahJSON) | 
|---|
|  |  |  | var scatterData = [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '幼儿园', | 
|---|
|  |  |  | num: 15, | 
|---|
|  |  |  | color: ['#1984ff', '#184b8d'], | 
|---|
|  |  |  | img: icKongxian, | 
|---|
|  |  |  | data: [ | 
|---|
|  |  |  | { name: '', value: [117.25, 31.49] }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '小学', | 
|---|
|  |  |  | num: 11, | 
|---|
|  |  |  | color: ['#f16c08', '#7f3710'], | 
|---|
|  |  |  | img: icLixian, | 
|---|
|  |  |  | data: [ | 
|---|
|  |  |  | { name: '', value: [118.5, 31.08] }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | let serData = [] | 
|---|
|  |  |  | scatterData.forEach((item) => { | 
|---|
|  |  |  | serData.push({ | 
|---|
|  |  |  | name: `${item.name}`, | 
|---|
|  |  |  | type: 'effectScatter', | 
|---|
|  |  |  | coordinateSystem: 'geo', | 
|---|
|  |  |  | effectType: 'ripple', | 
|---|
|  |  |  | showEffectOn: 'render', | 
|---|
|  |  |  | // 散点样式 | 
|---|
|  |  |  | rippleEffect: { | 
|---|
|  |  |  | period: 1, | 
|---|
|  |  |  | scale: 1, | 
|---|
|  |  |  | brushType: 'fill' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 散点大小 自定义散点图片 | 
|---|
|  |  |  | // symbol: `image://${item.img}`, | 
|---|
|  |  |  | symbol: `image://${item.img}`, | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | formatter: '{b|{b}}', | 
|---|
|  |  |  | position: 'top', | 
|---|
|  |  |  | distance: -1, | 
|---|
|  |  |  | rich: { | 
|---|
|  |  |  | b: { | 
|---|
|  |  |  | color: "#fff", | 
|---|
|  |  |  | fontSize: 14, | 
|---|
|  |  |  | height: 30, | 
|---|
|  |  |  | // width: 200, | 
|---|
|  |  |  | padding: 5, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | symbolSize: [32, 40], | 
|---|
|  |  |  | hoverAnimation: true, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | zlevel: 99, | 
|---|
|  |  |  | data: item.data, | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | var center = { | 
|---|
|  |  |  | '合肥市': [117.25, 31.83], | 
|---|
|  |  |  | '滁州市': [118.32, 32.3], | 
|---|
|  |  |  | '芜湖市': [118.43, 31.35], | 
|---|
|  |  |  | '阜阳市': [115.38, 32.89], | 
|---|
|  |  |  | '蚌埠市': [117.39, 32.92], | 
|---|
|  |  |  | '淮南市': [116.99, 32.63], | 
|---|
|  |  |  | '马鞍山市': [118.5, 31.71], | 
|---|
|  |  |  | '安庆市': [117.05, 30.52], | 
|---|
|  |  |  | '黄山市': [118.33, 29.71], | 
|---|
|  |  |  | '铜陵市': [117.81, 30.94], | 
|---|
|  |  |  | '宿州市': [116.98, 33.64], | 
|---|
|  |  |  | '淮北市': [116.8, 33.9], | 
|---|
|  |  |  | '六安市': [116.51, 31.75], | 
|---|
|  |  |  | '池州市': [117.49, 30.66], | 
|---|
|  |  |  | '宣城市': [118.76, 30.94], | 
|---|
|  |  |  | '亳州市': [115.78, 33.84], | 
|---|
|  |  |  | } | 
|---|
|  |  |  | var data = [ | 
|---|
|  |  |  | { name: "合肥市", value: 3 }, | 
|---|
|  |  |  | { name: "滁州市", value: 0 }, | 
|---|
|  |  |  | { name: "芜湖市", value: 1 }, | 
|---|
|  |  |  | { name: "阜阳市", value: 0 }, | 
|---|
|  |  |  | { name: "蚌埠市", value: 4 }, | 
|---|
|  |  |  | { name: "淮南市", value: 0 }, | 
|---|
|  |  |  | { name: "马鞍山市", value: 6 }, | 
|---|
|  |  |  | { name: "安庆市", value: 2 }, | 
|---|
|  |  |  | { name: "黄山市", value: 0 }, | 
|---|
|  |  |  | { name: "铜陵市", value: 40 }, | 
|---|
|  |  |  | { name: "宿州市", value: 0 }, | 
|---|
|  |  |  | { name: "淮北市", value: 0 }, | 
|---|
|  |  |  | { name: "六安市", value: 0 }, | 
|---|
|  |  |  | { name: "池州市", value: 1 }, | 
|---|
|  |  |  | { name: "宣城市", value: 0 }, | 
|---|
|  |  |  | { name: "亳州市", value: 0 }, | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | const option = { | 
|---|
|  |  |  | title: { | 
|---|
|  |  |  | top: 20, | 
|---|
|  |  |  | text: '', | 
|---|
|  |  |  | subtext: '', | 
|---|
|  |  |  | x: 'center', | 
|---|
|  |  |  | textStyle: { | 
|---|
|  |  |  | color: '#ffffff' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | tooltip: { | 
|---|
|  |  |  | trigger: 'item', | 
|---|
|  |  |  | formatter: function (params) { | 
|---|
|  |  |  | if (typeof (params.value)[2] == "undefined") { | 
|---|
|  |  |  | return params.name + ' : ' + params.value | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | return params.name + ' : ' + params.value[2] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | visualMap: { | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | max: 100, | 
|---|
|  |  |  | seriesIndex: [3], | 
|---|
|  |  |  | inRange: { | 
|---|
|  |  |  | color: ['#A5DCF4', '#006edd'] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | geo: [{ | 
|---|
|  |  |  | map: 'js', | 
|---|
|  |  |  | roam: false, //是否允许缩放 | 
|---|
|  |  |  | zoom: 1.2, //默认显示级别 | 
|---|
|  |  |  | scaleLimit: { | 
|---|
|  |  |  | min: 0, | 
|---|
|  |  |  | max: 3 | 
|---|
|  |  |  | }, //缩放级别 | 
|---|
|  |  |  | itemStyle: { | 
|---|
|  |  |  | normal: { | 
|---|
|  |  |  | areaColor: 'transparent', | 
|---|
|  |  |  | borderColor: '#3fdaff', | 
|---|
|  |  |  | borderWidth: 2, | 
|---|
|  |  |  | shadowColor: 'rgba(63, 218, 255, 0.5)', | 
|---|
|  |  |  | shadowBlur: 30 | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | emphasis: { | 
|---|
|  |  |  | areaColor: '#2B91B7', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | tooltip: { | 
|---|
|  |  |  | show: false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }], | 
|---|
|  |  |  | series: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | type: 'effectScatter', | 
|---|
|  |  |  | coordinateSystem: 'geo', | 
|---|
|  |  |  | z: 5, | 
|---|
|  |  |  | data, | 
|---|
|  |  |  | symbolSize: 14, | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | normal: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | formatter: function (params) { | 
|---|
|  |  |  | return '{fline|地点:' + params.data.city + '}\n{tline|' + (params.data.info || '发生xx集件') + '}' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | position: 'top', | 
|---|
|  |  |  | backgroundColor: 'rgba(233,63,66,.9)', | 
|---|
|  |  |  | padding: [0, 0], | 
|---|
|  |  |  | borderRadius: 3, | 
|---|
|  |  |  | lineHeight: 32, | 
|---|
|  |  |  | color: '#ffffff', | 
|---|
|  |  |  | rich: { | 
|---|
|  |  |  | fline: { | 
|---|
|  |  |  | padding: [0, 10, 10, 10], | 
|---|
|  |  |  | color: '#ffffff' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | tline: { | 
|---|
|  |  |  | padding: [10, 10, 0, 10], | 
|---|
|  |  |  | color: '#ffffff' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | emphasis: { | 
|---|
|  |  |  | show: true | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | itemStyle: { | 
|---|
|  |  |  | color: '#e93f42', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //地图 | 
|---|
|  |  |  | { | 
|---|
|  |  |  | type: 'map', | 
|---|
|  |  |  | mapType: 'js', | 
|---|
|  |  |  | geoIndex: -1, | 
|---|
|  |  |  | zoom: 1.2, //默认显示级别 | 
|---|
|  |  |  | label: { | 
|---|
|  |  |  | show: true, | 
|---|
|  |  |  | color: '#ffffff', | 
|---|
|  |  |  | emphasis: { | 
|---|
|  |  |  | color: 'white', | 
|---|
|  |  |  | show: false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | itemStyle: { | 
|---|
|  |  |  | normal: { | 
|---|
|  |  |  | borderColor: '#428598', | 
|---|
|  |  |  | borderWidth: 1, | 
|---|
|  |  |  | areaColor: '#1d3b60' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | emphasis: { | 
|---|
|  |  |  | areaColor: '#FA8C16', | 
|---|
|  |  |  | borderWidth: 1, | 
|---|
|  |  |  | color: '#428598' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: data | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ...serData, | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | myChart.setOption(option) | 
|---|
|  |  |  | window.addEventListener('resize', function () {//执行 | 
|---|
|  |  |  | myChart.resize() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const data1 = ref({}) | 
|---|
|  |  |  | const activeTab1 = ref(0) | 
|---|
|  |  |  | const activeTab12 = ref(0) | 
|---|
|  |  |  | const tabClick1 = (val) => { | 
|---|
|  |  |  | activeTab1.value = val | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const tabClick12 = (val) => { | 
|---|
|  |  |  | activeTab12.value = val | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const getData1 = () => { | 
|---|
|  |  |  | wlcenterData().then(res => { | 
|---|
|  |  |  | const result = res.data | 
|---|
|  |  |  | data1.value = result | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const dataList2 = ref([]) | 
|---|
|  |  |  | const activeTab2 = ref(0) | 
|---|
|  |  |  | const tabClick2 = (val) => { activeTab2.value = val } | 
|---|
|  |  |  | const getData2 = () => { | 
|---|
|  |  |  | wltransportMeasure({ queryType: activeTab2.value }).then(res => { | 
|---|
|  |  |  | const result = res.data | 
|---|
|  |  |  | dataList2.value = result | 
|---|
|  |  |  | initEnergy() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const dataList3 = ref([]) | 
|---|
|  |  |  | const statusMap = [ | 
|---|
|  |  |  | { value: 0, label: '待确认' }, | 
|---|
|  |  |  | { value: 1, label: '待签到' }, | 
|---|
|  |  |  | { value: 2, label: '等待叫号' }, | 
|---|
|  |  |  | { value: 3, label: '入园等待' }, | 
|---|
|  |  |  | { value: 4, label: '月台等待' }, | 
|---|
|  |  |  | { value: 5, label: '作业中' }, | 
|---|
|  |  |  | { value: 6, label: '作业完成' }, | 
|---|
|  |  |  | { value: 7, label: '转移中' }, | 
|---|
|  |  |  | { value: 8, label: '异常挂起' }, | 
|---|
|  |  |  | { value: 9, label: '已授权离园' }, | 
|---|
|  |  |  | { value: 10, label: '已离园' }, | 
|---|
|  |  |  | { value: 11, label: '已过号' }, | 
|---|
|  |  |  | { value: 12, label: '已取消' }, | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | const getData3 = () => { | 
|---|
|  |  |  | wlplatformJobList().then(res => { | 
|---|
|  |  |  | const result = res.data | 
|---|
|  |  |  | dataList3.value = result | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const data4 = ref({}) | 
|---|
|  |  |  | const activeTab4 = ref(0) | 
|---|
|  |  |  | const tabClick4 = (val) => { activeTab4.value = val } | 
|---|
|  |  |  | const getData4 = () => { | 
|---|
|  |  |  | wljobData({ queryType: activeTab4.value }).then(res => { | 
|---|
|  |  |  | const result = res.data | 
|---|
|  |  |  | data4.value = result | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const dataList5 = ref([]) | 
|---|
|  |  |  | const data5 = ref(0) | 
|---|
|  |  |  | const getData5 = () => { | 
|---|
|  |  |  | wltotalInList().then(res => { | 
|---|
|  |  |  | const result = res.data || [] | 
|---|
|  |  |  | let count = 0 | 
|---|
|  |  |  | dataList5.value = result.map(i => { | 
|---|
|  |  |  | i.value = i.num | 
|---|
|  |  |  | count += i.num | 
|---|
|  |  |  | return i | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | dataList5.value.forEach(i => { | 
|---|
|  |  |  | i.rate = ((i.num / count) * 100).toFixed(0) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | data5.value = count | 
|---|
|  |  |  | initEchart1() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const dataList6 = ref([]) | 
|---|
|  |  |  | const getData6 = () => { | 
|---|
|  |  |  | wlstockList().then(res => { | 
|---|
|  |  |  | const result = res.data | 
|---|
|  |  |  | dataList6.value = result | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const autoplayFlag = (list = [], leng = 4, time = 2000) => { | 
|---|
|  |  |  | if (list.length > leng) { | 
|---|
|  |  |  | return { delay: time, disableOnInteraction: false } | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | return false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const loopFn1 = () => { | 
|---|
|  |  |  | var newSwiper1 = new Swiper('.one-swiper', { | 
|---|
|  |  |  | initialSlide: 0, | 
|---|
|  |  |  | direction: 'vertical', //竖直方向 | 
|---|
|  |  |  | slidesPerView: 7, | 
|---|
|  |  |  | autoplay: autoplayFlag(dataList3.value, 7, 2000), | 
|---|
|  |  |  | observer: true, //修改swiper自己或子元素时,自动初始化swiperiper | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | const loopFn2 = () => { | 
|---|
|  |  |  | var newSwiper1 = new Swiper('.two-swiper', { | 
|---|
|  |  |  | initialSlide: 0, | 
|---|
|  |  |  | direction: 'vertical', //竖直方向 | 
|---|
|  |  |  | slidesPerView: 7, | 
|---|
|  |  |  | autoplay: autoplayFlag(dataList6.value, 7, 2000), | 
|---|
|  |  |  | observer: true, //修改swiper自己或子元素时,自动初始化swiperiper | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | onMounted(() => { | 
|---|
|  |  |  | initEnergy() | 
|---|
|  |  |  | initEchart1() | 
|---|
|  |  |  | getData1() | 
|---|
|  |  |  | getData2() | 
|---|
|  |  |  | getData3() | 
|---|
|  |  |  | getData4() | 
|---|
|  |  |  | getData5() | 
|---|
|  |  |  | getData6() | 
|---|
|  |  |  |  | 
|---|
|  |  |  | initMap() | 
|---|
|  |  |  |  | 
|---|
|  |  |  | setTimeout(() => { | 
|---|
|  |  |  | loopFn1() | 
|---|
|  |  |  | loopFn2() | 
|---|
|  |  |  | }, 12000) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | <style lang="scss" scoped> | 
|---|
|  |  |  | div { | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .swiper-wrapper { | 
|---|
|  |  |  | display: block !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .main_content { | 
|---|
|  |  |  | 
|---|
|  |  |  | .list_wrap { | 
|---|
|  |  |  | padding: 10px 0; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .list_temp { | 
|---|
|  |  |  | height: 210px !important; | 
|---|
|  |  |  | overflow: hidden; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .list { | 
|---|
|  |  |  | .line { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | height: 30px; | 
|---|
|  |  |  | height: 30px !important; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | padding: 0 10px; | 
|---|
|  |  |  | font-size: 12px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | &:nth-of-type(2n) { | 
|---|
|  |  |  | background: rgba(27, 64, 97, 0.52); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .flag_bg { | 
|---|
|  |  |  | background: #01ABFE !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | 
|---|
|  |  |  | flex: 3; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .flag_bg { | 
|---|
|  |  |  | span { | 
|---|
|  |  |  | width: 22px; | 
|---|
|  |  |  | height: 22px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | 
|---|
|  |  |  | background: #00F2F3; | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | color: #001B3C; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .flag_bg { | 
|---|
|  |  |  | background: #4eacf6; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .time { | 
|---|
|  |  |  | flex: 8; | 
|---|
|  |  |  | flex: 6; | 
|---|
|  |  |  | margin-left: 6px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | .center_box { | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | padding: 16px 60px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-direction: column; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .center_box_one { | 
|---|
|  |  |  | height: 190px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tabs { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin-right: 30px; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | width: 20px; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .static_wrap { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | justify-content: space-between; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin: 30px 0 54px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | width: 68px; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .center_box_two { | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | border: 1px solid; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .list { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | top: 10px; | 
|---|
|  |  |  | left: 20px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 20px; | 
|---|
|  |  |  | margin-bottom: 18px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | width: 36px; | 
|---|
|  |  |  | height: 36px; | 
|---|
|  |  |  | margin-right: 15px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .echart_wrap { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .echart_map { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | /* transform: rotate(60deg); */ | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | height: 200px; | 
|---|
|  |  |  | border: 1px solid; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .echart_wrap { | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .pie_text { | 
|---|
|  |  |  | width: 104px; | 
|---|
|  |  |  | height: 104px; | 
|---|
|  |  |  | border: 1px dashed; | 
|---|
|  |  |  | border-radius: 50%; | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | left: 50%; | 
|---|
|  |  |  | top: 50%; | 
|---|
|  |  |  | transform: translate(-50%, -50%); | 
|---|
|  |  |  | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | .fs30{ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .fs30 { | 
|---|
|  |  |  | font-size: 30px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | margin-left: 36px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin: 8px 0; | 
|---|
|  |  |  | margin-bottom: 14px; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .icon { | 
|---|
|  |  |  | width: 16px; | 
|---|
|  |  |  | height: 16px; | 
|---|
|  |  |  | border-radius: 50%; | 
|---|
|  |  |  | margin-right: 6px; | 
|---|
|  |  |  | background: linear-gradient(270deg, #29aeff 0%, #207ff7 100%); | 
|---|
|  |  |  | &:nth-last-child(1) { | 
|---|
|  |  |  | margin: 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .text { | 
|---|
|  |  |  | margin-right: 6px; | 
|---|
|  |  |  | .line { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin-bottom: 6px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .icon { | 
|---|
|  |  |  | width: 12px; | 
|---|
|  |  |  | height: 12px; | 
|---|
|  |  |  | border-radius: 50%; | 
|---|
|  |  |  | margin-right: 10px; | 
|---|
|  |  |  | background: linear-gradient(270deg, #29aeff 0%, #207ff7 100%); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .num { | 
|---|
|  |  |  | margin-left: 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .right_box_three { | 
|---|
|  |  |  | .repertory { | 
|---|
|  |  |  | .header { | 
|---|
|  |  |  | padding: 15px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | justify-content: space-between; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | color: #D2E0FF; | 
|---|
|  |  |  | margin-bottom: 11px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .num { | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 16px; | 
|---|
|  |  |  | color: #FFFFFF; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .list { | 
|---|
|  |  |  | margin-top: 22px; | 
|---|
|  |  |  | height: 240px; | 
|---|
|  |  |  | overflow: hidden; | 
|---|
|  |  |  | scrollbar-width: none; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 36px !important; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | &:nth-of-type(2n+1) { | 
|---|
|  |  |  | background: rgba(0, 152, 255, 0.13); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .la { | 
|---|
|  |  |  | flex: 5; | 
|---|
|  |  |  | padding-left: 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .val { | 
|---|
|  |  |  | flex: 2; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .time { | 
|---|
|  |  |  | width: 180px; | 
|---|
|  |  |  | width: 130px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | justify-content: flex-end; | 
|---|
|  |  |  | padding-bottom: 10px; | 
|---|
|  |  |  | font-size: 36px; | 
|---|
|  |  |  | font-size: 30px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .week { | 
|---|
|  |  |  | margin-left: 36px; | 
|---|
|  |  |  | margin-left: 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | margin: 0 6px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tab { | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .active { | 
|---|
|  |  |  | color: #0094eb; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | color: #FFFFFF; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | z-index: -2; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .main_bg { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .modal { | 
|---|
|  |  |  | width: 600px; | 
|---|
|  |  |  | height: 556px; | 
|---|
|  |  |  | background: rgba(0, 30, 63, 0.5); | 
|---|
|  |  |  | backdrop-filter: blur(5px); | 
|---|
|  |  |  | position: fixed; | 
|---|
|  |  |  | top: 20%; | 
|---|
|  |  |  | left: 50%; | 
|---|
|  |  |  | transform: translate(-50%, 0); | 
|---|
|  |  |  | z-index: 999; | 
|---|
|  |  |  | padding: 24px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .title_head { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-weight: bold; | 
|---|
|  |  |  | font-size: 17px; | 
|---|
|  |  |  | margin-bottom: 20px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | width: 20px; | 
|---|
|  |  |  | margin-right: 4px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .info { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-wrap: wrap; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-size: 13px; | 
|---|
|  |  |  | width: 55%; | 
|---|
|  |  |  | margin-bottom: 8px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | &:nth-of-type(2n+1) { | 
|---|
|  |  |  | width: 45%; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .dian { | 
|---|
|  |  |  | width: 4px; | 
|---|
|  |  |  | height: 4px; | 
|---|
|  |  |  | background-color: #fff; | 
|---|
|  |  |  | border-radius: 50%; | 
|---|
|  |  |  | margin-right: 4px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .la { | 
|---|
|  |  |  | color: #01D9FE; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tabs { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | border-bottom: 1px solid rgba(255, 255, 255, 0.16); | 
|---|
|  |  |  | margin: 0 -24px; | 
|---|
|  |  |  | margin-bottom: 20px; | 
|---|
|  |  |  | padding-left: 12px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tab { | 
|---|
|  |  |  | color: #869CC9; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | margin-right: 12px; | 
|---|
|  |  |  | width: 80px; | 
|---|
|  |  |  | height: 42px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | border-bottom: 2px solid #06182e; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .active { | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 15px; | 
|---|
|  |  |  | color: #00F2F3; | 
|---|
|  |  |  | border-bottom: 2px solid #00F2F3; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tab1 { | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | &:nth-last-child(1) { | 
|---|
|  |  |  | .content { | 
|---|
|  |  |  | .time { | 
|---|
|  |  |  | padding-bottom: 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .icon_wrap { | 
|---|
|  |  |  | width: 24px; | 
|---|
|  |  |  | margin-right: 10px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-direction: column; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .dian { | 
|---|
|  |  |  | width: 12px; | 
|---|
|  |  |  | height: 12px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .dian_ac { | 
|---|
|  |  |  | width: 24px; | 
|---|
|  |  |  | height: 24px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .line { | 
|---|
|  |  |  | width: 1px; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | border: 1px dashed #8a9bc5; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .content { | 
|---|
|  |  |  | font-size: 13px; | 
|---|
|  |  |  | color: #D2E0FF; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .status { | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | margin-bottom: 5px; | 
|---|
|  |  |  | color: #fff; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .text { | 
|---|
|  |  |  | margin-bottom: 4px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .time { | 
|---|
|  |  |  | font-size: 12px; | 
|---|
|  |  |  | padding-bottom: 12px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .tab2 { | 
|---|
|  |  |  | .list { | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | width: 560px; | 
|---|
|  |  |  | background: rgba(1, 171, 254, 0.1); | 
|---|
|  |  |  | font-size: 12px; | 
|---|
|  |  |  | color: #D2E0FF; | 
|---|
|  |  |  | padding: 10px; | 
|---|
|  |  |  | margin-bottom: 10px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .head { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | justify-content: space-between; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | height: 36px; | 
|---|
|  |  |  | line-height: 36px; | 
|---|
|  |  |  | border-bottom: 1px solid rgba(255, 255, 255, 0.16); | 
|---|
|  |  |  | margin-bottom: 10px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .code { | 
|---|
|  |  |  | font-weight: 500; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | color: #00F2F3; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .line { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin-bottom: 8px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | &:nth-last-child(1) { | 
|---|
|  |  |  | margin-bottom: 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .name { | 
|---|
|  |  |  | flex: 4; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .num { | 
|---|
|  |  |  | flex: 3; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .val { | 
|---|
|  |  |  | color: #fff; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .modal_mask { | 
|---|
|  |  |  | position: fixed; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | top: 0; | 
|---|
|  |  |  | left: 0; | 
|---|
|  |  |  | z-index: 99; | 
|---|
|  |  |  | background-color: rgba(0, 0, 0, 0.1); | 
|---|
|  |  |  | /* background-color: red; */ | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .bg { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | left: 0; | 
|---|