瀏覽代碼

预算与实际统计修改

duy 2 年之前
父節點
當前提交
0abf17c25a

+ 10 - 6
src/styles/static/actual.scss

@@ -1,25 +1,27 @@
 .table_box{
-    height: calc(100vh - 210px);overflow-y: auto;   
+    height: calc(100vh - 300px);overflow-y: auto;   
 }
 
 
 .hc-card-item-sub {
     position: relative;
     padding: 20px;
+    height: 200px;
     .item-sub-title {
-        font-size: 15px;
+        // font-size: 15px;
+        font-size: 35px;
     }
     .item-sub-num {
         position: relative;
-        margin-top: 15px;
-        text-align: right;
+        margin-top: 30px;
+        text-align: left;
         .num {
-            font-size: 38px;
+            font-size: 60px;
             font-weight: bold;
         }
         .text {
             margin-left: 3px;
-            font-size: 15px;
+            font-size: 35px;
             color: inherit;
         }
     }
@@ -43,3 +45,5 @@
 }
 
 
+ 
+

+ 9 - 5
src/views/static/components/tab-all.vue

@@ -9,8 +9,8 @@
                 </div>
             </el-row>
             
-                <el-table :data="tableData" border class="mt-4"  v-if="costcheck==1" :header-cell-style="headerStyle">
-                <el-table-column v-for="item in tableColData"  align="center"
+                <el-table :data="tableData" border class="mt-4 "  v-if="costcheck==1" :header-cell-style="headerStyle">
+                <el-table-column v-for="item in tableColData"  align="center" 
                 :prop="item.id"
                 :label="item.name"
                 :key="item.id">
@@ -26,7 +26,7 @@
                     </el-table-column>
                 </el-table-column>
             </el-table>
-            <el-table :data="tableData" border class="mt-4" v-if="costcheck==2" :header-cell-style="{ background:'#F5F7FA'}" >
+            <el-table :data="tableData" border class="mt-4" v-if="costcheck==2" :header-cell-style="{ background:'#F5F7FA', fontSize:'16px'}" >
                 <el-table-column 
                 v-for="item in tableprojectColData"  
                 :prop="item.id"
@@ -35,7 +35,7 @@
                 
                 ></el-table-column>
             </el-table>
-            <el-table :data="tableData" border class="mt-4" v-if="costcheck!=='2'&&costcheck!=='1'" :header-cell-style="{ background:'#F5F7FA'}" >
+            <el-table :data="tableData" border class="mt-4" v-if="costcheck!=='2'&&costcheck!=='1'" :header-cell-style="{ background:'#F5F7FA' ,fontSize:'16px'}" >
                 <el-table-column 
                 v-for="item in otherColData"  
                 :prop="item.id"
@@ -354,7 +354,8 @@ const otherColData=ref([
 //合并
 
 const headerStyle=({ row, column, rowIndex, columnIndex })=>{
-    const comStyle = {  };
+
+    const comStyle = {fontSize:"16px" };
       // 1.1 让第0行的第0列跨2行
       if (rowIndex === 0 && columnIndex === 0
       ||rowIndex === 0 && columnIndex === 1
@@ -398,9 +399,12 @@ const headerStyle=({ row, column, rowIndex, columnIndex })=>{
 
       return comStyle;
 }
+
 const costcheck=ref('1')
 </script>
 
 <style scoped lang="scss">
 
+
+
 </style>

+ 1 - 1
src/views/static/components/tab-decost.vue

@@ -149,7 +149,7 @@ const tableColData=ref([
 //合并
 
 const headerStyle=({ row, column, rowIndex, columnIndex })=>{
-    const comStyle = { backgroundColor: "" };
+  const comStyle = {fontSize:"16px" };
       // 1.1 让第0行的第0列跨2行
       if (rowIndex === 0 && columnIndex === 0) {
         nextTick(() => {

+ 1 - 1
src/views/static/components/tab-mannager.vue

@@ -110,7 +110,7 @@ const tableColData=ref([
 //合并
 
 const headerStyle=({ row, column, rowIndex, columnIndex })=>{
-    const comStyle = { backgroundColor: "" };
+  const comStyle = {fontSize:"16px" };
       // 1.1 让第0行的第0列跨2行
       if (rowIndex === 0 && columnIndex === 0) {
         nextTick(() => {

+ 2 - 2
src/views/static/components/tab-month.vue

@@ -43,7 +43,7 @@ console.log(key)
 
 
 const tableData=ref([
-
+{time:'一月',beginremain:'2000'},
 {time:'二月',beginremain:'2000'},
 {time:'三月',beginremain:'2000'},
 {time:'四月',beginremain:'2000'},
@@ -121,7 +121,7 @@ const tableColData=ref([
 //合并
 
 const headerStyle=({ row, column, rowIndex, columnIndex })=>{
-    const comStyle = { backgroundColor: "" };
+  const comStyle = {fontSize:"16px" };
       // 1.1 让第0行的第0列跨2行
       if (rowIndex === 0 && columnIndex === 0) {
         nextTick(() => {