nanjingliujinyu 3 meses atrás
pai
commit
4e0551ef3d

+ 573 - 0
ruoyi-ui/src/views/evaluate/index.vue

@@ -0,0 +1,573 @@
+<template>
+    <div style="margin-left: 1%;width: 98%;display: flex;margin-top: 1%;" :style="{'height':heightAll*0.15+'px'}">
+      <div shadow="always" style="width: 33%;height: 100%;;border-radius: 10px;background-color: white;" class="boxShadow">
+        <div style="width: 100%;display: flex;align-items: center;justify-content: center;font-size: 35px;font-weight: bold;color: #477ACF;;height: 70%">
+          358
+        </div>
+        <div style="display: flex;align-items: center;justify-content: center;background-color: #477ACF;font-size: 20px;width: 100%;color: white;text-align: center;border-radius: 0 0 10px 10px;height: 30%;">
+          日调用次数
+        </div>
+      </div>
+      <div shadow="always" style="width: 33%;height: 100%;;border-radius: 10px;background-color: white;margin-left: 1%;" class="boxShadow">
+        <div style="width: 100%;display: flex;align-items: center;justify-content: center;font-size: 35px;font-weight: bold;color: #40B0D7;;height: 70%">
+          1532
+        </div>
+        <div style="display: flex;align-items: center;justify-content: center;background-color: #40B0D7;font-size: 20px;width: 100%;color: white;text-align: center;border-radius: 0 0 10px 10px;height: 30%;">
+          月调用次数
+        </div>
+      </div>
+      <div shadow="always" style="width: 33%;height: 100%;;border-radius: 10px;background-color: white;margin-left: 1%;" class="boxShadow">
+        <div style="width: 100%;display: flex;align-items: center;justify-content: center;font-size: 35px;font-weight: bold;color: #2DBEA2;;height: 70%">
+          9523
+        </div>
+        <div style="display: flex;align-items: center;justify-content: center;background-color: #2DBEA2;font-size: 20px;width: 100%;color: white;text-align: center;border-radius: 0 0 10px 10px;height: 30%;">
+          年调用次数
+        </div>
+      </div>
+    </div>
+  <div style="background-color:  #F7F7F7;padding-top:1% ;">
+    <div style="margin-left: 1%;width: 98%;display: flex;" :style="{'height':heightAll*0.35+'px'}">
+      <div style="width: 100%;height: 100%;">
+        <el-card shadow="always" class="box-card" style="width:100%;height: 100%;">
+          <div style="display: flex;align-items: center;font-weight: bold;">
+            <div style="">今日模型服务调度次数</div>
+            <div style="color: #79bbff;margin-left: 1%;"> 356 </div>
+            <div style="margin-left: 1%;"> 次 </div>
+            <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="本月"
+            style="width: 10%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+            <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="上海市城区洪涝仿真模型"
+            style="width: 10%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+          </div>
+          <div id="top1" style="width: 98%;margin-left: 1%;margin-top: 1%;" :style="{'height':heightAll*0.23+'px'}">
+
+          </div>
+        </el-card>
+      </div>
+      <!-- <div style="width: 30%;height: 100%;margin-left: 1%;">
+        <el-card shadow="always" class="box-card" style="width:100%;height: 100%;">
+          <div style="display: flex;align-items: center;font-weight: bold;width: 100%;">
+            <div style="">模型服务调用次数</div>
+            <div style="width: 50%;margin-left: 20%;">
+              <el-select
+                v-model="value"
+                class="m-2"
+                placeholder="长江水利委员会"
+                style="width: 100%;;"
+              >
+                <el-option
+                  v-for="item in options"
+                  :key="item.value"
+                  :label="item.label"
+                  :value="item.value"
+                />
+              </el-select>
+            </div>
+          </div>
+          <div id="top2"  style="width: 98%;margin-left: 1%;margin-top: 1%;" :style="{'height':heightAll*0.23+'px'}">
+
+          </div>
+        </el-card>
+      </div>
+      <div style="width: 30%;height: 100%;;margin-left: 1%">
+        <el-card shadow="always" class="box-card" style="width:100%;height: 100%;">
+          <div style="display: flex;align-items: center;font-weight: bold;width: 100%;">
+            <div style="">模型服务类型总数 </div>
+            <div style="color: #79bbff;margin-left: 1%;"> 123 </div>
+            <div style="margin-left: 1%;"> 次 </div>
+          </div>
+          <div id="top3"  style="width: 98%;margin-left: 1%;margin-top: 1%;" :style="{'height':heightAll*0.25+'px'}">
+
+          </div>
+        </el-card>
+      </div> -->
+    </div>
+    
+    <div style="margin-left: 1%;width: 98%;display: flex;margin-top: 1%" :style="{'height':heightAll*0.38+'px'}">
+      <el-card shadow="always" class="box-card" style="width:50%;height: 100%;">
+        <div style="width: 100%;display: flex;">
+          <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="本年"
+            style="width: 20%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+            <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="上海市城区洪涝仿真模型"
+            style="width:20%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+        </div>
+        <div id="bt1"  style="width: 100%;margin-left: 0%;margin-top: 1%;;" :style="{'height':heightAll*0.3+'px'}">
+
+        </div>
+      </el-card>
+      <el-card shadow="always" class="box-card" style="width:50%;height: 100%;margin-left: 1%;">
+        <div style="width: 100%;display: flex;">
+          <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="本年"
+            style="width: 20%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+            <el-select
+            v-model="value"
+            class="m-2"
+            placeholder="上海市城区洪涝仿真模型"
+            style="width:20%;margin-left: 1%;"
+            >
+                <el-option
+                v-for="item in options"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+                />
+            </el-select>
+        </div>
+        <div id="bt2"  style="width: 100%;margin-left: 1%;margin-top: 1%;" :style="{'height':heightAll*0.3+'px'}">
+
+        </div>
+      </el-card>
+    </div>
+  </div>
+</template>
+<script setup>
+import { ref, onMounted } from 'vue';
+import * as echarts from 'echarts';
+const listHelp = [
+]
+const heightAll = window.innerHeight
+const seledMo = ['primary','plain','plain','plain','plain','plain','plain']
+
+function inintChartTop1(){
+  var chartDom = document.getElementById('top1');
+  var myChart = echarts.init(chartDom);
+  var option;
+
+  option = {
+    tooltip: {
+        trigger: 'axis'
+    },
+    legend: {
+      data: ['上海市城区洪涝仿真模型', '上海沿海风暴潮预报模型', '黄浦江水系水文分析预报数值模拟模型', '苏州河水系水情预报模型', 
+      '内涝风险实时预警与预报模型','上海市中心城区排水系统模型', '温带风暴潮预报模型',],
+      top:'90%'
+    },
+    xAxis: {
+      splitLine: { show: false },
+      // type: 'category',
+      data: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]
+    },
+    yAxis: {
+      type: 'value',
+      splitLine: { show: false }
+    },
+    series: [
+      {
+      name: '上海市城区洪涝仿真模型',
+      type: 'line',
+      color:'#409EFF',
+      data: [29, 21, 10, 40, 30, 26, 31, 7, 28, 20, 3, 6, 20, 4, 10, 32, 37, 13, 21, 39, 8, 39, 31, 18, 4, 9, 33, 38, 37, 4],
+      smooth: true
+    },
+    // {
+    //   name: '上海沿海风暴潮预报模型',
+    //   type: 'line',
+    //   color:'rgb(51, 126, 204)',
+    //   data:  [39, 37, 37, 1, 18, 19, 16, 15, 18, 16, 19, 35, 12, 10, 5, 12, 25, 2, 16, 13, 27, 14, 4, 9, 18, 27, 29, 14, 35, 22], smooth: true
+    // },
+    // {
+    //   name: '黄浦江水系水文分析预报数值模拟模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:'rgb(121, 187, 255)',
+    //   data: [28, 8, 12, 34, 33, 20, 10, 3, 24, 38, 35, 20, 28, 33, 23, 10, 13, 14, 33, 3, 32, 18, 9, 3, 6, 37, 24, 5, 33, 20],
+    // },
+    // {
+    //   name: '苏州河水系水情预报模型',
+    //   type: 'line',
+    //   color:'rgb(121, 187, 255)',
+    //   smooth: true,
+    //   data:  [19, 12, 38, 13, 9, 20, 35, 10, 32, 7, 26, 17, 23, 15, 33, 10, 27, 39, 2, 37, 19, 39, 28, 11, 33, 30, 37, 31, 13, 36],
+    // },
+    // {
+    //   name: '内涝风险实时预警与预报模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:"rgb(198, 226, 255)",
+    //   data: [15, 15, 37, 35, 24, 14, 23, 13, 12, 36, 17, 20, 10, 17, 24, 39, 10, 15, 32, 23, 31, 8, 28, 3, 25, 30, 3, 25, 8, 2],
+    // },
+    // {
+    //   name: '上海市中心城区排水系统模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'#67C23A',
+    //   data:  [37, 25, 18, 35, 15, 28, 8, 24, 34, 8, 20, 8, 10, 16, 18, 23, 7, 14, 17, 13, 18, 28, 8, 37, 32, 18, 37, 8, 16, 40],
+    // },
+    // {
+    //   name: '温带风暴潮预报模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'rgb(149, 212, 117)',
+    //   data:  [35, 23, 35, 18, 32, 13, 34, 8, 5, 7, 21, 4, 19, 14, 10, 5, 1, 2, 26, 2, 27, 31, 18, 17, 28, 7, 26, 25, 21, 37],
+    // }
+    ]
+  };
+  
+  option && myChart.setOption(option);
+
+}
+function initChartbt1(){
+  var chartDom = document.getElementById('bt1');
+  var myChart = echarts.init(chartDom);
+  var option;
+  option = {
+    tooltip: {
+        trigger: 'axis'
+    },
+    legend: {
+      data: ['上海市城区洪涝仿真模型', '上海沿海风暴潮预报模型', '黄浦江水系水文分析预报数值模拟模型', '苏州河水系水情预报模型', 
+      '内涝风险实时预警与预报模型','上海市中心城区排水系统模型', '温带风暴潮预报模型',],
+      top:'90%'
+    },
+    xAxis: {
+      splitLine: { show: false },
+      // type: 'category',
+      data: [1,2,3,4,5,6,7,8,9,10,11,12]
+    },
+    yAxis: {
+      type: 'value',
+      splitLine: { show: false }
+    },
+    series: [
+      {
+      name: '上海市城区洪涝仿真模型',
+      type: 'line',
+      color:'#409EFF',
+      data: [29, 21, 10, 40, 30, 26, 31, 7, 28, 20, 3, 6, 20, 4, 10, 32, 37, 13, 21, 39, 8, 39, 31, 18, 4, 9, 33, 38, 37, 4],
+      smooth: true
+    },
+    // {
+    //   name: '上海沿海风暴潮预报模型',
+    //   type: 'line',
+    //   color:'rgb(51, 126, 204)',
+    //   data:  [39, 37, 37, 1, 18, 19, 16, 15, 18, 16, 19, 35, 12, 10, 5, 12, 25, 2, 16, 13, 27, 14, 4, 9, 18, 27, 29, 14, 35, 22], smooth: true
+    // },
+    // {
+    //   name: '黄浦江水系水文分析预报数值模拟模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:'rgb(121, 187, 255)',
+    //   data: [28, 8, 12, 34, 33, 20, 10, 3, 24, 38, 35, 20, 28, 33, 23, 10, 13, 14, 33, 3, 32, 18, 9, 3, 6, 37, 24, 5, 33, 20],
+    // },
+    // {
+    //   name: '苏州河水系水情预报模型',
+    //   type: 'line',
+    //   color:'rgb(121, 187, 255)',
+    //   smooth: true,
+    //   data:  [19, 12, 38, 13, 9, 20, 35, 10, 32, 7, 26, 17, 23, 15, 33, 10, 27, 39, 2, 37, 19, 39, 28, 11, 33, 30, 37, 31, 13, 36],
+    // },
+    // {
+    //   name: '内涝风险实时预警与预报模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:"rgb(198, 226, 255)",
+    //   data: [15, 15, 37, 35, 24, 14, 23, 13, 12, 36, 17, 20, 10, 17, 24, 39, 10, 15, 32, 23, 31, 8, 28, 3, 25, 30, 3, 25, 8, 2],
+    // },
+    // {
+    //   name: '上海市中心城区排水系统模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'#67C23A',
+    //   data:  [37, 25, 18, 35, 15, 28, 8, 24, 34, 8, 20, 8, 10, 16, 18, 23, 7, 14, 17, 13, 18, 28, 8, 37, 32, 18, 37, 8, 16, 40],
+    // },
+    // {
+    //   name: '温带风暴潮预报模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'rgb(149, 212, 117)',
+    //   data:  [35, 23, 35, 18, 32, 13, 34, 8, 5, 7, 21, 4, 19, 14, 10, 5, 1, 2, 26, 2, 27, 31, 18, 17, 28, 7, 26, 25, 21, 37],
+    // }
+    ]
+  };
+  
+  option && myChart.setOption(option);
+
+}
+function initChartbt2(){
+  var chartDom = document.getElementById('bt2');
+  var myChart = echarts.init(chartDom);
+  var option;
+  option = {
+    tooltip: {
+        trigger: 'axis'
+    },
+    legend: {
+      data: ['上海市城区洪涝仿真模型', '上海沿海风暴潮预报模型', '黄浦江水系水文分析预报数值模拟模型', '苏州河水系水情预报模型', 
+      '内涝风险实时预警与预报模型','上海市中心城区排水系统模型', '温带风暴潮预报模型',],
+      top:'90%'
+    },
+    xAxis: {
+      splitLine: { show: false },
+      // type: 'category',
+      data: [1,2,3,4,5,6,7,8,9,10,11,12]
+    },
+    yAxis: {
+      type: 'value',
+      splitLine: { show: false }
+    },
+    series: [
+      {
+      name: '上海市城区洪涝仿真模型',
+      type: 'bar',
+      color:'#409EFF',
+      data: [29, 21, 10, 40, 30, 26, 31, 7, 28, 20, 3,],
+      smooth: true
+    },
+    // {
+    //   name: '上海沿海风暴潮预报模型',
+    //   type: 'line',
+    //   color:'rgb(51, 126, 204)',
+    //   data:  [39, 37, 37, 1, 18, 19, 16, 15, 18, 16, 19, 35, 12, 10, 5, 12, 25, 2, 16, 13, 27, 14, 4, 9, 18, 27, 29, 14, 35, 22], smooth: true
+    // },
+    // {
+    //   name: '黄浦江水系水文分析预报数值模拟模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:'rgb(121, 187, 255)',
+    //   data: [28, 8, 12, 34, 33, 20, 10, 3, 24, 38, 35, 20, 28, 33, 23, 10, 13, 14, 33, 3, 32, 18, 9, 3, 6, 37, 24, 5, 33, 20],
+    // },
+    // {
+    //   name: '苏州河水系水情预报模型',
+    //   type: 'line',
+    //   color:'rgb(121, 187, 255)',
+    //   smooth: true,
+    //   data:  [19, 12, 38, 13, 9, 20, 35, 10, 32, 7, 26, 17, 23, 15, 33, 10, 27, 39, 2, 37, 19, 39, 28, 11, 33, 30, 37, 31, 13, 36],
+    // },
+    // {
+    //   name: '内涝风险实时预警与预报模型',
+    //   type: 'line',
+    //   smooth: true,
+    //   color:"rgb(198, 226, 255)",
+    //   data: [15, 15, 37, 35, 24, 14, 23, 13, 12, 36, 17, 20, 10, 17, 24, 39, 10, 15, 32, 23, 31, 8, 28, 3, 25, 30, 3, 25, 8, 2],
+    // },
+    // {
+    //   name: '上海市中心城区排水系统模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'#67C23A',
+    //   data:  [37, 25, 18, 35, 15, 28, 8, 24, 34, 8, 20, 8, 10, 16, 18, 23, 7, 14, 17, 13, 18, 28, 8, 37, 32, 18, 37, 8, 16, 40],
+    // },
+    // {
+    //   name: '温带风暴潮预报模型',
+    //   smooth: true,
+    //   type: 'line',
+    //   color:'rgb(149, 212, 117)',
+    //   data:  [35, 23, 35, 18, 32, 13, 34, 8, 5, 7, 21, 4, 19, 14, 10, 5, 1, 2, 26, 2, 27, 31, 18, 17, 28, 7, 26, 25, 21, 37],
+    // }
+    ]
+  };
+  
+  option && myChart.setOption(option);
+
+}
+function initChartTop2(){
+  var chartDom = document.getElementById('top2');
+  var myChart = echarts.init(chartDom);
+  var option;
+
+  option = {
+    tooltip: {
+      trigger: 'item'
+    },
+    legend: {
+      top: '90%',
+      left: 'center'
+    },
+    series: [
+      {
+        type: 'pie',
+        radius: ['50%', '70%'],
+        avoidLabelOverlap: false,
+        label: {
+          show: true,
+          position: 'outside',
+          formatter: '{c}',
+        },  
+        labelLine: {
+          show: true
+        },
+        color:['#80D0F8','#3384C2','#14D3D4','#69F3C0'],
+        data: [
+          { value: 200, name: '新安江' },
+          { value: 250, name: '陕北模型' },
+          { value: 30, name: '需水模型' },
+          { value: 300, name: '一维水动力' },
+        ]
+      }
+    ]
+  };
+  option && myChart.setOption(option);
+}
+function initChartTop3(){
+  var chartDom = document.getElementById('top3');
+  var myChart = echarts.init(chartDom);
+  var option;
+
+  option = {
+    tooltip: {
+      trigger: 'item'
+    },
+    legend: {
+      top: '90%',
+      left: 'center'
+    },
+    series: [
+      {
+        type: 'pie',
+        radius: ['50%', '70%'],
+        avoidLabelOverlap: false,
+        label: {
+          show: true,
+          position: 'outside',
+          formatter: '{c}',
+        },  
+        labelLine: {
+          show: true
+        },
+        color:['#529b2e','#95d475','#b3e19d','#d1edc4'],
+        data: [
+          { value: 200, name: '洪水演进' },
+          { value: 250, name: '工程' },
+          { value: 30, name: '需水模型' },
+          { value: 300, name: '一维水动力' },
+        ]
+      }
+    ]
+  };
+  option && myChart.setOption(option);
+}
+function initChartBottom1(){
+  var chartDom = document.getElementById('bt1');
+  var myChart = echarts.init(chartDom);
+  var option;
+
+  option = {
+    xAxis: {
+      type: 'category',
+      splitLine: { show: false },
+      data: ['新安江模型', '一维水动力模型', '二维水动力模型', '降雨预报模型', 'API模型', '大数据洪涝预报模型']
+    },
+    yAxis: {
+      type: 'value',
+      splitLine: { show: false }
+    },
+    series: [
+      {
+        data: [123, 103, 89, 89, 56, 46],
+        type: 'bar',
+        label: { 
+      show: true,   // 启用标签
+      position: 'top' // 位置:顶部(可选 'inside'、'bottom' 等)
+    }
+      }
+    ]
+  };
+
+  option && myChart.setOption(option);
+}
+function initChartBottom2(){
+  var chartDom = document.getElementById('bt2');
+var myChart = echarts.init(chartDom);
+var option;
+
+option = {
+  radar: {
+    // shape: 'circle',
+    indicator: [
+      { name: 'Sales', max: 6500 },
+      { name: 'Administration', max: 16000 },
+      { name: 'Information Technology', max: 30000 },
+      { name: 'Customer Support', max: 38000 },
+      { name: 'Development', max: 52000 },
+      { name: 'Marketing', max: 25000 }
+    ]
+  },
+  series: [
+    {
+      name: 'Budget vs spending',
+      type: 'radar',
+      data: [
+        {
+          value: [4200, 3000, 20000, 35000, 50000, 18000],
+          name: 'Allocated Budget'
+        },
+        {
+          value: [5000, 14000, 28000, 26000, 42000, 21000],
+          name: 'Actual Spending'
+        }
+      ]
+    }
+  ]
+};
+
+option && myChart.setOption(option);
+}
+onMounted(() => {
+  inintChartTop1()
+  initChartbt1()
+  initChartbt2()
+});
+</script>
+<style scoped lang="scss">
+.boxShadow{
+  box-shadow: 
+    -8px 0 15px -10px rgba(0, 0, 0, 0.1), /* 左侧阴影 */
+    8px 0 15px -10px rgba(0, 0, 0, 0.1);  /* 右侧阴影 */
+  transition: box-shadow 0.3s ease;
+
+}
+</style>

