gerson
2025-02-09 84167d13f951358315d13609de426ebb318a3c9a
src/components/chat/chatComponents/summaryCom/components/recordSetTable/map/panelTool/ThemeControl.vue
@@ -1,6 +1,6 @@
<template>
   <div class="layer-control bg-white p-3 w-[280px]">
      <div class="bg-white rounded">
   <div class="layer-control bg-white flex-col" style="display: flex">
      <div class="bg-white rounded flex-0">
         <div class="header flex-items-center pb-1.5" style="border-bottom: 1px solid black">
            <div class="flex-items-center">
               <span class="ywifont ywicon-guanbi cursor-pointer mr-1.5" @click="closeClick"></span>
@@ -8,7 +8,7 @@
            </div>
         </div>
      </div>
      <div class="content rounded-lg max-h-[700px] overflow-y-auto min-h-[600px]">
      <div class="flex-auto content rounded-lg overflow-y-auto">
         <!-- <el-tree
            class="w-full"
            :data="themeInfo"
@@ -325,15 +325,34 @@
            const lColor = themeStyle?.LCOLOR ?? feature.get('lcolor');
            const lStyle = themeStyle?.LSTYLE ?? feature.get('lstyle');
            const pSize1 = themeStyle?.PSIZE ?? feature.get('psize');
            const pcolor1 = themeStyle?.PCOLOR ?? feature.get('pcolor');
            const pStyle1 = themeStyle?.PSTYLE ?? feature.get('pstyle');
            const lineStyle = props.olMap?.getLineStyles({
               lsize: lSize,
               lcolor: lColor,
               lstyle: lStyle,
               psize: pSize1,
               pcolor: pcolor1,
               pstyle: pStyle1,
            });
            lineStyle && styles.push(...lineStyle);
            break;
         case 'Polygon':
            const pColor = feature.get('pcolor');
            const lSize1 = feature.get('lsize');
            const lColor1 = feature.get('lcolor');
            const lstyle1 = feature.get('lstyle');
            const polygonStyle = props.olMap?.getPolygonStyles({
               pcolor: pColor,
               lsize: lSize1,
               lcolor: lColor1,
               lstyle: lstyle1,
            });
            polygonStyle && styles.push(...polygonStyle);
            break;
         default:
            break;