jwyu 1 рік тому
батько
коміт
e6e000c61b

+ 1 - 1
src/views/dataEDB/RelationEDB.vue

@@ -48,7 +48,7 @@ function onLoad(){
 
 //复制数据
 function handleCopyEDBData(e){
-    copyData({EdbInfoId:e.EdbInfoId})
+    copyData(e.DataList||[])
 }
 
 // 查看数据

+ 6 - 4
src/views/dataEDB/calculate/BatchDetail.vue

@@ -450,9 +450,7 @@ function handleShowEDBHistory(item){
                         <li class="info-item">频度:{{edbList[currentEdbInfoIndex].edbData.Frequency}}</li>
                         <li class="info-item">最新日期:{{edbList[currentEdbInfoIndex].edbData.LatestDate}}</li>
                         <li class="info-item">单位:{{edbList[currentEdbInfoIndex].edbData.Unit}}</li>
-                        <li class="info-item">最新值:{{edbList[currentEdbInfoIndex].edbData.LatestValue}}</li>
-                        <li class="info-item" style="width:100%">最近更新:{{edbList[currentEdbInfoIndex].edbData.ModifyTime}}</li>
-                        <li class="info-item" style="width:100%">数据来源:{{edbList[currentEdbInfoIndex].edbData.SourceName}}</li>
+                        <li class="info-item">数据来源:{{edbList[currentEdbInfoIndex].edbData.SourceName}}</li>
                     </ul>
                     <div style="text-align:right">
                         <van-button color="#0052D9" size="small" @click="showSeeEDBDataList=true">查看数据</van-button>
@@ -667,7 +665,8 @@ function handleShowEDBHistory(item){
                 color: $font-grey;
                 margin-bottom: 10px;
                 .info-item{
-                    width: 50%;
+                    width: 100%;
+                    margin-bottom: 10px;
                 }
             }
         }
@@ -748,6 +747,9 @@ function handleShowEDBHistory(item){
                 .info-list{
                     gap: 5px 0;
                     margin-bottom: 5px;
+                    .info-item{
+                        margin-bottom: 5px;
+                    }
                 }
             }
         }

+ 2 - 1
src/views/tabbar/Home.vue

@@ -184,7 +184,8 @@ const menuOpts=computed(()=>{
         }
         if(item.level===2){
             resMenuList.value.forEach(f=>{
-                f.children.forEach(s=>{
+                const arr=f.children||[]
+                arr.forEach(s=>{
                     if(s.name.trim()===item.key){
                         item.show=true
                     }