From e79fe08cd5cebecebe51758e0d21d8358e3084fd Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 08 Nov 2024 09:49:15 +0800
Subject: [PATCH] 样式优化

---
 src/views/companyInfo/components/box/fireTrend.vue        |    4 ++--
 src/views/companyInfo/components/centerContainer.vue      |    7 ++++---
 src/views/layout/index.vue                                |    2 +-
 src/views/companyInfo/index.vue                           |    4 +---
 src/views/companyInfo/components/box/occurStatistics.vue  |    2 +-
 src/views/layout/components/scomponents/layersControl.vue |    6 +++---
 6 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/views/companyInfo/components/box/fireTrend.vue b/src/views/companyInfo/components/box/fireTrend.vue
index 9a2f890..95f539b 100644
--- a/src/views/companyInfo/components/box/fireTrend.vue
+++ b/src/views/companyInfo/components/box/fireTrend.vue
@@ -80,7 +80,7 @@
 function getLists(param = {}) {
     param.current = pages.page;
     param.size = pages.pageSize;
-    param.id = data.companyInfo.id
+    param.firmId = data.companyInfo.id
     loading.value = true;
     getList(param)
         .then((res) => {
@@ -127,7 +127,7 @@
                     <el-table-column fixed prop="name" label="名称" />
                     <el-table-column prop="numUnit" label="数量" width="100" />
                     <!-- <el-table-column prop="firmName" label="单位名称" /> -->
-                    <el-table-column prop="ownership" label="归属" width="100" />
+                    <el-table-column prop="personInCha" label="负责人" width="100" />
                 </el-table>
                 <div class="el-page">
                     <el-pagination background layout="prev, pager, next" :page-size="pages.pageSize" :total="pages.total"
diff --git a/src/views/companyInfo/components/box/occurStatistics.vue b/src/views/companyInfo/components/box/occurStatistics.vue
index 31975f7..1000ebb 100644
--- a/src/views/companyInfo/components/box/occurStatistics.vue
+++ b/src/views/companyInfo/components/box/occurStatistics.vue
@@ -127,7 +127,7 @@
                     <el-table-column fixed prop="perInCha" label="责任人姓名" />
                     <el-table-column prop="perInChaPho" label="联系电话" />
                     <!-- <el-table-column prop="firmName" label="单位名称" /> -->
-                    <el-table-column prop="ownership" label="归属" width="100" />
+                    <el-table-column prop="perInCha" label="负责人" width="100" />
                 </el-table>
                 <div class="el-page">
                     <el-pagination background layout="prev, pager, next" :page-size="pages.pageSize" :total="pages.total"
diff --git a/src/views/companyInfo/components/centerContainer.vue b/src/views/companyInfo/components/centerContainer.vue
index ce6265d..57fc426 100644
--- a/src/views/companyInfo/components/centerContainer.vue
+++ b/src/views/companyInfo/components/centerContainer.vue
@@ -32,7 +32,7 @@
 }
 
 </script>
-    
+
 <template>
     <div class="center-container">
         <div class="center-container-title">
@@ -56,10 +56,11 @@
         </div>
     </div>
 </template>
-    
+
 <style lang="scss" scoped >
 .center-container {
     margin: 10px auto;
+    margin-top: -30px;
     color: #fff;
     pointer-events: auto;
 }
@@ -69,7 +70,7 @@
 .center-name {
     font-size: 30px;
     margin: 10px 0;
-    text-align: center;
+    margin-left: 15px;
     font-family: YouSheBiaoTiHei;
 
 }
diff --git a/src/views/companyInfo/index.vue b/src/views/companyInfo/index.vue
index bf2840f..0bf24f8 100644
--- a/src/views/companyInfo/index.vue
+++ b/src/views/companyInfo/index.vue
@@ -38,16 +38,14 @@
 
     .left-container,
     .right-container {
-        margin-top: 60px;
         display: flex;
         flex-direction: column;
         position: absolute;
         top: 0;
         width: 400px;
-        height: calc(100% - 80px);
+        height: calc(100% - 20px);
         pointer-events: auto;
         background: rgba(28, 115, 195, 0.2);
-        margin-right: 40px;
 
         &>div {
             display: flex;
diff --git a/src/views/layout/components/scomponents/layersControl.vue b/src/views/layout/components/scomponents/layersControl.vue
index b04e267..5b54077 100644
--- a/src/views/layout/components/scomponents/layersControl.vue
+++ b/src/views/layout/components/scomponents/layersControl.vue
@@ -376,9 +376,9 @@
 }
 
 onMounted(() => {
-  // handleCheckChange(data.filter(i => i.id == '1'), {
-  //   checkedKeys: ['1']
-  // })
+  handleCheckChange(data.filter(i => i.id == '1'), {
+    checkedKeys: ['1']
+  })
 })
 
 onUnmounted(() => {
diff --git a/src/views/layout/index.vue b/src/views/layout/index.vue
index ddcde80..a997adb 100644
--- a/src/views/layout/index.vue
+++ b/src/views/layout/index.vue
@@ -36,7 +36,7 @@
           <main-search></main-search>
           <main-tool></main-tool>
 
-          <div v-if="showSubLayout" class="w100 h100">
+          <div v-if="showSubLayout" class="main-container">
             <router-view></router-view>
           </div>
 

--
Gitblit v1.9.3