+ 908 - 0
ruoyi-ui/src/views/evaluate/score.vue

@@ -0,0 +1,908 @@
+<template>
+    <!-- 测试devkind = 'APP' -->
+  <div style="width: 100%;;display: flex;">
+    <div style="width: 98%;margin-left: 1%;padding-top: 0.5%;" class="tab-container">
+      <div>
+        <el-table 
+          :data="tableData" 
+          style="width: 100%;margin-left: 1%;margin-top: 0.5%;"
+          :cell-style="{ padding:'5px' }"
+          :header-cell-style="{height: heightAll*0.01+'px',}"
+          :row-style="{ fontSize: '16px',textAlign:'center'}"
+          border >
+          <el-table-column type="index" label="序号" width="80">
+            <template #default="{ $index }">
+              <div style="text-align: center;">
+                {{ $index + 1 }}
+              </div>
+            </template>
+          </el-table-column>
+          <el-table-column prop="name" label="模型名称"  width="200">
+            <template #default="scope">
+              <div style="color: #409EFF;cursor: pointer;" @click="showDe(scope.row)">
+                {{scope.row.name}}
+              </div>
+            </template>
+          </el-table-column>
+          <el-table-column prop="type" label="评价结果">
+          </el-table-column>
+          <el-table-column prop="url" label="评价状态"  show-overflow-tooltip/>
+          <el-table-column prop="rqtype" label="评价日期"/>
+          <el-table-column prop="address" label="操作" width="150">
+              <template #default="scope">
+                  <!-- <div style="display: flex;justify-content: space-between;width: 100%;">
+                      <el-button type="danger" text size="mini" style="margin-left: -5%;" @click="handleDelete(scope.row)">注销</el-button>
+                      <el-button @click="showDe(scope.row)" type="primary" text size="mini" style="margin-left: 0%;">查看</el-button>
+                      <el-button @click="testSer(scope.row)" type="primary" text size="mini" style="margin-left: 0%;">测试</el-button>
+                      <el-button @click="testSer(scope.row)" type="primary" text size="mini" style="margin-left: 0%;">审核</el-button>
+                  </div> -->
+                  <div style="display: flex;">
+                    <el-button @click="testSer(scope.row)" type="primary" text size="mini" style="margin-left: 0%;">评价</el-button>
+                    <el-button @click="showLog(scope.row)" type="primary" text size="mini" style="margin-left: 0%;">日志</el-button>
+                  </div>
+              </template>
+          </el-table-column>
+        </el-table>
+      </div>
+        <el-dialog @close="clearAdd" v-model="dialogVisible" title="" width="60%" destroy-on-close :key="tableKey">
+          <div style="display: flex;align-items: center;">
+            <div v-if="detailJson.rqtype==='GET'">
+              <el-tag class="ml-2" type="warning">GET</el-tag>
+            </div>
+            <div v-if="detailJson.rqtype==='POST'">
+              <el-tag class="ml-2" type="warning">POST</el-tag>
+            </div>
+            <div style="margin-left: 1%;">
+              {{ detailJson.name }}:
+            </div>
+            <div style="margin-left: 1%;">
+              {{ detailJson.url }}
+            </div>
+          </div>
+          <el-descriptions style="margin-top: 1%;" :column="3" border>
+            <el-descriptions-item label="接口类型">{{ detailJson.type }}</el-descriptions-item>
+            <el-descriptions-item label="请求方式">{{ detailJson.rqtype }}</el-descriptions-item>
+            <el-descriptions-item label="响应类型">{{ detailJson.rptype }}</el-descriptions-item>
+            <el-descriptions-item label="服务分类">{{ detailJson.cateCode }}</el-descriptions-item>
+          </el-descriptions>
+          <div style="margin-top:4%;font-size: 18px;">
+            请求参数
+          </div>
+           <el-table 
+            style="margin-top: 1%;width: 98%;"
+            :data="tableDataCan" 
+            :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+            :header-cell-style="{ textAlign: 'center'}"
+            :row-style="{ height: heightAll*0.01+'px',fontSize: '16px',textAlign:'center'  }"
+            border >
+                <el-table-column prop="paramCode" label="参数字段">
+                </el-table-column>
+                <el-table-column prop="paramName" label="参数名称">
+                </el-table-column>
+                <el-table-column prop="paramType" label="参数类型" width="200">
+                </el-table-column>
+                <el-table-column prop="paramValue" label="参数示例">
+                  
+                </el-table-column>
+                <el-table-column prop="paramNote" label="参数说明" show-overflow-tooltip>
+                </el-table-column>
+            </el-table>
+            <div style="margin-top:4%;font-size: 18px;">
+              返回参数
+            </div>
+            <el-input readonly  placeholder="" :rows="8" type="textarea" v-model="dataJsonXiang" size="mini" text style="margin-top: 1%;width: 98%;" ></el-input>
+          <template #footer>
+            <span class="dialog-footer">
+              <el-button type="primary" @click="dialogVisible = false" size="mini">
+                确定
+              </el-button>
+            </span>
+          </template>
+        </el-dialog>
+        <el-dialog @close="clearAdd" v-model="dialogVisibleTest" :title="titleTest" width="60%" destroy-on-close :key="tableKey">
+          <div style="margin-left: 1%;">
+            {{ detailJson.name }}:
+          </div>
+          <div style="display: flex;align-items: center;width: 98%;margin-top: 1%;">
+            <div v-if="detailJson.rqtype==='GET'">
+              <el-tag class="ml-2" type="warning">GET</el-tag>
+            </div>
+            <div v-if="detailJson.rqtype==='POST'">
+              <el-tag class="ml-2" type="warning">POST</el-tag>
+            </div>
+            
+            <div style="margin-left: 1%;">
+              {{ detailJson.url }}
+            </div>
+            <!-- <svg-icon @click="test" icon-class="startTest" style="margin-left: 1%;width: 50px;height: 25px;cursor: pointer;"/> -->
+            <el-button @click="test" size="mini" type="primary" style="margin-left: 1%;cursor: pointer;" plain>点击测试</el-button>
+          </div>
+          <div style="margin-top:2%;font-size: 18px;">
+            请求参数
+          </div>
+           <el-table 
+            style="margin-top: 1%;width: 98%;"
+            :data="tableDataCan" 
+            :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+            :header-cell-style="{ textAlign: 'center'}"
+            :row-style="{ height: heightAll*0.01+'px',fontSize: '16px',textAlign:'center'  }"
+            border >
+                <el-table-column prop="paramCode" label="参数字段">
+                </el-table-column>
+                <el-table-column prop="paramName" label="参数名称">
+                </el-table-column>
+                <el-table-column prop="paramType" label="参数类型" width="200">
+                </el-table-column>
+                <el-table-column prop="paramValue" label="测试值">
+                  <template #default="scope">
+                      <div style="width: 100%;">
+                          <el-input placeholder="请填写" type="primary" class="noBor" v-model="scope.row.paramValue" size="mini" text style="margin-left: 0%;"></el-input>
+                      </div>
+                  </template>
+                </el-table-column>
+                <el-table-column prop="paramNote" label="参数说明" show-overflow-tooltip>
+                </el-table-column>
+            </el-table>
+            <div style="margin-top:4%;font-size: 18px;">
+              返回参数
+            </div>
+            <el-input  placeholder="" :rows="8" type="textarea" v-model="dataReturn" size="mini" text style="margin-top: 1%;width: 98%;" ></el-input>
+          <template #footer>
+            <span class="dialog-footer">
+            </span>
+          </template>
+        </el-dialog>
+        <el-dialog @close="clearFromLev" :title="titleTest" draggable v-model="dialogVisibleLevel" width="50%" destroy-on-close :key="tableKey">
+          <el-table 
+            style="margin-top: 1%;width: 98%;min-height: 500px;"
+            :data="tableDataLog" 
+            :cell-style="{ textAlign: 'center',padding:'2px 0' }"
+            :header-cell-style="{ textAlign: 'center'}"
+            :row-style="{ height: heightAll*0.01+'px',fontSize: '16px',textAlign:'center'  }"
+            border >
+                <el-table-column prop="createBy" label="名称">
+                </el-table-column>
+                <el-table-column prop="runTm" label="评价结果">
+                </el-table-column>
+                <el-table-column prop="execTm" label="评价状态" show-overflow-tooltip>
+                </el-table-column>
+                <el-table-column prop="returnData" label="评价日期" show-overflow-tooltip>
+                </el-table-column>
+            </el-table>
+          <template #footer>
+              <span class="dialog-footer">
+                <el-button type="primary" @click="dialogVisibleLevel = false" size="mini">
+                  确定
+                </el-button>
+            </span>
+          </template>
+        </el-dialog>
+        <el-dialog  v-model="dialogVisibleDe" title="风暴潮" width="50%" @close="" destroy-on-close class="custom-dialog-bg">
+          <el-form size="mini" :key="tableKey" style="margin-top:1%;width: 100%;" :model="formJi" label-position="right"
+                 ref="formRefJi" label-width="120px" :rules="rulesJi">
+            <el-form-item label="名称:" prop="name" style="">
+              <el-input v-model="formAdd.intro" style="width: 40%;"  resize="none" />
+            </el-form-item>
+            <el-row :gutter="48">
+              <el-col :span="10">
+                <el-form-item label="评价日期:" prop="url" style="">
+                    <el-date-picker
+                      v-model="value1"
+                      type="date"
+                      style="width: 100%"
+                      placeholder="选择日期"
+                    />
+                </el-form-item>
+              </el-col>
+              <el-col :span="10">
+                <el-form-item label="评价生效日期:" prop="url" style="">
+                  <div style="width: 100%">
+                    <el-date-picker
+                    v-model="value1"
+                    type="daterange"
+                    style="width: 100%"
+                    range-separator="-"
+                    start-placeholder="开始时间"
+                    end-placeholder="结束时间"
+                  />
+                  </div>
+                </el-form-item>
+              </el-col>
+            </el-row>
+            <el-row :gutter="48">
+              <el-col :span="10">
+                <el-form-item label="质量:" prop="name" style="">
+                  <el-input v-model="formAdd.intro" style="width: 100%;"  resize="none" />
+                </el-form-item>
+              </el-col>
+              <el-col :span="10">
+                <el-form-item label="评分:" prop="name" style="">
+                  <el-input v-model="formAdd.intro" style="width: 100%;"  resize="none" />
+                </el-form-item>
+              </el-col>
+            </el-row>
+            <el-form-item label="说明:" prop="name" style="">
+              <el-input v-model="formAdd.intro" style="width: 40%;"  resize="none" type="textarea"/>
+            </el-form-item>
+          </el-form>
+        </el-dialog>
+    </div>
+  </div>
+</template>
+<script   setup>
+import {getCatalog} from "@/api/service/catalog";
+import { Plus,Search,Filter,Promotion,Check  } from '@element-plus/icons-vue'
+import { reactive } from 'vue'
+import { modelTreeSelect,getSerDe,addService,addServiceParam,delService,addTree,deTree,getServiceInfo,testService,testLog } from "@/api/service/info";
+import { ref, onMounted, onUnmounted, nextTick,onBeforeMount } from 'vue';
+import JsonViewer from 'vue-json-viewer'
+import 'vue-json-viewer/style.css' 
+import  JsonEditorVue from 'json-editor-vue3'
+import { cloneDeep } from 'lodash'
+import { useClipboard } from "@vueuse/core";
+
+const titleTest = ref('')
+const { proxy } = getCurrentInstance();
+const JsonAdd= ref(JSON.stringify({ data: "初始值1" }))
+const exampleAdd = ref('')
+const dialogVisibleLevel = ref(true)
+const dialogVisibleDe = ref(true) 
+const detail = ref({
+  name:'',
+  rqtype:'',
+  rptype:''
+})
+const tableDataLog = ref([])
+const show1Lev = ref(true)
+const inputNode =ref('')
+const isEdit = ref(true)
+const dataReturn = ref('')
+const optionsCan = ref([
+  {
+    label:"string",
+    value:'string'
+  },
+  {
+    label:"int",
+    value:'int'
+  },
+  {
+    label:"boolean",
+    value:'boolean'
+  },
+  {
+    label:"array",
+    value:'array'
+  },
+  {
+    label:"object",
+    value:'object'
+  },
+  {
+    label:"number",
+    value:'number'
+  },
+  {
+    label:"null",
+    value:'null'
+  },
+  {
+    label:"any",
+    value:'any'
+  },
+  
+])
+const currentNodeKey = ref('')
+const options =  ref([
+    {label:'开发中',
+    value:'1'
+    },
+    {label:'运行中',
+    value:'2'
+    },
+])
+const dataJsonXiang = ref([])
+const parTree = ref({})
+const valueKet = ref(0)
+const tableDataCan = ref([
+    {
+      itemName:'',
+      itemCode:'',
+      paramType:'',
+      paramNote:''
+    }
+])
+const dialogVisibleTest = ref(false)
+const optionsMdid = ref([])
+const optionsRqtype = ref([
+    {label:'GET',
+    value:'GET'
+    },
+    {label:'POST',
+    value:'POST'
+    },
+])
+const optionsType=  ref([
+    {label:'RESTful',
+    value:'RESTful'
+    },
+    {label:'WebService',
+    value:'WebService'
+    },
+    {label:'HTTP',
+    value:'HTTP'
+    },
+    {label:'WebSocket',
+    value:'WebSocket'
+    },
+])
+const data =  ref([])
+const select =  ref('1')
+const activeName =  ref('first')
+const title =  ref('')
+const titleTree =  ref('')
+const currentPage =  ref(1)
+const total =  ref(1)
+const tableData = ref([])
+const tableheight = window.innerHeight*0.7
+const heightAll = window.innerHeight
+const dialogVisible = ref(false)
+const dialogVisibleTree = ref(false)
+const isAdd = ref(false)
+const isAddTa = ref(false)
+const treeId = ref('');
+const valueSta = ref('1');
+const parMdid = ref('')
+const example = ref('');
+const tableDataCanAdd = ref([
+  {
+      itemName:'',
+      itemCode:'',
+      paramType:'',
+      paramNote:''
+    }
+])
+const formZu = ref({
+  itemName:'',
+  itemTp:'',
+  itemEn:'',
+  itemTp:'',
+  itemDataTp:'',
+  itemDefaultVal:'',
+  itemUnit:'',
+  itemNotes:'',
+});
+const parId= ref('')
+const formJi = ref({
+  name:'',
+  cateCode:'',
+  type:'',
+  url:'',
+  rqtype:'',
+  rptype:'',
+  intro:'',
+});
+const rulesJi = reactive({
+  name: [{ required: true, message: '必填', trigger: 'blur' }],
+  url: [{ required: true, message: '必填', trigger: 'blur' }],
+  cateCode: [{ required: true, message: '必填', trigger: 'blur' }],
+});
+const formRefJi = ref();
+const formAdd = ref({
+  name:'',
+  cateCode:'',
+  type:'',
+  url:'',
+  rqtype:'',
+  rptype:'',
+  intro:'',
+  mdid:''
+});
+const rulesAdd = reactive({
+  mdid: [{ required: true, message: '必填', trigger: 'blur' }],
+  name: [{ required: true, message: '必填', trigger: 'blur' }],
+  url: [{ required: true, message: '必填', trigger: 'blur' }],
+  cateCode: [{ required: true, message: '必填', trigger: 'blur' }],
+});
+const formRefAdd = ref();
+const treeRef = ref(null);
+const formTree = ref({
+  itemName:'',
+  catePid:'',
+  itemNo:'',
+  itemNotes:''
+});
+const rulesTree = reactive({
+  itemNo: [{ required: true, message: '必填', trigger: 'blur' }],
+  catePid: [{ required: true, message: '必填', trigger: 'blur' }],
+  itemName: [{ required: true, message: '必填', trigger: 'blur' }],
+});
+const formRefTree = ref();
+const formLev = ref({
+  itemName:'',
+  itemNo:'',
+  itemNotes:'',
+});
+const rulesLev = reactive({
+  itemNotes: [{ required: true, message: '必填', trigger: 'blur' }],
+  itemNo: [{ required: true, message: '必填', trigger: 'blur' }],
+  itemName: [{ required: true, message: '必填', trigger: 'blur' }],
+});
+const formRefLev = ref();
+const cascaderOptions = ref([])
+const props1 = ref({
+  checkStrictly: true,
+})
+const detailJson = ref('')
+const parOptions = ref([])
+watch(inputNode, (val) => {
+  treeRef.value?.filter(val); // 调用树的过滤方法
+});
+const filterNode = (value, data) => {
+  if (!value) return true; // 空搜索时显示所有节点
+  return data.label.includes(value); // 检查节点标签是否包含关键字
+};
+
+const copied = ref(false);
+function showLog(row){
+  dialogVisibleLevel.value = true
+  var par = {
+    serId:row.srvId
+  }
+  testLog(par).then(res=>{
+    tableDataLog.value = res.rows
+  })
+}
+function test(){
+  var par = detailJson.value
+  par.params = tableDataCan.value
+  testService(par).then(res=>{
+    console.log(res)
+    dataReturn.value = res.msg
+    var par1  = {
+      data:{id:parMdid.value}
+    }
+    handleNodeClick(null,par1,null)
+  })
+}
+function testSer(row){
+  getSerDe(row.srvId).then(res=>{
+    if(res.code===200){
+      detailJson.value = res.data.ptService
+      console.log(detailJson.value)
+      dialogVisibleTest.value = true
+      tableDataCan.value = res.data.list
+    }
+  })
+}
+function showDe(row){
+  getSerDe(row.srvId).then(res=>{
+    if(res.code===200){
+      dialogVisibleDe.value = true
+      parOptions.value.forEach(item=>{
+        if(res.data.ptService.cateCode === item.cateCode){
+          res.data.ptService.cateCode = item.cateName
+        }
+      })
+      if(res.data.ptService.rptype === '1'){
+        res.data.ptService.rptype = 'JSON'
+      }
+      if(res.data.ptService.rptype === '2'){
+        res.data.ptService.rptype = 'XML'
+      }
+      if(res.data.ptService.rptype === '3'){
+        res.data.ptService.rptype = 'HTML'
+      }
+      formJi.value = res.data.ptService
+    }
+  })
+}
+function filterModelNodes(nodes) {
+  if (!Array.isArray(nodes)) return [];
+  
+  const result = [];
+  for (const node of nodes) {
+    // 递归处理子节点(如果有)
+    const filteredChildren = node.children ? filterModelNodes(node.children) : [];
+    
+    if (node.nodeType === 'MODEL') {
+      // 保留当前节点,并更新其子节点
+      node.value = node.id
+      result.push({
+        ...node,
+        children: filteredChildren
+      });
+    } else {
+      // 删除当前节点,将其子节点提升到当前层级
+      result.push(...filteredChildren);
+    }
+  }
+  return result;
+}
+function clearAdd(){
+  tableDataCan.value = [
+  ]
+  dataReturn.value = ''
+}
+function extractModelNodesDFSIterative(root) {
+  const result = [];
+  const stack = root;
+  
+  while (stack.length > 0) {
+    const node = stack.pop();
+    if (node.nodeType === 'MODEL') {
+      result.push(node);
+    }
+    
+    // 子节点逆序入栈(保证从左到右遍历)
+    if (node.children) {
+      for (let i = node.children.length - 1; i >= 0; i--) {
+        stack.push(node.children[i]);
+      }
+    }
+  }
+  return result;
+}
+function delAll(){
+  proxy.$modal.confirm('是否确认删除?').then(function () {
+    return deTree(parTree.value.id);
+  }).then(() => {
+    getTreeLeft();
+    proxy.$modal.msgSuccess("删除成功");
+    dialogVisibleLevel.value = false
+  }).catch(() => {});
+}
+function clearFromLev(){
+  tableDataLog.value = []
+}
+function addNextLevel(){
+  dialogVisibleLevel.value = true
+  show1Lev.value = false
+}
+function saveAddNextLevel(){
+   formRefLev.value.validate((valid) => {
+    if(valid){
+      var par = formLev.value
+      par.treeType = 'MODEL'
+      par.treePid = parTree.value.id
+      addTree(par).then(res=>{
+        if(res.code===200){
+          proxy.$modal.msgSuccess("新增成功");
+          getTreeLeft()
+          dialogVisibleLevel.value = false
+        }
+      })
+    }
+  });
+}
+function add1Level(){
+  dialogVisibleLevel.value = true
+  show1Lev.value = true
+}
+function saveAdd1Level(){
+  formRefLev.value.validate((valid) => {
+    if(valid){
+      var par = formLev.value
+      par.treeType = 'MODEL'
+      par.treePid = parTree.value.pid
+      addTree(par).then(res=>{
+        if(res.code===200){
+          proxy.$modal.msgSuccess("新增成功");
+          getTreeLeft()
+          dialogVisibleLevel.value = false
+        }
+      })
+    }
+  });
+}
+async function delSer(){
+  proxy.$modal.confirm('是否确认删除?').then(function () {
+    return delService(parId.value.id);
+  }).then(() => {
+    getTreeLeft();
+    proxy.$modal.msgSuccess("删除成功");
+  }).catch(() => {});
+}
+async function addSer(){
+  console.log(JsonAdd.value)
+  var valid
+  await formRefAdd.value.validate((valid1) => {
+    valid = valid1
+  });
+  console.log(valid) 
+  if(valid){
+    var par = formAdd.value
+    par.example = exampleAdd.value
+    par.rpcontent = JsonAdd.value
+    par.cateCode = par.cateCode[0]
+    console.log(par)
+
+    await addService(par).then(res=>{
+      if(res.code===200){
+        var parCan = tableDataCanAdd.value
+        parCan.srvId = res.data.srvId
+        addServiceParam(parCan).then(res1=>{
+          if(res1.code===200){
+            proxy.$modal.msgSuccess("新增成功");
+            getTreeLeft()
+          }
+        })
+      }
+    })
+    
+    
+  }
+
+}
+function showAdd(){
+  dialogVisible.value = true
+}
+async function handleNodeClick(node,data,event){
+  // parTree.value = data.data
+  // currentNodeKey.value = data.data.id
+ 
+  // isEdit.value = false
+  // parId.value = data.data
+  // await getSerDe(data.data.id).then(res=>{
+  //   if(res.data.ptService){
+  //     detail.value = res.data.ptService
+  //     tableDataCan.value = res.data.list
+  //     dataReturn.value = res.data.returnList
+  //     console.log(tableDataCan.value)
+  //     dataJsonXiang.value = res.data.ptService.rpcontent
+  //     formJi.value = res.data.ptService
+  //     example.value = res.data.ptService.example
+  //   }
+    
+  // })
+  console.log(data)
+  titleTest.value = data.data.label
+  parMdid.value = data.data.id
+  var par = {
+    mdid:data.data.id
+  }
+  console.log(data.data.id)
+  await getServiceInfo(par).then(res=>{
+    if(res.data){
+      tableData.value = res.data.serviceList
+      
+    }
+  })
+  parOptions.value.forEach(option => {
+    option.label = option.cateName;
+    option.value = option.cateCode;
+  });
+  console.log(parOptions.value)
+  for(var i = 0; i < parOptions.value.length; i++){
+    for(var i1 = 0; i1 < tableData.value.length; i1++){
+      console.log(i1);
+      if(parOptions.value[i].value === tableData.value[i1].cateCode){
+         tableData.value[i1].cateCode = parOptions.value[i].label
+      }
+    }
+  }
+  var par = [
+    {
+      value:'1',
+      label:'JSON'
+    },
+    {
+      value:'2',
+      label:'XML'
+    },
+    {
+      value:'3',
+      label:'HTML'
+    }
+  ]
+  for(var i = 0; i < par.length; i++){
+    for(var i1 = 0; i1 < tableData.value.length; i1++){
+      if(par[i].value === tableData.value[i1].rptype){
+         tableData.value[i1].rptype = par[i].label
+      }
+    }
+  }
+}
+async function getTreeLeft(){
+  var par = {
+    params:{
+      level:'2',
+      devkind:'APP'
+    }
+  }
+  await modelTreeSelect(par).then(res=>{
+    par = res.data
+    data.value = res.data
+    
+  })
+  optionsMdid.value = filterModelNodes(par)
+  console.log(optionsMdid.value)
+}
+function renameTreeProperties(tree) {
+  // 深拷贝避免修改原始数据(可选,根据需求)
+  const newTree = cloneDeep(tree); // 使用 lodash
+  // 或:const newTree = JSON.parse(JSON.stringify(tree)); // 原生方法(不兼容函数等)
+
+  // 递归处理函数
+  const processNode = (node) => {
+    // 重命名属性
+    if ('cateName' in node) {
+      node.label = node.cateName;
+      delete node.cateName;
+    }
+    if ('cateCode' in node) {
+      node.value = node.cateCode;
+      delete node.cateCode;
+    }
+
+    // 递归处理子节点
+    if (node.children && node.children.length > 0) {
+      node.children.forEach(child => processNode(child));
+    }
+  };
+
+  // 遍历根节点
+  newTree.forEach(rootNode => processNode(rootNode));
+  return newTree;
+}
+function fetchData() {
+  getCatalog().then((r) => {
+    parOptions.value = r.data
+    cascaderOptions.value = renameTreeProperties(buildTree(r.data))
+    console.log(parOptions.value)
+  });
+}
+function buildTree(flatData, rootValue = '0') {
+      const nodeMap = new Map();
+      const tree = [];
+      flatData.forEach(item => {
+        nodeMap.set(item.cateCode, { ...item, children: [] });
+      });
+      for (const [code, node] of nodeMap) {
+        const parentCode = node.catePcode;
+        if (parentCode === rootValue || !parentCode) {
+          tree.push(node);
+          continue;
+        }
+        const parent = nodeMap.get(parentCode);
+        if (parent) {
+          parent.children.push(node);
+        } else {
+          console.warn(`Orphan node detected: ${code}. Parent ${parentCode} not found`);
+        }
+      }
+
+      return tree;
+    }
+function addPa(){
+    var par = {
+        itemName:''
+    }
+    tableDataCan.value.push(par)
+}
+function delCan(index){
+  tableDataCan.value.splice(index, 1)
+}
+function addCanAdd(){
+    var par = {
+        parName:''
+    }
+    tableDataCanAdd.value.push(par)
+}
+function delCanAdd(index){
+  tableDataCanAdd.value.splice(index, 1)
+}
+onMounted(() => {
+  fetchData()
+  getTreeLeft()
+});
+
+</script>
+<style scoped>
+
+.noBorSel :deep(.el-select__wrapper){
+  box-shadow: none !important; /* 去除阴影边框 */
+  border: 1px solid transparent !important; /* 设置透明边框 */
+  background-color: transparent !important; /* 可选:透明背景 */
+}
+.noBor :deep(.el-input__wrapper) {
+  box-shadow: none !important; /* 去除阴影边框 */
+  border: 1px solid transparent !important; /* 设置透明边框 */
+  background-color: transparent !important; /* 可选:透明背景 */
+}
+/* 节点垂直间距 */
+:deep(.el-tree-node) {
+  margin-bottom:5px !important; /* 增大节点间距 */
+}
+.el-popover.custom-popover {
+  min-width: 50px;
+  padding: 8px; /* 可选:调整内边距 */
+}
+</style>
+<style>
+.dot {
+  width: 20px;          /* 控制圆点直径 */
+  height: 20px;
+  background-color: #333; /* 实心颜色 */
+  border-radius: 50%;    /* 关键属性 */
+  display: inline-block; /* 确保与其他元素并排 */
+}
+/* 全局透明样式(不使用 scoped) */
+.transparent-select .el-select__wrapper {
+  background-color: transparent !important;
+  border-color: transparent !important;
+  box-shadow: none !important;
+}
+
+.transparent-select .el-select__selection {
+  background-color: transparent;
+}
+
+/* 处理悬停和聚焦状态 */
+.transparent-select .el-select__wrapper:hover,
+.transparent-select .el-select__wrapper.is-focused {
+  border-color: transparent !important;
+  box-shadow: none !important;
+}
+
+/* 下拉箭头图标 */
+.transparent-select .el-select__caret {
+  color: rgba(0, 0, 0, 0.5); /* 半透明图标 */
+}
+</style>
+<style scoped>
+:deep(.treeLeft) .el-tree-node__content {
+  display: flex !important;
+  height: 28px;                  /* 按设计稿调整高度 */
+  align-items: center;
+  padding-top: 0 !important;
+}
+:deep(.treeLeft) .el-tree-node__content:hover {
+  background-color: #e9e9eb;
+}
+:deep(.treeLeft) .el-tree-node__content:active {
+    background-color: rgka(69,157,255,0.1) !important;
+  }
+
+  /* 选中态(Active) */
+:deep(.treeLeft) .el-tree-node.is-current > .el-tree-node__content {
+    background-color: #c6e2ff !important;
+  }
+
+.tab-container {
+  height: 100vh; /* 关键:父容器明确高度 */
+  display: flex;
+  flex-direction: column;
+}
+.drag-handle {
+  cursor: move;
+}
+
+.ghost {
+  opacity: 0.5;
+  background: #c8ebfb;
+}
+
+/* 防止文字选中 */
+:deep(.el-table__row) {
+  user-select: none;
+  -webkit-user-select: none;
+}
+</style>
+<style scoped lang="scss">
+
+.custom-tree-node {
+  display: flex;       /* 启用 Flex 布局 */
+  align-items: center; /* 垂直居中 */
+  gap: 8px;            /* 图标与文字间距 */
+  justify-content: space-between;
+}
+.el-table .el-table__row td {
+  height: 60px !important; /* 行高 */
+}
+.custom-tree-node {
+  display: flex;       /* 启用 Flex 布局 */
+  align-items: center; /* 垂直居中 */
+  gap: 8px;            /* 图标与文字间距 */
+}
+</style>