| | |
| | | <img src="@/assets/images/LogisticsCenter/bg@2x.png" class="main_bg" alt="" /> |
| | | <div class="main_header"> |
| | | <img src="@/assets/images/maintitle.gif" class="main_header_bg" alt="" /> |
| | | <div class="title">全省物流在途</div> |
| | | <div class="title">安徽中烟成品集控大屏</div> |
| | | <div class="time_wrap"> |
| | | <span class="date">{{ date }}</span> |
| | | <span class="week">{{ week }}</span> |
| | |
| | | <div class="second_title"> |
| | | <div class="title"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> |
| | | <div>累计出库量</div> |
| | | <div>累计出库量(箱)</div> |
| | | <div class="question"> |
| | | <img src="@/assets/images/ic_question@2x.png" style="margin-left: 6px;" class="icon" alt=""> |
| | | <div class="hover_wrap"> |
| | | <div class="triangle"></div> |
| | | <div class="title">累计出库量统计说明:</div> |
| | | <div>累计出库量:所有物流出库作业数据(包含联营加工(回运、落地销售)、前置库移库(成都/临沂)等所有出库作业数据)</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="tabs"> |
| | | <div class="tab" :class="{ active: activeTab1 == 1 }" @click="tab1Click(1)">本周</div> |
| | |
| | | </div> |
| | | <div class="content_wrap"> |
| | | <div class="num_wrap"> |
| | | <div class="num_list" v-if="StockOutData.currentNum || StockOutData.currentNum == 0"> |
| | | <div class="num" v-for="i in StockOutData.currentNum + ''"> |
| | | {{ i }} |
| | | <img class="bg" src="@/assets/images/LogisticsCenter/bg_number@2x.png" alt=""> |
| | | |
| | | <div class="question1"> |
| | | <div class="hover_con"> |
| | | <div class="num_list" v-if="StockOutData.currentNum || StockOutData.currentNum == 0"> |
| | | <div class="num" v-for="i in StockOutData.currentNum + ''"> |
| | | {{ i }} |
| | | <img class="bg" src="@/assets/images/LogisticsCenter/bg_number@2x.png" alt=""> |
| | | </div> |
| | | </div> |
| | | <div class="hover_wrap"> |
| | | <div class="triangle"></div> |
| | | <div class="title">调拨出库量:{{ StockOutData.currentProvinceNum || 0 }}箱</div> |
| | | <div class="title">其他出库量:{{ StockOutData.currentOtherNum || 0 }}箱</div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="content"> |
| | | <div class="unit_wrap"> |
| | |
| | | </div> |
| | | <div class="list_wrap"> |
| | | <div class="header line"> |
| | | <span class="item">运输车辆</span> |
| | | <span class="item status">状态</span> |
| | | <span class="item">位置</span> |
| | | <span class="item">合同号</span> |
| | | <span class="item status">订单状态</span> |
| | | <span class="item">目的地</span> |
| | | <span class="item">任务下达时间</span> |
| | | </div> |
| | | <div class="one-swiper list"> |
| | |
| | | <span class="item">{{ item.contractNumber }}</span> |
| | | <span class="item status">{{ item.statusDesc }}</span> |
| | | <span class="item">{{ item.receiveEnterprise }}</span> |
| | | <span class="item">{{ item.transportDate }}</span> |
| | | <span class="item">{{ item.createDate || '-' }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="left"> |
| | | <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> |
| | | <span>出库能力</span> |
| | | <div class="question"> |
| | | <img src="@/assets/images/ic_question@2x.png" style="margin-left: 4px;" class="icon" alt=""> |
| | | <div class="hover_wrap"> |
| | | <div class="triangle"></div> |
| | | <div class="title">出库能力统计说明:</div> |
| | | <div>当前订单量:截至昨日未完成订单+当日下达的订单数量;</div> |
| | | <div>当日任务量:截至昨日已配载未出库+当日已配载未出库数量+无需配载的任务;</div> |
| | | <div>今日出库量:当日按实际出库量(以电子锁上锁为准)</div> |
| | | <div>剩余任务量:当日任务量-今日出库量</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="right"> |
| | | <img @click="showPro = !showPro" src="@/assets/images/LogisticsCenter/position.png" class="posi" alt=""> |
| | |
| | | <div class="item"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_jinrijihua@2x.png" alt=""> |
| | | <div class="content"> |
| | | <div class="name">当日订单量</div> |
| | | <div class="num"><span class="blue">{{ cneterData.currentOrderNum }}</span>万支</div> |
| | | <div class="name">当前订单量</div> |
| | | <div class="num"><span class="blue" |
| | | v-if="cneterData.currentOrderNum || cneterData.currentOrderNum == 0">{{ |
| | | cneterData.currentOrderNum }}</span>箱</div> |
| | | </div> |
| | | </div> |
| | | <div class="item"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_jinrijihua@2.png" alt=""> |
| | | <div class="content"> |
| | | <div class="name">当日计划量</div> |
| | | <div class="num"><span>{{ cneterData.currentPlanNum }}</span>万支</div> |
| | | <div class="name">当前任务量</div> |
| | | <div class="num"><span v-if="cneterData.currentPlanNum || cneterData.currentPlanNum == 0">{{ |
| | | cneterData.currentPlanNum }}</span>箱</div> |
| | | <div class="unit">车次:{{ cneterData.currentPlanCarNum }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | <img src="@/assets/images/LogisticsCenter/ic_jinrichuku@2x.png" alt=""> |
| | | <div class="content"> |
| | | <div class="name">今日出库量</div> |
| | | <div class="num"><span class="finish">{{ cneterData.crrentOutNum }}</span>万支</div> |
| | | <div class="num"><span v-if="cneterData.crrentOutNum || cneterData.crrentOutNum == 0" |
| | | class="finish">{{ |
| | | cneterData.crrentOutNum }}</span>箱</div> |
| | | <div class="unit">车次:{{ cneterData.crrentOutCarNum }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | <img src="@/assets/images/LogisticsCenter/ic_jinriweichu@2x.png" alt=""> |
| | | <div class="content"> |
| | | <div class="name">剩余任务量</div> |
| | | <div class="num"><span class="today">{{ cneterData.crrentRestNum }}</span>万支</div> |
| | | <div class="num"><span v-if="cneterData.crrentRestNum || cneterData.crrentRestNum == 0" |
| | | class="today">{{ |
| | | cneterData.crrentRestNum }}</span>箱</div> |
| | | <div class="unit">车次:{{ cneterData.crrentRestCarNum }}</div> |
| | | </div> |
| | | </div> |
| | |
| | | <div :style="{ width: cneterData.level2 }" class="box box1"> |
| | | <div v-if="cneterData.hoursAbility >= cneterData.currentPlanNum" class="tag tag1"> |
| | | <div class="icon"></div> |
| | | <span>当日计划</span> |
| | | <span>当前任务</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | :style="{ width: cneterData.level22 }" class="box box1 box11"> |
| | | <div class="tag tag1"> |
| | | <div class="icon"></div> |
| | | <span>当日计划</span> |
| | | <span>当前任务</span> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="box"></div> --> |
| | |
| | | </div> |
| | | <div class="center_box_two"> |
| | | <div class="echart_map" ref="mapEchart" id="echart_map"></div> |
| | | <div v-if="showModal1" @click="showModal1 = false" class="modal1"> |
| | | <div class="list"> |
| | | <div v-if="showModal1" class="modal1"> |
| | | <div class="content"> |
| | | <div class="head line"> |
| | | <div class="item">车牌号</div> |
| | | <div class="item">合同号</div> |
| | | <div class="item addr">目的地</div> |
| | | </div> |
| | | <div class="line" v-for="item in active1List"> |
| | | <div class="item">{{ item.platNumber }}</div> |
| | | <div class="item">{{ item.contractNumber }}</div> |
| | | <div class="item addr">{{ item.repertotyName }}</div> |
| | | <div class="list"> |
| | | <div class="line" v-for="item in active1List"> |
| | | <div class="item">{{ item.platNumber }}</div> |
| | | <div class="item">{{ item.contractNumber }}</div> |
| | | <div class="item addr">{{ item.repertotyName }}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="side"> |
| | | 全省: |
| | | <span>{{ data5.currentNum }}</span> |
| | | <span class="unit">万支 | </span> |
| | | <span class="unit">箱 | </span> |
| | | <span v-if="data5.totalNum">{{ ((data5.currentNum / data5.totalNum) * 100).toFixed(1) }}%</span> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="side"> |
| | | 全省: |
| | | <span>{{ data6.currentNum }}</span> |
| | | <span class="unit">万支 | </span> |
| | | <span class="unit">箱 | </span> |
| | | <span v-if="data6.totalNum">{{ ((data6.currentNum / data6.totalNum) * 100).toFixed(1) }}%</span> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="second_title"> |
| | | <div class="title"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> |
| | | <div>运用资源利用率</div> |
| | | <div>运力资源利用率</div> |
| | | </div> |
| | | <div class="side"> |
| | | 全省: |
| | | <span>{{ data7.currentNum }}</span> |
| | | <span class="unit">辆 | </span> |
| | | <span v-if="data7.totalNum">{{ ((data7.currentNum / data7.totalNum) * 100).toFixed(1) }}%</span> |
| | | <span v-if="data7.totalNum">{{ (data7.useRate * 100).toFixed(1) }}%</span> |
| | | </div> |
| | | </div> |
| | | <div class="echart5_wrap"> |
| | |
| | | <!-- --> |
| | | <div class="modal_wrap" v-if="showModal"> |
| | | <div class="title_head"> |
| | | <img src="@/assets/images/energy_ef/chuku_ic_car@2x.png" alt=""> |
| | | <span>合同号:{{ modalInfo.contractNumber }}</span> |
| | | <div class="left"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_hetong.png" alt=""> |
| | | <span>合同号:{{ modalInfo.contractNumber }}</span> |
| | | </div> |
| | | <div class="tit_status">{{ modalInfo.orderStatusDesc }}</div> |
| | | </div> |
| | | <div v-if="modalInfo.overStock && modalInfo.overStock == 1" class="stock"> |
| | | <img src="@/assets/images/LogisticsCenter/ic_tips@2x.png" alt=""> |
| | | <span>因库存不足,订单暂时无法配载</span> |
| | | </div> |
| | | <div class="info"> |
| | | <div class="item"> |
| | |
| | | <div id="map-container" ref="mapContainer"></div> |
| | | <div class="fu_list"> |
| | | <div class="fu_item" v-for="item, k in modalInfo.cicleStatusList"> |
| | | <view v-if="k != modalInfo.cicleStatusList.length - 1" class="separate"></view> |
| | | <div class="item_title"> |
| | | <div class="icon"> |
| | | <img v-if="item.key == 0 && k != 0" src="@/assets/images/LogisticsCenter/ic_dingdan@2x.png" |
| | |
| | | <div v-else class="icon_wrap"></div> |
| | | <div class="text" :class="{ placeholder3: k == 0 && i == 0 }"> |
| | | {{ ite.orderStatusDes }} |
| | | <text v-if="ite.tel">,发货仓库电话:</text> |
| | | <text v-if="ite.tel">,发货仓库电话:</text> |
| | | <text v-if="ite.tel" class="primaryColor">{{ ite.tel }}</text> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <Loading v-if="modalLoading" /> |
| | | </div> |
| | | <div class="modal_mask" v-if="showModal" @click="closeModal"></div> |
| | | <div class="modal_mask" v-if="showModal || showModal1" @click="closeModal"></div> |
| | | </div> |
| | | </v-scale-screen> |
| | | </template> |
| | |
| | | time.value = dayjs().format('HH:mm:ss') |
| | | |
| | | }, 1000) |
| | | // |
| | | // |
| | | const mapList = ref([]) |
| | | const mapEchart = ref() |
| | | const initMap = () => { |
| | |
| | | { value: [103.9526, 30.7617, 1901], itemStyle: { color: '#fff' }, name: '四川', total: 18, bj: 0, yj: 0, yx: 18, tj: 0, dw: 0 } |
| | | ] |
| | | const mapData = [ |
| | | { name: '北京市', value: 0 }, |
| | | { name: '天津市', value: 0 }, |
| | | { name: '上海市', value: 0 }, |
| | | { name: '重庆市', value: 0 }, |
| | | { name: '河北省', value: 0 }, |
| | | { name: '河南省', value: 0 }, |
| | | { name: '云南省', value: 0 }, |
| | | { name: '辽宁省', value: 0 }, |
| | | { name: '黑龙江省', value: 0 }, |
| | | { name: '湖南省', value: 0 }, |
| | | { name: '安徽省', value: 0 }, |
| | | { name: '山东省', value: 0 }, |
| | | { name: '新疆维吾尔自治区', value: 0 }, |
| | | { name: '江苏省', value: 0 }, |
| | | { name: '浙江省', value: 0 }, |
| | | { name: '江西省', value: 0 }, |
| | | { name: '湖北省', value: 0 }, |
| | | { name: '广西壮族自治区', value: 0 }, |
| | | { name: '甘肃省', value: 0 }, |
| | | { name: '山西省', value: 0 }, |
| | | { name: '内蒙古自治区', value: 0 }, |
| | | { name: '陕西省', value: 0 }, |
| | | { name: '吉林省', value: 0 }, |
| | | { name: '福建省', value: 0 }, |
| | | { name: '贵州省', value: 0 }, |
| | | { name: '广东省', value: 0 }, |
| | | { name: '青海省', value: 0 }, |
| | | { name: '西藏自治区', value: 0 }, |
| | | { name: '宁夏回族自治区', value: 0 }, |
| | | { name: '四川省', value: 0 }, |
| | | { name: '宁夏省', value: 0 }, |
| | | { name: '海南省', value: 0 }, |
| | | { name: '台湾省', value: 0 }, |
| | | { name: '香港特别行政区', value: 0 }, |
| | | { name: '澳门特别行政区', value: 0 }, |
| | | { name: '南海诸岛', value: 0 }, |
| | | { name: '北京市', code: '110000', value: 0 }, |
| | | { name: '天津市', code: '120000', value: 0 }, |
| | | { name: '上海市', code: '310000', value: 0 }, |
| | | { name: '重庆市', code: '500000', value: 0 }, |
| | | { name: '河北省', code: '130000', value: 0 }, |
| | | { name: '河南省', code: '410000', value: 0 }, |
| | | { name: '云南省', code: '530000', value: 0 }, |
| | | { name: '辽宁省', code: '210000', value: 0 }, |
| | | { name: '黑龙江省', code: '230000', value: 0 }, |
| | | { name: '湖南省', code: '430000', value: 0 }, |
| | | { name: '安徽省', code: '340000', value: 0 }, |
| | | { name: '山东省', code: '370000', value: 0 }, |
| | | { name: '新疆维吾尔自治区', code: '650000', value: 0 }, |
| | | { name: '江苏省', code: '320000', value: 0 }, |
| | | { name: '浙江省', code: '330000', value: 0 }, |
| | | { name: '江西省', code: '360000', value: 0 }, |
| | | { name: '湖北省', code: '420000', value: 0 }, |
| | | { name: '广西壮族自治区', code: '450000', value: 0 }, |
| | | { name: '甘肃省', code: '620000', value: 0 }, |
| | | { name: '山西省', code: '140000', value: 0 }, |
| | | { name: '内蒙古自治区', code: '150000', value: 0 }, |
| | | { name: '陕西省', code: '610000', value: 0 }, |
| | | { name: '吉林省', code: '220000', value: 0 }, |
| | | { name: '福建省', code: '350000', value: 0 }, |
| | | { name: '贵州省', code: '520000', value: 0 }, |
| | | { name: '广东省', code: '440000', value: 0 }, |
| | | { name: '青海省', code: '630000', value: 0 }, |
| | | { name: '西藏自治区', code: '540000', value: 0 }, |
| | | { name: '宁夏回族自治区', code: '640000', value: 0 }, |
| | | { name: '四川省', code: '510000', value: 0 }, |
| | | { name: '宁夏省', code: '640000', value: 0 }, |
| | | { name: '海南省', code: '460000', value: 0 }, |
| | | { name: '台湾省', code: '710000', value: 0 }, |
| | | { name: '香港特别行政区', code: '810000', value: 0 }, |
| | | { name: '澳门特别行政区', code: '820003', value: 0 }, |
| | | { name: '南海诸岛', code: '', value: 0 }, |
| | | ] |
| | | let totalNum = 0 |
| | | mapList.value.forEach(i => { |
| | | totalNum += i.yearNum |
| | | }) |
| | | mapData.forEach(item => { |
| | | item.monthNum = 0 |
| | | item.yearNum = 0 |
| | | mapList.value.forEach(ite => { |
| | | if (item.name == ite.name) { |
| | | item.value = ite.value |
| | | if (item.code == ite.code) { |
| | | item.value = 0 |
| | | item.monthNum = ite.monthNum |
| | | item.yearNum = ite.yearNum |
| | | if (totalNum > 0) { |
| | | item.rate = ((ite.yearNum / totalNum) * 100).toFixed(2) |
| | | item.value = (ite.yearNum / totalNum).toFixed(4) |
| | | |
| | | } |
| | | } |
| | | }) |
| | | }) |
| | |
| | | visualMap: { |
| | | type: 'piecewise', |
| | | pieces: [ |
| | | { min: 100000, max: 99999999999, label: '出库量10w以上', color: '#be6f2b' }, |
| | | { min: 50000, max: 100000, label: '出库量5-10w', color: '#c39332' }, |
| | | { min: 20000, max: 50000, label: '出库量2-5w', color: '#5ecbaf' }, |
| | | { min: -1, max: 20000, label: '出库量2w以下', color: '#3561a4' }, |
| | | { min: 0.05, max: 99999999999, label: '调拨量占比5%以上', color: '#be6f2b' }, |
| | | { min: 0.02, max: 0.05, label: '调拨量占比2%~5%', color: '#c39332' }, |
| | | { min: 0.01, max: 0.02, label: '调拨量占比1%~2%', color: '#5ecbaf' }, |
| | | { min: -1, max: 0.01, label: '调拨量占比1%以下', color: '#3561a4' }, |
| | | // { min: 100000, max: 99999999999, label: '出库量10w以上', color: '#be6f2b' }, |
| | | // { min: 50000, max: 100000, label: '出库量5-10w', color: '#c39332' }, |
| | | // { min: 20000, max: 50000, label: '出库量2-5w', color: '#5ecbaf' }, |
| | | // { min: -1, max: 20000, label: '出库量2w以下', color: '#3561a4' }, |
| | | ], |
| | | itemWidth: 22, |
| | | itemHeight: 22, |
| | |
| | | }, |
| | | itemStyle: { |
| | | show: true, |
| | | color: '#00114F', // 高亮文字颜色 |
| | | color: '#fff', // 高亮文字颜色 |
| | | borderColor: '#a4d0ec', // 高亮边框颜色 |
| | | areaColor: '#63d5c1', //高亮区域颜色 |
| | | areaColor: '#0056FF', //高亮区域颜色 |
| | | }, |
| | | }, |
| | | selectedMode: false, |
| | | label: { |
| | | // 地图标注 |
| | | show: false, |
| | |
| | | return `<div class="map-tip-box"> |
| | | <div class="item-state-con title"> |
| | | <div class="icon"></div> |
| | | <span>${params.data.name}</span> |
| | | <span>${params.data.name}</span> |
| | | </div> |
| | | <div class="item-state-con"> |
| | | <span class="dot bj"></span> |
| | | <span class="item-state-num"> |
| | | <span class="text">本月出库量:</span> |
| | | <span class="num">${params.data.monthNum}万支</span> |
| | | <span class="text">本月调拨量:</span> |
| | | <span class="num">${params.data.monthNum}箱</span> |
| | | </span> |
| | | </div> |
| | | <div class="item-state-con"> |
| | | <div class="item-state-con"> |
| | | <span class="dot yj"></span> |
| | | <span class="item-state-num"> |
| | | <span class="text">本年出库量:</span> |
| | | <span class="num">${params.data.yearNum}万支</span> |
| | | <span class="text">本年调拨量:</span> |
| | | <span class="num">${params.data.yearNum}箱</span> |
| | | </span> |
| | | </div> |
| | | <div class="item-state-con"> |
| | | <span class="dot yj"></span> |
| | | <span class="item-state-num"> |
| | | <span class="text">调拨量占比:</span> |
| | | <span class="num">${params.data.rate || 0}%</span> |
| | | </span> |
| | | </div> |
| | | </div>` |
| | |
| | | mapList.value = temp.map(item => { |
| | | item.value = item.monthNum |
| | | item.name = item.provinceName |
| | | item.code = item.provinceCode |
| | | return item |
| | | }) |
| | | initMap() |
| | |
| | | show: true, |
| | | textStyle: { |
| | | color: '#000000', |
| | | fontSize: 10 |
| | | fontSize: 12 |
| | | } |
| | | }, |
| | | emphasis: { |
| | |
| | | stack: 'total', |
| | | barWidth: 14, |
| | | label: { |
| | | show: true |
| | | show: true, |
| | | textStyle: { |
| | | color: '#000000', |
| | | fontSize: 12 |
| | | } |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | |
| | | barWidth: 14, |
| | | stack: 'total', |
| | | label: { |
| | | show: true |
| | | show: true, |
| | | textStyle: { |
| | | color: '#000000', |
| | | fontSize: 12 |
| | | } |
| | | }, |
| | | textStyle: { |
| | | color: '#000000', |
| | |
| | | y2: 0, |
| | | colorStops: [{ |
| | | offset: 0, |
| | | color: '#71f3ce' |
| | | color: '#73f7d1' |
| | | }, { |
| | | offset: 1, |
| | | color: '#4da999' |
| | | color: '#58beaa' |
| | | }] |
| | | } |
| | | } |
| | | }, |
| | | }, |
| | | emphasis: { |
| | | focus: 'series' |
| | |
| | | } |
| | | const closeModal = () => { |
| | | showModal.value = false |
| | | showModal1.value = false |
| | | modalInfo.value = {} |
| | | } |
| | | |
| | |
| | | isLoadingTask.value = false |
| | | let temp = res.data.rows || [] |
| | | transportTask.value = temp.map(item => { |
| | | if (item.transportDate) { |
| | | item.transportDate = item.transportDate.slice(5, 16) |
| | | if (item.createDate) { |
| | | item.createDate = item.createDate.slice(5, 16) |
| | | } |
| | | return item |
| | | }) |
| | |
| | | label: { |
| | | show: false, |
| | | position: 'center' |
| | | }, |
| | | emphasis: { |
| | | // 设置悬浮时样式为空 |
| | | scale: false, // 关闭放大效果 |
| | | itemStyle: { |
| | | shadowBlur: 0, // 阴影模糊度为 0 |
| | | shadowOffsetX: 0, |
| | | shadowColor: 'rgba(0, 0, 0, 0)', |
| | | }, |
| | | }, |
| | | color: colors, |
| | | labelLine: { |
| | |
| | | // icon: 'circle', |
| | | right: '12%', |
| | | top: '0%', |
| | | data: ['总库存', '当前库存', '库存利用率'], |
| | | data: ['总库容', '当前库存', '库存利用率'], |
| | | itemWidth: 20, |
| | | itemHeight: 10, |
| | | textStyle: { |
| | |
| | | containLabel: true |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis' |
| | | trigger: 'axis', |
| | | formatter: function (params) { |
| | | // 遍历悬浮时的所有点,定制化显示内容 |
| | | let result = `<div style="width: 160px">${params[0].name}</div>` |
| | | params.forEach((item) => { |
| | | if (item.seriesName === '总库容') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #5e9bca;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '当前库存') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #e2a44f;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '库存利用率') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #b2bcd1;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}%</strong></div> |
| | | </div>` |
| | | } |
| | | }) |
| | | return result |
| | | } |
| | | }, |
| | | xAxis: [{ |
| | | nameGap: 5, |
| | |
| | | }, |
| | | }, |
| | | axisLabel: { |
| | | color: '#D2E0FF' |
| | | color: '#869CC9' |
| | | }, |
| | | axisTick: { |
| | | show: false, |
| | |
| | | nameTextStyle: { |
| | | color: '#869CC9', |
| | | }, |
| | | name: '万支', |
| | | name: '箱', |
| | | nameGap: 16, |
| | | type: 'value', |
| | | axisLabel: { |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | name: '总库存', |
| | | name: '总库容', |
| | | type: 'bar', |
| | | barWidth: 10, |
| | | barGap: '60%', |
| | |
| | | color: "#9eabc2" |
| | | }, |
| | | yAxisIndex: 1, |
| | | tooltip: { |
| | | show: true, |
| | | formatter: '{c}' + '%', |
| | | }, |
| | | label: { |
| | | show: false, |
| | | position: 'top', |
| | | color: '#fff', |
| | | // formatter: '{c}' + '%', |
| | | }, |
| | | data: data5.value.detailList.map(i => i.useRate) |
| | | } |
| | |
| | | borderColor: '#fff' |
| | | }, |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | formatter: function (params) { |
| | | // 遍历悬浮时的所有点,定制化显示内容 |
| | | let result = `<div style="width: 160px">${params[0].name}</div>` |
| | | params.forEach((item) => { |
| | | if (item.seriesName === '出库能力') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #487af3;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '当日出库量') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #e2a44f;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '出库利用率') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #b0bcd3;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}%</strong></div> |
| | | </div>` |
| | | } |
| | | }) |
| | | return result |
| | | } |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '0%', |
| | | bottom: '3%', |
| | | top: '18%', |
| | | containLabel: true |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis' |
| | | }, |
| | | xAxis: [{ |
| | | nameGap: 5, |
| | |
| | | }], |
| | | yAxis: [ |
| | | { |
| | | name: '万支', |
| | | name: '箱', |
| | | nameGap: 16, |
| | | type: 'value', |
| | | axisLabel: { |
| | |
| | | show: false, |
| | | position: 'top', |
| | | color: '#fff', |
| | | // formatter: '{c}' + '%', |
| | | }, |
| | | data: data6.value.detailList.map(i => i.useRate) |
| | | } |
| | |
| | | // icon: 'circle', |
| | | right: '10%', |
| | | top: '0%', |
| | | data: ['总运力资源', '当日提报运力', '车辆利用率'], |
| | | data: ['当日可用运力', '当日提报运力', '车辆利用率'], |
| | | itemWidth: 20, |
| | | itemHeight: 10, |
| | | textStyle: { |
| | |
| | | borderColor: '#fff' |
| | | }, |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | formatter: function (params) { |
| | | // 遍历悬浮时的所有点,定制化显示内容 |
| | | let result = `<div style="width: 160px">${params[0].name}</div>` |
| | | params.forEach((item) => { |
| | | if (item.seriesName === '当日可用运力') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #88d9cc;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '当日提报运力') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #e2a44f;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}</strong></div> |
| | | </div>` |
| | | } else if (item.seriesName === '车辆利用率') { |
| | | result += ` |
| | | <div style="display: flex;align-items: center;justify-content: space-between;margin-top: 2px;"> |
| | | <div style="display: flex;align-items: center;"><div style="width: 10px;height: 10px; border-radius: 50%;background-color: #b0bcd3;margin-right: 4px;"></div><div>${item.seriesName}</div></div> |
| | | <div><strong>${item.value}%</strong></div> |
| | | </div>` |
| | | } |
| | | }) |
| | | return result |
| | | } |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '0%', |
| | | bottom: '3%', |
| | | top: '18%', |
| | | containLabel: true |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis' |
| | | }, |
| | | xAxis: [{ |
| | | nameGap: 5, |
| | |
| | | ], |
| | | series: [ |
| | | { |
| | | name: '总运力资源', |
| | | name: '当日可用运力', |
| | | type: 'bar', |
| | | barWidth: 10, |
| | | barGap: '60%', |
| | |
| | | }, |
| | | barBorderRadius: [30, 30, 0, 0], |
| | | }, |
| | | data: data7.value.detailList.map(i => i.totalNum) |
| | | data: data7.value.detailList.map(i => (i.totalNum - i.zaituNum)) |
| | | }, |
| | | { |
| | | name: '当日提报运力', |
| | |
| | | show: false, |
| | | position: 'top', |
| | | color: '#fff', |
| | | // formatter: '{c}' + '%', |
| | | }, |
| | | data: data7.value.detailList.map(i => i.useRate) |
| | | } |
| | |
| | | initialSlide: 0, |
| | | direction: 'vertical', //竖直方向 |
| | | slidesPerView: 5, |
| | | autoplay: autoplayFlag(transportTask.value, 5, 4000), |
| | | autoplay: autoplayFlag(transportTask.value, 5, 6000), |
| | | observer: true, //修改swiper自己或子元素时,自动初始化swiper |
| | | }) |
| | | } |
| | |
| | | .left { |
| | | display: flex; |
| | | align-items: center; |
| | | position: relative; |
| | | |
| | | |
| | | |
| | | img { |
| | | width: 16px; |
| | |
| | | .static_wrap { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin: 30px 0 14px; |
| | | |
| | | .item { |
| | |
| | | align-items: center; |
| | | justify-content: center; |
| | | min-width: 76px; |
| | | border: 1px solid #fff; |
| | | border: 1px solid #FECE01; |
| | | |
| | | .icon { |
| | | position: absolute; |
| | |
| | | |
| | | .tag1 { |
| | | background-color: #28F0CC; |
| | | border: 1px solid #28F0CC; |
| | | |
| | | .icon { |
| | | background-color: #28F0CC; |
| | |
| | | |
| | | .modal1 { |
| | | width: 500px; |
| | | height: 224px; |
| | | height: 192px; |
| | | background: rgba(0, 86, 255, 0.1); |
| | | backdrop-filter: blur(5px); |
| | | padding: 12px 30px; |
| | |
| | | top: 36px; |
| | | left: 12px; |
| | | border: 1px solid #4ba7f7; |
| | | z-index: 999999; |
| | | |
| | | .list { |
| | | height: 192px; |
| | | overflow: auto; |
| | | .content { |
| | | .list { |
| | | height: 128px; |
| | | overflow: auto; |
| | | } |
| | | |
| | | .line { |
| | | display: flex; |
| | |
| | | width: 410px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .question { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | &:hover { |
| | | .hover_wrap { |
| | | display: block; |
| | | } |
| | | } |
| | | |
| | | .hover_wrap { |
| | | display: none; |
| | | position: absolute; |
| | | left: 130px; |
| | | z-index: 999; |
| | | top: -5px; |
| | | width: 407px; |
| | | height: 148px; |
| | | background: rgba(0, 30, 63, 0.6); |
| | | border: 1px solid #003F82; |
| | | backdrop-filter: blur(3px); |
| | | padding: 10px; |
| | | font-size: 13px; |
| | | color: #e2ebfd; |
| | | line-height: 19px; |
| | | font-weight: 400; |
| | | border-radius: 6px; |
| | | |
| | | div { |
| | | margin-bottom: 3px; |
| | | } |
| | | |
| | | .triangle { |
| | | width: 12px; |
| | | height: 12px; |
| | | position: absolute; |
| | | top: 10px; |
| | | left: -6px; |
| | | transform: rotate(45deg); |
| | | border-left: 1px solid #003F82; |
| | | border-bottom: 1px solid #003F82; |
| | | background: rgba(0, 30, 63, 0.6); |
| | | backdrop-filter: blur(3px); |
| | | } |
| | | |
| | | .title { |
| | | font-weight: bold; |
| | | font-size: 14px; |
| | | color: #e2ebfd; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .question1 { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | .hover_con { |
| | | position: relative; |
| | | |
| | | &:hover { |
| | | .hover_wrap { |
| | | display: block; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | .hover_wrap { |
| | | display: none; |
| | | |
| | | position: absolute; |
| | | left: 108%; |
| | | z-index: 999; |
| | | top: -5px; |
| | | width: 212px; |
| | | height: 62px; |
| | | background: rgba(0, 30, 63, 0.6); |
| | | border: 1px solid #003F82; |
| | | backdrop-filter: blur(3px); |
| | | padding: 10px; |
| | | font-size: 15px; |
| | | color: #e2ebfd; |
| | | line-height: 19px; |
| | | font-weight: 400; |
| | | border-radius: 6px; |
| | | |
| | | div { |
| | | margin-bottom: 3px; |
| | | } |
| | | |
| | | .triangle { |
| | | width: 12px; |
| | | height: 12px; |
| | | position: absolute; |
| | | top: 10px; |
| | | left: -6px; |
| | | transform: rotate(45deg); |
| | | border-left: 1px solid #003F82; |
| | | border-bottom: 1px solid #003F82; |
| | | background: rgba(0, 30, 63, 0.6); |
| | | /* backdrop-filter: blur(3px); */ |
| | | } |
| | | |
| | | .title { |
| | | font-weight: 600; |
| | | color: #e2ebfd; |
| | | } |
| | | } |
| | | } |
| | |
| | | width: 600px; |
| | | height: 556px; |
| | | background: rgba(0, 30, 63, 0.5); |
| | | border: 1px solid #c6eef7; |
| | | /* border: 1px solid #c6eef7; */ |
| | | backdrop-filter: blur(5px); |
| | | position: fixed; |
| | | top: 20%; |
| | |
| | | padding: 24px; |
| | | |
| | | #map-container { |
| | | width: 300px; |
| | | height: 180px; |
| | | width: 260px; |
| | | height: 320px; |
| | | position: absolute; |
| | | top: 220px; |
| | | right: 10px; |
| | | top: 190px; |
| | | right: 20px; |
| | | z-index: 999999; |
| | | border-radius: 2px; |
| | | |
| | | :deep(.amap-markers) { |
| | | left: -12px !important; |
| | | top: -32px !important; |
| | | } |
| | | } |
| | | |
| | | .stock{ |
| | | display: flex; |
| | | align-items: center; |
| | | color: #dd5d2a; |
| | | margin-bottom: 8px; |
| | | img{ |
| | | margin-right: 6px; |
| | | width: 14px; |
| | | } |
| | | } |
| | | .title_head { |
| | | display: flex; |
| | | align-items: center; |
| | | font-weight: bold; |
| | | font-size: 17px; |
| | | margin-bottom: 20px; |
| | | justify-content: space-between; |
| | | margin-bottom: 8px; |
| | | |
| | | .left { |
| | | display: flex; |
| | | align-items: center; |
| | | font-weight: bold; |
| | | font-size: 17px; |
| | | } |
| | | |
| | | .tit_status { |
| | | color: #af8832; |
| | | } |
| | | |
| | | img { |
| | | width: 20px; |
| | |
| | | |
| | | .fu_list { |
| | | height: 310px; |
| | | width: 290px; |
| | | margin-top: 20px; |
| | | overflow: auto; |
| | | |
| | | |
| | | .fu_item { |
| | | position: relative; |
| | | |
| | | .item_title { |
| | | margin-bottom: 6px; |
| | | |
| | |
| | | } |
| | | |
| | | .separate { |
| | | height: calc(100% - 125px); |
| | | width: 1px; |
| | | border: 1px dashed #CCCCCC; |
| | | height: calc(100% - 8px); |
| | | /* width: 1px; */ |
| | | border: 1px dashed #576783; |
| | | /* border: 1px dashed red; */ |
| | | position: absolute; |
| | | left: 26px; |
| | | top: 51px; |
| | | left: 10px; |
| | | top: 20px; |
| | | z-index: -1; |
| | | } |
| | | |
| | |
| | | |
| | | .text { |
| | | color: #b1bfdc; |
| | | margin-bottom: 6px; |
| | | width: 100%; |
| | | } |
| | | |
| | | .icon { |
| | |
| | | .h2 { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 24px; |
| | | } |
| | | |
| | | .h1 {} |
| | |
| | | .time { |
| | | padding-left: 39px; |
| | | font-size: 12px; |
| | | margin-top: 3px; |
| | | } |
| | | } |
| | | } |
| | |
| | | top: 0; |
| | | left: 0; |
| | | z-index: 9999; |
| | | background-color: rgba(0, 0, 0, 0.1); |
| | | /* background-color: rgba(0, 0, 0, 0.0); */ |
| | | /* background-color: red; */ |
| | | } |
| | | |
| | |
| | | font-weight: 500; |
| | | font-size: 16px; |
| | | color: #FFFFFF; |
| | | position: relative; |
| | | |
| | | .hover_wrap { |
| | | left: 175px; |
| | | height: 80px; |
| | | } |
| | | |
| | | .icon { |
| | | width: 16px; |
| | |
| | | object-fit: cover; |
| | | z-index: -1; |
| | | } |
| | | </style> |
| | | </style> |