From 80cb8edcb5e5d8455532035950ef69dcb89cbbe4 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 18 九月 2023 15:05:05 +0800
Subject: [PATCH] 元数据管理-枚举查询联调修复bug

---
 Source/UBCS-WEB/src/views/wel/Statistic.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue
index 81a37cc..a0c587b 100644
--- a/Source/UBCS-WEB/src/views/wel/Statistic.vue
+++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -21,7 +21,7 @@
         {
           click: this.handleItemAClick,
           title: '鐗╁搧涓绘暟鎹�',
-          count: 0,
+          count: 1723,
           icon: 'iconfont iconicon_doc',
           color: 'rgb(49, 180, 141)',
           uiUrl: "/MasterData/items?id=wupin@name=鐗╁搧涓绘暟鎹�",
@@ -30,7 +30,7 @@
         {
           click: this.handleItemBClick,
           title: '浜哄憳涓绘暟鎹�',
-          count: 0,
+          count: 1225,
           icon: 'iconfont iconicon_dispose',
           color: 'rgb(56, 161, 242)',
           uiUrl:'/MasterData/items?id=renyuan@@name=浜哄憳涓绘暟鎹�',
@@ -39,7 +39,7 @@
         {
           click: this.handleItemCClick,
           title: '涓婚搴撳畾涔�',
-          count: 0,
+          count: 523,
           icon: 'el-icon-setting',
           color: 'rgb(117, 56, 199)',
           uiUrl:'/modeling/classifyTree',
@@ -59,7 +59,7 @@
   }
   },
   created() {
-  // this.getList();
+  this.getList();
   },
   computed(){
 
@@ -78,11 +78,13 @@
       this.$router.push({ path: '/MasterData/items?id=gongyingshang@@name=渚涘簲鍟嗕富鏁版嵁'} );
     },
     getList() {
+      // debugger
       Object.values(this.option.data).map(record => {
         record.count = record.count || 0;
         if (!this.countByServer) {
           // 鏄墠绔煡璇�
           getList(record.countUrl, {}).then(res => {
+            console.log('res',res)
             if (res.data.data.success) {
               record.count = res.data.data.obj;
             } else {

--
Gitblit v1.9.3