From 8dda5c3923bbc377371ccb8c7d4d83c499b5d1c3 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 02 九月 2022 05:00:53 +0800
Subject: [PATCH] 调整子账户管理页面

---
 src/views/manageCenter/index.vue |   45 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/src/views/manageCenter/index.vue b/src/views/manageCenter/index.vue
index c8914db..12dba17 100644
--- a/src/views/manageCenter/index.vue
+++ b/src/views/manageCenter/index.vue
@@ -26,7 +26,7 @@
         <div class="products">
           <div class="title">缁熻鍒嗘瀽</div>
           <div class="productList">
-            <p class="p-statis" style=" vertical-align: top">
+            <p class="p-statis" style="vertical-align: top">
               <span>鏃堕棿锛�</span>
               <el-date-picker
                 size="mini"
@@ -64,7 +64,7 @@
               <span>閮ㄩ棬锛�</span>
               <el-cascader
                 size="mini"
-                style="width:400px"
+                style="width: 400px"
                 v-model="searchTree"
                 :options="menuTree"
                 :props="{ value: 'id', label: 'name', checkStrictly: true }"
@@ -80,7 +80,7 @@
                 clearable
                 collapse-tags
                 size="mini"
-                style="width:140px"
+                style="width: 140px"
                 placeholder="璇烽�夋嫨"
               >
                 <el-option
@@ -162,7 +162,7 @@
         <div class="left">
           <div class="title">棰勮鏁版嵁鍗犳瘮:</div>
           <div class="info">
-            <div class="equipmentInfo" style="margin-top:25px">
+            <div class="equipmentInfo" style="margin-top: 25px">
               <div class="equipmentCard">
                 <div class="label">鏁存敼鎬婚噺</div>
                 <div class="number">
@@ -198,7 +198,7 @@
 
                 <el-table-column prop="count" align="center" label="鏁存敼鏁伴噺" show-overflow-tooltip></el-table-column>
               </el-table>
-              <el-pagination
+              <!-- <el-pagination
                 @current-change="refrash"
                 @size-change="handleSizeChange"
                 :current-page="page"
@@ -207,7 +207,7 @@
                 :page-sizes="[5, 10, 15, 20, 25]"
                 :total="solvedTotal"
                 background
-              ></el-pagination>
+              ></el-pagination> -->
             </div>
           </div>
         </div>
@@ -314,11 +314,11 @@
         },
 
         {
-          name: "鎺ㄩ�佺鐞�",
+          name: "鐢ㄦ埛绠$悊",
           icon: "/images/manageCenter/push.png",
-          openPath: "/report",
-          path: "/report",
-          permission: "dataPushMng"
+          openPath: "/subAccount",
+          path: "/subAccount",
+          permission: "subAccount"
         },
 
         {
@@ -327,6 +327,13 @@
           openPath: "/video",
           path: "/video",
           permission: "videoMng"
+        },
+        {
+          name: "鐐逛綅鍙樻洿",
+          icon: "/images/manageCenter/manage.png",
+          openPath: "/invalidCamera",
+          path: "/invalidCamera",
+          permission: "invalidCamera"
         }
       ],
       cameraTree: [],
@@ -444,6 +451,10 @@
           "rgb(255, 124, 31)",
           "rgb(165, 96, 255)"
         ],
+        tooltip: {
+          trigger: "item",
+          formatter: "{b} {d}%" //鍙鐧惧垎姣�
+        },
         series: [
           {
             name: "Nightingale Chart",
@@ -456,7 +467,9 @@
             },
             label: {
               show: false
+              //formatter: '{b} : {c} ({d}%)' //甯﹀綋鍓嶅浘渚嬪悕 + 鐧惧垎姣�
             },
+
             data: []
           }
         ]
@@ -598,10 +611,13 @@
         if (decodeString != "") {
           let decodeResult = JSON.parse(decodeString)
           if (decodeResult) {
-            console.log("warningStatics", decodeResult)
+            // console.log("warningStatics", decodeResult)
             decodeResult.forEach((element) => {
               this.solvedTotal = this.solvedTotal + element.doc_count
-              this.tableDataList.push({ date: element.key_as_string, count: element.doc_count })
+              this.tableDataList.push({
+                date: element.key_as_string,
+                count: element.doc_count
+              })
             })
           }
         }
@@ -637,7 +653,10 @@
           let decodeResult = JSON.parse(decodeString)
           if (decodeResult) {
             decodeResult.forEach((element) => {
-              this.pieOption.series[0].data.push({ value: element.doc_count, name: element.key })
+              this.pieOption.series[0].data.push({
+                value: element.doc_count,
+                name: element.key
+              })
             })
           }
         }

--
Gitblit v1.8.0