Browse Source

2022-12-21 update

1. agcAnalysis 调整tableHeight  和 table shadow
moccus 2 years ago
parent
commit
71d0fab1e8

+ 1 - 1
src/pages/dataAnalysis/agcAnalysis/components/table.vue

@@ -36,7 +36,7 @@ const tableHeight =  computed(() => {
 })
 </script>
 <template>
-  <div ref="tableRef" class="p-[10px] shadow rounded-[6px] shadow-blue-500"
+  <div ref="tableRef" class="p-[10px]"
     :style="{ height: typeof props.height === 'string' ? props.height : props.height + 'px' }">
     <div class="flex justify-between items-center pb-[10px]">
       <h3>{{props.tableName}}</h3>

+ 2 - 2
src/pages/dataAnalysis/agcAnalysis/index.vue

@@ -9,9 +9,9 @@ import CurrentScatterChart from './components/current-scatter-chart.vue'
 import request from '@/api/axios.js'
 import {baseURL, socketURL} from '@/api/axios.js'
 /**配置参数 */
-const treeHeight = ref(window.innerHeight - 314 + 'px') //tree高度
+const tableHeight = ref(window.innerHeight - 314 + 'px')
+const treeHeight = ref(window.innerHeight - 260 + 'px') //tree高度
 const excelHeight = ref(window.innerHeight - 260 + 'px') //excel高度
-const tableHeight = ref(window.innerHeight - 260 + 'px')
 /**excel 开始 */
 const excelList = ref([])
 const funExcelChange = async (obj) => { //点击excel项时