forked from drone/command-center-dashboard

chenyao
2025-04-10 c85261c55d3d38469af55cdad8010141448048da
feat: 降本增效和弹窗样式
3 files modified
34 ■■■■ changed files
src/views/Home/HomeLeft/InspectionRaskDetails/InspectionRaskDetailsDialog.vue 30 ●●●● patch | view | raw | blame | history
src/views/Home/HomeRight/Synergy.vue 2 ●●● patch | view | raw | blame | history
src/views/TaskManage/TaskIntermediateContent/initPointWayline.js 2 ●●● patch | view | raw | blame | history
src/views/Home/HomeLeft/InspectionRaskDetails/InspectionRaskDetailsDialog.vue
@@ -1,8 +1,7 @@
 <!--  巡检任务情况-详情 -->
<template>
    <el-dialog
        class="data-dialog"
        class="inspection-rask-details-dialog"
        v-model="isShowDetailsDialog"
        :width="pxToRem(1000)"
        :close-on-click-modal="false"
@@ -340,18 +339,6 @@
    border: 1px solid #1479ef !important;
    z-index: 1;
}
:deep(.data-dialog .el-dialog__header) {
    /* 头部 */
    width: 1270px;
    height: 47px;
    margin-bottom: 14px;
    background: url('/src/assets/images/home/homeLeft/inspection-vector.png') no-repeat center;
    background-size: 100% 100%;
    font-weight: bold;
    font-size: 16px;
    line-height: 47px;
}
.el-table {
    color: #fff;
    --el-table-border-color: var(--el-border-color-lighter);
@@ -417,8 +404,8 @@
    cursor: pointer;
}
</style>
<style>
.data-dialog {
<style lang="scss">
.inspection-rask-details-dialog {
    width: 1270px;
    height: 856px;
    background: #0f1929;
@@ -435,6 +422,16 @@
            rgba(27, 148, 255, 1)
        )
        2 2;
    /* 头部 */
    .el-dialog__header {
        width: 1270px;
        height: 47px;
        margin-bottom: 14px;
        background: url('/src/assets/images/home/homeLeft/inspection-vector.png') no-repeat center;
        background-size: 100% 100%;
        font-weight: bold;
        font-size: 16px;
        line-height: 47px;
}
.el-dialog .el-dialog__header {
@@ -491,4 +488,5 @@
.el-scrollbar__thumb {
    background: #13c6ff !important;
}
}
</style>
src/views/Home/HomeRight/Synergy.vue
@@ -22,7 +22,7 @@
const getStatisticalData = () => {
  optimizeCostEfficiency().then((res) => {
    if (res.data.code !== 200) return;
    if (res.data.code !== 0) return;
    let result = res.data.data
    list.value[0].value = result.replaced_manual_times;
    list.value[1].value = result.saved_vehicle_kilometers;
src/views/TaskManage/TaskIntermediateContent/initPointWayline.js
@@ -34,6 +34,6 @@
  };
  // 在地图上画线
  const drawWayline = (xmlJson) => {
    const { Folder } = xmlJson
    const points = xmlJson?.['Folder']?.['Placemark']
  };
};