Sfoglia il codice sorgente

移动端表格细节调整

chenlei 5 mesi fa
parent
commit
eb65b3365b

+ 3 - 3
src/router/sheetList.js

@@ -39,7 +39,7 @@ export const sheetListRoutes=[
         path: "/shared/search",
         name: "sharedSearch",
         component: () => import("@/views/sheetList/sharedSearch.vue"),
-        meta: { title: "共享表格", noHead:true },
+        meta: { title: "ETA表格", noHead:true },
     },
     {
         path: "/shared/detail",
@@ -51,12 +51,12 @@ export const sheetListRoutes=[
         path: "/balance/detail",
         name: "balanceDetail",
         component: () => import("@/views/sheetList/balanceDetail.vue"),
-        meta: { title: "共享表格", noHead:true},
+        meta: { title: "平衡表", noHead:true},
     },
     {
         path: "/balance/chart",
         name: "balanceChart",
         component: () => import("@/views/sheetList/balanceChart.vue"),
-        meta: { title: "共享表格", noHead:true},
+        meta: { title: "关联图表", noHead:true},
     }
 ]

+ 5 - 4
src/views/sheetList/balanceDetail.vue

@@ -57,6 +57,7 @@ async function getExcelDetail( source = 'refresh', ExcelInfoId = '' ){
     if(res.Ret!==200) return 
     if(source==='refresh') showToast({ type: 'success', message: globalProperties.$t('shared_table.refresh_success') })
     queryData.value = res.Data
+    document.title = queryData.value.ExcelName
 }
 
 // 获取关联图库列表
@@ -419,7 +420,7 @@ function goChart () {
     }
     .sheet-box{
         width: 100%;
-        height: calc(100% - 270px);
+        height: calc(100% - 300px);
     }
     .sheet-more-action-wrap{
         .head-box{
@@ -445,7 +446,7 @@ function goChart () {
     }
     .bottom {
         display: flex;
-        justify-content: space-between;
+        justify-content: space-around;
         .bottom-item {
             color: rgba(51, 51, 51, 1);
             font-size: 20px;
@@ -516,7 +517,7 @@ function goChart () {
         .sheet-box{
             margin-top: 10px;
             width: 100%;
-            height: calc(100% - 110px);
+            height: calc(100% - 125px);
         }
         .bottom {
             width: 30%;
@@ -524,7 +525,7 @@ function goChart () {
             right: 12px;
             bottom: 12px;
             display: flex;
-            justify-content: space-between;
+            justify-content: space-around;
             .bottom-item {
                 color: rgba(51, 51, 51, 1);
                 font-size: 10px;

+ 1 - 1
src/views/sheetList/balanceList.vue

@@ -263,7 +263,7 @@ function goSheetSearch(){
 <style scoped lang="scss">
 .excel-eta-list-wrap{
   .select-wrap{
-      padding: 30px;
+      padding: 0 30px 30px 30px;
       position: sticky;
       top:0;
       background-color: #fff;

+ 1 - 1
src/views/sheetList/mixedList.vue

@@ -263,7 +263,7 @@ function goSheetSearch(){
 <style scoped lang="scss">
 .excel-eta-list-wrap{
   .select-wrap{
-      padding: 30px;
+      padding: 0 30px 30px 30px;
       position: sticky;
       top:0;
       background-color: #fff;

+ 1 - 0
src/views/sheetList/sharedDetail.vue

@@ -47,6 +47,7 @@ async function getExcelDetail( source = 'refresh', ExcelInfoId = '' ){
     if(res.Ret!==200) return 
     if(source==='refresh') showToast({ type: 'success', message: globalProperties.$t('shared_table.refresh_success') })
     queryData.value = res.Data
+    document.title = queryData.value.ExcelName
 }
 
 //更多操作

+ 1 - 1
src/views/sheetList/sharedList.vue

@@ -263,7 +263,7 @@ function goSheetSearch(){
 <style scoped lang="scss">
 .excel-eta-list-wrap{
   .select-wrap{
-      padding: 30px;
+      padding: 0 30px 30px 30px;
       position: sticky;
       top:0;
       background-color: #fff;

+ 1 - 1
src/views/sheetList/timelineList.vue

@@ -263,7 +263,7 @@ function goSheetSearch(){
 <style scoped lang="scss">
 .excel-eta-list-wrap{
   .select-wrap{
-      padding: 30px;
+      padding: 0 30px 30px 30px;
       position: sticky;
       top:0;
       background-color: #fff;