Преглед на файлове

🎨 perf<数据中心>: 界面修改

xinyan преди 11 месеца
родител
ревизия
32683c601e

+ 2 - 2
src/views/reportManage/dataCenter/combinedDisplay/components/tableData/mainData.vue

@@ -23,7 +23,7 @@ const monthEndDate = ref(null);
 
 const gridOptions = reactive({
   border: 'inner',
-  height: 850,
+  height: 900,
   align: null,
   round: true,
   loading: false,
@@ -211,7 +211,7 @@ async function handleExport() {
     const url = window.URL.createObjectURL(new Blob([response.data]));
     const link = document.createElement('a');
     link.href = url;
-    link.setAttribute('download', 'data_export.xlsx');
+    link.setAttribute('download', '合并数据展示.xlsx');
     document.body.appendChild(link);
     link.click();
     gridOptions.loading = false;

+ 1 - 1
src/views/reportManage/dataCenter/combinedDisplay/components/tableData/monthlyComparativeData.vue

@@ -17,7 +17,7 @@ const monthEndDate = ref(null);
 
 const gridOptions = reactive({
   border: 'inner',
-  height: 850,
+  height: 900,
   align: null,
   round: true,
   loading: false,

+ 1 - 1
src/views/reportManage/dataCenter/combinedDisplay/index.vue

@@ -133,7 +133,7 @@ function handleButtonClick(tableName) {
 }
 
 .custom-button {
-  z-index: 1000;
+  z-index: 8;
   position: absolute;
   color: #3a83f7 !important;
 }

+ 3 - 5
src/views/reportManage/dataCenter/index.vue

@@ -16,7 +16,7 @@ const tabsComponents: any = {
 const panes = [
   {label: '普通展示', name: 'NormalDisplay'},
   {label: '合并展示', name: 'CombinedDisplay'},
-   //{ label: '对比数据', name: 'CompareData' },
+  //{ label: '对比数据', name: 'CompareData' },
   // { label: '数据导出', name: 'DataExport' },
 ];
 
@@ -24,7 +24,7 @@ const panes = [
 
 <template>
   <div>
-    <div  class="custom-container">
+    <div class="custom-container">
       <div class="custom-tabs">
         <div
             v-for="pane of panes"
@@ -47,7 +47,7 @@ const panes = [
   font-weight: 600;
 }
 
-.custom-container{
+.custom-container {
   overflow: inherit;
 }
 
@@ -57,9 +57,7 @@ const panes = [
   z-index: 9;
   box-shadow: 0px 0px 12px rgba(51, 89, 181, 0.16);
   position: sticky;
-
   padding: 0 12px;
-
   display: flex;
   height: 40px;
   gap: 24px;